<?xml version="1.0" encoding="UTF-8"?>
<export version="D">
  <design>
    <source>/home/eddy/Docs/SAO/Zeiss-1000/Simple_photometer/kicad/steppers.sch</source>
    <date>Сб 25 ноя 2017 11:27:28</date>
    <tool>Eeschema 4.0.7</tool>
    <sheet number="1" name="/" tstamps="/">
      <title_block>
        <title/>
        <company/>
        <rev/>
        <date/>
        <source>steppers.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="C4">
      <value>47u</value>
      <footprint>Capacitors_Tantalum_SMD.pretty:CP_Tantalum_Case-A_EIA-3216-18_Hand</footprint>
      <libsource lib="device" part="CP"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>58C454F6</tstamp>
    </comp>
    <comp ref="Q1">
      <value>AO3401</value>
      <footprint>TO_SOT_Packages_SMD.pretty:SOT-23_Handsoldering</footprint>
      <libsource lib="device" part="Q_PMOS_GSD"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5910E2F2</tstamp>
    </comp>
    <comp ref="D2">
      <value>MM3Z3V6</value>
      <footprint>Diodes_SMD.pretty:D_0805</footprint>
      <libsource lib="device" part="D_Zener"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5910F169</tstamp>
    </comp>
    <comp ref="R5">
      <value>2k2</value>
      <footprint>Resistors_SMD.pretty:R_0805_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>591101C8</tstamp>
    </comp>
    <comp ref="R1">
      <value>10k</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>590D30C8</tstamp>
    </comp>
    <comp ref="R2">
      <value>10k</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>590D3334</tstamp>
    </comp>
    <comp ref="C2">
      <value>0.1</value>
      <footprint>Capacitors_SMD.pretty:C_0603_HandSoldering</footprint>
      <libsource lib="device" part="C"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>590D4150</tstamp>
    </comp>
    <comp ref="C1">
      <value>0.1</value>
      <footprint>Capacitors_SMD.pretty:C_0603_HandSoldering</footprint>
      <libsource lib="device" part="C"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>590D4832</tstamp>
    </comp>
    <comp ref="SW2">
      <value>Boot</value>
      <footprint>Buttons_Switches_SMD.pretty:SW_SPST_EVQPE1</footprint>
      <libsource lib="switches" part="SW_Push"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5909F6B6</tstamp>
    </comp>
    <comp ref="SW1">
      <value>Reset</value>
      <footprint>Buttons_Switches_SMD.pretty:SW_SPST_EVQPE1</footprint>
      <libsource lib="switches" part="SW_Push"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>590A0134</tstamp>
    </comp>
    <comp ref="P4">
      <value>Hole</value>
      <footprint>my_footprints:Hole_3mm</footprint>
      <libsource lib="conn" part="Conn_01x01"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>59143415</tstamp>
    </comp>
    <comp ref="P5">
      <value>Hole</value>
      <footprint>my_footprints:Hole_3mm</footprint>
      <libsource lib="conn" part="Conn_01x01"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5914456D</tstamp>
    </comp>
    <comp ref="P6">
      <value>Hole</value>
      <footprint>my_footprints:Hole_3mm</footprint>
      <libsource lib="conn" part="Conn_01x01"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>591446F3</tstamp>
    </comp>
    <comp ref="P1">
      <value>Hole</value>
      <footprint>my_footprints:Hole_3mm</footprint>
      <libsource lib="conn" part="Conn_01x01"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>591446F9</tstamp>
    </comp>
    <comp ref="P2">
      <value>Hole</value>
      <footprint>my_footprints:Hole_3mm</footprint>
      <libsource lib="conn" part="Conn_01x01"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A16E72F</tstamp>
    </comp>
    <comp ref="P3">
      <value>Hole</value>
      <footprint>my_footprints:Hole_3mm</footprint>
      <libsource lib="conn" part="Conn_01x01"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A16E735</tstamp>
    </comp>
    <comp ref="J2">
      <value>12VIN</value>
      <footprint>Connectors_Terminal_Blocks.pretty:TerminalBlock_Pheonix_MKDS1.5-2pol</footprint>
      <libsource lib="conn" part="Conn_01x02"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A170C1F</tstamp>
    </comp>
    <comp ref="C3">
      <value>0.1</value>
      <footprint>Capacitors_SMD.pretty:C_0603_HandSoldering</footprint>
      <libsource lib="device" part="C"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A178C32</tstamp>
    </comp>
    <comp ref="U2">
      <value>MAX471</value>
      <footprint>Housings_SOIC.pretty:SO-8_5.3x6.2mm_Pitch1.27mm</footprint>
      <libsource lib="linear" part="MAX471"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A179DDA</tstamp>
    </comp>
    <comp ref="R6">
      <value>1k5</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A183304</tstamp>
    </comp>
    <comp ref="U3">
      <value>STM32F030F4Px</value>
      <footprint>Housings_SSOP.pretty:TSSOP-20_4.4x6.5mm_Pitch0.65mm</footprint>
      <libsource lib="stm32" part="STM32F030F4Px"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A189F52</tstamp>
    </comp>
    <comp ref="J1">
      <value>UART</value>
      <footprint>Pin_Headers.pretty:Pin_Header_Straight_1x03_Pitch2.54mm</footprint>
      <libsource lib="conn" part="Conn_01x03"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A18FF8B</tstamp>
    </comp>
    <comp ref="D4">
      <value>SP0504BAHT</value>
      <footprint>TO_SOT_Packages_SMD.pretty:SOT-23-5_HandSoldering</footprint>
      <libsource lib="ESD_Protection" part="SP0504BAHT"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A15ED2B</tstamp>
    </comp>
    <comp ref="D1">
      <value>SP0502BAHT</value>
      <footprint>TO_SOT_Packages_SMD.pretty:SOT-23</footprint>
      <libsource lib="ESD_Protection" part="SP0502BAHT"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A15F477</tstamp>
    </comp>
    <comp ref="R3">
      <value>470</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A161074</tstamp>
    </comp>
    <comp ref="R4">
      <value>470</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1618B4</tstamp>
    </comp>
    <comp ref="R11">
      <value>47</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A16B42E</tstamp>
    </comp>
    <comp ref="R13">
      <value>220</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A16D4E0</tstamp>
    </comp>
    <comp ref="R12">
      <value>220</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A16D65B</tstamp>
    </comp>
    <comp ref="J8">
      <value>Motor2</value>
      <footprint>Connectors.pretty:IDC_Header_Straight_10pins</footprint>
      <libsource lib="conn" part="Conn_02x05_Odd_Even"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1727CF</tstamp>
    </comp>
    <comp ref="R14">
      <value>47</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1727D9</tstamp>
    </comp>
    <comp ref="R22">
      <value>220</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1727E9</tstamp>
    </comp>
    <comp ref="R15">
      <value>220</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1727F0</tstamp>
    </comp>
    <comp ref="J4">
      <value>DRV_left</value>
      <footprint>Pin_Headers.pretty:Pin_Header_Straight_1x08_Pitch2.54mm</footprint>
      <libsource lib="conn" part="Conn_01x08"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1683B2</tstamp>
    </comp>
    <comp ref="J6">
      <value>DRV_right</value>
      <footprint>Pin_Headers.pretty:Pin_Header_Straight_1x08_Pitch2.54mm</footprint>
      <libsource lib="conn" part="Conn_01x08"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1683B3</tstamp>
    </comp>
    <comp ref="R16">
      <value>0</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A178F27</tstamp>
    </comp>
    <comp ref="R17">
      <value>0</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A17912B</tstamp>
    </comp>
    <comp ref="R18">
      <value>0</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1791EB</tstamp>
    </comp>
    <comp ref="J5">
      <value>DRV_left</value>
      <footprint>Pin_Headers.pretty:Pin_Header_Straight_1x08_Pitch2.54mm</footprint>
      <libsource lib="conn" part="Conn_01x08"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A189004</tstamp>
    </comp>
    <comp ref="J7">
      <value>DRV_right</value>
      <footprint>Pin_Headers.pretty:Pin_Header_Straight_1x08_Pitch2.54mm</footprint>
      <libsource lib="conn" part="Conn_01x08"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A18900A</tstamp>
    </comp>
    <comp ref="R19">
      <value>0</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A189030</tstamp>
    </comp>
    <comp ref="R20">
      <value>0</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A189036</tstamp>
    </comp>
    <comp ref="R21">
      <value>0</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A18903C</tstamp>
    </comp>
    <comp ref="C6">
      <value>0.1</value>
      <footprint>Capacitors_SMD.pretty:C_0603_HandSoldering</footprint>
      <libsource lib="device" part="C"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1AB970</tstamp>
    </comp>
    <comp ref="C7">
      <value>0.1</value>
      <footprint>Capacitors_SMD.pretty:C_0603_HandSoldering</footprint>
      <libsource lib="device" part="C"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1ABACF</tstamp>
    </comp>
    <comp ref="C8">
      <value>1u</value>
      <footprint>Capacitors_SMD.pretty:C_0805_HandSoldering</footprint>
      <libsource lib="device" part="C"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1CC7B7</tstamp>
    </comp>
    <comp ref="D3">
      <value>MM3Z3V6</value>
      <footprint>Diodes_SMD.pretty:D_0805</footprint>
      <libsource lib="device" part="D_Zener"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1CFD84</tstamp>
    </comp>
    <comp ref="C9">
      <value>1u</value>
      <footprint>Capacitors_SMD.pretty:C_0805_HandSoldering</footprint>
      <libsource lib="device" part="C"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1CDB31</tstamp>
    </comp>
    <comp ref="R9">
      <value>10k</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1DCD6C</tstamp>
    </comp>
    <comp ref="R8">
      <value>47k</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1DD608</tstamp>
    </comp>
    <comp ref="R10">
      <value>10k</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1E2C7B</tstamp>
    </comp>
    <comp ref="R7">
      <value>10k</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1ED4E8</tstamp>
    </comp>
    <comp ref="C11">
      <value>100u</value>
      <footprint>Capacitors_THT.pretty:CP_Radial_D8.0mm_P3.50mm</footprint>
      <libsource lib="device" part="CP_Small"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1F265B</tstamp>
    </comp>
    <comp ref="C10">
      <value>100u</value>
      <footprint>Capacitors_THT.pretty:CP_Radial_D8.0mm_P3.50mm</footprint>
      <libsource lib="device" part="CP_Small"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A1F544E</tstamp>
    </comp>
    <comp ref="R23">
      <value>47k</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A21099C</tstamp>
    </comp>
    <comp ref="R24">
      <value>47k</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A210ADC</tstamp>
    </comp>
    <comp ref="R25">
      <value>47k</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A210C56</tstamp>
    </comp>
    <comp ref="R26">
      <value>47k</value>
      <footprint>Resistors_SMD.pretty:R_0603_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A210F6A</tstamp>
    </comp>
    <comp ref="J3">
      <value>Motor1</value>
      <footprint>Connectors.pretty:IDC_Header_Straight_10pins</footprint>
      <libsource lib="conn" part="Conn_02x05_Odd_Even"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A167373</tstamp>
    </comp>
    <comp ref="U1">
      <value>LM1117-3.3</value>
      <footprint>TO_SOT_Packages_SMD.pretty:SOT-223</footprint>
      <libsource lib="regul" part="LM1117-3.3"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A2588E7</tstamp>
    </comp>
    <comp ref="R27">
      <value>0</value>
      <footprint>Resistors_SMD.pretty:R_0805_HandSoldering</footprint>
      <libsource lib="device" part="R"/>
      <sheetpath names="/" tstamps="/"/>
      <tstamp>5A27F88F</tstamp>
    </comp>
  </components>
  <libparts>
    <libpart lib="device" part="C">
      <description>Unpolarized capacitor</description>
      <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="device" part="CP">
      <description>Polarised capacitor</description>
      <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="device" part="CP_Small">
      <description>Polarised capacitor</description>
      <footprints>
        <fp>CP_*</fp>
      </footprints>
      <fields>
        <field name="Reference">C</field>
        <field name="Value">CP_Small</field>
      </fields>
      <pins>
        <pin num="1" name="~" type="passive"/>
        <pin num="2" name="~" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="conn" part="Conn_01x01">
      <description>Generic connector, single row, 01x01</description>
      <docs>~</docs>
      <footprints>
        <fp>Connector*:*_??x*mm*</fp>
        <fp>Connector*:*1x??x*mm*</fp>
        <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="Pin_1" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="conn" part="Conn_01x02">
      <description>Generic connector, single row, 01x02</description>
      <docs>~</docs>
      <footprints>
        <fp>Connector*:*_??x*mm*</fp>
        <fp>Connector*:*1x??x*mm*</fp>
        <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_01x02</field>
      </fields>
      <pins>
        <pin num="1" name="Pin_1" type="passive"/>
        <pin num="2" name="Pin_2" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="conn" part="Conn_01x03">
      <description>Generic connector, single row, 01x03</description>
      <docs>~</docs>
      <footprints>
        <fp>Connector*:*_??x*mm*</fp>
        <fp>Connector*:*1x??x*mm*</fp>
        <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="Pin_1" type="passive"/>
        <pin num="2" name="Pin_2" type="passive"/>
        <pin num="3" name="Pin_3" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="conn" part="Conn_01x08">
      <description>Generic connector, single row, 01x08</description>
      <docs>~</docs>
      <footprints>
        <fp>Connector*:*_??x*mm*</fp>
        <fp>Connector*:*1x??x*mm*</fp>
        <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_01x08</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="conn" part="Conn_02x05_Odd_Even">
      <description>Generic connector, double row, 02x05, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers)</description>
      <docs>~</docs>
      <footprints>
        <fp>Connector*:*2x??x*mm*</fp>
        <fp>Connector*:*2x???Pitch*</fp>
        <fp>Pin_Header_Straight_2X*</fp>
        <fp>Pin_Header_Angled_2X*</fp>
        <fp>Socket_Strip_Straight_2X*</fp>
        <fp>Socket_Strip_Angled_2X*</fp>
      </footprints>
      <fields>
        <field name="Reference">J</field>
        <field name="Value">Conn_02x05_Odd_Even</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"/>
        <pin num="9" name="Pin_9" type="passive"/>
        <pin num="10" name="Pin_10" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="device" part="D_Zener">
      <description>Zener Diode</description>
      <docs>https://en.wikipedia.org/wiki/Zener_diode</docs>
      <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_Zener</field>
      </fields>
      <pins>
        <pin num="1" name="K" type="passive"/>
        <pin num="2" name="A" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="regul" part="LM1117-1.8">
      <aliases>
        <alias>LM1117-2.5</alias>
        <alias>LM1117-3.3</alias>
        <alias>LM1117-5.0</alias>
        <alias>TLV1117-15</alias>
        <alias>TLV1117-18</alias>
        <alias>TLV1117-25</alias>
        <alias>TLV1117-33</alias>
        <alias>TLV1117-50</alias>
      </aliases>
      <description>800mA Low-Dropout Linear Regulator, 1.8V fixed output, TO-220/TO-252/TO-263/SOT-223</description>
      <docs>http://www.ti.com/lit/ds/symlink/lm1117.pdf</docs>
      <footprints>
        <fp>SOT?223*</fp>
        <fp>TO?263*</fp>
        <fp>TO?252*</fp>
        <fp>TO?220*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">LM1117-1.8</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"/>
        <pin num="4" name="VO" type="passive"/>
      </pins>
    </libpart>
    <libpart lib="linear" part="MAX471">
      <description>Precision, High-Side, Current-Sense Amplifiers, DIP-8/SOIC-8</description>
      <docs>http://pdfserv.maximintegrated.com/en/ds/MAX471-MAX472.pdf</docs>
      <footprints>
        <fp>SOIC*3.9x4.9mm*Pitch1.27mm*</fp>
        <fp>DIP*W7.62mm*</fp>
      </footprints>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">MAX471</field>
      </fields>
      <pins>
        <pin num="1" name="SHDN" type="input"/>
        <pin num="2" name="RS+" type="input"/>
        <pin num="3" name="RS+" type="input"/>
        <pin num="4" name="GND" type="power_in"/>
        <pin num="5" name="SIGN" type="openCol"/>
        <pin num="6" name="RS-" type="input"/>
        <pin num="7" name="RS-" type="input"/>
        <pin num="8" name="OUT" type="output"/>
      </pins>
    </libpart>
    <libpart lib="device" part="Q_PMOS_GSD">
      <description>Transistor P-MOSFET with substrate diode (general)</description>
      <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>
      <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="ESD_Protection" part="SP0502BAHT">
      <description>TVS Diode Array, 5.5V Standoff, 2 Channels, SOT-23 package</description>
      <docs>http://www.littelfuse.com/~/media/files/littelfuse/technical%20resources/documents/data%20sheets/sp05xxba.pdf</docs>
      <footprints>
        <fp>SOT?23*</fp>
      </footprints>
      <fields>
        <field name="Reference">D</field>
        <field name="Value">SP0502BAHT</field>
        <field name="Footprint">TO_SOT_Packages_SMD:SOT-23</field>
      </fields>
      <pins>
        <pin num="1" name="K" type="input"/>
        <pin num="2" name="K" type="input"/>
        <pin num="3" name="A" type="input"/>
      </pins>
    </libpart>
    <libpart lib="ESD_Protection" part="SP0504BAHT">
      <description>TVS Diode Array, 5.5V Standoff, 4 Channels, SOT-23-5 package</description>
      <docs>http://www.littelfuse.com/~/media/files/littelfuse/technical%20resources/documents/data%20sheets/sp05xxba.pdf</docs>
      <footprints>
        <fp>SOT?23*</fp>
      </footprints>
      <fields>
        <field name="Reference">D</field>
        <field name="Value">SP0504BAHT</field>
        <field name="Footprint">TO_SOT_Packages_SMD:SOT-23-5</field>
      </fields>
      <pins>
        <pin num="1" name="K" type="input"/>
        <pin num="2" name="A" type="input"/>
        <pin num="3" name="K" type="input"/>
        <pin num="4" name="K" type="input"/>
        <pin num="5" name="K" type="input"/>
      </pins>
    </libpart>
    <libpart lib="stm32" part="STM32F030F4Px">
      <description>Core: ARM Cortex-M0 Package: TSSOP20 Flash: 16KB Ram: 4KB Frequency: 48MHz Voltage: 2.4..3.6V IO-pins: 15</description>
      <docs>http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00088500.pdf</docs>
      <fields>
        <field name="Reference">U</field>
        <field name="Value">STM32F030F4Px</field>
        <field name="Footprint">Housings_SSOP:TSSOP-20_4.4x6.5mm_Pitch0.65mm</field>
      </fields>
      <pins>
        <pin num="1" name="BOOT0" type="input"/>
        <pin num="2" name="PF0/RCC_OSC_IN" type="input"/>
        <pin num="3" name="PF1/RCC_OSC_OUT" type="input"/>
        <pin num="4" name="NRST" type="input"/>
        <pin num="5" name="VDDA" type="power_in"/>
        <pin num="6" name="ADC_IN0/RTC_TAMP2/SYS_WKUP1/USART1_CTS/PA0" type="BiDi"/>
        <pin num="7" name="ADC_IN1/USART1_DE/USART1_RTS/PA1" type="BiDi"/>
        <pin num="8" name="ADC_IN2/USART1_TX/PA2" type="BiDi"/>
        <pin num="9" name="ADC_IN3/USART1_RX/PA3" type="BiDi"/>
        <pin num="10" name="ADC_IN4/SPI1_NSS/TIM14_CH1/USART1_CK/PA4" type="BiDi"/>
        <pin num="11" name="ADC_IN5/SPI1_SCK/PA5" type="BiDi"/>
        <pin num="12" name="ADC_IN6/SPI1_MISO/TIM16_CH1/TIM1_BKIN/TIM3_CH1/PA6" type="BiDi"/>
        <pin num="13" name="ADC_IN7/SPI1_MOSI/TIM14_CH1/TIM17_CH1/TIM1_CH1N/TIM3_CH2/PA7" type="BiDi"/>
        <pin num="14" name="PB1/ADC_IN9/TIM14_CH1/TIM1_CH3N/TIM3_CH4" type="BiDi"/>
        <pin num="15" name="VSS" type="power_in"/>
        <pin num="16" name="VDD" type="power_in"/>
        <pin num="17" name="I2C1_SCL/TIM1_CH2/USART1_TX/PA9" type="BiDi"/>
        <pin num="18" name="I2C1_SDA/TIM17_BKIN/TIM1_CH3/USART1_RX/PA10" type="BiDi"/>
        <pin num="19" name="IR_OUT/SYS_SWDIO/PA13" type="BiDi"/>
        <pin num="20" name="SYS_SWCLK/USART1_TX/PA14" type="BiDi"/>
      </pins>
    </libpart>
    <libpart lib="switches" part="SW_Push">
      <description>Push button switch, generic, two pins</description>
      <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>
  </libparts>
  <libraries>
    <library logical="device">
      <uri>/usr/share/kicad/library/device.lib</uri>
    </library>
    <library logical="regul">
      <uri>/usr/share/kicad/library/regul.lib</uri>
    </library>
    <library logical="ESD_Protection">
      <uri>/usr/share/kicad/library/ESD_Protection.lib</uri>
    </library>
    <library logical="linear">
      <uri>/usr/share/kicad/library/linear.lib</uri>
    </library>
    <library logical="switches">
      <uri>/usr/share/kicad/library/switches.lib</uri>
    </library>
    <library logical="stm32">
      <uri>/usr/share/kicad/library/stm32.lib</uri>
    </library>
    <library logical="conn">
      <uri>/usr/share/kicad/library/conn.lib</uri>
    </library>
  </libraries>
  <nets>
    <net code="1" name="Net-(J6-Pad6)">
      <node ref="R17" pin="2"/>
      <node ref="J6" pin="6"/>
    </net>
    <net code="2" name="Net-(J6-Pad7)">
      <node ref="R18" pin="2"/>
      <node ref="J6" pin="7"/>
    </net>
    <net code="3" name="Net-(J4-Pad2)">
      <node ref="J4" pin="2"/>
    </net>
    <net code="4" name="Net-(J6-Pad5)">
      <node ref="J6" pin="5"/>
      <node ref="R16" pin="2"/>
    </net>
    <net code="5" name="Net-(J1-Pad2)">
      <node ref="J1" pin="2"/>
      <node ref="R4" pin="2"/>
    </net>
    <net code="6" name="Net-(J1-Pad3)">
      <node ref="J1" pin="3"/>
      <node ref="R3" pin="2"/>
    </net>
    <net code="7" name="Net-(J7-Pad7)">
      <node ref="J7" pin="7"/>
      <node ref="R21" pin="2"/>
    </net>
    <net code="8" name="Net-(J7-Pad6)">
      <node ref="J7" pin="6"/>
      <node ref="R20" pin="2"/>
    </net>
    <net code="9" name="Net-(J7-Pad5)">
      <node ref="R19" pin="2"/>
      <node ref="J7" pin="5"/>
    </net>
    <net code="10" name="/M2_B*">
      <node ref="J8" pin="8"/>
      <node ref="J5" pin="6"/>
    </net>
    <net code="11" name="Net-(J5-Pad2)">
      <node ref="J5" pin="2"/>
    </net>
    <net code="12" name="/M2_A*">
      <node ref="J5" pin="3"/>
      <node ref="J8" pin="2"/>
    </net>
    <net code="13" name="/M2_A">
      <node ref="J8" pin="4"/>
      <node ref="J5" pin="4"/>
    </net>
    <net code="14" name="/M2_B">
      <node ref="J5" pin="5"/>
      <node ref="J8" pin="6"/>
    </net>
    <net code="15" name="Net-(J3-Pad10)">
      <node ref="J3" pin="10"/>
    </net>
    <net code="16" name="GND">
      <node ref="SW1" pin="2"/>
      <node ref="U1" pin="1"/>
      <node ref="J3" pin="1"/>
      <node ref="C1" pin="2"/>
      <node ref="C2" pin="2"/>
      <node ref="C8" pin="2"/>
      <node ref="R1" pin="2"/>
      <node ref="D3" pin="2"/>
      <node ref="C9" pin="2"/>
      <node ref="R9" pin="1"/>
      <node ref="J5" pin="7"/>
      <node ref="J2" pin="1"/>
      <node ref="J5" pin="1"/>
      <node ref="R6" pin="1"/>
      <node ref="C3" pin="2"/>
      <node ref="U2" pin="4"/>
      <node ref="R5" pin="2"/>
      <node ref="C4" pin="2"/>
      <node ref="C10" pin="2"/>
      <node ref="J4" pin="1"/>
      <node ref="U3" pin="15"/>
      <node ref="J1" pin="1"/>
      <node ref="J8" pin="1"/>
      <node ref="D4" pin="2"/>
      <node ref="C6" pin="2"/>
      <node ref="D1" pin="3"/>
      <node ref="J4" pin="7"/>
      <node ref="C7" pin="2"/>
      <node ref="C11" pin="2"/>
    </net>
    <net code="17" name="Net-(R6-Pad2)">
      <node ref="R6" pin="2"/>
      <node ref="U2" pin="8"/>
      <node ref="R7" pin="1"/>
    </net>
    <net code="18" name="+3V3">
      <node ref="R11" pin="1"/>
      <node ref="SW2" pin="2"/>
      <node ref="R2" pin="2"/>
      <node ref="U3" pin="5"/>
      <node ref="U3" pin="16"/>
      <node ref="C4" pin="1"/>
      <node ref="R14" pin="2"/>
      <node ref="R23" pin="1"/>
      <node ref="R24" pin="1"/>
      <node ref="R25" pin="1"/>
      <node ref="R26" pin="1"/>
      <node ref="C7" pin="1"/>
      <node ref="J6" pin="3"/>
      <node ref="J6" pin="4"/>
      <node ref="R18" pin="1"/>
      <node ref="R17" pin="1"/>
      <node ref="R16" pin="1"/>
      <node ref="R19" pin="1"/>
      <node ref="R20" pin="1"/>
      <node ref="J7" pin="4"/>
      <node ref="R21" pin="1"/>
      <node ref="J7" pin="3"/>
      <node ref="U1" pin="2"/>
      <node ref="U1" pin="4"/>
      <node ref="C6" pin="1"/>
    </net>
    <net code="19" name="/M1ESW1">
      <node ref="D4" pin="4"/>
      <node ref="U3" pin="9"/>
      <node ref="R12" pin="1"/>
      <node ref="R23" pin="2"/>
    </net>
    <net code="20" name="Net-(D2-Pad2)">
      <node ref="R5" pin="1"/>
      <node ref="D2" pin="2"/>
      <node ref="Q1" pin="1"/>
    </net>
    <net code="21" name="/M1_A*">
      <node ref="J4" pin="3"/>
      <node ref="J3" pin="2"/>
    </net>
    <net code="22" name="Net-(J3-Pad3)">
      <node ref="J3" pin="3"/>
    </net>
    <net code="23" name="/M1_A">
      <node ref="J3" pin="4"/>
      <node ref="J4" pin="4"/>
    </net>
    <net code="24" name="/M1_B">
      <node ref="J4" pin="5"/>
      <node ref="J3" pin="6"/>
    </net>
    <net code="25" name="Net-(J3-Pad7)">
      <node ref="J3" pin="7"/>
      <node ref="R13" pin="2"/>
    </net>
    <net code="26" name="/M1_B*">
      <node ref="J4" pin="6"/>
      <node ref="J3" pin="8"/>
    </net>
    <net code="27" name="Net-(J3-Pad9)">
      <node ref="R12" pin="2"/>
      <node ref="J3" pin="9"/>
    </net>
    <net code="28" name="/USART_TX">
      <node ref="U3" pin="17"/>
      <node ref="R4" pin="1"/>
      <node ref="D1" pin="2"/>
    </net>
    <net code="29" name="Net-(J3-Pad5)">
      <node ref="R11" pin="2"/>
      <node ref="J3" pin="5"/>
    </net>
    <net code="30" name="Net-(J8-Pad5)">
      <node ref="R14" pin="1"/>
      <node ref="J8" pin="5"/>
    </net>
    <net code="31" name="Net-(J8-Pad9)">
      <node ref="R15" pin="2"/>
      <node ref="J8" pin="9"/>
    </net>
    <net code="32" name="/BOOT0">
      <node ref="R1" pin="1"/>
      <node ref="SW2" pin="1"/>
      <node ref="C2" pin="1"/>
      <node ref="R27" pin="2"/>
    </net>
    <net code="33" name="Net-(R27-Pad1)">
      <node ref="R27" pin="1"/>
      <node ref="U3" pin="1"/>
    </net>
    <net code="34" name="Net-(J8-Pad7)">
      <node ref="J8" pin="7"/>
      <node ref="R22" pin="2"/>
    </net>
    <net code="35" name="Net-(D3-Pad1)">
      <node ref="R10" pin="1"/>
      <node ref="R8" pin="1"/>
      <node ref="R9" pin="2"/>
      <node ref="D3" pin="1"/>
    </net>
    <net code="36" name="/U12V">
      <node ref="R10" pin="2"/>
      <node ref="C9" pin="1"/>
      <node ref="U3" pin="7"/>
    </net>
    <net code="37" name="/M2ESW2">
      <node ref="U3" pin="20"/>
      <node ref="R22" pin="1"/>
      <node ref="R26" pin="2"/>
      <node ref="D4" pin="5"/>
    </net>
    <net code="38" name="/STP12">
      <node ref="U2" pin="6"/>
      <node ref="J4" pin="8"/>
      <node ref="C11" pin="1"/>
      <node ref="J5" pin="8"/>
      <node ref="C10" pin="1"/>
      <node ref="U2" pin="7"/>
    </net>
    <net code="39" name="+12V">
      <node ref="U2" pin="2"/>
      <node ref="U2" pin="3"/>
      <node ref="U1" pin="3"/>
      <node ref="R8" pin="2"/>
      <node ref="Q1" pin="2"/>
      <node ref="C3" pin="1"/>
      <node ref="D2" pin="1"/>
    </net>
    <net code="40" name="/USART_RX">
      <node ref="U3" pin="18"/>
      <node ref="D1" pin="1"/>
      <node ref="R3" pin="1"/>
    </net>
    <net code="41" name="/M1STEP">
      <node ref="J6" pin="2"/>
      <node ref="U3" pin="10"/>
    </net>
    <net code="42" name="/M1EN">
      <node ref="J6" pin="8"/>
      <node ref="U3" pin="2"/>
    </net>
    <net code="43" name="/M1DIR">
      <node ref="J6" pin="1"/>
      <node ref="U3" pin="3"/>
    </net>
    <net code="44" name="/NRST">
      <node ref="SW1" pin="1"/>
      <node ref="R2" pin="1"/>
      <node ref="C1" pin="1"/>
      <node ref="U3" pin="4"/>
    </net>
    <net code="45" name="/STPCURRENT">
      <node ref="R7" pin="2"/>
      <node ref="C8" pin="1"/>
      <node ref="U3" pin="6"/>
    </net>
    <net code="46" name="/M2EN">
      <node ref="J7" pin="8"/>
      <node ref="U3" pin="11"/>
    </net>
    <net code="47" name="/M2STEP">
      <node ref="J7" pin="2"/>
      <node ref="U3" pin="12"/>
    </net>
    <net code="48" name="/M2DIR">
      <node ref="J7" pin="1"/>
      <node ref="U3" pin="13"/>
    </net>
    <net code="49" name="/M1ESW2">
      <node ref="R13" pin="1"/>
      <node ref="U3" pin="8"/>
      <node ref="D4" pin="3"/>
      <node ref="R24" pin="2"/>
    </net>
    <net code="50" name="Net-(J8-Pad3)">
      <node ref="J8" pin="3"/>
    </net>
    <net code="51" name="/SHDN">
      <node ref="U3" pin="14"/>
      <node ref="U2" pin="1"/>
    </net>
    <net code="52" name="Net-(U2-Pad5)">
      <node ref="U2" pin="5"/>
    </net>
    <net code="53" name="Net-(P1-Pad1)">
      <node ref="P1" pin="1"/>
    </net>
    <net code="54" name="Net-(J2-Pad2)">
      <node ref="Q1" pin="3"/>
      <node ref="J2" pin="2"/>
    </net>
    <net code="55" name="Net-(P4-Pad1)">
      <node ref="P4" pin="1"/>
    </net>
    <net code="56" name="Net-(P5-Pad1)">
      <node ref="P5" pin="1"/>
    </net>
    <net code="57" name="Net-(P6-Pad1)">
      <node ref="P6" pin="1"/>
    </net>
    <net code="58" name="Net-(P2-Pad1)">
      <node ref="P2" pin="1"/>
    </net>
    <net code="59" name="Net-(P3-Pad1)">
      <node ref="P3" pin="1"/>
    </net>
    <net code="60" name="Net-(J8-Pad10)">
      <node ref="J8" pin="10"/>
    </net>
    <net code="61" name="/M2ESW1">
      <node ref="U3" pin="19"/>
      <node ref="R25" pin="2"/>
      <node ref="R15" pin="1"/>
      <node ref="D4" pin="1"/>
    </net>
  </nets>
</export>
