<?xml version="1.0" encoding="UTF-8"?>
<export version="D">
  <design>
    <source>/home/eddy/Docs/SAO/BTA/MIRROR_CONTROL_termo/Project/kicad/Sensors_tester_with_screen/stm32f042/stm32f042.sch</source>
    <date>Вт 16 июл 2019 08:53:19</date>
    <tool>Eeschema (6.0.0-rc1-dev-1613-ga55d9819b)</tool>
    <sheet number="1" name="/" tstamps="/">
      <title_block>
        <title/>
        <company/>
        <rev/>
        <date/>
        <source>stm32f042.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="R10">
      <value>10k</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="R" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D347863</tstamp>
    </comp>
    <comp ref="C2">
      <value>0.1</value>
      <footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="C" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>590D4150</tstamp>
    </comp>
    <comp ref="C1">
      <value>0.1</value>
      <footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="C" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D4AE2B9</tstamp>
    </comp>
    <comp ref="SW2">
      <value>Boot</value>
      <footprint>Buttons_Switches_SMD:SW_SPST_FSMSM</footprint>
      <libsource lib="Switch" part="SW_Push" description="Push button switch, generic, two pins"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D34785A</tstamp>
    </comp>
    <comp ref="SW1">
      <value>Reset</value>
      <footprint>Buttons_Switches_SMD:SW_SPST_FSMSM</footprint>
      <libsource lib="Switch" part="SW_Push" description="Push button switch, generic, two pins"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D34785B</tstamp>
    </comp>
    <comp ref="P1">
      <value>USB_B</value>
      <footprint>Connectors_USB:USB_B_OST_USB-B1HSxx_Horizontal</footprint>
      <libsource lib="stm32-rescue" part="USB_A-RESCUE-stm32" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5CEABE76</tstamp>
    </comp>
    <comp ref="R1">
      <value>22</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="R" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5CEABEA6</tstamp>
    </comp>
    <comp ref="R2">
      <value>22</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="R" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5CEABEAC</tstamp>
    </comp>
    <comp ref="U1">
      <value>USBLC6-2SC6</value>
      <footprint>TO_SOT_Packages_SMD:SOT-23-6_Handsoldering</footprint>
      <datasheet>http://www2.st.com/resource/en/datasheet/CD00050750.pdf</datasheet>
      <libsource lib="Power_Protection" part="USBLC6-2SC6" description="Bidirectional ESD Protection Diode, SOT-23-6"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5CED0250</tstamp>
    </comp>
    <comp ref="D3">
      <value>SS14</value>
      <footprint>Diode_SMD:D_SMB_Handsoldering</footprint>
      <datasheet>~</datasheet>
      <libsource lib="Device" part="D_Schottky" description="Schottky diode"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D89B9B8</tstamp>
    </comp>
    <comp ref="J2">
      <value>Conn</value>
      <footprint>TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal</footprint>
      <datasheet>~</datasheet>
      <libsource lib="Connector_Generic" part="Conn_01x02" description="Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D2DE414</tstamp>
    </comp>
    <comp ref="U2">
      <value>STM32F042C6Tx</value>
      <footprint>Package_QFP:LQFP-48_7x7mm_P0.5mm</footprint>
      <libsource lib="stm32-rescue" part="STM32F042C6Tx" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>58C42C0E</tstamp>
    </comp>
    <comp ref="C3">
      <value>0.1</value>
      <footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="C" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>58C42D39</tstamp>
    </comp>
    <comp ref="C4">
      <value>0.1</value>
      <footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="C" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D6B4F1F</tstamp>
    </comp>
    <comp ref="C5">
      <value>0.1</value>
      <footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="C" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>59093675</tstamp>
    </comp>
    <comp ref="C6">
      <value>0.1</value>
      <footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="C" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D6B4F23</tstamp>
    </comp>
    <comp ref="P2">
      <value>USART_BOOT</value>
      <footprint>Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical</footprint>
      <libsource lib="stm32-rescue" part="CONN_01X03" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D6B4F24</tstamp>
    </comp>
    <comp ref="P3">
      <value>Hole</value>
      <footprint>my_footprints:Hole_3mm</footprint>
      <libsource lib="stm32-rescue" part="CONN_01X01" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>59143415</tstamp>
    </comp>
    <comp ref="P4">
      <value>Hole</value>
      <footprint>my_footprints:Hole_3mm</footprint>
      <libsource lib="stm32-rescue" part="CONN_01X01" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5914456D</tstamp>
    </comp>
    <comp ref="P5">
      <value>Hole</value>
      <footprint>my_footprints:Hole_3mm</footprint>
      <libsource lib="stm32-rescue" part="CONN_01X01" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D6B4F29</tstamp>
    </comp>
    <comp ref="P6">
      <value>Hole</value>
      <footprint>my_footprints:Hole_3mm</footprint>
      <libsource lib="stm32-rescue" part="CONN_01X01" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D6B4F2A</tstamp>
    </comp>
    <comp ref="J1">
      <value>4P4C</value>
      <footprint>my_footprints:RJ9-4P4C</footprint>
      <datasheet>~</datasheet>
      <libsource lib="Connector" part="4P4C" description="RJ connector, 4P4C (4 positions 4 connected), RJ9/RJ10/RJ22"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D692FC5</tstamp>
    </comp>
    <comp ref="J3">
      <value>Conn</value>
      <footprint>TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal</footprint>
      <datasheet>~</datasheet>
      <libsource lib="Connector_Generic" part="Conn_01x02" description="Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D6A6D23</tstamp>
    </comp>
    <comp ref="U3">
      <value>LM1117-3.3</value>
      <footprint>TO_SOT_Packages_SMD:SOT-223</footprint>
      <libsource lib="stm32-rescue" part="LM1117-3.3-RESCUE-stm32" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>58C431FC</tstamp>
    </comp>
    <comp ref="C7">
      <value>47u</value>
      <footprint>Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="CP" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>58C454F6</tstamp>
    </comp>
    <comp ref="D1">
      <value>LED0</value>
      <footprint>LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="LED-RESCUE-stm32" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5908EA64</tstamp>
    </comp>
    <comp ref="R5">
      <value>330</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="R" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5908EB17</tstamp>
    </comp>
    <comp ref="D2">
      <value>LED1</value>
      <footprint>LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="LED-RESCUE-stm32" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5909AF9A</tstamp>
    </comp>
    <comp ref="R6">
      <value>330</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="R" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5909AFA0</tstamp>
    </comp>
    <comp ref="D4">
      <value>SS14</value>
      <footprint>Diode_SMD:D_SMB_Handsoldering</footprint>
      <libsource lib="stm32-rescue" part="D_Schottky" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A545B43</tstamp>
    </comp>
    <comp ref="BT1">
      <value>Battery_Cell</value>
      <footprint>Battery:BatteryHolder_MPD_BH-18650-PC2</footprint>
      <datasheet>~</datasheet>
      <libsource lib="Device" part="Battery_Cell" description="Single-cell battery"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D7DDF56</tstamp>
    </comp>
    <comp ref="R8">
      <value>4k7</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <datasheet>~</datasheet>
      <libsource lib="Device" part="R" description="Resistor"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D850AD1</tstamp>
    </comp>
    <comp ref="R7">
      <value>4k7</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <datasheet>~</datasheet>
      <libsource lib="Device" part="R" description="Resistor"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D85121F</tstamp>
    </comp>
    <comp ref="R9">
      <value>22</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <datasheet>~</datasheet>
      <libsource lib="Device" part="R" description="Resistor"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D86E056</tstamp>
    </comp>
    <comp ref="Q1">
      <value>AO3407</value>
      <footprint>TO_SOT_Packages_SMD:SOT-23_Handsoldering</footprint>
      <datasheet>~</datasheet>
      <libsource lib="Device" part="Q_PMOS_GSD" description="P-MOSFET transistor, gate/source/drain"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D886416</tstamp>
    </comp>
    <comp ref="R11">
      <value>10k</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="R" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D89C1EC</tstamp>
    </comp>
    <comp ref="R12">
      <value>510</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <datasheet>~</datasheet>
      <libsource lib="Device" part="R" description="Resistor"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D89C918</tstamp>
    </comp>
    <comp ref="SW3">
      <value>Poweron</value>
      <footprint>Button_Switch_THT:SW_PUSH_6mm_H13mm</footprint>
      <libsource lib="Switch" part="SW_Push" description="Push button switch, generic, two pins"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D8C5989</tstamp>
    </comp>
    <comp ref="R4">
      <value>51k</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="R" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D93631F</tstamp>
    </comp>
    <comp ref="R3">
      <value>51k</value>
      <footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="R" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D936816</tstamp>
    </comp>
    <comp ref="J4">
      <value>SPI_screen</value>
      <footprint>Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Vertical</footprint>
      <datasheet>~</datasheet>
      <libsource lib="Connector" part="Conn_01x07_Female" description="Generic connector, single row, 01x07, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5D96F1EC</tstamp>
    </comp>
    <comp ref="C8">
      <value>0.1</value>
      <footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
      <libsource lib="stm32-rescue" part="C" description=""/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5DA0ADC1</tstamp>
    </comp>
  </components>
  <libparts>
    <libpart lib="Connector" part="4P4C">
      <aliases>
        <alias>RJ9</alias>
        <alias>RJ10</alias>
        <alias>RJ22</alias>
      </aliases>
      <description>RJ connector, 4P4C (4 positions 4 connected), RJ9/RJ10/RJ22</description>
      <docs>~</docs>
      <footprints>
        <fp>4P4C*</fp>
        <fp>RJ9*</fp>
        <fp>RJ10*</fp>
        <fp>RJ22*</fp>
      </footprints>
      <fields>
        <field name="Reference">J</field>
        <field name="Value">4P4C</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="Connector" part="Conn_01x07_Female">
      <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_Female</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_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>
      </fields>
      <pins>
        <pin num="1" name="Pin_1" type="passive"/>
        <pin num="2" name="Pin_2" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="Device" part="Battery_Cell">
      <description>Single-cell battery</description>
      <docs>~</docs>
      <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="Device" part="D_Schottky">
      <description>Schottky diode</description>
      <docs>~</docs>
      <footprints>
        <fp>TO-???*</fp>
        <fp>*_Diode_*</fp>
        <fp>*SingleDiode*</fp>
        <fp>D_*</fp>
      </footprints>
      <fields>
        <field name="Reference">D</field>
        <field name="Value">D_Schottky</field>
      </fields>
      <pins>
        <pin num="1" name="K" type="passive"/>
        <pin num="2" name="A" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="Device" part="Q_PMOS_GSD">
      <description>P-MOSFET transistor, gate/source/drain</description>
      <docs>~</docs>
      <fields>
        <field name="Reference">Q</field>
        <field name="Value">Q_PMOS_GSD</field>
      </fields>
      <pins>
        <pin num="1" name="G" type="input"/>
        <pin num="2" name="S" type="passive"/>
        <pin num="3" name="D" 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>
      </fields>
      <pins>
        <pin num="1" name="~" type="passive"/>
        <pin num="2" name="~" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="Power_Protection" part="USBLC6-2SC6">
      <description>Bidirectional ESD Protection Diode, SOT-23-6</description>
      <docs>http://www2.st.com/resource/en/datasheet/CD00050750.pdf</docs>
      <footprints>
        <fp>SOT?23*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">USBLC6-2SC6</field>
        <field name="Footprint">Package_TO_SOT_SMD:SOT-23-6</field>
      </fields>
      <pins>
        <pin num="1" name="IO1" type="passive"/>
        <pin num="2" name="GND" type="passive"/>
        <pin num="3" name="IO2" type="passive"/>
        <pin num="4" name="IO2" type="passive"/>
        <pin num="5" name="VBUS" type="passive"/>
        <pin num="6" name="IO1" 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>
      </fields>
      <pins>
        <pin num="1" name="1" type="passive"/>
        <pin num="2" name="2" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="stm32-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="stm32-rescue" part="CONN_01X01">
      <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_01X01</field>
      </fields>
      <pins>
        <pin num="1" name="P1" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="stm32-rescue" part="CONN_01X03">
      <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_01X03</field>
      </fields>
      <pins>
        <pin num="1" name="P1" type="passive"/>
        <pin num="2" name="P2" type="passive"/>
        <pin num="3" name="P3" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="stm32-rescue" part="CP">
      <footprints>
        <fp>CP_*</fp>
      </footprints>
      <fields>
        <field name="Reference">C</field>
        <field name="Value">CP</field>
      </fields>
      <pins>
        <pin num="1" name="~" type="passive"/>
        <pin num="2" name="~" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="stm32-rescue" part="D_Schottky">
      <footprints>
        <fp>TO-???*</fp>
        <fp>*SingleDiode</fp>
        <fp>*_Diode_*</fp>
        <fp>*SingleDiode*</fp>
        <fp>D_*</fp>
      </footprints>
      <fields>
        <field name="Reference">D</field>
        <field name="Value">D_Schottky</field>
      </fields>
      <pins>
        <pin num="1" name="K" type="passive"/>
        <pin num="2" name="A" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="stm32-rescue" part="LED-RESCUE-stm32">
      <footprints>
        <fp>LED*</fp>
      </footprints>
      <fields>
        <field name="Reference">D</field>
        <field name="Value">LED-RESCUE-stm32</field>
      </fields>
      <pins>
        <pin num="1" name="K" type="passive"/>
        <pin num="2" name="A" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="stm32-rescue" part="LM1117-3.3-RESCUE-stm32">
      <footprints>
        <fp>SOT-223*</fp>
        <fp>TO-263*</fp>
        <fp>TO-252*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">LM1117-3.3-RESCUE-stm32</field>
      </fields>
      <pins>
        <pin num="1" name="GND/ADJ" type="power_in"/>
        <pin num="2" name="VO" type="passive"/>
        <pin num="3" name="VI" type="power_in"/>
        <pin num="4" name="VO" type="power_out"/>
      </pins>
    </libpart>
    <libpart lib="stm32-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>
    <libpart lib="stm32-rescue" part="STM32F042C6Tx">
      <fields>
        <field name="Reference">U</field>
        <field name="Value">STM32F042C6Tx</field>
        <field name="Footprint">LQFP48</field>
      </fields>
      <pins>
        <pin num="1" name="VBAT" type="power_in"/>
        <pin num="2" name="PC13/RTC_OUT_ALARM/RTC_OUT_CALIB/RTC_TAMP1/RTC_TS/SYS_WKUP2" type="BiDi"/>
        <pin num="3" name="PC14/RCC_OSC32_IN" type="BiDi"/>
        <pin num="4" name="PC15/RCC_OSC32_OUT" type="BiDi"/>
        <pin num="5" name="PF0/CRS_SYNC/I2C1_SDA/RCC_OSC_IN" type="input"/>
        <pin num="6" name="PF1/I2C1_SCL/RCC_OSC_OUT" type="input"/>
        <pin num="7" name="NRST" type="input"/>
        <pin num="8" name="VSSA" type="power_in"/>
        <pin num="9" name="VDDA" type="power_in"/>
        <pin num="10" name="ADC_IN0/RTC_TAMP2/SYS_WKUP1/TIM2_CH1/TIM2_ETR/TSC_G1_IO1/USART2_CTS/PA0" type="BiDi"/>
        <pin num="11" name="ADC_IN1/TIM2_CH2/TSC_G1_IO2/USART2_DE/USART2_RTS/PA1" type="BiDi"/>
        <pin num="12" name="ADC_IN2/SYS_WKUP4/TIM2_CH3/TSC_G1_IO3/USART2_TX/PA2" type="BiDi"/>
        <pin num="13" name="ADC_IN3/TIM2_CH4/TSC_G1_IO4/USART2_RX/PA3" type="BiDi"/>
        <pin num="14" name="ADC_IN4/I2S1_WS/SPI1_NSS/TIM14_CH1/TSC_G2_IO1/USART2_CK/USB_OE/PA4" type="BiDi"/>
        <pin num="15" name="ADC_IN5/CEC/I2S1_CK/SPI1_SCK/TIM2_CH1/TIM2_ETR/TSC_G2_IO2/PA5" type="BiDi"/>
        <pin num="16" name="ADC_IN6/I2S1_MCK/SPI1_MISO/TIM16_CH1/TIM1_BKIN/TIM3_CH1/TSC_G2_IO3/PA6" type="BiDi"/>
        <pin num="17" name="ADC_IN7/I2S1_SD/SPI1_MOSI/TIM14_CH1/TIM17_CH1/TIM1_CH1N/TIM3_CH2/TSC_G2_IO4/PA7" type="BiDi"/>
        <pin num="18" name="PB0/ADC_IN8/TIM1_CH2N/TIM3_CH3/TSC_G3_IO2" type="BiDi"/>
        <pin num="19" name="PB1/ADC_IN9/TIM14_CH1/TIM1_CH3N/TIM3_CH4/TSC_G3_IO3" type="BiDi"/>
        <pin num="20" name="PB2/TSC_G3_IO4" type="BiDi"/>
        <pin num="21" name="PB10/CEC/I2C1_SCL/SPI2_SCK/TIM2_CH3/TSC_SYNC" type="BiDi"/>
        <pin num="22" name="PB11/I2C1_SDA/TIM2_CH4" type="BiDi"/>
        <pin num="23" name="VSS" type="power_in"/>
        <pin num="24" name="VDD" type="power_in"/>
        <pin num="25" name="PB12/SPI2_NSS/TIM1_BKIN" type="BiDi"/>
        <pin num="26" name="PB13/I2C1_SCL/SPI2_SCK/TIM1_CH1N" type="BiDi"/>
        <pin num="27" name="PB14/I2C1_SDA/SPI2_MISO/TIM1_CH2N" type="BiDi"/>
        <pin num="28" name="PB15/RTC_REFIN/SPI2_MOSI/SYS_WKUP7/TIM1_CH3N" type="BiDi"/>
        <pin num="29" name="CRS_SYNC/RCC_MCO/TIM1_CH1/USART1_CK/PA8" type="BiDi"/>
        <pin num="30" name="I2C1_SCL/TIM1_CH2/TSC_G4_IO1/USART1_TX/PA9" type="BiDi"/>
        <pin num="31" name="I2C1_SDA/TIM17_BKIN/TIM1_CH3/TSC_G4_IO2/USART1_RX/PA10" type="BiDi"/>
        <pin num="32" name="CAN_RX/I2C1_SCL/TIM1_CH4/TSC_G4_IO3/USART1_CTS/USB_DM/PA11" type="BiDi"/>
        <pin num="33" name="CAN_TX/I2C1_SDA/TIM1_ETR/TSC_G4_IO4/USART1_DE/USART1_RTS/USB_DP/PA12" type="BiDi"/>
        <pin num="34" name="IR_OUT/SYS_SWDIO/USB_OE/PA13" type="BiDi"/>
        <pin num="35" name="VSS" type="power_in"/>
        <pin num="36" name="VDDIO2" type="power_in"/>
        <pin num="37" name="SYS_SWCLK/USART2_TX/PA14" type="BiDi"/>
        <pin num="38" name="I2S1_WS/SPI1_NSS/TIM2_CH1/TIM2_ETR/USART2_RX/USB_OE/PA15" type="BiDi"/>
        <pin num="39" name="PB3/I2S1_CK/SPI1_SCK/TIM2_CH2/TSC_G5_IO1" type="BiDi"/>
        <pin num="40" name="PB4/I2S1_MCK/SPI1_MISO/TIM17_BKIN/TIM3_CH1/TSC_G5_IO2" type="BiDi"/>
        <pin num="41" name="PB5/I2C1_SMBA/I2S1_SD/SPI1_MOSI/SYS_WKUP6/TIM16_BKIN/TIM3_CH2" type="BiDi"/>
        <pin num="42" name="PB6/I2C1_SCL/TIM16_CH1N/TSC_G5_IO3/USART1_TX" type="BiDi"/>
        <pin num="43" name="PB7/I2C1_SDA/TIM17_CH1N/TSC_G5_IO4/USART1_RX" type="BiDi"/>
        <pin num="44" name="PF11" type="BiDi"/>
        <pin num="45" name="PB8/CAN_RX/CEC/I2C1_SCL/TIM16_CH1/TSC_SYNC" type="BiDi"/>
        <pin num="46" name="PB9/CAN_TX/I2C1_SDA/IR_OUT/SPI2_NSS/TIM17_CH1" type="BiDi"/>
        <pin num="47" name="VSS" type="power_in"/>
        <pin num="48" name="VDD" type="power_in"/>
      </pins>
    </libpart>
    <libpart lib="stm32-rescue" part="USB_A-RESCUE-stm32">
      <footprints>
        <fp>USB*</fp>
      </footprints>
      <fields>
        <field name="Reference">P</field>
        <field name="Value">USB_A-RESCUE-stm32</field>
      </fields>
      <pins>
        <pin num="1" name="VBUS" type="power_in"/>
        <pin num="2" name="D-" type="passive"/>
        <pin num="3" name="D+" type="passive"/>
        <pin num="4" name="GND" type="power_in"/>
        <pin num="5" name="shield" type="passive"/>
      </pins>
    </libpart>
  </libparts>
  <libraries>
    <library logical="Connector">
      <uri>/usr/share/kicad/kicad-symbols//Connector.lib</uri>
    </library>
    <library logical="Connector_Generic">
      <uri>/usr/share/kicad/kicad-symbols//Connector_Generic.lib</uri>
    </library>
    <library logical="Device">
      <uri>/usr/share/kicad/kicad-symbols//Device.lib</uri>
    </library>
    <library logical="Power_Protection">
      <uri>/usr/share/kicad/kicad-symbols//Power_Protection.lib</uri>
    </library>
    <library logical="Switch">
      <uri>/usr/share/kicad/kicad-symbols//Switch.lib</uri>
    </library>
    <library logical="stm32-rescue">
      <uri>/home/eddy/Docs/SAO/ELECTRONICS/STM32/F1-srcs/chronometer/kicad/chrono/stm32-rescue.lib</uri>
    </library>
  </libraries>
  <nets>
    <net code="1" name="Net-(D1-Pad2)">
      <node ref="R5" pin="1"/>
      <node ref="D1" pin="2"/>
    </net>
    <net code="2" name="+3V3">
      <node ref="C6" pin="2"/>
      <node ref="U2" pin="36"/>
      <node ref="U2" pin="24"/>
      <node ref="U3" pin="4"/>
      <node ref="J4" pin="2"/>
      <node ref="R9" pin="1"/>
      <node ref="U3" pin="2"/>
      <node ref="SW2" pin="2"/>
      <node ref="C2" pin="2"/>
      <node ref="C7" pin="1"/>
      <node ref="R5" pin="2"/>
      <node ref="C4" pin="2"/>
      <node ref="C5" pin="2"/>
      <node ref="R6" pin="2"/>
      <node ref="U2" pin="9"/>
      <node ref="U2" pin="48"/>
      <node ref="C3" pin="2"/>
    </net>
    <net code="3" name="Net-(D2-Pad2)">
      <node ref="R6" pin="1"/>
      <node ref="D2" pin="2"/>
    </net>
    <net code="4" name="/LED1">
      <node ref="D2" pin="1"/>
      <node ref="U2" pin="38"/>
    </net>
    <net code="5" name="/LED0">
      <node ref="U2" pin="37"/>
      <node ref="D1" pin="1"/>
    </net>
    <net code="6" name="Net-(U2-Pad16)">
      <node ref="U2" pin="16"/>
    </net>
    <net code="7" name="/SCL">
      <node ref="U2" pin="42"/>
      <node ref="J3" pin="2"/>
      <node ref="J1" pin="2"/>
      <node ref="R8" pin="2"/>
    </net>
    <net code="8" name="/SDA">
      <node ref="J1" pin="1"/>
      <node ref="U2" pin="43"/>
      <node ref="J2" pin="1"/>
      <node ref="R7" pin="2"/>
    </net>
    <net code="9" name="Net-(U2-Pad13)">
      <node ref="U2" pin="13"/>
    </net>
    <net code="10" name="Net-(U2-Pad39)">
      <node ref="U2" pin="39"/>
    </net>
    <net code="11" name="Net-(U2-Pad46)">
      <node ref="U2" pin="46"/>
    </net>
    <net code="12" name="Net-(U2-Pad28)">
      <node ref="U2" pin="28"/>
    </net>
    <net code="13" name="GND">
      <node ref="R4" pin="1"/>
      <node ref="J1" pin="4"/>
      <node ref="U1" pin="2"/>
      <node ref="BT1" pin="2"/>
      <node ref="U2" pin="35"/>
      <node ref="P2" pin="1"/>
      <node ref="C6" pin="1"/>
      <node ref="J4" pin="1"/>
      <node ref="J3" pin="1"/>
      <node ref="C8" pin="2"/>
      <node ref="C5" pin="1"/>
      <node ref="C4" pin="1"/>
      <node ref="U2" pin="47"/>
      <node ref="SW1" pin="2"/>
      <node ref="U3" pin="1"/>
      <node ref="C3" pin="1"/>
      <node ref="U2" pin="8"/>
      <node ref="C1" pin="2"/>
      <node ref="R10" pin="2"/>
      <node ref="U2" pin="23"/>
      <node ref="C7" pin="2"/>
      <node ref="P1" pin="4"/>
      <node ref="P1" pin="5"/>
    </net>
    <net code="14" name="Net-(BT1-Pad1)">
      <node ref="R11" pin="1"/>
      <node ref="D4" pin="1"/>
      <node ref="SW3" pin="1"/>
      <node ref="BT1" pin="1"/>
      <node ref="Q1" pin="2"/>
    </net>
    <net code="15" name="/USBDM">
      <node ref="U2" pin="32"/>
      <node ref="R2" pin="2"/>
    </net>
    <net code="16" name="/USBDP">
      <node ref="R1" pin="2"/>
      <node ref="U2" pin="33"/>
    </net>
    <net code="17" name="Net-(U2-Pad29)">
      <node ref="U2" pin="29"/>
    </net>
    <net code="18" name="Net-(U2-Pad34)">
      <node ref="U2" pin="34"/>
    </net>
    <net code="19" name="Net-(U2-Pad12)">
      <node ref="U2" pin="12"/>
    </net>
    <net code="20" name="Net-(P2-Pad3)">
      <node ref="P2" pin="3"/>
      <node ref="U2" pin="30"/>
    </net>
    <net code="21" name="/D-C">
      <node ref="U2" pin="19"/>
      <node ref="J4" pin="6"/>
    </net>
    <net code="22" name="/RST">
      <node ref="U2" pin="18"/>
      <node ref="J4" pin="5"/>
    </net>
    <net code="23" name="/MOSI">
      <node ref="U2" pin="17"/>
      <node ref="J4" pin="4"/>
    </net>
    <net code="24" name="/SCK">
      <node ref="U2" pin="15"/>
      <node ref="J4" pin="3"/>
    </net>
    <net code="25" name="Net-(U2-Pad26)">
      <node ref="U2" pin="26"/>
    </net>
    <net code="26" name="Net-(U2-Pad10)">
      <node ref="U2" pin="10"/>
    </net>
    <net code="27" name="Net-(U2-Pad25)">
      <node ref="U2" pin="25"/>
    </net>
    <net code="28" name="Net-(U2-Pad22)">
      <node ref="U2" pin="22"/>
    </net>
    <net code="29" name="Net-(U2-Pad21)">
      <node ref="U2" pin="21"/>
    </net>
    <net code="30" name="Net-(U2-Pad14)">
      <node ref="U2" pin="14"/>
    </net>
    <net code="31" name="Net-(U2-Pad41)">
      <node ref="U2" pin="41"/>
    </net>
    <net code="32" name="Net-(U2-Pad40)">
      <node ref="U2" pin="40"/>
    </net>
    <net code="33" name="Net-(U2-Pad45)">
      <node ref="U2" pin="45"/>
    </net>
    <net code="34" name="Net-(Q1-Pad1)">
      <node ref="R12" pin="1"/>
      <node ref="Q1" pin="1"/>
    </net>
    <net code="35" name="/5Vusb">
      <node ref="D4" pin="2"/>
      <node ref="D3" pin="1"/>
      <node ref="Q1" pin="3"/>
      <node ref="SW3" pin="2"/>
      <node ref="C8" pin="1"/>
      <node ref="U3" pin="3"/>
    </net>
    <net code="36" name="Net-(P2-Pad2)">
      <node ref="P2" pin="2"/>
      <node ref="U2" pin="31"/>
    </net>
    <net code="37" name="Net-(P1-Pad2)">
      <node ref="P1" pin="2"/>
      <node ref="U1" pin="4"/>
    </net>
    <net code="38" name="/U5V">
      <node ref="D3" pin="2"/>
      <node ref="U1" pin="5"/>
      <node ref="R3" pin="2"/>
      <node ref="P1" pin="1"/>
    </net>
    <net code="39" name="Net-(R2-Pad1)">
      <node ref="R2" pin="1"/>
      <node ref="U1" pin="3"/>
    </net>
    <net code="40" name="Net-(R1-Pad1)">
      <node ref="U1" pin="1"/>
      <node ref="R1" pin="1"/>
    </net>
    <net code="41" name="Net-(P1-Pad3)">
      <node ref="U1" pin="6"/>
      <node ref="P1" pin="3"/>
    </net>
    <net code="42" name="/CS">
      <node ref="J4" pin="7"/>
      <node ref="U2" pin="20"/>
    </net>
    <net code="43" name="/POWERON">
      <node ref="U2" pin="2"/>
      <node ref="R12" pin="2"/>
      <node ref="R11" pin="2"/>
    </net>
    <net code="44" name="/USBON">
      <node ref="U2" pin="11"/>
      <node ref="R3" pin="1"/>
      <node ref="R4" pin="2"/>
    </net>
    <net code="45" name="Net-(U2-Pad1)">
      <node ref="U2" pin="1"/>
    </net>
    <net code="46" name="/3V3Sensors">
      <node ref="R8" pin="1"/>
      <node ref="R7" pin="1"/>
      <node ref="R9" pin="2"/>
      <node ref="J2" pin="2"/>
      <node ref="J1" pin="3"/>
    </net>
    <net code="47" name="/BOOT0">
      <node ref="R10" pin="1"/>
      <node ref="U2" pin="44"/>
      <node ref="SW2" pin="1"/>
      <node ref="C2" pin="1"/>
    </net>
    <net code="48" name="Net-(P3-Pad1)">
      <node ref="P3" pin="1"/>
    </net>
    <net code="49" name="Net-(P6-Pad1)">
      <node ref="P6" pin="1"/>
    </net>
    <net code="50" name="Net-(P5-Pad1)">
      <node ref="P5" pin="1"/>
    </net>
    <net code="51" name="Net-(P4-Pad1)">
      <node ref="P4" pin="1"/>
    </net>
    <net code="52" name="Net-(U2-Pad5)">
      <node ref="U2" pin="5"/>
    </net>
    <net code="53" name="Net-(U2-Pad6)">
      <node ref="U2" pin="6"/>
    </net>
    <net code="54" name="Net-(U2-Pad3)">
      <node ref="U2" pin="3"/>
    </net>
    <net code="55" name="Net-(U2-Pad4)">
      <node ref="U2" pin="4"/>
    </net>
    <net code="56" name="Net-(U2-Pad27)">
      <node ref="U2" pin="27"/>
    </net>
    <net code="57" name="/NRST">
      <node ref="U2" pin="7"/>
      <node ref="C1" pin="1"/>
      <node ref="SW1" pin="1"/>
    </net>
  </nets>
</export>
