<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.2.0">
<drawing>
<board>
<plain>
<wire x1="-0.254" y1="17.272" x2="0.254" y2="16.764" width="0" layer="20"/>
<wire x1="0.254" y1="16.764" x2="0.254" y2="12.7" width="0" layer="20"/>
<wire x1="0.254" y1="12.7" x2="-0.254" y2="12.192" width="0" layer="20"/>
<text>USB</text>
<text>RST</text>
<text>ARf</text>
<text>3V</text>
<text>A5</text>
<text>A4</text>
<text>A3</text>
<text>A2</text>
<text>A1</text>
<text>A0</text>
<text>13</text>
<text>~5</text>
<text>11</text>
<text>10</text>
<text>SCK</text>
<text>MOSI</text>
<text>MISO</text>
<text>SCL</text>
<text>SDA</text>
<text>0</text>
<text>1</text>
<text>RX</text>
<text>TX</text>
<text>BAT</text>
<text>12</text>
<text>6</text>
<text>GND</text>
<text>En</text>
<text>GND</text>
<text>~</text>
<text>~</text>
<text>Reset</text>
<text>CHG</text>
<text>~</text>
<text>USB</text>
<text>13</text>
<text>5</text>
<text>11</text>
<text>10</text>
<text>9</text>
<text>SCL</text>
<text>SDA</text>
<text>BAT</text>
<text>12</text>
<text>6</text>
<text>En</text>
<text>~</text>
<text>RST</text>
<text>ARf</text>
<text>3V</text>
<text>A5</text>
<text>A4</text>
<text>A3</text>
<text>A2</text>
<text>A1</text>
<text>A0</text>
<text>SCK</text>
<text>MOSI</text>
<text>MISO</text>
<text>0</text>
<text>1</text>
<text>RX</text>
<text>TX</text>
<text>GND</text>
<text>GND</text>
<text>swdio</text>
<text>swclk</text>
<text>24</text>
<text>23</text>
<text>22</text>
<wire x1="-0.127" y1="30.5308" x2="36.8554" y2="30.353" width="0" layer="20"/>
<wire x1="36.8554" y1="30.353" x2="36.83" y2="1.016" width="0" layer="20"/>
<wire x1="36.83" y1="1.016" x2="-0.127" y2="1.016" width="0" layer="20"/>
<wire x1="-0.127" y1="1.016" x2="-0.127" y2="30.5308" width="0" layer="20"/>
<text>9</text>
<text>~</text>
<text>~</text>
</plain>
<libraries>
<library name="microbuilder">
<description>&lt;h2&gt;&lt;b&gt;microBuilder.eu&lt;/b&gt; Eagle Footprint Library&lt;/h2&gt;

&lt;p&gt;Footprints for common components used in our projects and products.  This is the same library that we use internally, and it is regularly updated.  The newest version can always be found at &lt;b&gt;www.microBuilder.eu&lt;/b&gt;.  If you find this library useful, please feel free to purchase something from our online store. Please also note that all holes are optimised for metric drill bits!&lt;/p&gt;

&lt;h3&gt;Obligatory Warning&lt;/h3&gt;
&lt;p&gt;While it probably goes without saying, there are no guarantees that the footprints or schematic symbols in this library are flawless, and we make no promises of fitness for production, prototyping or any other purpose. These libraries are provided for information puposes only, and are used at your own discretion.  While we make every effort to produce accurate footprints, and many of the items found in this library have be proven in production, we can't make any promises of suitability for a specific purpose. If you do find any errors, though, please feel free to contact us at www.microbuilder.eu to let us know about it so that we can update the library accordingly!&lt;/p&gt;

