<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="6.5.0">
<drawing>
<board>
<plain>
<wire x1="0" y1="0" x2="71.12" y2="0" width="0" layer="20"/>
<wire x1="71.12" y1="0" x2="71.12" y2="38.1" width="0" layer="20"/>
<wire x1="71.12" y1="38.1" x2="0" y2="38.1" width="0" layer="20"/>
<wire x1="0" y1="38.1" x2="0" y2="0" width="0" layer="20"/>
<text>P22</text>
<text>P23</text>
<text>P24</text>
<text>P25</text>
<text>P26</text>
<text>P27</text>
<text>P28</text>
<text>P29</text>
<text>P30</text>
<text>P31</text>
<text>P32</text>
<text>P33</text>
<text>P34</text>
<text>P35</text>
<text>P36</text>
<text>P37</text>
<text>P38</text>
<text>P39</text>
<text>P40</text>
<text>P41</text>
<text>P42</text>
<text>P43</text>
<text>P44</text>
<text>P45</text>
<text>P2</text>
<text>P1</text>
<text>P3</text>
<text>P4</text>
<text>P5</text>
<text>P6</text>
<text>P7</text>
<text>P8</text>
<text>P9</text>
<text>P10</text>
<text>P11</text>
<text>P12</text>
<text>P13</text>
<text>P14</text>
<text>P15</text>
<text>P16</text>
<text>P17</text>
<text>P18</text>
<text>P19</text>
<text>P20</text>
<text>P21</text>
<text>RST</text>
<text>3.3V</text>
<text>GND</text>
</plain>
<libraries>
<library name="micro-stm_v2">
<description>&lt;b&gt;ARM 32-bit Cortex™ MCUs&lt;/b&gt;&lt;p&gt;

