<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.6.0">
<drawing>
<board>
<plain>
<wire x1="53.34" y1="25.4" x2="71.12" y2="25.4" width="0.0254" layer="20"/>
<wire x1="71.12" y1="25.4" x2="73.66" y2="27.94" width="0.0254" layer="20" curve="90"/>
<wire x1="73.66" y1="27.94" x2="73.66" y2="73.66" width="0.0254" layer="20"/>
<wire x1="73.66" y1="73.66" x2="71.12" y2="76.2" width="0.0254" layer="20" curve="90"/>
<wire x1="71.12" y1="76.2" x2="53.34" y2="76.2" width="0.0254" layer="20"/>
<wire x1="53.34" y1="76.2" x2="50.8" y2="73.66" width="0.0254" layer="20" curve="90"/>
<wire x1="50.8" y1="73.66" x2="50.8" y2="27.94" width="0.0254" layer="20"/>
<wire x1="50.8" y1="27.94" x2="53.34" y2="25.4" width="0.0254" layer="20" curve="90"/>
<text>Sam L21</text>
<text>RST</text>
<text>3v3</text>
<text>Aref</text>
<text>GND</text>
<text>A0</text>
<text>A1</text>
<text>A2</text>
<text>A3</text>
<text>A4</text>
<text>SS A5</text>
<text>SCK</text>
<text>MOSI</text>
<text>MISO</text>
<text>RX 0</text>
<text>TX 1</text>
<text>GND</text>
<text>SDA</text>
<text>SCL</text>
<text>SWD</text>
<text>SWC</text>
<text>9~</text>
<text>10~</text>
<text>11~</text>
<text>12~</text>
<text>13</text>
<text>VUSB</text>
<text>EN</text>
<text>VBAT</text>
<text>BAT</text>
<text>BAT</text>
<text>EN</text>
<text>USB</text>
<text>27</text>
<text>14</text>
<text>15</text>
<text>18</text>
<text>19</text>
<text>30</text>
<text>31</text>
<text>17</text>
<text>16</text>
<text>RST</text>
<text>3v3</text>
<text>REF</text>
<text>GND</text>
<text>02</text>
<text>04</text>
<text>05</text>
<text>06</text>
<text>07</text>
<text>09</text>
<text>11</text>
<text>10</text>
<text>08</text>
<text>23</text>
<text>22</text>
<text>GND</text>
</plain>
<libraries>
<library name="rtotte">
<packages>
<package name="QFP80P900X900X120-32N">
<description>&lt;b&gt;TQFP 32A&lt;/b&gt;&lt;br&gt;
</description>
</package>
<package name="0603">
<description>0603 (1608 Metric)</description>
</package>
<package name="VLS252010HBU">
</package>
<package name="FERRITE_MH2029">
</package>
<package name="SWITCH_PTS810">
</package>
<package name="0402">
</package>
<package name="USB_AMP_10118193">
</package>
<package name="JSTPH2">
<description>2-Pin JST PH Series Right-Angle Connector (+/- for batteries)</description>
</package>
<package name="SOT96P240X100-3N">
<description>&lt;b&gt;SOT23&lt;/b&gt;&lt;br&gt;
</description>
</package>
<package name="SOD-123FL">
<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="LED_0805">
<description>Wurth 0805 LED

