(export (version D)
  (design
    (source /home/simon/repo/mysensors/water_eink_sensor/schematics/water_eink_sensor.sch)
    (date "tor 11 apr 2019 21:08:43")
    (tool "Eeschema 5.0.2-bee76a0~70~ubuntu18.04.1")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev)
        (date)
        (source water_eink_sensor.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref BT1)
      (value Battery_Cell)
      (footprint "BH123A:Battery cell CR2")
      (libsource (lib water_eink_sensor-rescue) (part Battery_Cell) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BA28CE2))
    (comp (ref J3)
      (value Program)
      (footprint Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm_SMD_Pin1Right)
      (libsource (lib water_eink_sensor-rescue) (part CONN_01X04) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BA28D2D))
    (comp (ref U2)
      (value DS18B20)
      (footprint Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm)
      (libsource (lib Sensor_Temperature1) (part DS18B20) (description "Programmable Resolution 1-Wire Digital Thermometer TO-92"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BA3F360))
    (comp (ref R1)
      (value 4.7k1)
      (footprint Resistors_SMD:R_0603)
      (libsource (lib water_eink_sensor-rescue) (part R) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BA3F6C7))
    (comp (ref C2)
      (value 10uF)
      (footprint Capacitors_SMD:C_0603_HandSoldering)
      (libsource (lib water_eink_sensor-rescue) (part C) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BC8E011))
    (comp (ref U1)
      (value E73-2G4M04S-52832)
      (footprint RFmodule:E73-2G4M04S)
      (libsource (lib RF_Module1) (part E73-2G4M04S-52832) (description "nRF52832 BLE5 Module"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BCE4EC0))
    (comp (ref L1)
      (value 10uH)
      (footprint Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (libsource (lib pspice) (part INDUCTOR) (description "Capacitor symbol for simulation only"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BCEC060))
    (comp (ref L2)
      (value 15nH)
      (footprint Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (libsource (lib pspice) (part INDUCTOR) (description "Capacitor symbol for simulation only"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BCEC0D0))
    (comp (ref C1)
      (value 10nF)
      (footprint Capacitors_SMD:C_0603_HandSoldering)
      (libsource (lib water_eink_sensor-rescue) (part C) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 5BCEE828))
    (comp (ref U3)
      (value Ai-Thinker-Ra-01)
      (footprint RFmodule:HOPERF_RFM9XW_SMD)
      (datasheet https://mikroelectron.com/Product/10KM-433M-LORA-LONG-RANGE-WIRELESS-MODULE-RA-01)
      (libsource (lib RF_Module) (part Ai-Thinker-Ra-01) (description "Ai-Thinker LoRa Module Ra-01"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C10158C))
    (comp (ref J1)
      (value Eink)
      (footprint Pin_Headers:Pin_Header_Straight_1x07_Pitch2.54mm)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x07) (description "Generic connector, single row, 01x07, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C112C10))
    (comp (ref J2)
      (value data)
      (footprint Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x05) (description "Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5C11FC6E)))
  (libparts
    (libpart (lib Connector_Generic) (part Conn_01x05)
      (description "Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_1x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x05))
      (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))))
    (libpart (lib Connector_Generic) (part Conn_01x07)
      (description "Generic connector, single row, 01x07, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_1x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x07))
      (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))))
    (libpart (lib RF_Module) (part Ai-Thinker-Ra-01)
      (description "Ai-Thinker LoRa Module Ra-01")
      (docs https://mikroelectron.com/Product/10KM-433M-LORA-LONG-RANGE-WIRELESS-MODULE-RA-01)
      (footprints
        (fp Ai?Thinker?Ra?01*))
      (fields
        (field (name Reference) U)
        (field (name Value) Ai-Thinker-Ra-01)
        (field (name Footprint) RF_Module:Ai-Thinker-Ra-01-LoRa))
      (pins
        (pin (num 1) (name Ant) (type input))
        (pin (num 2) (name Gnd) (type power_in))
        (pin (num 3) (name 3v3) (type power_in))
        (pin (num 4) (name ~Reset) (type input))
        (pin (num 5) (name DIO0) (type BiDi))
        (pin (num 6) (name DIO1) (type BiDi))
        (pin (num 7) (name DIO2) (type BiDi))
        (pin (num 8) (name DIO3) (type BiDi))
        (pin (num 9) (name Gnd) (type passive))
        (pin (num 10) (name DIO4) (type BiDi))
        (pin (num 11) (name DIO5) (type BiDi))
        (pin (num 12) (name SCK) (type BiDi))
        (pin (num 13) (name MISO) (type output))
        (pin (num 14) (name MOSI) (type input))
        (pin (num 15) (name ~NSS) (type input))
        (pin (num 16) (name Gnd) (type passive))))
    (libpart (lib RF_Module1) (part E73-2G4M04S-52832)
      (aliases
        (alias E73-2G4M04S-52810))
      (description "nRF52832 BLE5 Module")
      (docs http://www.cdebyte.com/en/downpdf.aspx?id=243)
      (footprints
        (fp E73*2G4M04S*))
      (fields
        (field (name Reference) U)
        (field (name Value) E73-2G4M04S-52832)
        (field (name Footprint) RF_Module:E73-2G4M04S))
      (pins
        (pin (num 0) (name GND) (type power_in))
        (pin (num 1) (name GND) (type passive))
        (pin (num 2) (name GND) (type passive))
        (pin (num 3) (name DEC2) (type passive))
        (pin (num 4) (name DEC3) (type passive))
        (pin (num 5) (name P0.25) (type BiDi))
        (pin (num 6) (name P0.26) (type BiDi))
        (pin (num 7) (name P0.27) (type BiDi))
        (pin (num 8) (name AIN4/P0.28) (type BiDi))
        (pin (num 9) (name AIN5/P0.29) (type BiDi))
        (pin (num 10) (name AIN6/P0.30) (type BiDi))
        (pin (num 11) (name AIN7/P0.31) (type BiDi))
        (pin (num 12) (name DEC4) (type passive))
        (pin (num 13) (name DCC) (type power_out))
        (pin (num 14) (name DEC1) (type passive))
        (pin (num 15) (name GND) (type passive))
        (pin (num 16) (name VCC) (type power_in))
        (pin (num 17) (name AIN0/P0.02) (type BiDi))
        (pin (num 18) (name AIN1/P0.03) (type BiDi))
        (pin (num 19) (name AIN2/P0.04) (type BiDi))
        (pin (num 20) (name AIN3/P0.05) (type BiDi))
        (pin (num 21) (name P0.06) (type BiDi))
        (pin (num 22) (name P0.07) (type BiDi))
        (pin (num 23) (name P0.08) (type BiDi))
        (pin (num 24) (name NFC1/P0.09) (type BiDi))
        (pin (num 25) (name NFC2/P0.10) (type BiDi))
        (pin (num 26) (name P0.11) (type BiDi))
        (pin (num 27) (name P0.12) (type BiDi))
        (pin (num 28) (name P0.13) (type BiDi))
        (pin (num 29) (name P0.14) (type BiDi))
        (pin (num 30) (name P0.15) (type BiDi))
        (pin (num 31) (name P0.16) (type BiDi))
        (pin (num 32) (name P0.17) (type BiDi))
        (pin (num 33) (name SWO/P0.18) (type BiDi))
        (pin (num 34) (name P0.19) (type BiDi))
        (pin (num 35) (name P0.20) (type BiDi))
        (pin (num 36) (name P0.21/~RESET) (type BiDi))
        (pin (num 37) (name SWDCLK) (type input))
        (pin (num 38) (name SWDIO) (type BiDi))
        (pin (num 39) (name P0.22) (type BiDi))
        (pin (num 40) (name P0.23) (type BiDi))
        (pin (num 41) (name P0.24) (type BiDi))
        (pin (num 42) (name GND) (type passive))
        (pin (num 43) (name GND) (type passive))))
    (libpart (lib Sensor_Temperature1) (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 pspice) (part INDUCTOR)
      (description "Capacitor symbol for simulation only")
      (docs ~)
      (fields
        (field (name Reference) L)
        (field (name Value) INDUCTOR))
      (pins
        (pin (num 1) (name 1) (type input))
        (pin (num 2) (name 2) (type input))))
    (libpart (lib water_eink_sensor-rescue) (part Battery_Cell)
      (fields
        (field (name Reference) BT)
        (field (name Value) Battery_Cell))
      (pins
        (pin (num 1) (name +) (type passive))
        (pin (num 2) (name -) (type passive))))
    (libpart (lib water_eink_sensor-rescue) (part C)
      (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 water_eink_sensor-rescue) (part CONN_01X04)
      (footprints
        (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_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 water_eink_sensor-rescue) (part R)
      (footprints
        (fp R_*)
        (fp R_*))
      (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 Connector_Generic)
      (uri /usr/share/kicad/library/Connector_Generic.lib))
    (library (logical RF_Module)
      (uri /usr/share/kicad/library/RF_Module.lib))
    (library (logical RF_Module1)
      (uri /home/simon/repo/mysensors/water_eink_sensor/schematics/RFM/RF_Module.lib))
    (library (logical Sensor_Temperature1)
      (uri /home/simon/repo/mysensors/water_eink_sensor/schematics/RFM/Sensor_Temperature.lib))
    (library (logical pspice)
      (uri /usr/share/kicad/library/pspice.lib))
    (library (logical water_eink_sensor-rescue)
      (uri /home/simon/repo/mysensors/water_eink_sensor/schematics/water_eink_sensor-rescue.lib)))
  (nets
    (net (code 1) (name "Net-(L1-Pad2)")
      (node (ref L2) (pin 1))
      (node (ref L1) (pin 2)))
    (net (code 2) (name "Net-(U1-Pad8)")
      (node (ref U1) (pin 8)))
    (net (code 3) (name "Net-(U1-Pad9)")
      (node (ref U1) (pin 9)))
    (net (code 4) (name "Net-(U1-Pad10)")
      (node (ref U1) (pin 10)))
    (net (code 5) (name "Net-(U1-Pad11)")
      (node (ref U1) (pin 11)))
    (net (code 6) (name "Net-(U1-Pad36)")
      (node (ref U1) (pin 36)))
    (net (code 7) (name "Net-(U1-Pad24)")
      (node (ref U1) (pin 24)))
    (net (code 8) (name "Net-(U1-Pad25)")
      (node (ref U1) (pin 25)))
    (net (code 9) (name "Net-(U1-Pad4)")
      (node (ref U1) (pin 4)))
    (net (code 10) (name "Net-(U1-Pad3)")
      (node (ref U1) (pin 3)))
    (net (code 11) (name "Net-(U1-Pad14)")
      (node (ref U1) (pin 14)))
    (net (code 12) (name P0.2)
      (node (ref U1) (pin 17))
      (node (ref J2) (pin 4)))
    (net (code 13) (name P0.3)
      (node (ref J2) (pin 5))
      (node (ref U1) (pin 18)))
    (net (code 14) (name "Net-(U1-Pad6)")
      (node (ref U1) (pin 6)))
    (net (code 15) (name Tx)
      (node (ref U1) (pin 23))
      (node (ref J2) (pin 3)))
    (net (code 16) (name Rx)
      (node (ref J2) (pin 2))
      (node (ref U1) (pin 21)))
    (net (code 17) (name "Net-(U1-Pad5)")
      (node (ref U1) (pin 5)))
    (net (code 18) (name DataTemp)
      (node (ref U2) (pin 2))
      (node (ref R1) (pin 2))
      (node (ref U1) (pin 7)))
    (net (code 19) (name "Net-(U3-Pad1)")
      (node (ref U3) (pin 1)))
    (net (code 20) (name DCC)
      (node (ref U1) (pin 13))
      (node (ref C1) (pin 2))
      (node (ref L2) (pin 2)))
    (net (code 21) (name DEC4)
      (node (ref L1) (pin 1))
      (node (ref U1) (pin 12)))
    (net (code 22) (name "Net-(U3-Pad10)")
      (node (ref U3) (pin 10)))
    (net (code 23) (name GND)
      (node (ref U1) (pin 1))
      (node (ref U2) (pin 1))
      (node (ref U1) (pin 0))
      (node (ref J1) (pin 2))
      (node (ref U3) (pin 9))
      (node (ref C2) (pin 2))
      (node (ref BT1) (pin 2))
      (node (ref J3) (pin 1))
      (node (ref U1) (pin 42))
      (node (ref U1) (pin 43))
      (node (ref C1) (pin 1))
      (node (ref U1) (pin 2))
      (node (ref J2) (pin 1))
      (node (ref U1) (pin 15))
      (node (ref U3) (pin 16))
      (node (ref U3) (pin 2)))
    (net (code 24) (name "Net-(U3-Pad5)")
      (node (ref U3) (pin 5)))
    (net (code 25) (name "Net-(U3-Pad7)")
      (node (ref U3) (pin 7)))
    (net (code 26) (name "Net-(U3-Pad8)")
      (node (ref U3) (pin 8)))
    (net (code 27) (name "Net-(U3-Pad11)")
      (node (ref U3) (pin 11)))
    (net (code 28) (name DC)
      (node (ref U1) (pin 41))
      (node (ref J1) (pin 3)))
    (net (code 29) (name CS_EINK)
      (node (ref U1) (pin 39))
      (node (ref J1) (pin 5)))
    (net (code 30) (name BUSY_eink)
      (node (ref U1) (pin 34))
      (node (ref J1) (pin 7)))
    (net (code 31) (name "Net-(U1-Pad32)")
      (node (ref U1) (pin 32)))
    (net (code 32) (name "Net-(U1-Pad33)")
      (node (ref U1) (pin 33)))
    (net (code 33) (name "Net-(U1-Pad19)")
      (node (ref U1) (pin 19)))
    (net (code 34) (name "Net-(U1-Pad20)")
      (node (ref U1) (pin 20)))
    (net (code 35) (name "Net-(U1-Pad22)")
      (node (ref U1) (pin 22)))
    (net (code 36) (name "Net-(U1-Pad40)")
      (node (ref U1) (pin 40)))
    (net (code 37) (name "Net-(U1-Pad35)")
      (node (ref U1) (pin 35)))
    (net (code 38) (name MOSI)
      (node (ref U1) (pin 27))
      (node (ref U3) (pin 14))
      (node (ref J1) (pin 4)))
    (net (code 39) (name SCK)
      (node (ref U1) (pin 29))
      (node (ref J1) (pin 6))
      (node (ref U3) (pin 12)))
    (net (code 40) (name MISO)
      (node (ref U1) (pin 28))
      (node (ref U3) (pin 13)))
    (net (code 41) (name NSS)
      (node (ref U3) (pin 15))
      (node (ref U1) (pin 26)))
    (net (code 42) (name RADIO_RESET)
      (node (ref U1) (pin 30))
      (node (ref U3) (pin 4)))
    (net (code 43) (name DI01)
      (node (ref U1) (pin 31))
      (node (ref U3) (pin 6)))
    (net (code 44) (name SWDCLK)
      (node (ref U1) (pin 37))
      (node (ref J3) (pin 4)))
    (net (code 45) (name +3V3)
      (node (ref BT1) (pin 1))
      (node (ref J1) (pin 1))
      (node (ref U3) (pin 3))
      (node (ref U2) (pin 3))
      (node (ref J3) (pin 2))
      (node (ref C2) (pin 1))
      (node (ref R1) (pin 1))
      (node (ref U1) (pin 16)))
    (net (code 46) (name SWDIO)
      (node (ref U1) (pin 38))
      (node (ref J3) (pin 3)))))