(export (version D)
  (design
    (source /home/dan/kicad/Prusa/FDM/IR-endstop/MKxS-IR-sensor/rev.04/IR-endstop-04.sch)
    (date Po 27. dubna 2020, 15:15:35 CEST)
    (tool "Eeschema 5.1.6~rc1+dfsg1-1")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title "IR sensor")
        (company "Prusa Development a.s.")
        (rev 0.4)
        (date 2019-07-04)
        (source IR-endstop-04.sch)
        (comment (number 1) (value http://creativecommons.org/licenses/by-sa/4.0/))
        (comment (number 2) (value "Licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)"))
        (comment (number 3) (value "#ok1hra"))
        (comment (number 4) (value "")))))
  (components
    (comp (ref U1)
      (value EE-SX1103)
      (footprint ok1hra:IR-EE-SX1103)
      (libsource (lib opto) (part LTV-817) (description "DIP-4, DC Optocoupler, Vce 35V, CTR 50%"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BD7084A))
    (comp (ref P1)
      (value CONN_01X03)
      (footprint Pin_Headers:Pin_Header_Angled_1x03)
      (libsource (lib conn) (part CONN_01X03) (description "Connector, single row, 01x03"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BD70990))
    (comp (ref R1)
      (value 330R)
      (footprint Resistors_SMD:R_0603)
      (fields
        (field (name req) 0,1W/1%))
      (libsource (lib device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BD709E3))
    (comp (ref R2)
      (value 10k)
      (footprint Resistors_SMD:R_0402)
      (fields
        (field (name req) 0,1W/1%))
      (libsource (lib device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BD6C176))
    (comp (ref R3)
      (value 10k)
      (footprint Resistors_SMD:R_0402)
      (fields
        (field (name req) 0,1W/1%))
      (libsource (lib device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BE2C39F))
    (comp (ref Q1)
      (value 2N7002KT1G)
      (footprint TO_SOT_Packages_SMD:SOT-23)
      (fields
        (field (name req) "60V/0,38A/2.5Ω/ESD Protected"))
      (libsource (lib transistors) (part 2N7002) (description "60V Vds, 0.115A Id, N-channel MOSFET, SOT-23"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BE32902))
    (comp (ref D2)
      (value BAT54KFILM)
      (footprint ok1hra:SOD-523-ShortSilk)
      (fields
        (field (name req) 400mV@10mA/40V/0,3A))
      (libsource (lib IR-endstop-04-rescue) (part D_ALT-device-DLP-control-rescue-DLP-control-04-rescue-DLP-control-05-rescue-SL1-control-05b-rescue-SL-controller-06-rescue-SL-controller-06b-rescue-SL-controller-06c-rescue-IR-endstop-03-rescue-IR-endstop-03b-rescue) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5D0C3FD7))
    (comp (ref R4)
      (value 56k)
      (footprint Resistors_SMD:R_0402)
      (fields
        (field (name req) 0,1W/1%))
      (libsource (lib device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5D1DA941)))
  (libparts
    (libpart (lib IR-endstop-04-rescue) (part D_ALT-device-DLP-control-rescue-DLP-control-04-rescue-DLP-control-05-rescue-SL1-control-05b-rescue-SL-controller-06-rescue-SL-controller-06b-rescue-SL-controller-06c-rescue-IR-endstop-03-rescue-IR-endstop-03b-rescue)
      (footprints
        (fp Diode_*)
        (fp D-*)
        (fp *SingleDiode)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (fields
        (field (name Reference) D)
        (field (name Value) D_ALT-device-DLP-control-rescue-DLP-control-04-rescue-DLP-control-05-rescue-SL1-control-05b-rescue-SL-controller-06-rescue-SL-controller-06b-rescue-SL-controller-06c-rescue-IR-endstop-03-rescue-IR-endstop-03b-rescue))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (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 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))))
    (libpart (lib opto) (part LTV-817)
      (description "DIP-4, DC Optocoupler, Vce 35V, CTR 50%")
      (footprints
        (fp DIP-4*))
      (fields
        (field (name Reference) U)
        (field (name Value) LTV-817)
        (field (name Footprint) DIP-4))
      (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 transistors) (part BSS138)
      (aliases
        (alias 2N7002))
      (description "50V Vds, 0.22A Id, N-Channel MOSFET, SOT-23")
      (footprints
        (fp SOT-23*))
      (fields
        (field (name Reference) Q)
        (field (name Value) BSS138)
        (field (name Footprint) TO_SOT_Packages_SMD:SOT-23))
      (pins
        (pin (num 1) (name G) (type passive))
        (pin (num 2) (name S) (type passive))
        (pin (num 3) (name D) (type passive)))))
  (libraries
    (library (logical IR-endstop-04-rescue)
      (uri /home/dan/kicad/Prusa/FDM/IR-endstop/MKxS-IR-sensor/rev.04/IR-endstop-04-rescue.lib))
    (library (logical conn)
      (uri /usr/share/kicad/library/conn.lib))
    (library (logical device)
      (uri /usr/share/kicad/library/device.lib))
    (library (logical opto)
      (uri /usr/share/kicad/library/opto.lib))
    (library (logical transistors)
      (uri /usr/share/kicad/library/transistors.lib)))
  (nets
    (net (code 1) (name "Net-(P1-Pad2)")
      (node (ref R4) (pin 2))
      (node (ref Q1) (pin 3))
      (node (ref P1) (pin 2))
      (node (ref R3) (pin 1)))
    (net (code 2) (name /GND)
      (node (ref U1) (pin 3))
      (node (ref U1) (pin 2))
      (node (ref D2) (pin 2))
      (node (ref Q1) (pin 2)))
    (net (code 3) (name "Net-(D2-Pad1)")
      (node (ref P1) (pin 3))
      (node (ref D2) (pin 1))
      (node (ref R4) (pin 1)))
    (net (code 4) (name "Net-(R1-Pad1)")
      (node (ref U1) (pin 1))
      (node (ref R1) (pin 1)))
    (net (code 5) (name "Net-(P1-Pad1)")
      (node (ref R1) (pin 2))
      (node (ref R3) (pin 2))
      (node (ref R2) (pin 1))
      (node (ref P1) (pin 1)))
    (net (code 6) (name "Net-(Q1-Pad1)")
      (node (ref R2) (pin 2))
      (node (ref Q1) (pin 1))
      (node (ref U1) (pin 4)))))