Recommended land pattern</description>
</package>
<package name="CRYSTAL_EPSON_FC-135">
</package>
<package name="SAMTECH_FTSH-105-01">
<description>&lt;h3&gt;ARM Cortex Debug Connector (10-pin)&lt;/h3&gt;
&lt;p&gt;Specifications:
&lt;ul&gt;&lt;li&gt;Pin count:10&lt;/li&gt;
&lt;li&gt;Pin pitch:0.05"&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.samtec.com/ftppub/cpdf/FTSH-1XX-XX-XXX-DV-XXX-MKT.pdf"&gt;Datasheet referenced for footprint&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Example device(s):
&lt;ul&gt;&lt;li&gt;CORTEX_DEBUG&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;</description>
</package>
</packages>
</library>
<library name="SparkFun-IC-Power">
<description>&lt;h3&gt;SparkFun Power Driver and Management ICs&lt;/h3&gt;
In this library you'll find anything that has to do with power delivery, or making power supplies.
&lt;p&gt;Contents:
&lt;ul&gt;&lt;li&gt;LDOs&lt;/li&gt;
&lt;li&gt;Boost/Buck controllers&lt;/li&gt;
&lt;li&gt;Charge pump controllers&lt;/li&gt;
&lt;li&gt;Power sequencers&lt;/li&gt;
&lt;li&gt;Power switches&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is &lt;b&gt; the end user's responsibility&lt;/b&gt; to ensure correctness and suitablity for a given componet or application. 
&lt;br&gt;
&lt;br&gt;If you enjoy using this library, please buy one of our products at &lt;a href=" www.sparkfun.com"&gt;SparkFun.com&lt;/a&gt;.
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;
&lt;br&gt;
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>
<library name="adafruit">
<packages>
<package name="SOT23-5L">
<description>&lt;b&gt;Small Outline Transistor&lt;/b&gt;&lt;p&gt;
package type OT</description>
</package>
</packages>
</library>
<library name="SparkFun-Connectors">
<description>&lt;h3&gt;SparkFun Connectors&lt;/h3&gt;
This library contains electrically-functional connectors. 
&lt;br&gt;
&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is &lt;b&gt; the end user's responsibility&lt;/b&gt; to ensure correctness and suitablity for a given componet or application. 
&lt;br&gt;
&lt;br&gt;If you enjoy using this library, please buy one of our products at &lt;a href=" www.sparkfun.com"&gt;SparkFun.com&lt;/a&gt;.
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;
&lt;br&gt;
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="1X16_NO_SILK">
<description>&lt;h3&gt;Plated Through Hole -16 Pin No Silk&lt;/h3&gt;
&lt;p&gt;Specifications:
&lt;ul&gt;&lt;li&gt;Pin count:16&lt;/li&gt;
&lt;li&gt;Pin pitch:0.1"&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;Example device(s):
&lt;ul&gt;&lt;li&gt;CONN_16&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;</description>
</package>
<package name="1X12_NO_SILK">
<description>&lt;h3&gt;Plated Through Hole -12 Pin No Silk&lt;/h3&gt;
&lt;p&gt;Specifications:
&lt;ul&gt;&lt;li&gt;Pin count:12&lt;/li&gt;
&lt;li&gt;Pin pitch:0.1"&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;Example device(s):
&lt;ul&gt;&lt;li&gt;CONN_12&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="IC1" library="rtotte" package="QFP80P900X900X120-32N" value="ATSAML21E18B-AUT">
<attribute name="3D_PACKAGE" value=""/>
<attribute name="ALLIED_NUMBER" value=""/>
<attribute name="DESCRIPTION" value="MICROCHIP - ATSAML21E18B-AUT - MCU, 32BIT, CORTEX-M0+, 48MHZ, TQFP-32"/>
<attribute name="HEIGHT" value="1.2mm"/>
<attribute name="MANUFACTURER_NAME" value="Microchip"/>
<attribute name="MANUFACTURER_PART_NUMBER" value="ATSAML21E18B-AUT"/>
<attribute name="NAME"/>
<attribute name="OTHER_PART_NUMBER" value=""/>
<attribute name="RS_PART_NUMBER" value=""/>
<attribute name="SUPPLIER_NAME" value="RS"/>
</element>
<element name="C01" library="rtotte" package="0603" value="10uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C02" library="rtotte" package="0603" value="10uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C03" library="rtotte" package="0603" value="10uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="H2" library="rtotte" package="VLS252010HBU" value="10uH"/>
<element name="H1" library="rtotte" package="FERRITE_MH2029" value="221Y">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U$11" library="rtotte" package="SWITCH_PTS810" value="SWITCH_PTS810_SJM_250"/>
<element name="C5" library="rtotte" package="0402" value="0.1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C6" library="rtotte" package="0402" value="0.1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C8" library="rtotte" package="0402" value="0.1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C7" library="rtotte" package="0402" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U$1" library="rtotte" package="USB_AMP_10118193" value="USB_AMP_10118193"/>
<element name="U1" library="SparkFun-IC-Power" package="SOT23-5" value="3.3V">
<attribute name="NAME"/>
<attribute name="PROD_ID" value="VREG-12457"/>
<attribute name="VALUE"/>
</element>
<element name="U$2" library="rtotte" package="0603" value="10uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U$3" library="rtotte" package="0402" value="100k"/>
<element name="IC2" library="adafruit" package="SOT23-5L" value="MCP73831/OT"/>
<element name="CN1" library="rtotte" package="JSTPH2" value="">
<attribute name="VALUE"/>
</element>
<element name="Q1" library="rtotte" package="SOT96P240X100-3N" value="DMG2305UX-7">
<attribute name="3D_PACKAGE" value=""/>
<attribute name="ALLIED_NUMBER" value="70550282"/>
<attribute name="DESCRIPTION" value="MOSFET P-Ch 20V 5A Enhancement SOT23 Diodes Inc DMG2305UX-7 P-channel MOSFET Transistor, -3.3 A, -20 V, 3-Pin SOT-23"/>
<attribute name="HEIGHT" value="1mm"/>
<attribute name="MANUFACTURER_NAME" value="Diodes Inc."/>
<attribute name="MANUFACTURER_PART_NUMBER" value="DMG2305UX-7"/>
<attribute name="NAME"/>
<attribute name="OTHER_PART_NUMBER" value=""/>
<attribute name="RS_PART_NUMBER" value="1219640"/>
<attribute name="SUPPLIER_NAME" value="RS"/>
<attribute name="VALUE"/>
</element>
<element name="U$4" library="rtotte" package="0402" value="100k"/>
<element name="U$5" library="rtotte" package="SOD-123FL" value="DIODE">
<attribute name="VALUE"/>
</element>
<element name="U$6" library="rtotte" package="0603" value="1k">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U$7" library="rtotte" package="LED_0805" value="LED_0805_WURTH"/>
<element name="U$8" library="rtotte" package="0603" value="10uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U$9" library="rtotte" package="0402" value="10k"/>
<element name="X0" library="rtotte" package="CRYSTAL_EPSON_FC-135" value="">
<attribute name="VALUE"/>
</element>
<element name="U$12" library="rtotte" package="0402" value="6.8pF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U$13" library="rtotte" package="0402" value="6.8pF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="J1" library="rtotte" package="SAMTECH_FTSH-105-01" value="CORTEX_DEBUG_SMD"/>
<element name="U$10" library="rtotte" package="0402" value="1k">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="J2" library="SparkFun-Connectors" package="1X16_NO_SILK" value="">
<attribute name="VALUE"/>
</element>
<element name="J3" library="SparkFun-Connectors" package="1X12_NO_SILK" value="">
<attribute name="VALUE"/>
</element>
</elements>
<signals>
<signal name="VDDANA">
<contactref element="C03" pad="1"/>
<contactref element="IC1" pad="9"/>
<contactref element="H1" pad="P$2"/>
<contactref element="C5" pad="P$1"/>
</signal>
<signal name="VSW">
<contactref element="H2" pad="P2"/>
<contactref element="IC1" pad="29"/>
</signal>
<signal name="VDDCORE">
<contactref element="H2" pad="P1"/>
<contactref element="IC1" pad="27"/>
<contactref element="C8" pad="P$1"/>
<contactref element="C7" pad="P$1"/>
</signal>
<signal name="GND">
<contactref element="C01" pad="2"/>
<contactref element="C02" pad="2"/>
<contactref element="C03" pad="2"/>
<contactref element="IC1" pad="10"/>
<contactref element="IC1" pad="28"/>
<contactref element="C5" pad="P$2"/>
<contactref element="C6" pad="P$2"/>
<contactref element="C8" pad="P$2"/>
<contactref element="C7" pad="P$2"/>
<contactref element="U1" pad="2"/>
<contactref element="U$2" pad="2"/>
<contactref element="U$1" pad="GND"/>
<contactref element="U$4" pad="P$1"/>
<contactref element="IC2" pad="2"/>
<contactref element="U$9" pad="P$1"/>
<contactref element="U$8" pad="2"/>
<contactref element="CN1" pad="GND"/>
<contactref element="U$12" pad="P$1"/>
<contactref element="U$13" pad="P$1"/>
<contactref element="J1" pad="3"/>
<contactref element="J1" pad="5"/>
<contactref element="J1" pad="9"/>
<contactref element="J2" pad="4"/>
<contactref element="J2" pad="16"/>
<contactref element="U$11" pad="4"/>
<contactref element="U$11" pad="3"/>
<contactref element="U$1" pad="SHIELD1"/>
<contactref element="U$1" pad="P$2"/>
<contactref element="U$1" pad="P$1"/>
<contactref element="U$1" pad="SHIELD5"/>
<contactref element="U$1" pad="SHIELD4"/>
<contactref element="U$1" pad="SHIELD2"/>
</signal>
<signal name="SWCLK">
<contactref element="IC1" pad="31"/>
<contactref element="J1" pad="4"/>
<contactref element="U$10" pad="P$2"/>
<contactref element="J3" pad="9"/>
</signal>
<signal name="SWDIO">
<contactref element="IC1" pad="32"/>
<contactref element="J1" pad="2"/>
<contactref element="J3" pad="10"/>
</signal>
<signal name="USB_P">
<contactref element="IC1" pad="24"/>
<contactref element="U$1" pad="D+"/>
</signal>
<signal name="USB_N">
<contactref element="IC1" pad="23"/>
<contactref element="U$1" pad="D-"/>
</signal>
<signal name="RESET">
<contactref element="IC1" pad="26"/>
<contactref element="J1" pad="10"/>
<contactref element="J2" pad="1"/>
<contactref element="U$11" pad="2"/>
<contactref element="U$11" pad="1"/>
</signal>
<signal name="+3V3">
<contactref element="U1" pad="5"/>
<contactref element="C01" pad="1"/>
<contactref element="C02" pad="1"/>
<contactref element="H1" pad="P$1"/>
<contactref element="C6" pad="P$1"/>
<contactref element="IC1" pad="30"/>
<contactref element="J1" pad="1"/>
<contactref element="U$10" pad="P$1"/>
<contactref element="J2" pad="2"/>
</signal>
<signal name="VIN">
<contactref element="U$2" pad="1"/>
<contactref element="U1" pad="1"/>
<contactref element="U$3" pad="P$1"/>
<contactref element="Q1" pad="2"/>
<contactref element="U$5" pad="C"/>
</signal>
<signal name="VUSB">
<contactref element="U$1" pad="VUSB"/>
<contactref element="Q1" pad="1"/>
<contactref element="U$4" pad="P$2"/>
<contactref element="U$5" pad="A"/>
<contactref element="IC2" pad="4"/>
<contactref element="U$7" pad="PAD_ANODE(+)"/>
<contactref element="J3" pad="3"/>
</signal>
<signal name="V_BATT">
<contactref element="Q1" pad="3"/>
<contactref element="IC2" pad="3"/>
<contactref element="U$8" pad="1"/>
<contactref element="CN1" pad="POS"/>
<contactref element="J3" pad="1"/>
</signal>
<signal name="N$1">
<contactref element="U$7" pad="PAD_CATHODE(-)"/>
<contactref element="U$6" pad="1"/>
</signal>
<signal name="N$2">
<contactref element="U$6" pad="2"/>
<contactref element="IC2" pad="1"/>
</signal>
<signal name="N$4">
<contactref element="IC2" pad="5"/>
<contactref element="U$9" pad="P$2"/>
</signal>
<signal name="EN">
<contactref element="U$3" pad="P$2"/>
<contactref element="U1" pad="3"/>
<contactref element="J3" pad="2"/>
</signal>
<signal name="PA00">
<contactref element="IC1" pad="1"/>
<contactref element="X0" pad="X1"/>
<contactref element="U$13" pad="P$2"/>
</signal>
<signal name="PA01">
<contactref element="IC1" pad="2"/>
<contactref element="X0" pad="X0"/>
<contactref element="U$12" pad="P$2"/>
</signal>
<signal name="PA02">
<contactref element="IC1" pad="3"/>
<contactref element="J2" pad="5"/>
</signal>
<signal name="PA03">
<contactref element="IC1" pad="4"/>
<contactref element="J2" pad="3"/>
</signal>
<signal name="PA04">
<contactref element="IC1" pad="5"/>
<contactref element="J2" pad="6"/>
</signal>
<signal name="PA05">
<contactref element="IC1" pad="6"/>
<contactref element="J2" pad="7"/>
</signal>
<signal name="PA06">
<contactref element="IC1" pad="7"/>
<contactref element="J2" pad="8"/>
</signal>
<signal name="PA07">
<contactref element="IC1" pad="8"/>
<contactref element="J2" pad="9"/>
</signal>
<signal name="PA08">
<contactref element="IC1" pad="11"/>
<contactref element="J2" pad="13"/>
</signal>
<signal name="PA09">
<contactref element="IC1" pad="12"/>
<contactref element="J2" pad="10"/>
</signal>
<signal name="PA10">
<contactref element="IC1" pad="13"/>
<contactref element="J2" pad="12"/>
</signal>
<signal name="PA11">
<contactref element="IC1" pad="14"/>
<contactref element="J2" pad="11"/>
</signal>
<signal name="PA14">
<contactref element="IC1" pad="15"/>
<contactref element="J3" pad="5"/>
</signal>
<signal name="PA15">
<contactref element="IC1" pad="16"/>
<contactref element="J3" pad="6"/>
</signal>
<signal name="PA23">
<contactref element="IC1" pad="22"/>
<contactref element="J2" pad="14"/>
</signal>
<signal name="PA22">
<contactref element="IC1" pad="21"/>
<contactref element="J2" pad="15"/>
</signal>
<signal name="PA19">
<contactref element="IC1" pad="20"/>
<contactref element="J3" pad="8"/>
</signal>
<signal name="PA18">
<contactref element="IC1" pad="19"/>
<contactref element="J3" pad="7"/>
</signal>
<signal name="PA17">
<contactref element="IC1" pad="18"/>
<contactref element="J3" pad="11"/>
</signal>
<signal name="PA16">
<contactref element="IC1" pad="17"/>
<contactref element="J3" pad="12"/>
</signal>
<signal name="PA27">
<contactref element="IC1" pad="25"/>
<contactref element="J3" pad="4"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
