(export (version D)
  (design
    (source /home/dan/kicad/power-panic/04/power-panic.sch)
    (date Pá 21. červenec 2017, 16:37:23 CEST)
    (tool "Eeschema 4.0.5+dfsg1-4")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title "Power panic")
        (company "PRUSA research s.r.o.")
        (rev 0.4)
        (date 2017-06-29)
        (source power-panic.sch)
        (comment (number 1) (value "#ok1hra"))
        (comment (number 2) (value "110/230V AC Fault isolated sensor"))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref R1)
      (value 11k)
      (footprint Resistors_SMD:R_1206)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 590AE665))
    (comp (ref R4)
      (value 33k)
      (footprint Resistors_SMD:R_0805)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 590B0C6E))
    (comp (ref P5)
      (value L)
      (footprint ok1hra:faston-hole-m)
      (libsource (lib conn) (part CONN_01X01))
      (sheetpath (names /) (tstamps /))
      (tstamp 590B2577))
    (comp (ref P3)
      (value N)
      (footprint ok1hra:faston-hole-m)
      (libsource (lib conn) (part CONN_01X01))
      (sheetpath (names /) (tstamps /))
      (tstamp 590B2629))
    (comp (ref P1)
      (value PE)
      (footprint ok1hra:faston-hole-m)
      (libsource (lib conn) (part CONN_01X01))
      (sheetpath (names /) (tstamps /))
      (tstamp 590B26C3))
    (comp (ref R5)
      (value 11k)
      (footprint Resistors_SMD:R_1206)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 591BFF66))
    (comp (ref R2)
      (value 11k)
      (footprint Resistors_SMD:R_1206)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 591BFFD2))
    (comp (ref R6)
      (value 11k)
      (footprint Resistors_SMD:R_1206)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 591C0051))
    (comp (ref P8)
      (value AC_FAULT)
      (footprint ok1hra:Pin_1x02-XL)
      (libsource (lib conn) (part CONN_01X02))
      (sheetpath (names /) (tstamps /))
      (tstamp 59497A1A))
    (comp (ref U1)
      (value LTV-354T_)
      (footprint Opto-Devices:Optocoupler_SMD_LTV-817S)
      (libsource (lib ok1hra) (part LTV-354T_))
      (sheetpath (names /) (tstamps /))
      (tstamp 59497A26))
    (comp (ref R3)
      (value 10k)
      (footprint Resistors_SMD:R_0805)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59497A39))
    (comp (ref Q2)
      (value MMBF170LT1G)
      (footprint TO_SOT_Packages_SMD:SOT-23)
      (libsource (lib ok1hra) (part MOSFET-N))
      (sheetpath (names /) (tstamps /))
      (tstamp 59498184))
    (comp (ref R7)
      (value 100k)
      (footprint Resistors_SMD:R_0805)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 59499B0D))
    (comp (ref Q1)
      (value MMBF170LT1G)
      (footprint TO_SOT_Packages_SMD:SOT-23)
      (libsource (lib ok1hra) (part MOSFET-N))
      (sheetpath (names /) (tstamps /))
      (tstamp 594AA10F))
    (comp (ref R8)
      (value 10k)
      (footprint Resistors_SMD:R_0805)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 594AA1FD))
    (comp (ref D1)
      (value D_ALT)
      (footprint Diodes_SMD:SOD-323)
      (libsource (lib device) (part D_ALT))
      (sheetpath (names /) (tstamps /))
      (tstamp 594B8071))
    (comp (ref C4)
      (value 100n)
      (footprint Capacitors_SMD:C_0805)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 594B9E2D))
    (comp (ref C1)
      (value 330n)
      (footprint Capacitors_SMD:C_0805)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 594B9FA9))
    (comp (ref P7)
      (value 24V)
      (footprint ok1hra:Pin_1x02-XL)
      (libsource (lib conn) (part CONN_01X02))
      (sheetpath (names /) (tstamps /))
      (tstamp 594BB2CA))
    (comp (ref C5)
      (value 10u)
      (footprint Capacitors_SMD:C_1206)
      (libsource (lib device) (part CP_Small))
      (sheetpath (names /) (tstamps /))
      (tstamp 594BB966))
    (comp (ref C2)
      (value 10u)
      (footprint Capacitors_SMD:C_1206)
      (libsource (lib device) (part CP_Small))
      (sheetpath (names /) (tstamps /))
      (tstamp 5953D011))
    (comp (ref R9)
      (value 11k)
      (footprint Resistors_SMD:R_1206)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 5953DD4F))
    (comp (ref R11)
      (value 11k)
      (footprint Resistors_SMD:R_1206)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 5953DD55))
    (comp (ref R10)
      (value 11k)
      (footprint Resistors_SMD:R_1206)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 5953DD5B))
    (comp (ref R12)
      (value 11k)
      (footprint Resistors_SMD:R_1206)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 5953DD61))
    (comp (ref P9)
      (value measure)
      (footprint Pin_Headers:Pin_Header_Straight_1x04)
      (libsource (lib conn) (part CONN_01X04))
      (sheetpath (names /) (tstamps /))
      (tstamp 5953E8AD))
    (comp (ref P10)
      (value AC)
      (footprint ok1hra:ac-power-plug-fuse)
      (libsource (lib conn) (part CONN_01X03))
      (sheetpath (names /) (tstamps /))
      (tstamp 59721259)))
  (libparts
    (libpart (lib device) (part C)
      (description "Unpolarized capacitor")
      (footprints
        (fp C?)
        (fp C_????_*)
        (fp C_????)
        (fp SMD*_c)
        (fp Capacitor*))
      (fields
        (field (name Reference) C)
        (field (name Value) C))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib conn) (part CONN_01X01)
      (description "Connector, single row, 01x01")
      (footprints
        (fp Pin_Header_Straight_1X01)
        (fp Pin_Header_Angled_1X01)
        (fp Socket_Strip_Straight_1X01)
        (fp Socket_Strip_Angled_1X01))
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_01X01))
      (pins
        (pin (num 1) (name P1) (type passive))))
    (libpart (lib conn) (part CONN_01X02)
      (description "Connector, single row, 01x02")
      (footprints
        (fp Pin_Header_Straight_1X02)
        (fp Pin_Header_Angled_1X02)
        (fp Socket_Strip_Straight_1X02)
        (fp Socket_Strip_Angled_1X02))
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_01X02))
      (pins
        (pin (num 1) (name P1) (type passive))
        (pin (num 2) (name P2) (type passive))))
    (libpart (lib conn) (part CONN_01X03)
      (description "Connector, single row, 01x03")
      (footprints
        (fp Pin_Header_Straight_1X03)
        (fp Pin_Header_Angled_1X03)
        (fp Socket_Strip_Straight_1X03)
        (fp Socket_Strip_Angled_1X03))
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_01X03))
      (pins
        (pin (num 1) (name P1) (type passive))
        (pin (num 2) (name P2) (type passive))
        (pin (num 3) (name P3) (type passive))))
    (libpart (lib conn) (part CONN_01X04)
      (description "Connector, single row, 01x04")
      (footprints
        (fp Pin_Header_Straight_1X04)
        (fp Pin_Header_Angled_1X04)
        (fp Socket_Strip_Straight_1X04)
        (fp Socket_Strip_Angled_1X04))
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_01X04))
      (pins
        (pin (num 1) (name P1) (type passive))
        (pin (num 2) (name P2) (type passive))
        (pin (num 3) (name P3) (type passive))
        (pin (num 4) (name P4) (type passive))))
    (libpart (lib device) (part CP_Small)
      (description "Polarised capacitor")
      (footprints
        (fp CP*)
        (fp C_Axial*)
        (fp C_Radial*)
        (fp TantalC*)
        (fp C*elec)
        (fp c_elec*)
        (fp SMD*_Pol))
      (fields
        (field (name Reference) C)
        (field (name Value) CP_Small))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib device) (part D_ALT)
      (description "Diode, alternativ symbol")
      (footprints
        (fp Diode_*)
        (fp D-*)
        (fp *SingleDiode)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (fields
        (field (name Reference) D)
        (field (name Value) D_ALT))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib ok1hra) (part LTV-354T_)
      (description "MFSOP6, AC/DC Optocoupler, Vce 35V, CTR 20%")
      (fields
        (field (name Reference) U)
        (field (name Value) LTV-354T_)
        (field (name Footprint) MFSOP-6))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))
        (pin (num 3) (name ~) (type passive))
        (pin (num 4) (name ~) (type passive))))
    (libpart (lib ok1hra) (part MOSFET-N)
      (fields
        (field (name Reference) Q)
        (field (name Value) MOSFET-N))
      (pins
        (pin (num 1) (name ~) (type input))
        (pin (num 2) (name ~) (type input))
        (pin (num 3) (name ~) (type input))))
    (libpart (lib device) (part R)
      (description Resistor)
      (footprints
        (fp R_*)
        (fp Resistor_*))
      (fields
        (field (name Reference) R)
        (field (name Value) R))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive)))))
  (libraries
    (library (logical device)
      (uri /usr/share/kicad/library/device.lib))
    (library (logical conn)
      (uri /usr/share/kicad/library/conn.lib))
    (library (logical ok1hra)
      (uri /home/dan/kicad/hra/lib/ok1hra.lib)))
  (nets
    (net (code 1) (name "Net-(R6-Pad2)")
      (node (ref U1) (pin 2))
      (node (ref R6) (pin 2)))
    (net (code 2) (name "Net-(P9-Pad1)")
      (node (ref R3) (pin 1))
      (node (ref U1) (pin 3))
      (node (ref R4) (pin 2))
      (node (ref P9) (pin 1)))
    (net (code 3) (name "Net-(Q1-Pad3)")
      (node (ref Q2) (pin 1))
      (node (ref Q1) (pin 3))
      (node (ref R8) (pin 1)))
    (net (code 4) (name "Net-(R5-Pad2)")
      (node (ref U1) (pin 1))
      (node (ref R5) (pin 2)))
    (net (code 5) (name "Net-(P1-Pad1)")
      (node (ref P10) (pin 1))
      (node (ref P1) (pin 1)))
    (net (code 6) (name GND)
      (node (ref Q1) (pin 2))
      (node (ref R7) (pin 2))
      (node (ref R3) (pin 2))
      (node (ref Q2) (pin 2))
      (node (ref P8) (pin 2))
      (node (ref C4) (pin 2))
      (node (ref C5) (pin 2))
      (node (ref P7) (pin 2))
      (node (ref C1) (pin 2))
      (node (ref C2) (pin 2))
      (node (ref P9) (pin 4)))
    (net (code 7) (name "Net-(R12-Pad2)")
      (node (ref R2) (pin 1))
      (node (ref R12) (pin 2)))
    (net (code 8) (name "Net-(R10-Pad2)")
      (node (ref R10) (pin 2))
      (node (ref R12) (pin 1)))
    (net (code 9) (name "Net-(P10-Pad2)")
      (node (ref P3) (pin 1))
      (node (ref P10) (pin 2))
      (node (ref R10) (pin 1)))
    (net (code 10) (name "Net-(R1-Pad1)")
      (node (ref R1) (pin 1))
      (node (ref R11) (pin 2)))
    (net (code 11) (name "Net-(R11-Pad1)")
      (node (ref R9) (pin 2))
      (node (ref R11) (pin 1)))
    (net (code 12) (name "Net-(P10-Pad3)")
      (node (ref R9) (pin 1))
      (node (ref P5) (pin 1))
      (node (ref P10) (pin 3)))
    (net (code 13) (name "Net-(C4-Pad1)")
      (node (ref Q2) (pin 3))
      (node (ref P8) (pin 1))
      (node (ref P9) (pin 3))
      (node (ref C4) (pin 1)))
    (net (code 14) (name /+24V)
      (node (ref D1) (pin 1))
      (node (ref R8) (pin 2))
      (node (ref C5) (pin 1))
      (node (ref U1) (pin 4))
      (node (ref C2) (pin 1)))
    (net (code 15) (name "Net-(R2-Pad2)")
      (node (ref R2) (pin 2))
      (node (ref R6) (pin 1)))
    (net (code 16) (name "Net-(R1-Pad2)")
      (node (ref R1) (pin 2))
      (node (ref R5) (pin 1)))
    (net (code 17) (name /RC)
      (node (ref Q1) (pin 1))
      (node (ref R7) (pin 1))
      (node (ref P9) (pin 2))
      (node (ref C1) (pin 1))
      (node (ref R4) (pin 1)))
    (net (code 18) (name "Net-(D1-Pad2)")
      (node (ref D1) (pin 2))
      (node (ref P7) (pin 1)))))