<?xml version="1.0" encoding="UTF-8"?>
<export version="D">
  <design>
    <source>/home/simon/repo/mysensors/water_eink_sensor/schematics/water_eink_sensor.sch</source>
    <date>fre 14 dec 2018 18:58:01</date>
    <tool>Eeschema 5.0.1-33cea8e~68~ubuntu18.04.1</tool>
    <sheet number="1" name="/" tstamps="/">
      <title_block>
        <title/>
        <company/>
        <rev/>
        <date/>
        <source>water_eink_sensor.sch</source>
        <comment number="1" value=""/>
        <comment number="2" value=""/>
        <comment number="3" value=""/>
        <comment number="4" value=""/>
      </title_block>
    </sheet>
  </design>
  <components>
    <comp ref="BT1">
      <value>Battery_Cell</value>
      <footprint>BH123A:Battery cell CR2</footprint>
      <libsource lib="water_eink_sensor-rescue" part="Battery_Cell" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5BA28CE2</tstamp>
    </comp>
    <comp ref="J3">
      <value>Program</value>
      <footprint>Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm_SMD_Pin1Right</footprint>
      <libsource lib="water_eink_sensor-rescue" part="CONN_01X04" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5BA28D2D</tstamp>
    </comp>
    <comp ref="U2">
      <value>DS18B20</value>
      <footprint>Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm</footprint>
      <libsource lib="Sensor_Temperature1" part="DS18B20" description="Programmable Resolution 1-Wire Digital Thermometer TO-92"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5BA3F360</tstamp>
    </comp>
    <comp ref="R1">
      <value>4.7k1</value>
      <footprint>Resistors_SMD:R_0603</footprint>
      <libsource lib="water_eink_sensor-rescue" part="R" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5BA3F6C7</tstamp>
    </comp>
    <comp ref="C2">
      <value>10uF</value>
      <footprint>Capacitors_SMD:C_0603_HandSoldering</footprint>
      <libsource lib="water_eink_sensor-rescue" part="C" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5BC8E011</tstamp>
    </comp>
    <comp ref="U1">
      <value>E73-2G4M04S-52832</value>
      <footprint>RFmodule:E73-2G4M04S</footprint>
      <libsource lib="RF_Module1" part="E73-2G4M04S-52832" description="nRF52832 BLE5 Module"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5BCE4EC0</tstamp>
    </comp>
    <comp ref="L1">
      <value>10uH</value>
      <footprint>Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="pspice" part="INDUCTOR" description="Capacitor symbol for simulation only"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5BCEC060</tstamp>
    </comp>
    <comp ref="L2">
      <value>15nH</value>
      <footprint>Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="pspice" part="INDUCTOR" description="Capacitor symbol for simulation only"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5BCEC0D0</tstamp>
    </comp>
    <comp ref="C1">
      <value>10nF</value>
      <footprint>Capacitors_SMD:C_0603_HandSoldering</footprint>
      <libsource lib="water_eink_sensor-rescue" part="C" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5BCEE828</tstamp>
    </comp>
    <comp ref="U3">
      <value>Ai-Thinker-Ra-01</value>
      <footprint>RFmodule:HOPERF_RFM9XW_SMD</footprint>
      <datasheet>https://mikroelectron.com/Product/10KM-433M-LORA-LONG-RANGE-WIRELESS-MODULE-RA-01</datasheet>
      <libsource lib="RF_Module" part="Ai-Thinker-Ra-01" description="Ai-Thinker LoRa Module Ra-01"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5C10158C</tstamp>
    </comp>
    <comp ref="J1">
      <value>Eink</value>
      <footprint>Pin_Headers:Pin_Header_Straight_1x07_Pitch2.54mm</footprint>
      <datasheet>~</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</tstamp>
    </comp>
    <comp ref="J2">
      <value>data</value>
      <footprint>Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left</footprint>
      <datasheet>~</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</tstamp>
    </comp>
  </components>
  <libparts>
    <libpart lib="Connector_Generic" part="Conn_01x05">
      <description>Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)</description>
      <docs>~</docs>
      <footprints>
        <fp>Connector*:*_1x??_*</fp>
      </footprints>
      <fields>
        <field name="Reference">J</field>
        <field name="Value">Conn_01x05</field>
      </fields>
      <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"/>
      </pins>
    </libpart>
    <libpart lib="Connector_Generic" part="Conn_01x07">
      <description>Generic connector, single row, 01x07, script generated (kicad-library-utils/schlib/autogen/connector/)</description>
      <docs>~</docs>
      <footprints>
        <fp>Connector*:*_1x??_*</fp>
      </footprints>
      <fields>
        <field name="Reference">J</field>
        <field name="Value">Conn_01x07</field>
      </fields>
      <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"/>
      </pins>
    </libpart>
    <libpart lib="RF_Module" part="Ai-Thinker-Ra-01">
      <description>Ai-Thinker LoRa Module Ra-01</description>
      <docs>https://mikroelectron.com/Product/10KM-433M-LORA-LONG-RANGE-WIRELESS-MODULE-RA-01</docs>
      <footprints>
        <fp>Ai?Thinker?Ra?01*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">Ai-Thinker-Ra-01</field>
        <field name="Footprint">RF_Module:Ai-Thinker-Ra-01-LoRa</field>
      </fields>
      <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"/>
      </pins>
    </libpart>
    <libpart lib="RF_Module1" part="E73-2G4M04S-52832">
      <aliases>
        <alias>E73-2G4M04S-52810</alias>
      </aliases>
      <description>nRF52832 BLE5 Module</description>
      <docs>http://www.cdebyte.com/en/downpdf.aspx?id=243</docs>
      <footprints>
        <fp>E73*2G4M04S*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">E73-2G4M04S-52832</field>
        <field name="Footprint">RF_Module:E73-2G4M04S</field>
      </fields>
      <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"/>
      </pins>
    </libpart>
    <libpart lib="Sensor_Temperature1" part="MAX31820">
      <aliases>
        <alias>DS1822</alias>
        <alias>DS18B20</alias>
        <alias>DS18S20</alias>
        <alias>DS1821C</alias>
      </aliases>
      <description>1-Wire Ambient Temperature Sensor TO-92</description>
      <docs>http://datasheets.maximintegrated.com/en/ds/MAX31820.pdf</docs>
      <footprints>
        <fp>TO*92*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">MAX31820</field>
        <field name="Footprint">Package_TO_SOT_THT:TO-92_Inline</field>
      </fields>
      <pins>
        <pin num="1" name="GND" type="power_in"/>
        <pin num="2" name="DQ" type="BiDi"/>
        <pin num="3" name="VDD" type="power_in"/>
      </pins>
    </libpart>
    <libpart lib="pspice" part="INDUCTOR">
      <description>Capacitor symbol for simulation only</description>
      <docs>~</docs>
      <fields>
        <field name="Reference">L</field>
        <field name="Value">INDUCTOR</field>
      </fields>
      <pins>
        <pin num="1" name="1" type="input"/>
        <pin num="2" name="2" type="input"/>
      </pins>
    </libpart>
    <libpart lib="water_eink_sensor-rescue" part="Battery_Cell">
      <fields>
        <field name="Reference">BT</field>
        <field name="Value">Battery_Cell</field>
      </fields>
      <pins>
        <pin num="1" name="+" type="passive"/>
        <pin num="2" name="-" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="water_eink_sensor-rescue" part="C">
      <footprints>
        <fp>C_*</fp>
      </footprints>
      <fields>
        <field name="Reference">C</field>
        <field name="Value">C</field>
      </fields>
      <pins>
        <pin num="1" name="~" type="passive"/>
        <pin num="2" name="~" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="water_eink_sensor-rescue" part="CONN_01X04">
      <footprints>
        <fp>Pin_Header_Straight_1X*</fp>
        <fp>Pin_Header_Angled_1X*</fp>
        <fp>Socket_Strip_Straight_1X*</fp>
        <fp>Socket_Strip_Angled_1X*</fp>
      </footprints>
      <fields>
        <field name="Reference">J</field>
        <field name="Value">CONN_01X04</field>
      </fields>
      <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"/>
      </pins>
    </libpart>
    <libpart lib="water_eink_sensor-rescue" part="R">
      <footprints>
        <fp>R_*</fp>
        <fp>R_*</fp>
      </footprints>
      <fields>
        <field name="Reference">R</field>
        <field name="Value">R</field>
      </fields>
      <pins>
        <pin num="1" name="~" type="passive"/>
        <pin num="2" name="~" type="passive"/>
      </pins>
    </libpart>
  </libparts>
  <libraries>
    <library logical="Connector_Generic">
      <uri>/usr/share/kicad/library/Connector_Generic.lib</uri>
    </library>
    <library logical="RF_Module">
      <uri>/usr/share/kicad/library/RF_Module.lib</uri>
    </library>
    <library logical="RF_Module1">
      <uri>/home/simon/repo/mysensors/water_eink_sensor/schematics/RFM/RF_Module.lib</uri>
    </library>
    <library logical="Sensor_Temperature1">
      <uri>/home/simon/repo/mysensors/water_eink_sensor/schematics/RFM/Sensor_Temperature.lib</uri>
    </library>
    <library logical="pspice">
      <uri>/usr/share/kicad/library/pspice.lib</uri>
    </library>
    <library logical="water_eink_sensor-rescue">
      <uri>/home/simon/repo/mysensors/water_eink_sensor/schematics/water_eink_sensor-rescue.lib</uri>
    </library>
  </libraries>
  <nets>
    <net code="1" name="P0.2">
      <node ref="J2" pin="4"/>
      <node ref="U1" pin="17"/>
    </net>
    <net code="2" name="Net-(U1-Pad8)">
      <node ref="U1" pin="8"/>
    </net>
    <net code="3" name="Net-(U1-Pad9)">
      <node ref="U1" pin="9"/>
    </net>
    <net code="4" name="Net-(U1-Pad10)">
      <node ref="U1" pin="10"/>
    </net>
    <net code="5" name="Net-(U1-Pad11)">
      <node ref="U1" pin="11"/>
    </net>
    <net code="6" name="Net-(U1-Pad36)">
      <node ref="U1" pin="36"/>
    </net>
    <net code="7" name="Net-(U1-Pad24)">
      <node ref="U1" pin="24"/>
    </net>
    <net code="8" name="Net-(U1-Pad25)">
      <node ref="U1" pin="25"/>
    </net>
    <net code="9" name="Net-(U1-Pad4)">
      <node ref="U1" pin="4"/>
    </net>
    <net code="10" name="Net-(U1-Pad3)">
      <node ref="U1" pin="3"/>
    </net>
    <net code="11" name="Net-(U1-Pad14)">
      <node ref="U1" pin="14"/>
    </net>
    <net code="12" name="P0.3">
      <node ref="J2" pin="5"/>
      <node ref="U1" pin="18"/>
    </net>
    <net code="13" name="Net-(U1-Pad6)">
      <node ref="U1" pin="6"/>
    </net>
    <net code="14" name="Net-(L1-Pad2)">
      <node ref="L2" pin="1"/>
      <node ref="L1" pin="2"/>
    </net>
    <net code="15" name="Tx">
      <node ref="J2" pin="3"/>
      <node ref="U1" pin="23"/>
    </net>
    <net code="16" name="Rx">
      <node ref="J2" pin="2"/>
      <node ref="U1" pin="21"/>
    </net>
    <net code="17" name="Net-(U1-Pad5)">
      <node ref="U1" pin="5"/>
    </net>
    <net code="18" name="Net-(U3-Pad1)">
      <node ref="U3" pin="1"/>
    </net>
    <net code="19" name="Net-(U3-Pad10)">
      <node ref="U3" pin="10"/>
    </net>
    <net code="20" name="DCC">
      <node ref="L2" pin="2"/>
      <node ref="U1" pin="13"/>
      <node ref="C1" pin="2"/>
    </net>
    <net code="21" name="DEC4">
      <node ref="U1" pin="12"/>
      <node ref="L1" pin="1"/>
    </net>
    <net code="22" name="Net-(U3-Pad11)">
      <node ref="U3" pin="11"/>
    </net>
    <net code="23" name="GND">
      <node ref="U3" pin="9"/>
      <node ref="U3" pin="2"/>
      <node ref="U3" pin="16"/>
      <node ref="U2" pin="1"/>
      <node ref="J1" pin="1"/>
      <node ref="J3" pin="1"/>
      <node ref="BT1" pin="2"/>
      <node ref="C2" pin="2"/>
      <node ref="J2" pin="1"/>
      <node ref="U1" pin="2"/>
      <node ref="U1" pin="15"/>
      <node ref="U1" pin="1"/>
      <node ref="U1" pin="0"/>
      <node ref="C1" pin="1"/>
      <node ref="U1" pin="43"/>
      <node ref="U1" pin="42"/>
    </net>
    <net code="24" name="Net-(U3-Pad5)">
      <node ref="U3" pin="5"/>
    </net>
    <net code="25" name="Net-(U3-Pad7)">
      <node ref="U3" pin="7"/>
    </net>
    <net code="26" name="Net-(U3-Pad8)">
      <node ref="U3" pin="8"/>
    </net>
    <net code="27" name="Eink">
      <node ref="U1" pin="40"/>
      <node ref="J1" pin="4"/>
    </net>
    <net code="28" name="DCeink">
      <node ref="U1" pin="41"/>
      <node ref="J1" pin="3"/>
    </net>
    <net code="29" name="CS_EINK">
      <node ref="J1" pin="5"/>
      <node ref="U1" pin="39"/>
    </net>
    <net code="30" name="CLK_eink">
      <node ref="J1" pin="6"/>
      <node ref="U1" pin="35"/>
    </net>
    <net code="31" name="BUSY_eink">
      <node ref="U1" pin="34"/>
      <node ref="J1" pin="7"/>
    </net>
    <net code="32" name="Net-(U1-Pad32)">
      <node ref="U1" pin="32"/>
    </net>
    <net code="33" name="Net-(U1-Pad33)">
      <node ref="U1" pin="33"/>
    </net>
    <net code="34" name="Net-(U1-Pad19)">
      <node ref="U1" pin="19"/>
    </net>
    <net code="35" name="Net-(U1-Pad20)">
      <node ref="U1" pin="20"/>
    </net>
    <net code="36" name="Net-(U1-Pad22)">
      <node ref="U1" pin="22"/>
    </net>
    <net code="37" name="MISO">
      <node ref="U1" pin="28"/>
      <node ref="U3" pin="13"/>
    </net>
    <net code="38" name="SCK">
      <node ref="U3" pin="12"/>
      <node ref="U1" pin="29"/>
    </net>
    <net code="39" name="MOSI">
      <node ref="U1" pin="27"/>
      <node ref="U3" pin="14"/>
    </net>
    <net code="40" name="NSS">
      <node ref="U1" pin="26"/>
      <node ref="U3" pin="15"/>
    </net>
    <net code="41" name="RADIO_RESET">
      <node ref="U3" pin="4"/>
      <node ref="U1" pin="30"/>
    </net>
    <net code="42" name="DI01">
      <node ref="U3" pin="6"/>
      <node ref="U1" pin="31"/>
    </net>
    <net code="43" name="+3V3">
      <node ref="BT1" pin="1"/>
      <node ref="U1" pin="16"/>
      <node ref="J1" pin="2"/>
      <node ref="J3" pin="2"/>
      <node ref="C2" pin="1"/>
      <node ref="U2" pin="3"/>
      <node ref="U3" pin="3"/>
      <node ref="R1" pin="1"/>
    </net>
    <net code="44" name="SWDCLK">
      <node ref="J3" pin="4"/>
      <node ref="U1" pin="37"/>
    </net>
    <net code="45" name="SWDIO">
      <node ref="U1" pin="38"/>
      <node ref="J3" pin="3"/>
    </net>
    <net code="46" name="DataTemp">
      <node ref="U1" pin="7"/>
      <node ref="R1" pin="2"/>
      <node ref="U2" pin="2"/>
    </net>
  </nets>
</export>