&lt;h3&gt;License&lt;/h3&gt;
&lt;p&gt;This work is placed in the public domain, and may be freely used for commercial and non-commercial work with the following conditions:&lt;/p&gt;
&lt;p&gt;THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
&lt;/p&gt;</description>
<packages>
<package name="0603-NO">
</package>
<package name="0805-NO">
</package>
<package name="CHIPLED_0805_NOOUTLINE">
</package>
<package name="4UCONN_20329_V2">
</package>
<package name="SOT23-5">
<description>&lt;b&gt;Small Outline Transistor&lt;/b&gt; - 5 Pin</description>
</package>
<package name="SOD-123">
<description>&lt;b&gt;SOD-123&lt;/b&gt;
&lt;p&gt;Source: http://www.diodes.com/datasheets/ds30139.pdf&lt;/p&gt;</description>
</package>
<package name="JSTPH2">
<description>2-Pin JST PH Series Right-Angle Connector (+/- for batteries)</description>
</package>
<package name="TQFN48_7MM">
</package>
<package name="TESTPOINT_ROUND_1.5MM">
</package>
</packages>
</library>
<library name="adafruit">
<packages>
<package name="KMR2">
</package>
<package name="1X14-CB">
</package>
</packages>
</library>
<library name="adafruit2">
<packages>
<package name="XTAL3215">
</package>
</packages>
</library>
</libraries>
<attributes>
<attribute name="REV" value="C"/>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="C6" library="microbuilder" package="0805-NO" value="10µF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C7" library="microbuilder" package="0603-NO" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C8" library="microbuilder" package="0805-NO" value="10µF">
<attribute name="COMPANY" value="ADAFRUIT INDUSTRIES"/>
<attribute name="DRAWN" value="KTOWN"/>
<attribute name="REV" value="A"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="L" library="microbuilder" package="CHIPLED_0805_NOOUTLINE" value="RED">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C14" library="microbuilder" package="0603-NO" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R7" library="microbuilder" package="0603-NO" value="2.2K">
<attribute name="NAME"/>
</element>
<element name="SW1" library="adafruit" package="KMR2" value="SPST_TACT-KMR2"/>
<element name="X3" library="microbuilder" package="4UCONN_20329_V2" value="microUSB">
<attribute name="VALUE"/>
</element>
<element name="U2" library="microbuilder" package="SOT23-5" value="SPX3819-3.3">
<attribute name="NAME"/>
</element>
<element name="D1" library="microbuilder" package="SOD-123" value="MBR120">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="X1" library="microbuilder" package="JSTPH2" value="JSTPH">
<attribute name="NAME"/>
</element>
<element name="U3" library="microbuilder" package="SOT23-5" value="MCP73831T-2ACI/OT">
<attribute name="NAME"/>
</element>
<element name="CHG" library="microbuilder" package="CHIPLED_0805_NOOUTLINE" value="ORANGE">
<attribute name="NAME"/>
</element>
<element name="R2" library="microbuilder" package="0603-NO" value="1K">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C3" library="microbuilder" package="0805-NO" value="10µF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R8" library="microbuilder" package="0603-NO" value="10K\">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R3" library="microbuilder" package="0603-NO" value="100k">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R6" library="microbuilder" package="0603-NO" value="100K">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U$4" library="microbuilder" package="TQFN48_7MM" value="ATSAMD21G18_QFN">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C1" library="microbuilder" package="0603-NO" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C2" library="microbuilder" package="0603-NO" value="22pF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C4" library="microbuilder" package="0603-NO" value="22pF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="X2" library="adafruit2" package="XTAL3215" value="32.768">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C5" library="microbuilder" package="0805-NO" value="10uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="TP1" library="microbuilder" package="TESTPOINT_ROUND_1.5MM" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="TP2" library="microbuilder" package="TESTPOINT_ROUND_1.5MM" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R1" library="microbuilder" package="0603-NO" value="100k">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="JP1" library="adafruit" package="1X14-CB" value=""/>
<element name="JP2" library="adafruit" package="1X14-CB" value=""/>
</elements>
<signals>
<signal name="GND">
<contactref element="C7" pad="2"/>
<contactref element="C6" pad="2"/>
<contactref element="C8" pad="2"/>
<contactref element="C14" pad="2"/>
<contactref element="SW1" pad="2"/>
<contactref element="SW1" pad="4"/>
<contactref element="X3" pad="SPRT@2"/>
<contactref element="X3" pad="SPRT@1"/>
<contactref element="X3" pad="GND"/>
<contactref element="X3" pad="SPRT@3"/>
<contactref element="X3" pad="BASE@2"/>
<contactref element="X3" pad="SPRT@4"/>
<contactref element="X3" pad="BASE@1"/>
<contactref element="X3" pad="SPRT@2"/>
<contactref element="X3" pad="SPRT@1"/>
<contactref element="X3" pad="GND"/>
<contactref element="X3" pad="SPRT@3"/>
<contactref element="X3" pad="BASE@2"/>
<contactref element="X3" pad="SPRT@4"/>
<contactref element="X3" pad="BASE@1"/>
<contactref element="U2" pad="2"/>
<contactref element="L" pad="C"/>
<contactref element="X1" pad="1"/>
<contactref element="C3" pad="2"/>
<contactref element="R8" pad="2"/>
<contactref element="U3" pad="2"/>
<contactref element="R6" pad="2"/>
<contactref element="U$4" pad="35"/>
<contactref element="U$4" pad="42"/>
<contactref element="U$4" pad="THERMAL"/>
<contactref element="U$4" pad="18"/>
<contactref element="U$4" pad="5"/>
<contactref element="U$4" pad="35"/>
<contactref element="U$4" pad="42"/>
<contactref element="U$4" pad="THERMAL"/>
<contactref element="U$4" pad="18"/>
<contactref element="C1" pad="2"/>
<contactref element="C2" pad="2"/>
<contactref element="C4" pad="2"/>
<contactref element="C5" pad="2"/>
<contactref element="JP2" pad="2"/>
<contactref element="JP2" pad="14"/>
</signal>
<signal name="MOSI">
<contactref element="U$4" pad="19"/>
<contactref element="JP2" pad="10"/>
</signal>
<signal name="MISO">
<contactref element="U$4" pad="21"/>
<contactref element="JP2" pad="11"/>
</signal>
<signal name="SCK">
<contactref element="U$4" pad="20"/>
<contactref element="JP2" pad="9"/>
</signal>
<signal name="A5">
<contactref element="U$4" pad="47"/>
<contactref element="JP2" pad="8"/>
</signal>
<signal name="A4">
<contactref element="U$4" pad="10"/>
<contactref element="JP2" pad="7"/>
</signal>
<signal name="A3">
<contactref element="U$4" pad="9"/>
<contactref element="JP2" pad="6"/>
</signal>
<signal name="A2">
<contactref element="U$4" pad="8"/>
<contactref element="JP2" pad="5"/>
</signal>
<signal name="A1">
<contactref element="U$4" pad="7"/>
<contactref element="JP2" pad="4"/>
</signal>
<signal name="D11">
<contactref element="U$4" pad="25"/>
<contactref element="JP1" pad="6"/>
</signal>
<signal name="D12">
<contactref element="U$4" pad="28"/>
<contactref element="JP1" pad="5"/>
</signal>
<signal name="+3V3">
<contactref element="C7" pad="1"/>
<contactref element="C8" pad="1"/>
<contactref element="U2" pad="5"/>
<contactref element="U$4" pad="17"/>
<contactref element="U$4" pad="36"/>
<contactref element="U$4" pad="6"/>
<contactref element="U$4" pad="44"/>
<contactref element="C5" pad="1"/>
<contactref element="JP1" pad="13"/>
</signal>
<signal name="VBUS">
<contactref element="X3" pad="VBUS"/>
<contactref element="X3" pad="VBUS"/>
<contactref element="C6" pad="1"/>
<contactref element="U2" pad="1"/>
<contactref element="D1" pad="C"/>
<contactref element="U3" pad="4"/>
<contactref element="CHG" pad="A"/>
<contactref element="R1" pad="1"/>
<contactref element="JP1" pad="3"/>
</signal>
<signal name="VBAT">
<contactref element="D1" pad="A"/>
<contactref element="X1" pad="2"/>
<contactref element="U3" pad="3"/>
<contactref element="U3" pad="3"/>
<contactref element="C3" pad="1"/>
<contactref element="R3" pad="1"/>
<contactref element="JP1" pad="1"/>
</signal>
<signal name="N$2">
<contactref element="L" pad="A"/>
<contactref element="R7" pad="2"/>
</signal>
<signal name="AREF">
<contactref element="C14" pad="1"/>
<contactref element="U$4" pad="4"/>
<contactref element="JP2" pad="1"/>
</signal>
<signal name="D13">
<contactref element="R7" pad="1"/>
<contactref element="U$4" pad="26"/>
<contactref element="JP1" pad="4"/>
</signal>
<signal name="A0">
<contactref element="U$4" pad="3"/>
<contactref element="JP2" pad="3"/>
</signal>
<signal name="N$1">
<contactref element="CHG" pad="C"/>
<contactref element="R2" pad="1"/>
</signal>
<signal name="N$3">
<contactref element="R2" pad="2"/>
<contactref element="U3" pad="1"/>
</signal>
<signal name="N$4">
<contactref element="U3" pad="5"/>
<contactref element="R8" pad="1"/>
</signal>
<signal name="PB22/I6/SERCOM5.2">
</signal>
<signal name="PB23/I7/SERCOM5.3">
</signal>
<signal name="PB03/I3/AIN11/SERCOM5.1">
</signal>
<signal name="VDDCORE">
<contactref element="U$4" pad="43"/>
<contactref element="C1" pad="1"/>
</signal>
<signal name="SCL">
<contactref element="U$4" pad="32"/>
<contactref element="JP1" pad="11"/>
</signal>
<signal name="SDA">
<contactref element="U$4" pad="31"/>
<contactref element="JP1" pad="12"/>
</signal>
<signal name="D9">
<contactref element="U$4" pad="12"/>
<contactref element="R3" pad="2"/>
<contactref element="R6" pad="1"/>
<contactref element="JP1" pad="8"/>
</signal>
<signal name="D8">
<contactref element="U$4" pad="11"/>
</signal>
<signal name="D7">
<contactref element="U$4" pad="30"/>
</signal>
<signal name="D6">
<contactref element="U$4" pad="29"/>
<contactref element="JP1" pad="9"/>
</signal>
<signal name="D5">
<contactref element="U$4" pad="24"/>
<contactref element="JP1" pad="10"/>
</signal>
<signal name="D4">
<contactref element="U$4" pad="13"/>
</signal>
<signal name="D1">
<contactref element="U$4" pad="15"/>
<contactref element="JP2" pad="13"/>
</signal>
<signal name="D0">
<contactref element="U$4" pad="16"/>
<contactref element="JP2" pad="12"/>
</signal>
<signal name="D10">
<contactref element="U$4" pad="27"/>
<contactref element="JP1" pad="7"/>
</signal>
<signal name="D+">
<contactref element="X3" pad="D+"/>
<contactref element="U$4" pad="34"/>
</signal>
<signal name="D-">
<contactref element="X3" pad="D-"/>
<contactref element="U$4" pad="33"/>
</signal>
<signal name="!RESET">
<contactref element="U$4" pad="40"/>
<contactref element="SW1" pad="1"/>
<contactref element="SW1" pad="3"/>
<contactref element="JP1" pad="14"/>
</signal>
<signal name="SWCLK">
<contactref element="U$4" pad="45"/>
<contactref element="TP1" pad="P$1"/>
</signal>
<signal name="SWDIO">
<contactref element="U$4" pad="46"/>
<contactref element="TP2" pad="P$1"/>
</signal>
<signal name="N$5">
<contactref element="U$4" pad="1"/>
<contactref element="C2" pad="1"/>
<contactref element="X2" pad="P$1"/>
</signal>
<signal name="N$7">
<contactref element="U$4" pad="2"/>
<contactref element="C4" pad="1"/>
<contactref element="X2" pad="P$2"/>
</signal>
<signal name="EN">
<contactref element="R1" pad="2"/>
<contactref element="U2" pad="3"/>
<contactref element="JP1" pad="2"/>
</signal>
<signal name="D3">
<contactref element="U$4" pad="14"/>
</signal>
<signal name="D2">
<contactref element="U$4" pad="23"/>
</signal>
<signal name="N$6">
</signal>
<signal name="N$8">
</signal>
</signals>
</board>
</drawing>
</eagle>