&lt;author&gt;Created by jb@jenszuhause.de&lt;/author&gt;&lt;p&gt;
&lt;b&gt;You are using this libary by your own risk.&lt;/b&gt;&lt;br&gt;
&lt;b&gt;Make sure to check everything well due to this libary before using it.&lt;/b&gt;</description>
<packages>
<package name="LQFP64">
<description>&lt;b&gt;LQFP64&lt;/b&gt;&lt;p&gt;
10 x 10 mm, 64-pin low-profile quad flat package</description>
</package>
</packages>
</library>
<library name="SparkFun-FreqCtrl">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find crystals and oscillators and other things that go "tick".&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="TC26HEZ">
<description>32kHz crystal package&lt;br&gt;
This is the "EZ" version, which has limited top masking for improved ease of assembly.</description>
</package>
<package name="HC49US">
<description>&lt;B&gt;CRYSTAL&lt;/B&gt;</description>
</package>
</packages>
</library>
<library name="SparkFun-Capacitors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find resistors, capacitors, inductors, test points, jumper pads, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="0603-CAP">
</package>
</packages>
</library>
<library name="SparkFun-Resistors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find resistors, capacitors, inductors, test points, jumper pads, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="0603-RES">
</package>
</packages>
</library>
<library name="SparkFun-Connectors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find connectors and sockets- basically anything that can be plugged into or onto.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="USB-AB-MICRO-SMD">
<description>micro USB AB connector for OTG support. 5-pins: USBVCC, GND, D+, D-, USBID. Can act as host or device</description>
</package>
<package name="1X24">
</package>
</packages>
</library>
<library name="SparkFun-Electromechanical">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find anything that moves- switches, relays, buttons, potentiometers. Also, anything that goes on a board but isn't electrical in nature- screws, standoffs, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="TACTILE_SWITCH_SMD">
</package>
</packages>
</library>
<library name="SparkFun-PowerIC">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find drivers, regulators, and amplifiers.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="SOT23-5">
<description>&lt;b&gt;Small Outline Transistor&lt;/b&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="IC1" library="micro-stm_v2" package="LQFP64" value="STM32L151R6T"/>
<element name="C1" library="SparkFun-Capacitors" package="0603-CAP" value="22pF">
<attribute name="PROD_ID" value="CAP-07876"/>
</element>
<element name="C2" library="SparkFun-Capacitors" package="0603-CAP" value="22pF">
<attribute name="PROD_ID" value="CAP-07876"/>
</element>
<element name="R1" library="SparkFun-Resistors" package="0603-RES" value=""/>
<element name="R2" library="SparkFun-Resistors" package="0603-RES" value=""/>
<element name="U1" library="SparkFun-Connectors" package="USB-AB-MICRO-SMD" value=""/>
<element name="S1" library="SparkFun-Electromechanical" package="TACTILE_SWITCH_SMD" value="">
<attribute name="PROD_ID" value="SWCH-08247"/>
</element>
<element name="S2" library="SparkFun-Electromechanical" package="TACTILE_SWITCH_SMD" value="">
<attribute name="PROD_ID" value="SWCH-08247"/>
</element>
<element name="R3" library="SparkFun-Resistors" package="0603-RES" value="10K">
<attribute name="PROD_ID" value="RES-00824"/>
</element>
<element name="R4" library="SparkFun-Resistors" package="0603-RES" value="10K">
<attribute name="PROD_ID" value="RES-00824"/>
</element>
<element name="U$1" library="SparkFun-Connectors" package="1X24" value="M24"/>
<element name="U$2" library="SparkFun-Connectors" package="1X24" value="M24"/>
<element name="C3" library="SparkFun-Capacitors" package="0603-CAP" value="22pF">
<attribute name="PROD_ID" value="CAP-07876"/>
</element>
<element name="C4" library="SparkFun-Capacitors" package="0603-CAP" value="22pF">
<attribute name="PROD_ID" value="CAP-07876"/>
</element>
<element name="U2" library="SparkFun-PowerIC" package="SOT23-5" value="MIC5219 3.3V">
<attribute name="PROD_ID" value="VREG-09872"/>
</element>
<element name="Y2" library="SparkFun-FreqCtrl" package="TC26HEZ" value=""/>
<element name="Y1" library="SparkFun-FreqCtrl" package="HC49US" value=""/>
<element name="C5" library="SparkFun-Capacitors" package="0603-CAP" value="0.1uF">
<attribute name="PROD_ID" value="CAP-08604"/>
</element>
<element name="C6" library="SparkFun-Capacitors" package="0603-CAP" value="0.1uF">
<attribute name="PROD_ID" value="CAP-08604"/>
</element>
<element name="C7" library="SparkFun-Capacitors" package="0603-CAP" value="0.1uF">
<attribute name="PROD_ID" value="CAP-08604"/>
</element>
<element name="C8" library="SparkFun-Capacitors" package="0603-CAP" value="0.1uF">
<attribute name="PROD_ID" value="CAP-08604"/>
</element>
<element name="C9" library="SparkFun-Capacitors" package="0603-CAP" value="0.1uF">
<attribute name="PROD_ID" value="CAP-08604"/>
</element>
</elements>
<signals>
<signal name="N$1">
<contactref element="IC1" pad="5"/>
<contactref element="C1" pad="2"/>
<contactref element="Y1" pad="2"/>
</signal>
<signal name="GND">
<contactref element="C1" pad="1"/>
<contactref element="C2" pad="2"/>
<contactref element="IC1" pad="12"/>
<contactref element="U1" pad="GND"/>
<contactref element="S1" pad="2"/>
<contactref element="S1" pad="1"/>
<contactref element="IC1" pad="31"/>
<contactref element="IC1" pad="47"/>
<contactref element="IC1" pad="63"/>
<contactref element="IC1" pad="18"/>
<contactref element="R4" pad="1"/>
<contactref element="C3" pad="1"/>
<contactref element="C4" pad="2"/>
<contactref element="U2" pad="2"/>
<contactref element="U$1" pad="25"/>
<contactref element="C5" pad="2"/>
<contactref element="C6" pad="2"/>
<contactref element="C9" pad="2"/>
<contactref element="C8" pad="2"/>
<contactref element="C7" pad="2"/>
</signal>
<signal name="N$3">
<contactref element="C2" pad="1"/>
<contactref element="IC1" pad="6"/>
<contactref element="Y1" pad="1"/>
</signal>
<signal name="3.3V">
<contactref element="IC1" pad="13"/>
<contactref element="R3" pad="2"/>
<contactref element="IC1" pad="1"/>
<contactref element="IC1" pad="32"/>
<contactref element="IC1" pad="48"/>
<contactref element="IC1" pad="64"/>
<contactref element="IC1" pad="19"/>
<contactref element="S2" pad="1"/>
<contactref element="S2" pad="2"/>
<contactref element="U2" pad="5"/>
<contactref element="U$1" pad="24"/>
<contactref element="C9" pad="1"/>
<contactref element="C7" pad="1"/>
<contactref element="C8" pad="1"/>
</signal>
<signal name="N$2">
<contactref element="IC1" pad="44"/>
<contactref element="R1" pad="1"/>
</signal>
<signal name="N$4">
<contactref element="R1" pad="2"/>
<contactref element="U1" pad="D-"/>
</signal>
<signal name="N$5">
<contactref element="U1" pad="D+"/>
<contactref element="R2" pad="2"/>
</signal>
<signal name="N$6">
<contactref element="R2" pad="1"/>
<contactref element="IC1" pad="45"/>
</signal>
<signal name="N$8">
<contactref element="S2" pad="4"/>
<contactref element="S2" pad="3"/>
<contactref element="IC1" pad="60"/>
<contactref element="R4" pad="2"/>
</signal>
<signal name="P1">
<contactref element="U$1" pad="2"/>
<contactref element="IC1" pad="46"/>
</signal>
<signal name="P2">
<contactref element="U$1" pad="3"/>
<contactref element="IC1" pad="49"/>
</signal>
<signal name="P3">
<contactref element="U$1" pad="4"/>
<contactref element="IC1" pad="50"/>
</signal>
<signal name="P4">
<contactref element="U$1" pad="5"/>
<contactref element="IC1" pad="51"/>
</signal>
<signal name="P5">
<contactref element="U$1" pad="6"/>
<contactref element="IC1" pad="52"/>
</signal>
<signal name="P6">
<contactref element="U$1" pad="7"/>
<contactref element="IC1" pad="53"/>
</signal>
<signal name="P7">
<contactref element="U$1" pad="8"/>
<contactref element="IC1" pad="54"/>
</signal>
<signal name="P8">
<contactref element="U$1" pad="9"/>
<contactref element="IC1" pad="55"/>
</signal>
<signal name="P9">
<contactref element="U$1" pad="10"/>
<contactref element="IC1" pad="56"/>
</signal>
<signal name="P10">
<contactref element="U$1" pad="11"/>
<contactref element="IC1" pad="57"/>
</signal>
<signal name="P11">
<contactref element="U$1" pad="12"/>
<contactref element="IC1" pad="58"/>
</signal>
<signal name="P12">
<contactref element="U$1" pad="13"/>
<contactref element="IC1" pad="59"/>
</signal>
<signal name="P13">
<contactref element="U$1" pad="14"/>
<contactref element="IC1" pad="61"/>
</signal>
<signal name="P14">
<contactref element="U$1" pad="15"/>
<contactref element="IC1" pad="62"/>
</signal>
<signal name="P15">
<contactref element="U$1" pad="16"/>
<contactref element="IC1" pad="2"/>
</signal>
<signal name="P16">
<contactref element="U$1" pad="17"/>
<contactref element="IC1" pad="8"/>
</signal>
<signal name="P17">
<contactref element="U$1" pad="18"/>
<contactref element="IC1" pad="9"/>
</signal>
<signal name="P18">
<contactref element="U$1" pad="19"/>
<contactref element="IC1" pad="10"/>
</signal>
<signal name="P19">
<contactref element="U$1" pad="20"/>
<contactref element="IC1" pad="11"/>
</signal>
<signal name="P20">
<contactref element="U$1" pad="21"/>
<contactref element="IC1" pad="14"/>
</signal>
<signal name="P21">
<contactref element="U$1" pad="22"/>
<contactref element="IC1" pad="15"/>
</signal>
<signal name="P22">
<contactref element="U$2" pad="2"/>
<contactref element="IC1" pad="43"/>
</signal>
<signal name="P23">
<contactref element="U$2" pad="3"/>
<contactref element="IC1" pad="42"/>
</signal>
<signal name="P24">
<contactref element="U$2" pad="4"/>
<contactref element="IC1" pad="41"/>
</signal>
<signal name="P25">
<contactref element="U$2" pad="5"/>
<contactref element="IC1" pad="40"/>
</signal>
<signal name="P26">
<contactref element="U$2" pad="6"/>
<contactref element="IC1" pad="39"/>
</signal>
<signal name="P27">
<contactref element="U$2" pad="7"/>
<contactref element="IC1" pad="38"/>
</signal>
<signal name="P28">
<contactref element="U$2" pad="8"/>
<contactref element="IC1" pad="37"/>
</signal>
<signal name="P29">
<contactref element="U$2" pad="9"/>
<contactref element="IC1" pad="36"/>
</signal>
<signal name="P30">
<contactref element="U$2" pad="10"/>
<contactref element="IC1" pad="35"/>
</signal>
<signal name="P31">
<contactref element="U$2" pad="11"/>
<contactref element="IC1" pad="34"/>
</signal>
<signal name="P32">
<contactref element="U$2" pad="12"/>
<contactref element="IC1" pad="33"/>
</signal>
<signal name="P33">
<contactref element="U$2" pad="13"/>
<contactref element="IC1" pad="30"/>
</signal>
<signal name="P34">
<contactref element="U$2" pad="14"/>
<contactref element="IC1" pad="29"/>
</signal>
<signal name="P35">
<contactref element="U$2" pad="15"/>
<contactref element="IC1" pad="28"/>
</signal>
<signal name="P36">
<contactref element="U$2" pad="16"/>
<contactref element="IC1" pad="27"/>
</signal>
<signal name="P37">
<contactref element="U$2" pad="17"/>
<contactref element="IC1" pad="26"/>
</signal>
<signal name="P38">
<contactref element="U$2" pad="18"/>
<contactref element="IC1" pad="25"/>
</signal>
<signal name="P39">
<contactref element="U$2" pad="19"/>
<contactref element="IC1" pad="24"/>
</signal>
<signal name="P40">
<contactref element="U$2" pad="20"/>
<contactref element="IC1" pad="23"/>
</signal>
<signal name="P41">
<contactref element="U$2" pad="21"/>
<contactref element="IC1" pad="22"/>
</signal>
<signal name="P42">
<contactref element="U$2" pad="22"/>
<contactref element="IC1" pad="21"/>
</signal>
<signal name="P43">
<contactref element="U$2" pad="23"/>
<contactref element="IC1" pad="20"/>
</signal>
<signal name="P44">
<contactref element="U$2" pad="24"/>
<contactref element="IC1" pad="17"/>
</signal>
<signal name="P45">
<contactref element="U$2" pad="25"/>
<contactref element="IC1" pad="16"/>
</signal>
<signal name="N$9">
<contactref element="C3" pad="2"/>
<contactref element="Y2" pad="2"/>
<contactref element="IC1" pad="4"/>
</signal>
<signal name="N$10">
<contactref element="C4" pad="1"/>
<contactref element="Y2" pad="1"/>
<contactref element="IC1" pad="3"/>
</signal>
<signal name="N$11">
<contactref element="U2" pad="3"/>
<contactref element="U2" pad="1"/>
<contactref element="U1" pad="VBUS"/>
<contactref element="C5" pad="1"/>
<contactref element="C6" pad="1"/>
</signal>
<signal name="RST">
<contactref element="U$1" pad="23"/>
<contactref element="IC1" pad="7"/>
<contactref element="S1" pad="3"/>
<contactref element="S1" pad="4"/>
<contactref element="R3" pad="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
