(export (version D)
  (design
    (source C:\Sync\Dev\HASwitchPlate\Dev\PCB2\HASwitchPlate.sch)
    (date "1/25/2019 5:20:01 PM")
    (tool "Eeschema (5.0.2)-1")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title "HA SwitchPlate")
        (company https://github.com/aderusha/HASwitchPlate)
        (rev)
        (date)
        (source HASwitchPlate.sch)
        (comment (number 1) (value allen@derusha.org))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref U2)
      (value WeMos_mini)
      (footprint wemos-d1-mini:wemos-d1-mini-with-pin-header-and-connector)
      (libsource (lib HASwitchPlate-library) (part WeMos_mini-HASwitchPlate) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 59E27669))
    (comp (ref J1)
      (value "Screw Term.")
      (footprint Connectors_Terminal_Blocks:TerminalBlock_bornier-2_P5.08mm)
      (libsource (lib HASwitchPlate-library) (part Screw_Terminal_01x02-HASwitchPlate-library) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 59E27A1F))
    (comp (ref J2)
      (value XH2.54-4P)
      (footprint HASwitchPlate:JST_XH2.54_04x2.54mm_Straight)
      (libsource (lib HASwitchPlate-library) (part XH2.54-4P-HASwitchPlate-library) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 59E297BA))
    (comp (ref U1)
      (value IRM-03-5)
      (footprint HASwitchPlate:ACDC-Converter_MeanWell-IRM-03-x)
      (datasheet https://www.meanwell.com/Upload/PDF/IRM-03/IRM-03-SPEC.PDF)
      (libsource (lib HASwitchPlate-library) (part IRM-03-5-HASwitchPlate-library) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 59E37A8B))
    (comp (ref J3)
      (value Breakout)
      (footprint Pin_Headers:Pin_Header_Straight_1x08_Pitch2.54mm)
      (libsource (lib HASwitchPlate-library) (part Conn_01x08-conn-HASwitchPlate) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5AB13587))
    (comp (ref U3)
      (value SLC03-series)
      (footprint HASwitchPlate:ACDC-Converter_MeanWell-SLC03-series)
      (datasheet http://www.meanwellusa.com/productPdf.aspx?i=786)
      (libsource (lib HASwitchPlate-library) (part SLC03-series) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C2FF5D5))
    (comp (ref Q1)
      (value S8050)
      (footprint Package_TO_SOT_THT:TO-92L_HandSolder)
      (datasheet http://www.unisonic.com.tw/datasheet/S8050.pdf)
      (libsource (lib Transistor_BJT) (part S8050) (description "0.7A Ic, 20V Vce, Low Voltage High Current NPN Transistor, TO-92"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C306D5D))
    (comp (ref R1)
      (value 1k)
      (footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal)
      (datasheet ~)
      (libsource (lib Device) (part R_US) (description "Resistor, US symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C306DF8)))
  (libparts
    (libpart (lib Device) (part R_US)
      (description "Resistor, US symbol")
      (docs ~)
      (footprints
        (fp R_*))
      (fields
        (field (name Reference) R)
        (field (name Value) R_US))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib HASwitchPlate-library) (part Conn_01x08-conn-HASwitchPlate)
      (footprints
        (fp Connector*:*_??x*mm*)
        (fp Connector*:*1x??x*mm*)
        (fp Pin?Header?Straight?1X*)
        (fp Pin?Header?Angled?1X*)
        (fp Socket?Strip?Straight?1X*)
        (fp Socket?Strip?Angled?1X*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x08-conn-HASwitchPlate))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))
        (pin (num 4) (name Pin_4) (type passive))
        (pin (num 5) (name Pin_5) (type passive))
        (pin (num 6) (name Pin_6) (type passive))
        (pin (num 7) (name Pin_7) (type passive))
        (pin (num 8) (name Pin_8) (type passive))))
    (libpart (lib HASwitchPlate-library) (part IRM-03-5-HASwitchPlate-library)
      (footprints
        (fp ACDC?Converter?MeanWell?IRM?03?x*))
      (fields
        (field (name Reference) U)
        (field (name Value) IRM-03-5-HASwitchPlate-library)
        (field (name Footprint) HASwitchPlate:ACDC-Converter_MeanWell-IRM-03-x))
      (pins
        (pin (num 1) (name AC/L) (type power_in))
        (pin (num 2) (name AC/N) (type power_in))
        (pin (num 3) (name +Vout) (type power_out))
        (pin (num 4) (name -Vout) (type power_out))))
    (libpart (lib HASwitchPlate-library) (part SLC03-series)
      (fields
        (field (name Reference) U)
        (field (name Value) SLC03-series))
      (pins
        (pin (num 1) (name -Vin) (type power_in))
        (pin (num 9) (name +Vout) (type power_out))
        (pin (num 10) (name -Vout) (type power_out))
        (pin (num 16) (name +Vin) (type power_in))))
    (libpart (lib HASwitchPlate-library) (part Screw_Terminal_01x02-HASwitchPlate-library)
      (footprints
        (fp Connector*Terminal*Block*:*)
        (fp TerminalBlock*))
      (fields
        (field (name Reference) J)
        (field (name Value) Screw_Terminal_01x02-HASwitchPlate-library))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))))
    (libpart (lib HASwitchPlate-library) (part WeMos_mini-HASwitchPlate)
      (fields
        (field (name Reference) U)
        (field (name Value) WeMos_mini-HASwitchPlate))
      (pins
        (pin (num 1) (name 5V) (type power_in))
        (pin (num 2) (name GND) (type power_in))
        (pin (num 3) (name D4) (type BiDi))
        (pin (num 4) (name D3) (type BiDi))
        (pin (num 5) (name D2) (type BiDi))
        (pin (num 6) (name D1) (type BiDi))
        (pin (num 7) (name Rx) (type BiDi))
        (pin (num 8) (name Tx) (type BiDi))
        (pin (num 9) (name Rst) (type BiDi))
        (pin (num 10) (name A0) (type BiDi))
        (pin (num 11) (name D0) (type BiDi))
        (pin (num 12) (name D5) (type BiDi))
        (pin (num 13) (name D6) (type BiDi))
        (pin (num 14) (name D7) (type BiDi))
        (pin (num 15) (name D8) (type BiDi))
        (pin (num 16) (name 3.3V) (type power_out))))
    (libpart (lib HASwitchPlate-library) (part XH2.54-4P-HASwitchPlate-library)
      (footprints
        (fp Connector*:*_??x*mm*)
        (fp Connector*:*1x??x*mm*)
        (fp Pin?Header?Straight?1X*)
        (fp Pin?Header?Angled?1X*))
      (fields
        (field (name Reference) J)
        (field (name Value) XH2.54-4P-HASwitchPlate-library))
      (pins
        (pin (num 1) (name GND) (type input))
        (pin (num 2) (name RX) (type input))
        (pin (num 3) (name TX) (type output))
        (pin (num 4) (name +5V) (type passive))))
    (libpart (lib Transistor_BJT) (part S8050)
      (description "0.7A Ic, 20V Vce, Low Voltage High Current NPN Transistor, TO-92")
      (docs http://www.unisonic.com.tw/datasheet/S8050.pdf)
      (footprints
        (fp TO?92*))
      (fields
        (field (name Reference) Q)
        (field (name Value) S8050)
        (field (name Footprint) Package_TO_SOT_THT:TO-92_Inline))
      (pins
        (pin (num 1) (name E) (type passive))
        (pin (num 2) (name B) (type input))
        (pin (num 3) (name C) (type passive)))))
  (libraries
    (library (logical Device)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Device.lib"))
    (library (logical HASwitchPlate-library)
      (uri C:\Sync\Dev\HASwitchPlate\Dev\PCB2/HASwitchPlate-library.lib))
    (library (logical Transistor_BJT)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Transistor_BJT.lib")))
  (nets
    (net (code 1) (name /D8_DBG)
      (node (ref J3) (pin 8))
      (node (ref U2) (pin 15)))
    (net (code 2) (name /D0)
      (node (ref U2) (pin 11))
      (node (ref J3) (pin 5)))
    (net (code 3) (name /D1)
      (node (ref U2) (pin 6))
      (node (ref J3) (pin 6)))
    (net (code 4) (name /D2)
      (node (ref J3) (pin 7))
      (node (ref U2) (pin 5)))
    (net (code 5) (name "Net-(R1-Pad1)")
      (node (ref U2) (pin 13))
      (node (ref R1) (pin 1)))
    (net (code 6) (name /LCD_CTL)
      (node (ref Q1) (pin 2))
      (node (ref R1) (pin 2)))
    (net (code 7) (name /LCD_GND)
      (node (ref J2) (pin 1))
      (node (ref Q1) (pin 3)))
    (net (code 8) (name /LCD_RX)
      (node (ref U2) (pin 3))
      (node (ref J2) (pin 2)))
    (net (code 9) (name /AC_N)
      (node (ref U3) (pin 1))
      (node (ref J1) (pin 2))
      (node (ref U1) (pin 2)))
    (net (code 10) (name /+3.3V)
      (node (ref U2) (pin 16))
      (node (ref J3) (pin 3)))
    (net (code 11) (name /A0)
      (node (ref U2) (pin 10))
      (node (ref J3) (pin 4)))
    (net (code 12) (name "Net-(U2-Pad12)")
      (node (ref U2) (pin 12)))
    (net (code 13) (name /GND)
      (node (ref U2) (pin 2))
      (node (ref J3) (pin 1))
      (node (ref U1) (pin 4))
      (node (ref U3) (pin 10))
      (node (ref Q1) (pin 1)))
    (net (code 14) (name "Net-(U2-Pad4)")
      (node (ref U2) (pin 4)))
    (net (code 15) (name "Net-(U2-Pad7)")
      (node (ref U2) (pin 7)))
    (net (code 16) (name "Net-(U2-Pad8)")
      (node (ref U2) (pin 8)))
    (net (code 17) (name "Net-(U2-Pad9)")
      (node (ref U2) (pin 9)))
    (net (code 18) (name /AC_L)
      (node (ref U3) (pin 16))
      (node (ref U1) (pin 1))
      (node (ref J1) (pin 1)))
    (net (code 19) (name /+5V)
      (node (ref U2) (pin 1))
      (node (ref U3) (pin 9))
      (node (ref J2) (pin 4))
      (node (ref J3) (pin 2))
      (node (ref U1) (pin 3)))
    (net (code 20) (name /LCD_TX)
      (node (ref J2) (pin 3))
      (node (ref U2) (pin 14)))))