<?xml version="1.0" encoding="UTF-8"?>
<export version="E">
  <design>
    <source>Y:\Dokumente\KiCAD\doorlock\pcbv1\pcbv1.kicad_sch</source>
    <date>16.04.2022 16:58:52</date>
    <tool>Eeschema (6.0.4)</tool>
    <sheet number="1" name="/" tstamps="/">
      <title_block>
        <title/>
        <company/>
        <rev/>
        <date/>
        <source>pcbv1.kicad_sch</source>
        <comment number="1" value=""/>
        <comment number="2" value=""/>
        <comment number="3" value=""/>
        <comment number="4" value=""/>
        <comment number="5" value=""/>
        <comment number="6" value=""/>
        <comment number="7" value=""/>
        <comment number="8" value=""/>
        <comment number="9" value=""/>
      </title_block>
    </sheet>
  </design>
  <components>
    <comp ref="C1">
      <value>C_Polarized</value>
      <footprint>Capacitor_THT:CP_Radial_D4.0mm_P2.00mm</footprint>
      <libsource lib="Device" part="C_Polarized" description="Polarized capacitor"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>261e1fea-305b-4485-819c-b52e3ff81ef3</tstamps>
    </comp>
    <comp ref="C2">
      <value>C</value>
      <footprint>Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder</footprint>
      <libsource lib="Device" part="C" description="Unpolarized capacitor"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>fa065906-32b9-41a1-a6e0-56d85d212fb2</tstamps>
    </comp>
    <comp ref="C3">
      <value>C</value>
      <footprint>Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder</footprint>
      <libsource lib="Device" part="C" description="Unpolarized capacitor"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>9f627c5a-cf4f-4762-a572-c3ab372c3b93</tstamps>
    </comp>
    <comp ref="D1">
      <value>1N47xxA</value>
      <footprint>Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal</footprint>
      <datasheet>https://www.vishay.com/docs/85816/1n4728a.pdf</datasheet>
      <libsource lib="Diode" part="1N47xxA" description="1300mW Silicon planar power Zener diodes, DO-41"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>de5261a1-58d9-48ea-9687-fc9db8d1ad04</tstamps>
    </comp>
    <comp ref="J_KB1">
      <value>Conn_01x08</value>
      <footprint>Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical</footprint>
      <libsource lib="Connector_Generic" part="Conn_01x08" description="Generic connector, single row, 01x08, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>2d317e15-eabb-4909-9df8-5f501a5411f1</tstamps>
    </comp>
    <comp ref="J_LCD1">
      <value>Conn_01x04</value>
      <footprint>Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Horizontal</footprint>
      <libsource lib="Connector_Generic" part="Conn_01x04" description="Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>60de6f28-5880-4bb8-bd3a-47f9428e1ec4</tstamps>
    </comp>
    <comp ref="J_OPN1">
      <value>Conn_OPENER</value>
      <footprint>Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Horizontal</footprint>
      <libsource lib="Connector_Generic" part="Conn_01x02" description="Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>ae059b40-ceed-44a6-b0fa-51178bb4e5c5</tstamps>
    </comp>
    <comp ref="J_PW1">
      <value>Conn_POWER_IN</value>
      <footprint>Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Horizontal</footprint>
      <libsource lib="Connector_Generic" part="Conn_01x02" description="Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>d29ed8bd-da99-44e2-945b-b21e20aa2c06</tstamps>
    </comp>
    <comp ref="J_RFID1">
      <value>Conn_01x07</value>
      <footprint>Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Horizontal</footprint>
      <libsource lib="Connector_Generic" part="Conn_01x07" description="Generic connector, single row, 01x07, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>8bb2720f-cd58-4148-bbc9-06e99c7f4bf7</tstamps>
    </comp>
    <comp ref="J_SER1">
      <value>Serial</value>
      <footprint>Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Horizontal</footprint>
      <libsource lib="Connector_Generic" part="Conn_01x02" description="Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>936b6d30-ba8f-4631-8cd8-55fc5093eab2</tstamps>
    </comp>
    <comp ref="K1">
      <value>SANYOU_SRD_Form_C</value>
      <footprint>Relay_THT:Relay_SPDT_SANYOU_SRD_Series_Form_C</footprint>
      <datasheet>http://www.sanyourelay.ca/public/products/pdf/SRD.pdf</datasheet>
      <libsource lib="Relay" part="SANYOU_SRD_Form_C" description="Sanyo SRD relay, Single Pole Miniature Power Relay,"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>4015774f-319d-4bd2-9e61-31f14b0c26aa</tstamps>
    </comp>
    <comp ref="Q1">
      <value>PN2222A</value>
      <footprint>Package_TO_SOT_THT:TO-92_Inline</footprint>
      <datasheet>https://www.onsemi.com/pub/Collateral/PN2222-D.PDF</datasheet>
      <libsource lib="Transistor_BJT" part="PN2222A" description="1A Ic, 40V Vce, NPN Transistor, General Purpose Transistor, TO-92"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>af19998b-13bd-4591-a1a1-a085ffe6384d</tstamps>
    </comp>
    <comp ref="R1">
      <value>10K</value>
      <footprint>Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder</footprint>
      <libsource lib="Device" part="R" description="Resistor"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>c484d5b9-5b96-40aa-850f-1f42d60f044c</tstamps>
    </comp>
    <comp ref="R2">
      <value>10K</value>
      <footprint>Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder</footprint>
      <libsource lib="Device" part="R" description="Resistor"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>324a62ce-1d20-4c54-b806-fc9da0cf704c</tstamps>
    </comp>
    <comp ref="R_FLASH1">
      <value>470 R</value>
      <footprint>Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder</footprint>
      <libsource lib="Device" part="R" description="Resistor"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>9e070008-8121-4a2c-b0f6-1f25a22d1f95</tstamps>
    </comp>
    <comp ref="R_OPTO_R1">
      <value>3K9</value>
      <footprint>Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder</footprint>
      <libsource lib="Device" part="R" description="Resistor"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>3a582103-5d4e-4956-acc4-e64fc6bb88a2</tstamps>
    </comp>
    <comp ref="R_OPTP_S1">
      <value>1K</value>
      <footprint>Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder</footprint>
      <libsource lib="Device" part="R" description="Resistor"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>429d8298-5e79-4d7a-bf0d-7cf25fa82a32</tstamps>
    </comp>
    <comp ref="R_RESET1">
      <value>470 R</value>
      <footprint>Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder</footprint>
      <libsource lib="Device" part="R" description="Resistor"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>a2df13a9-a88a-4743-8474-2095db20dc72</tstamps>
    </comp>
    <comp ref="SW_FLASH1">
      <value>SW_Push</value>
      <footprint>Button_Switch_THT:SW_PUSH_6mm</footprint>
      <libsource lib="Switch" part="SW_Push" description="Push button switch, generic, two pins"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>b197ec4f-1c49-47ec-8df5-df63cef9bed5</tstamps>
    </comp>
    <comp ref="SW_RESET1">
      <value>SW_Push</value>
      <footprint>Button_Switch_THT:SW_PUSH_6mm</footprint>
      <libsource lib="Switch" part="SW_Push" description="Push button switch, generic, two pins"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>c0dc022f-0d95-4c54-8202-f0f174d6d217</tstamps>
    </comp>
    <comp ref="U1">
      <value>PCF8574TS</value>
      <footprint>Package_SO:SSOP-20_4.4x6.5mm_P0.65mm</footprint>
      <datasheet>http://www.nxp.com/documents/data_sheet/PCF8574_PCF8574A.pdf</datasheet>
      <libsource lib="Interface_Expansion" part="PCF8574TS" description="8 Bit Port/Expander to I2C Bus, SSOP-20"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>a2bd8504-79a9-4a45-93dd-a989afca60e7</tstamps>
    </comp>
    <comp ref="U2">
      <value>AMS1117-3.3</value>
      <footprint>Package_TO_SOT_SMD:SOT-223-3_TabPin2</footprint>
      <datasheet>http://www.advanced-monolithic.com/pdf/ds1117.pdf</datasheet>
      <libsource lib="Regulator_Linear" part="AMS1117-3.3" description="1A Low Dropout regulator, positive, 3.3V fixed output, SOT-223"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>4a6b18c9-4514-46b3-a1a2-0a2baaf0fb6c</tstamps>
    </comp>
    <comp ref="U3">
      <value>AMS1117-5.0</value>
      <footprint>Package_TO_SOT_SMD:SOT-223-3_TabPin2</footprint>
      <datasheet>http://www.advanced-monolithic.com/pdf/ds1117.pdf</datasheet>
      <libsource lib="Regulator_Linear" part="AMS1117-5.0" description="1A Low Dropout regulator, positive, 5.0V fixed output, SOT-223"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>14b78170-78aa-4a79-bc7c-ba267e4429a2</tstamps>
    </comp>
    <comp ref="U4">
      <value>ESP-12E</value>
      <footprint>RF_Module:ESP-12E</footprint>
      <datasheet>http://wiki.ai-thinker.com/_media/esp8266/esp8266_series_modules_user_manual_v1.1.pdf</datasheet>
      <libsource lib="RF_Module" part="ESP-12E" description="802.11 b/g/n Wi-Fi Module"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>c19d0beb-1bd3-48d2-8346-318578866a4e</tstamps>
    </comp>
    <comp ref="U5">
      <value>PC817</value>
      <footprint>Package_DIP:DIP-4_W7.62mm</footprint>
      <datasheet>http://www.soselectronic.cz/a_info/resource/d/pc817.pdf</datasheet>
      <libsource lib="Isolator" part="PC817" description="DC Optocoupler, Vce 35V, CTR 50-300%, DIP-4"/>
      <property name="Sheetname" value=""/>
      <property name="Sheetfile" value="pcbv1.kicad_sch"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamps>c1a31f9b-b61b-4ac8-8064-39ca717e66df</tstamps>
    </comp>
  </components>
  <libparts>
    <libpart lib="Connector_Generic" part="Conn_01x02">
      <description>Generic connector, single row, 01x02, 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_01x02</field>
        <field name="Datasheet">~</field>
      </fields>
      <pins>
        <pin num="1" name="Pin_1" type="passive"/>
        <pin num="2" name="Pin_2" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="Connector_Generic" part="Conn_01x04">
      <description>Generic connector, single row, 01x04, 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_01x04</field>
        <field name="Datasheet">~</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"/>
      </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>
        <field name="Datasheet">~</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="Connector_Generic" part="Conn_01x08">
      <description>Generic connector, single row, 01x08, 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_01x08</field>
        <field name="Datasheet">~</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"/>
        <pin num="8" name="Pin_8" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="Device" part="C">
      <description>Unpolarized capacitor</description>
      <docs>~</docs>
      <footprints>
        <fp>C_*</fp>
      </footprints>
      <fields>
        <field name="Reference">C</field>
        <field name="Value">C</field>
        <field name="Datasheet">~</field>
      </fields>
      <pins>
        <pin num="1" name="" type="passive"/>
        <pin num="2" name="" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="Device" part="C_Polarized">
      <description>Polarized capacitor</description>
      <docs>~</docs>
      <footprints>
        <fp>CP_*</fp>
      </footprints>
      <fields>
        <field name="Reference">C</field>
        <field name="Value">C_Polarized</field>
        <field name="Datasheet">~</field>
      </fields>
      <pins>
        <pin num="1" name="" type="passive"/>
        <pin num="2" name="" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="Device" part="R">
      <description>Resistor</description>
      <docs>~</docs>
      <footprints>
        <fp>R_*</fp>
      </footprints>
      <fields>
        <field name="Reference">R</field>
        <field name="Value">R</field>
        <field name="Datasheet">~</field>
      </fields>
      <pins>
        <pin num="1" name="" type="passive"/>
        <pin num="2" name="" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="Diode" part="1N47xxA">
      <description>1300mW Silicon planar power Zener diodes, DO-41</description>
      <docs>https://www.vishay.com/docs/85816/1n4728a.pdf</docs>
      <footprints>
        <fp>D*DO?41*</fp>
      </footprints>
      <fields>
        <field name="Reference">D</field>
        <field name="Value">1N47xxA</field>
        <field name="Footprint">Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal</field>
        <field name="Datasheet">https://www.vishay.com/docs/85816/1n4728a.pdf</field>
      </fields>
      <pins>
        <pin num="1" name="K" type="passive"/>
        <pin num="2" name="A" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="Interface_Expansion" part="PCF8574TS">
      <description>8 Bit Port/Expander to I2C Bus, SSOP-20</description>
      <docs>http://www.nxp.com/documents/data_sheet/PCF8574_PCF8574A.pdf</docs>
      <footprints>
        <fp>SSOP*4.4x6.5mm*P0.65mm*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">PCF8574TS</field>
        <field name="Footprint">Package_SO:SSOP-20_4.4x6.5mm_P0.65mm</field>
        <field name="Datasheet">http://www.nxp.com/documents/data_sheet/PCF8574_PCF8574A.pdf</field>
      </fields>
      <pins>
        <pin num="1" name="~{INT}" type="open_collector"/>
        <pin num="2" name="SCL" type="input"/>
        <pin num="3" name="NC" type="no_connect"/>
        <pin num="4" name="SDA" type="bidirectional"/>
        <pin num="5" name="VDD" type="power_in"/>
        <pin num="6" name="A0" type="input"/>
        <pin num="7" name="A1" type="input"/>
        <pin num="8" name="NC" type="no_connect"/>
        <pin num="9" name="A2" type="input"/>
        <pin num="10" name="P0" type="bidirectional"/>
        <pin num="11" name="P1" type="bidirectional"/>
        <pin num="12" name="P2" type="bidirectional"/>
        <pin num="13" name="NC" type="no_connect"/>
        <pin num="14" name="P3" type="bidirectional"/>
        <pin num="15" name="VSS" type="power_in"/>
        <pin num="16" name="P4" type="bidirectional"/>
        <pin num="17" name="P5" type="bidirectional"/>
        <pin num="18" name="NC" type="no_connect"/>
        <pin num="19" name="P6" type="bidirectional"/>
        <pin num="20" name="P7" type="bidirectional"/>
      </pins>
    </libpart>
    <libpart lib="Isolator" part="PC817">
      <description>DC Optocoupler, Vce 35V, CTR 50-300%, DIP-4</description>
      <docs>http://www.soselectronic.cz/a_info/resource/d/pc817.pdf</docs>
      <footprints>
        <fp>DIP*W7.62mm*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">PC817</field>
        <field name="Footprint">Package_DIP:DIP-4_W7.62mm</field>
        <field name="Datasheet">http://www.soselectronic.cz/a_info/resource/d/pc817.pdf</field>
      </fields>
      <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"/>
      </pins>
    </libpart>
    <libpart lib="RF_Module" part="ESP-12E">
      <description>802.11 b/g/n Wi-Fi Module</description>
      <docs>http://wiki.ai-thinker.com/_media/esp8266/esp8266_series_modules_user_manual_v1.1.pdf</docs>
      <footprints>
        <fp>ESP?12*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">ESP-12E</field>
        <field name="Footprint">RF_Module:ESP-12E</field>
        <field name="Datasheet">http://wiki.ai-thinker.com/_media/esp8266/esp8266_series_modules_user_manual_v1.1.pdf</field>
      </fields>
      <pins>
        <pin num="1" name="~{RST}" type="input"/>
        <pin num="2" name="ADC" type="input"/>
        <pin num="3" name="EN" type="input"/>
        <pin num="4" name="GPIO16" type="bidirectional"/>
        <pin num="5" name="GPIO14" type="bidirectional"/>
        <pin num="6" name="GPIO12" type="bidirectional"/>
        <pin num="7" name="GPIO13" type="bidirectional"/>
        <pin num="8" name="VCC" type="power_in"/>
        <pin num="9" name="CS0" type="input"/>
        <pin num="10" name="MISO" type="bidirectional"/>
        <pin num="11" name="GPIO9" type="bidirectional"/>
        <pin num="12" name="GPIO10" type="bidirectional"/>
        <pin num="13" name="MOSI" type="bidirectional"/>
        <pin num="14" name="SCLK" type="bidirectional"/>
        <pin num="15" name="GND" type="power_in"/>
        <pin num="16" name="GPIO15" type="bidirectional"/>
        <pin num="17" name="GPIO2" type="bidirectional"/>
        <pin num="18" name="GPIO0" type="bidirectional"/>
        <pin num="19" name="GPIO4" type="bidirectional"/>
        <pin num="20" name="GPIO5" type="bidirectional"/>
        <pin num="21" name="GPIO3/RXD" type="bidirectional"/>
        <pin num="22" name="GPIO1/TXD" type="bidirectional"/>
      </pins>
    </libpart>
    <libpart lib="Regulator_Linear" part="AMS1117-3.3">
      <description>1A Low Dropout regulator, positive, 3.3V fixed output, SOT-223</description>
      <docs>http://www.advanced-monolithic.com/pdf/ds1117.pdf</docs>
      <footprints>
        <fp>SOT?223*TabPin2*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">AMS1117-3.3</field>
        <field name="Footprint">Package_TO_SOT_SMD:SOT-223-3_TabPin2</field>
        <field name="Datasheet">http://www.advanced-monolithic.com/pdf/ds1117.pdf</field>
      </fields>
      <pins>
        <pin num="1" name="GND" type="power_in"/>
        <pin num="2" name="VO" type="power_out"/>
        <pin num="3" name="VI" type="power_in"/>
      </pins>
    </libpart>
    <libpart lib="Regulator_Linear" part="AMS1117-5.0">
      <description>1A Low Dropout regulator, positive, 5.0V fixed output, SOT-223</description>
      <docs>http://www.advanced-monolithic.com/pdf/ds1117.pdf</docs>
      <footprints>
        <fp>SOT?223*TabPin2*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">AMS1117-5.0</field>
        <field name="Footprint">Package_TO_SOT_SMD:SOT-223-3_TabPin2</field>
        <field name="Datasheet">http://www.advanced-monolithic.com/pdf/ds1117.pdf</field>
      </fields>
      <pins>
        <pin num="1" name="GND" type="power_in"/>
        <pin num="2" name="VO" type="power_out"/>
        <pin num="3" name="VI" type="power_in"/>
      </pins>
    </libpart>
    <libpart lib="Relay" part="SANYOU_SRD_Form_C">
      <description>Sanyo SRD relay, Single Pole Miniature Power Relay,</description>
      <docs>http://www.sanyourelay.ca/public/products/pdf/SRD.pdf</docs>
      <footprints>
        <fp>Relay*SPDT*SANYOU*SRD*Series*Form*C*</fp>
      </footprints>
      <fields>
        <field name="Reference">K</field>
        <field name="Value">SANYOU_SRD_Form_C</field>
        <field name="Footprint">Relay_THT:Relay_SPDT_SANYOU_SRD_Series_Form_C</field>
        <field name="Datasheet">http://www.sanyourelay.ca/public/products/pdf/SRD.pdf</field>
      </fields>
      <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"/>
      </pins>
    </libpart>
    <libpart lib="Switch" part="SW_Push">
      <description>Push button switch, generic, two pins</description>
      <docs>~</docs>
      <fields>
        <field name="Reference">SW</field>
        <field name="Value">SW_Push</field>
        <field name="Datasheet">~</field>
      </fields>
      <pins>
        <pin num="1" name="1" type="passive"/>
        <pin num="2" name="2" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="Transistor_BJT" part="PN2222A">
      <description>1A Ic, 40V Vce, NPN Transistor, General Purpose Transistor, TO-92</description>
      <docs>https://www.onsemi.com/pub/Collateral/PN2222-D.PDF</docs>
      <footprints>
        <fp>TO?92*</fp>
      </footprints>
      <fields>
        <field name="Reference">Q</field>
        <field name="Value">PN2222A</field>
        <field name="Footprint">Package_TO_SOT_THT:TO-92_Inline</field>
        <field name="Datasheet">https://www.onsemi.com/pub/Collateral/PN2222-D.PDF</field>
      </fields>
      <pins>
        <pin num="1" name="E" type="passive"/>
        <pin num="2" name="B" type="input"/>
        <pin num="3" name="C" type="passive"/>
      </pins>
    </libpart>
  </libparts>
  <libraries>
    <library logical="Connector_Generic">
      <uri>C:\Program Files\KiCad\6.0\share\kicad\symbols\/Connector_Generic.kicad_sym</uri>
    </library>
    <library logical="Device">
      <uri>C:\Program Files\KiCad\6.0\share\kicad\symbols\/Device.kicad_sym</uri>
    </library>
    <library logical="Diode">
      <uri>C:\Program Files\KiCad\6.0\share\kicad\symbols\/Diode.kicad_sym</uri>
    </library>
    <library logical="Interface_Expansion">
      <uri>C:\Program Files\KiCad\6.0\share\kicad\symbols\/Interface_Expansion.kicad_sym</uri>
    </library>
    <library logical="Isolator">
      <uri>C:\Program Files\KiCad\6.0\share\kicad\symbols\/Isolator.kicad_sym</uri>
    </library>
    <library logical="RF_Module">
      <uri>C:\Program Files\KiCad\6.0\share\kicad\symbols\/RF_Module.kicad_sym</uri>
    </library>
    <library logical="Regulator_Linear">
      <uri>C:\Program Files\KiCad\6.0\share\kicad\symbols\/Regulator_Linear.kicad_sym</uri>
    </library>
    <library logical="Relay">
      <uri>C:\Program Files\KiCad\6.0\share\kicad\symbols\/Relay.kicad_sym</uri>
    </library>
    <library logical="Switch">
      <uri>C:\Program Files\KiCad\6.0\share\kicad\symbols\/Switch.kicad_sym</uri>
    </library>
    <library logical="Transistor_BJT">
      <uri>C:\Program Files\KiCad\6.0\share\kicad\symbols\/Transistor_BJT.kicad_sym</uri>
    </library>
  </libraries>
  <nets>
    <net code="1" name="Net-(C2-Pad1)">
      <node ref="C2" pin="1" pintype="passive"/>
      <node ref="J_RFID1" pin="1" pinfunction="Pin_1" pintype="passive"/>
      <node ref="R1" pin="1" pintype="passive"/>
      <node ref="U1" pin="5" pinfunction="VDD" pintype="power_in"/>
      <node ref="U2" pin="2" pinfunction="VO" pintype="power_out"/>
      <node ref="U4" pin="8" pinfunction="VCC" pintype="power_in"/>
    </net>
    <net code="2" name="Net-(D1-Pad2)">
      <node ref="D1" pin="2" pinfunction="A" pintype="passive"/>
      <node ref="K1" pin="2" pintype="passive"/>
      <node ref="Q1" pin="3" pinfunction="C" pintype="passive"/>
    </net>
    <net code="3" name="Net-(J_KB1-Pad1)">
      <node ref="J_KB1" pin="1" pinfunction="Pin_1" pintype="passive"/>
      <node ref="U1" pin="10" pinfunction="P0" pintype="bidirectional"/>
    </net>
    <net code="4" name="Net-(J_KB1-Pad2)">
      <node ref="J_KB1" pin="2" pinfunction="Pin_2" pintype="passive"/>
      <node ref="U1" pin="11" pinfunction="P1" pintype="bidirectional"/>
    </net>
    <net code="5" name="Net-(J_KB1-Pad3)">
      <node ref="J_KB1" pin="3" pinfunction="Pin_3" pintype="passive"/>
      <node ref="U1" pin="12" pinfunction="P2" pintype="bidirectional"/>
    </net>
    <net code="6" name="Net-(J_KB1-Pad4)">
      <node ref="J_KB1" pin="4" pinfunction="Pin_4" pintype="passive"/>
      <node ref="U1" pin="14" pinfunction="P3" pintype="bidirectional"/>
    </net>
    <net code="7" name="Net-(J_KB1-Pad5)">
      <node ref="J_KB1" pin="5" pinfunction="Pin_5" pintype="passive"/>
      <node ref="U1" pin="16" pinfunction="P4" pintype="bidirectional"/>
    </net>
    <net code="8" name="Net-(J_KB1-Pad6)">
      <node ref="J_KB1" pin="6" pinfunction="Pin_6" pintype="passive"/>
      <node ref="U1" pin="17" pinfunction="P5" pintype="bidirectional"/>
    </net>
    <net code="9" name="Net-(J_KB1-Pad7)">
      <node ref="J_KB1" pin="7" pinfunction="Pin_7" pintype="passive"/>
      <node ref="U1" pin="19" pinfunction="P6" pintype="bidirectional"/>
    </net>
    <net code="10" name="Net-(J_KB1-Pad8)">
      <node ref="J_KB1" pin="8" pinfunction="Pin_8" pintype="passive"/>
      <node ref="U1" pin="20" pinfunction="P7" pintype="bidirectional"/>
    </net>
    <net code="11" name="Net-(J_LCD1-Pad1)">
      <node ref="J_LCD1" pin="1" pinfunction="Pin_1" pintype="passive"/>
      <node ref="U1" pin="2" pinfunction="SCL" pintype="input"/>
      <node ref="U4" pin="19" pinfunction="GPIO4" pintype="bidirectional"/>
    </net>
    <net code="12" name="Net-(J_LCD1-Pad2)">
      <node ref="J_LCD1" pin="2" pinfunction="Pin_2" pintype="passive"/>
      <node ref="U1" pin="4" pinfunction="SDA" pintype="bidirectional"/>
      <node ref="U4" pin="20" pinfunction="GPIO5" pintype="bidirectional"/>
    </net>
    <net code="13" name="Net-(J_LCD1-Pad3)">
      <node ref="C3" pin="1" pintype="passive"/>
      <node ref="J_LCD1" pin="3" pinfunction="Pin_3" pintype="passive"/>
      <node ref="U3" pin="2" pinfunction="VO" pintype="power_out"/>
    </net>
    <net code="14" name="Net-(J_LCD1-Pad4)">
      <node ref="C1" pin="2" pintype="passive"/>
      <node ref="C2" pin="2" pintype="passive"/>
      <node ref="C3" pin="2" pintype="passive"/>
      <node ref="J_LCD1" pin="4" pinfunction="Pin_4" pintype="passive"/>
      <node ref="J_OPN1" pin="2" pinfunction="Pin_2" pintype="passive"/>
      <node ref="J_PW1" pin="1" pinfunction="Pin_1" pintype="passive"/>
      <node ref="J_RFID1" pin="3" pinfunction="Pin_3" pintype="passive"/>
      <node ref="Q1" pin="1" pinfunction="E" pintype="passive"/>
      <node ref="R2" pin="2" pintype="passive"/>
      <node ref="R_FLASH1" pin="2" pintype="passive"/>
      <node ref="R_RESET1" pin="2" pintype="passive"/>
      <node ref="U1" pin="15" pinfunction="VSS" pintype="power_in"/>
      <node ref="U1" pin="6" pinfunction="A0" pintype="input"/>
      <node ref="U1" pin="7" pinfunction="A1" pintype="input"/>
      <node ref="U1" pin="9" pinfunction="A2" pintype="input"/>
      <node ref="U2" pin="1" pinfunction="GND" pintype="power_in"/>
      <node ref="U3" pin="1" pinfunction="GND" pintype="power_in"/>
      <node ref="U4" pin="15" pinfunction="GND" pintype="power_in"/>
      <node ref="U5" pin="2" pintype="passive"/>
    </net>
    <net code="15" name="Net-(J_OPN1-Pad1)">
      <node ref="J_OPN1" pin="1" pinfunction="Pin_1" pintype="passive"/>
      <node ref="K1" pin="1" pintype="passive"/>
    </net>
    <net code="16" name="Net-(J_RFID1-Pad4)">
      <node ref="J_RFID1" pin="4" pinfunction="Pin_4" pintype="passive"/>
      <node ref="U4" pin="6" pinfunction="GPIO12" pintype="bidirectional"/>
    </net>
    <net code="17" name="Net-(J_SER1-Pad1)">
      <node ref="J_SER1" pin="1" pinfunction="Pin_1" pintype="passive"/>
      <node ref="U4" pin="22" pinfunction="GPIO1/TXD" pintype="bidirectional"/>
    </net>
    <net code="18" name="Net-(J_SER1-Pad2)">
      <node ref="J_SER1" pin="2" pinfunction="Pin_2" pintype="passive"/>
      <node ref="U4" pin="21" pinfunction="GPIO3/RXD" pintype="bidirectional"/>
    </net>
    <net code="19" name="Net-(Q1-Pad2)">
      <node ref="Q1" pin="2" pinfunction="B" pintype="input"/>
      <node ref="U5" pin="3" pintype="passive"/>
    </net>
    <net code="20" name="Net-(R_OPTO_R1-Pad1)">
      <node ref="C1" pin="1" pintype="passive"/>
      <node ref="D1" pin="1" pinfunction="K" pintype="passive"/>
      <node ref="J_PW1" pin="2" pinfunction="Pin_2" pintype="passive"/>
      <node ref="K1" pin="3" pintype="passive"/>
      <node ref="K1" pin="5" pintype="passive"/>
      <node ref="R_OPTO_R1" pin="1" pintype="passive"/>
      <node ref="U2" pin="3" pinfunction="VI" pintype="power_in"/>
      <node ref="U3" pin="3" pinfunction="VI" pintype="power_in"/>
    </net>
    <net code="21" name="Net-(R_OPTO_R1-Pad2)">
      <node ref="R_OPTO_R1" pin="2" pintype="passive"/>
      <node ref="U5" pin="4" pintype="passive"/>
    </net>
    <net code="22" name="Net-(R_OPTP_S1-Pad1)">
      <node ref="R_OPTP_S1" pin="1" pintype="passive"/>
      <node ref="U4" pin="17" pinfunction="GPIO2" pintype="bidirectional"/>
    </net>
    <net code="23" name="Net-(R_OPTP_S1-Pad2)">
      <node ref="R_OPTP_S1" pin="2" pintype="passive"/>
      <node ref="U5" pin="1" pintype="passive"/>
    </net>
    <net code="24" name="Net-(SW_FLASH1-Pad1)">
      <node ref="SW_FLASH1" pin="1" pinfunction="1" pintype="passive"/>
      <node ref="U4" pin="18" pinfunction="GPIO0" pintype="bidirectional"/>
    </net>
    <net code="25" name="Net-(SW_FLASH1-Pad2)">
      <node ref="R_FLASH1" pin="1" pintype="passive"/>
      <node ref="SW_FLASH1" pin="2" pinfunction="2" pintype="passive"/>
    </net>
    <net code="26" name="Net-(SW_RESET1-Pad1)">
      <node ref="R_RESET1" pin="1" pintype="passive"/>
      <node ref="SW_RESET1" pin="1" pinfunction="1" pintype="passive"/>
    </net>
    <net code="27" name="Net-(SW_RESET1-Pad2)">
      <node ref="SW_RESET1" pin="2" pinfunction="2" pintype="passive"/>
      <node ref="U4" pin="1" pinfunction="~{RST}" pintype="input"/>
    </net>
    <net code="28" name="Net-(U4-Pad3)">
      <node ref="R1" pin="2" pintype="passive"/>
      <node ref="U4" pin="3" pinfunction="EN" pintype="input"/>
    </net>
    <net code="29" name="Net-(U4-Pad4)">
      <node ref="J_RFID1" pin="2" pinfunction="Pin_2" pintype="passive"/>
      <node ref="U4" pin="4" pinfunction="GPIO16" pintype="bidirectional"/>
    </net>
    <net code="30" name="Net-(U4-Pad5)">
      <node ref="J_RFID1" pin="6" pinfunction="Pin_6" pintype="passive"/>
      <node ref="U4" pin="5" pinfunction="GPIO14" pintype="bidirectional"/>
    </net>
    <net code="31" name="Net-(U4-Pad7)">
      <node ref="J_RFID1" pin="5" pinfunction="Pin_5" pintype="passive"/>
      <node ref="U4" pin="7" pinfunction="GPIO13" pintype="bidirectional"/>
    </net>
    <net code="32" name="Net-(U4-Pad16)">
      <node ref="J_RFID1" pin="7" pinfunction="Pin_7" pintype="passive"/>
      <node ref="R2" pin="1" pintype="passive"/>
      <node ref="U4" pin="16" pinfunction="GPIO15" pintype="bidirectional"/>
    </net>
    <net code="33" name="unconnected-(K1-Pad4)">
      <node ref="K1" pin="4" pintype="passive"/>
    </net>
    <net code="34" name="unconnected-(U1-Pad1)">
      <node ref="U1" pin="1" pinfunction="~{INT}" pintype="open_collector"/>
    </net>
    <net code="35" name="unconnected-(U1-Pad3)">
      <node ref="U1" pin="3" pinfunction="NC" pintype="no_connect"/>
    </net>
    <net code="36" name="unconnected-(U1-Pad8)">
      <node ref="U1" pin="8" pinfunction="NC" pintype="no_connect"/>
    </net>
    <net code="37" name="unconnected-(U1-Pad13)">
      <node ref="U1" pin="13" pinfunction="NC" pintype="no_connect"/>
    </net>
    <net code="38" name="unconnected-(U1-Pad18)">
      <node ref="U1" pin="18" pinfunction="NC" pintype="no_connect"/>
    </net>
    <net code="39" name="unconnected-(U4-Pad2)">
      <node ref="U4" pin="2" pinfunction="ADC" pintype="input"/>
    </net>
    <net code="40" name="unconnected-(U4-Pad9)">
      <node ref="U4" pin="9" pinfunction="CS0" pintype="input"/>
    </net>
    <net code="41" name="unconnected-(U4-Pad10)">
      <node ref="U4" pin="10" pinfunction="MISO" pintype="bidirectional"/>
    </net>
    <net code="42" name="unconnected-(U4-Pad11)">
      <node ref="U4" pin="11" pinfunction="GPIO9" pintype="bidirectional"/>
    </net>
    <net code="43" name="unconnected-(U4-Pad12)">
      <node ref="U4" pin="12" pinfunction="GPIO10" pintype="bidirectional"/>
    </net>
    <net code="44" name="unconnected-(U4-Pad13)">
      <node ref="U4" pin="13" pinfunction="MOSI" pintype="bidirectional"/>
    </net>
    <net code="45" name="unconnected-(U4-Pad14)">
      <node ref="U4" pin="14" pinfunction="SCLK" pintype="bidirectional"/>
    </net>
  </nets>
</export>
