(export (version D)
  (design
    (source /home/gunnar/src/AmsToMqttBridge/hardware/wemos_mbus_shield/kicad/d1_mini_shield.sch)
    (date "sø. 26. juni 2022 kl. 12.19 +0200")
    (tool "Eeschema 5.1.5+dfsg1-2build2")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev)
        (date)
        (source d1_mini_shield.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref P1)
      (value CONN_01X08)
      (footprint D1_mini:D1_mini_Pin_Header)
      (libsource (lib d1_mini_shield-rescue) (part CONN_01X08) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5763EB78))
    (comp (ref P2)
      (value CONN_01X08)
      (footprint D1_mini:D1_mini_Pin_Header)
      (libsource (lib d1_mini_shield-rescue) (part CONN_01X08) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5763EBF2))
    (comp (ref U1)
      (value TSS721)
      (footprint Package_SO:SOIC-16_3.9x9.9mm_P1.27mm)
      (datasheet http://www.ti.com/lit/ds/symlink/tss721a.pdf)
      (libsource (lib tss721) (part TSS721) (description "TSS721A Meter Bus Transceiver, SOIC-16/TSSOP-16"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62B826D2))
    (comp (ref J1)
      (value RJ45)
      (footprint Connector_RJ:RJ45_Amphenol_54602-x08_Horizontal)
      (datasheet ~)
      (libsource (lib Connector) (part RJ45) (description "RJ connector, 8P8C (8 positions 8 connected)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62B8AC34))
    (comp (ref R4)
      (value 220)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 62B8CAA8))
    (comp (ref R2)
      (value 220)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 62B8DB92))
    (comp (ref R3)
      (value 82k)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 62B9F861))
    (comp (ref R1)
      (value 470)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 62B9FC37))
    (comp (ref C2)
      (value 1u)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62BA06BE))
    (comp (ref C1)
      (value 100n)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62BA09E7))
    (comp (ref R5)
      (value 100k)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 62BED413))
    (comp (ref C3)
      (value 100n)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62BED9ED))
    (comp (ref JP1)
      (value Jumper)
      (footprint Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Device) (part Jumper) (description "Jumper, normally closed"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62C331C0))
    (comp (ref JP2)
      (value Jumper)
      (footprint Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Device) (part Jumper) (description "Jumper, normally closed"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62C365CA))
    (comp (ref JP3)
      (value Jumper)
      (footprint Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Device) (part Jumper) (description "Jumper, normally closed"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62C36C70))
    (comp (ref D1)
      (value LED_RGB)
      (footprint LED_SMD:LED_RGB_PLCC-6)
      (datasheet ~)
      (libsource (lib Device) (part LED_RGB) (description "RGB LED, 6 pin package"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62C43A7B))
    (comp (ref R9)
      (value 1k)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 62C495F7))
    (comp (ref R8)
      (value 1k)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 62C4BDE9))
    (comp (ref R10)
      (value 1k)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 62C4C336))
    (comp (ref U2)
      (value DS18B20)
      (footprint Package_TO_SOT_THT:TO-92_Inline)
      (datasheet http://datasheets.maximintegrated.com/en/ds/DS18B20.pdf)
      (libsource (lib Sensor_Temperature) (part DS18B20) (description "Programmable Resolution 1-Wire Digital Thermometer TO-92"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62C6296F))
    (comp (ref R7)
      (value 4k7)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 62C6405D))
    (comp (ref SW1)
      (value SW_Push)
      (footprint Button_Switch_SMD:SW_SPST_B3U-3000P)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62C73229))
    (comp (ref R6)
      (value 10k)
      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 62C73CE8))
    (comp (ref JP4)
      (value Jumper)
      (footprint Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Device) (part Jumper) (description "Jumper, normally closed"))
      (sheetpath (names /) (tstamps /))
      (tstamp 62D1E97A)))
  (libparts
    (libpart (lib Connector) (part 8P8C)
      (aliases
        (alias RJ31)
        (alias RJ32)
        (alias RJ33)
        (alias RJ34)
        (alias RJ35)
        (alias RJ41)
        (alias RJ45)
        (alias RJ49)
        (alias RJ61))
      (description "RJ connector, 8P8C (8 positions 8 connected), RJ31/RJ32/RJ33/RJ34/RJ35/RJ41/RJ45/RJ49/RJ61")
      (docs ~)
      (footprints
        (fp 8P8C*)
        (fp RJ31*)
        (fp RJ32*)
        (fp RJ33*)
        (fp RJ34*)
        (fp RJ35*)
        (fp RJ41*)
        (fp RJ45*)
        (fp RJ49*)
        (fp RJ61*))
      (fields
        (field (name Reference) J)
        (field (name Value) 8P8C))
      (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))
        (pin (num 5) (name ~) (type passive))
        (pin (num 6) (name ~) (type passive))
        (pin (num 7) (name ~) (type passive))
        (pin (num 8) (name ~) (type passive))))
    (libpart (lib Device) (part C)
      (description "Unpolarized capacitor")
      (docs ~)
      (footprints
        (fp C_*))
      (fields
        (field (name Reference) C)
        (field (name Value) C))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Device) (part Jumper)
      (description "Jumper, normally closed")
      (docs ~)
      (footprints
        (fp SolderJumper*))
      (fields
        (field (name Reference) JP)
        (field (name Value) Jumper))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib Device) (part LED_RGB)
      (description "RGB LED, 6 pin package")
      (docs ~)
      (footprints
        (fp LED*)
        (fp LED_SMD:*)
        (fp LED_THT:*))
      (fields
        (field (name Reference) D)
        (field (name Value) LED_RGB))
      (pins
        (pin (num 1) (name RK) (type passive))
        (pin (num 2) (name GK) (type passive))
        (pin (num 3) (name BK) (type passive))
        (pin (num 4) (name BA) (type passive))
        (pin (num 5) (name GA) (type passive))
        (pin (num 6) (name RA) (type passive))))
    (libpart (lib Device) (part R)
      (description Resistor)
      (docs ~)
      (footprints
        (fp R_*))
      (fields
        (field (name Reference) R)
        (field (name Value) R))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Sensor_Temperature) (part MAX31820)
      (aliases
        (alias DS1822)
        (alias DS18B20)
        (alias DS18S20)
        (alias DS1821C))
      (description "1-Wire Ambient Temperature Sensor TO-92")
      (docs http://datasheets.maximintegrated.com/en/ds/MAX31820.pdf)
      (footprints
        (fp TO*92*))
      (fields
        (field (name Reference) U)
        (field (name Value) MAX31820)
        (field (name Footprint) Package_TO_SOT_THT:TO-92_Inline))
      (pins
        (pin (num 1) (name GND) (type power_in))
        (pin (num 2) (name DQ) (type BiDi))
        (pin (num 3) (name VDD) (type power_in))))
    (libpart (lib Switch) (part SW_Push)
      (description "Push button switch, generic, two pins")
      (docs ~)
      (fields
        (field (name Reference) SW)
        (field (name Value) SW_Push))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib d1_mini_shield-rescue) (part CONN_01X08)
      (footprints
        (fp Pin_Header_Straight_1X08)
        (fp Pin_Header_Angled_1X08)
        (fp Socket_Strip_Straight_1X08)
        (fp Socket_Strip_Angled_1X08))
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_01X08))
      (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))
        (pin (num 5) (name P5) (type passive))
        (pin (num 6) (name P6) (type passive))
        (pin (num 7) (name P7) (type passive))
        (pin (num 8) (name P8) (type passive))))
    (libpart (lib tss721) (part TSS721)
      (aliases
        (alias TSS721A))
      (description "TSS721A Meter Bus Transceiver, SOIC-16/TSSOP-16")
      (docs http://www.ti.com/lit/ds/symlink/tss721a.pdf)
      (footprints
        (fp SOIC*3.9x9.9mm*Pitch1.27mm*)
        (fp TSSOP*4.4x5mm*Pitch0.65mm*))
      (fields
        (field (name Reference) U)
        (field (name Value) TSS721))
      (pins
        (pin (num 1) (name BUSL2) (type input))
        (pin (num 2) (name VB) (type passive))
        (pin (num 3) (name STC) (type passive))
        (pin (num 4) (name RIDD) (type output))
        (pin (num 5) (name PF) (type input))
        (pin (num 6) (name SC) (type passive))
        (pin (num 7) (name TXI) (type output))
        (pin (num 8) (name TX) (type output))
        (pin (num 9) (name BAT) (type input))
        (pin (num 10) (name VS) (type passive))
        (pin (num 11) (name VDD) (type power_in))
        (pin (num 12) (name RX) (type input))
        (pin (num 13) (name RXI) (type input))
        (pin (num 14) (name RIS) (type input))
        (pin (num 15) (name GND) (type power_in))
        (pin (num 16) (name BUSL1) (type input)))))
  (libraries
    (library (logical Connector)
      (uri /usr/share/kicad/library/Connector.lib))
    (library (logical Device)
      (uri /usr/share/kicad/library/Device.lib))
    (library (logical Sensor_Temperature)
      (uri /usr/share/kicad/library/Sensor_Temperature.lib))
    (library (logical Switch)
      (uri /usr/share/kicad/library/Switch.lib))
    (library (logical d1_mini_shield-rescue)
      (uri /home/gunnar/src/AmsToMqttBridge/hardware/wemos_mbus_shield/kicad/d1_mini_shield-rescue.lib))
    (library (logical tss721)
      (uri /home/gunnar/src/AmsToMqttBridge/hardware/wemos_mbus_shield/kicad/tss721.lib)))
  (nets
    (net (code 1) (name TEMP)
      (node (ref R7) (pin 2))
      (node (ref U2) (pin 2))
      (node (ref P1) (pin 5))
      (node (ref JP3) (pin 2)))
    (net (code 2) (name +3V3)
      (node (ref R7) (pin 1))
      (node (ref U1) (pin 9))
      (node (ref P2) (pin 1))
      (node (ref R6) (pin 2))
      (node (ref D1) (pin 4))
      (node (ref D1) (pin 5))
      (node (ref D1) (pin 6))
      (node (ref U2) (pin 3)))
    (net (code 3) (name "Net-(D1-Pad1)")
      (node (ref R9) (pin 2))
      (node (ref D1) (pin 1)))
    (net (code 4) (name "Net-(D1-Pad2)")
      (node (ref D1) (pin 2))
      (node (ref R8) (pin 2)))
    (net (code 5) (name "Net-(D1-Pad3)")
      (node (ref D1) (pin 3))
      (node (ref R10) (pin 2)))
    (net (code 6) (name MBUS2)
      (node (ref J1) (pin 2))
      (node (ref R4) (pin 1)))
    (net (code 7) (name BTN_AP)
      (node (ref P1) (pin 4))
      (node (ref SW1) (pin 1))
      (node (ref R6) (pin 1)))
    (net (code 8) (name "Net-(R4-Pad2)")
      (node (ref U1) (pin 1))
      (node (ref R4) (pin 2)))
    (net (code 9) (name "Net-(R2-Pad2)")
      (node (ref R2) (pin 2))
      (node (ref U1) (pin 16)))
    (net (code 10) (name MBUS1)
      (node (ref J1) (pin 1))
      (node (ref R2) (pin 1)))
    (net (code 11) (name LED_R)
      (node (ref R9) (pin 1))
      (node (ref P2) (pin 4)))
    (net (code 12) (name "Net-(J1-Pad8)")
      (node (ref J1) (pin 8))
      (node (ref JP1) (pin 1)))
    (net (code 13) (name "Net-(J1-Pad5)")
      (node (ref J1) (pin 5))
      (node (ref JP2) (pin 1)))
    (net (code 14) (name "Net-(J1-Pad4)")
      (node (ref J1) (pin 4))
      (node (ref JP3) (pin 1)))
    (net (code 15) (name +5V)
      (node (ref P1) (pin 1))
      (node (ref JP1) (pin 2)))
    (net (code 16) (name "Net-(J1-Pad7)")
      (node (ref J1) (pin 7))
      (node (ref JP4) (pin 1)))
    (net (code 17) (name GND)
      (node (ref P1) (pin 2))
      (node (ref C3) (pin 2))
      (node (ref R3) (pin 1))
      (node (ref R1) (pin 1))
      (node (ref C2) (pin 1))
      (node (ref C1) (pin 1))
      (node (ref R5) (pin 2))
      (node (ref U1) (pin 15))
      (node (ref U2) (pin 1))
      (node (ref SW1) (pin 2))
      (node (ref JP4) (pin 2))
      (node (ref JP2) (pin 2)))
    (net (code 18) (name LED_G)
      (node (ref R8) (pin 1))
      (node (ref P2) (pin 5)))
    (net (code 19) (name "Net-(U1-Pad10)")
      (node (ref U1) (pin 10)))
    (net (code 20) (name "Net-(U1-Pad12)")
      (node (ref U1) (pin 12)))
    (net (code 21) (name "Net-(U1-Pad13)")
      (node (ref U1) (pin 13)))
    (net (code 22) (name "Net-(U1-Pad2)")
      (node (ref U1) (pin 2)))
    (net (code 23) (name "Net-(U1-Pad5)")
      (node (ref U1) (pin 5)))
    (net (code 24) (name "Net-(U1-Pad7)")
      (node (ref U1) (pin 7)))
    (net (code 25) (name "Net-(J1-Pad3)")
      (node (ref J1) (pin 3)))
    (net (code 26) (name "Net-(J1-Pad6)")
      (node (ref J1) (pin 6)))
    (net (code 27) (name /RST)
      (node (ref P2) (pin 8)))
    (net (code 28) (name /D4)
      (node (ref P1) (pin 3)))
    (net (code 29) (name /D1)
      (node (ref P1) (pin 6)))
    (net (code 30) (name /RX)
      (node (ref P1) (pin 7)))
    (net (code 31) (name /TX)
      (node (ref P1) (pin 8)))
    (net (code 32) (name /D8)
      (node (ref P2) (pin 2)))
    (net (code 33) (name /D0)
      (node (ref P2) (pin 6)))
    (net (code 34) (name /A0)
      (node (ref P2) (pin 7)))
    (net (code 35) (name "Net-(R3-Pad2)")
      (node (ref R3) (pin 2))
      (node (ref U1) (pin 4)))
    (net (code 36) (name HAN_TX)
      (node (ref R10) (pin 1))
      (node (ref U1) (pin 8))
      (node (ref P2) (pin 3)))
    (net (code 37) (name "Net-(C3-Pad1)")
      (node (ref U1) (pin 11))
      (node (ref C3) (pin 1))
      (node (ref R5) (pin 1)))
    (net (code 38) (name "Net-(R1-Pad2)")
      (node (ref R1) (pin 2))
      (node (ref U1) (pin 14)))
    (net (code 39) (name "Net-(C2-Pad2)")
      (node (ref C2) (pin 2))
      (node (ref U1) (pin 3)))
    (net (code 40) (name "Net-(C1-Pad2)")
      (node (ref U1) (pin 6))
      (node (ref C1) (pin 2)))))