<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.5.2">
<drawing>
<board>
<plain>
<wire x1="47.625" y1="15.875" x2="9.525" y2="15.875" width="0.2032" layer="20"/>
<wire x1="9.525" y1="15.875" x2="6.985" y2="18.415" width="0.2032" layer="20" curve="-90"/>
<wire x1="6.985" y1="18.415" x2="6.985" y2="68.58" width="0.2032" layer="20"/>
<wire x1="6.985" y1="68.58" x2="9.525" y2="71.12" width="0.2032" layer="20" curve="-90"/>
<wire x1="9.525" y1="71.12" x2="47.625" y2="71.12" width="0.2032" layer="20"/>
<wire x1="47.625" y1="71.12" x2="50.165" y2="68.58" width="0.2032" layer="20" curve="-90"/>
<wire x1="50.165" y1="68.58" x2="50.165" y2="18.415" width="0.2032" layer="20"/>
<wire x1="50.165" y1="18.415" x2="47.625" y2="15.875" width="0.2032" layer="20" curve="-90"/>
<text>3.3V</text>
<text>5V</text>
<text>D10</text>
<text>GND</text>
<text>SAM21 Reference Design
Thomas Hudson 6/20</text>
<text>ATSAMD21G</text>
<text>3V Reg</text>
</plain>
<libraries>
<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; 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="SCREWTERMINAL-5MM-2">
<description>&lt;h3&gt;Screw Terminal  5mm Pitch -2 Pin PTH&lt;/h3&gt;
&lt;p&gt;Specifications:
&lt;ul&gt;&lt;li&gt;Pin count: 2&lt;/li&gt;
&lt;li&gt;Pin pitch: 5mm/197mil&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=”https://www.sparkfun.com/datasheets/Prototyping/Screw-Terminal-5mm.pdf”&gt;Datasheet referenced for footprint&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Example device(s):
&lt;ul&gt;&lt;li&gt;CONN_02&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;</description>
</package>
</packages>
</library>
<library name="samd21-temp">
<packages>
<package name="TQFP-48">
<description>&lt;h3&gt;48-pin TQFP (7x7mm, 0.5mm pitch)&lt;/h3&gt;
&lt;p&gt;Used on:
&lt;ul&gt;&lt;li&gt;ATSAMD21G&lt;/il&gt;&lt;/ul&gt;
&lt;/p&gt;</description>
</package>
<package name="2X5-PTH-1.27MM">
<description>&lt;h3&gt;ARM Cortex Debug Connector (10-pin)&lt;/h3&gt;
&lt;p&gt;For debuggers and/or programemrs that support the Cortex Debug Connector (10-pin) interface.&lt;/p&gt;
&lt;p&gt;tDoc (51) layer border represents maximum dimensions of plastic housing.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.digikey.com/product-detail/en/20021111-00010T4LF/609-3712-ND/2209072"&gt;Example Digikey Part&lt;/a&gt;&lt;/p&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; 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="0805">
<description>&lt;p&gt;&lt;b&gt;Generic 2012 (0805) package&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;0.2mm courtyard excess rounded to nearest 0.05mm.&lt;/p&gt;</description>
</package>
<package name="CPOL-RADIAL-2.5MM-6.5MM">
<description>2.5 mm spaced PTHs with 6.5 mm diameter outline</description>
</package>
</packages>
</library>
<library name="SparkFun-Passives">
<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; 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="0805">
</package>
</packages>
</library>
<library name="SparkFun-LED">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find discrete LEDs for illumination or indication, but no displays.&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; 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="LED-1206">
</package>
</packages>
</library>
<library name="SparkFun">
<packages>
<package name="0805">
</package>
</packages>
</library>
<library name="th_libraries_2">
<packages>
<package name="SOT223">
<description>&lt;b&gt;SOT-223&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="SparkFun-Switches">
<description>&lt;h3&gt;SparkFun Switches, Buttons, Encoders&lt;/h3&gt;
In this library you'll find switches, buttons, joysticks, and anything that moves to create or disrupt an electrical connection.
&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="TACTILE_SWITCH_PTH_6.0MM_KIT">
<description>&lt;h3&gt;Momentary Switch (Pushbutton) - SPST - PTH, 6.0mm Square&lt;/h3&gt;
&lt;p&gt;Normally-open (NO) SPST momentary switches (buttons, pushbuttons).&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; This is the KIT version of this package. This package has a smaller diameter top stop mask, which doesn't cover the diameter of the pad. This means only the bottom side of the pads' copper will be exposed. You'll only be able to solder to the bottom side.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.omron.com/ecb/products/pdf/en-b3f.pdf"&gt;Datasheet&lt;/a&gt; (B3F-1000)&lt;/p&gt;</description>
</package>
</packages>
</library>
<library name="10118194-0001LF">
<packages>
<package name="FRAMATOME_10118194-0001LF">
</package>
</packages>
</library>
<library name="th_libraries">
<packages>
<package name="STANDOFF_ELECTRICAL_144MILL_NORMAL_SCREW">
</package>
</packages>
</library>
<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="2X05_1.27MM_BOX_POSTS">
<description>&lt;p&gt;4UCon: 20317&lt;/p&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="U1" library="samd21-temp" package="TQFP-48" value="ATSAMD21G-A">
<attribute name="PROD_ID" value="IC-13064"/>
<attribute name="VALUE"/>
</element>
<element name="D3" library="SparkFun-LED" package="LED-1206" value="BLUE">
<attribute name="PROD_ID" value="DIO-09911"/>
</element>
<element name="S2" library="SparkFun-Switches" package="TACTILE_SWITCH_PTH_6.0MM_KIT" value="MOMENTARY-SWITCH-SPST-PTH-6.0MM-KIT">
<attribute name="PROD_ID" value="SWCH-08441"/>
<attribute name="SF_SKU" value="COM-00097 "/>
</element>
<element name="3V_REGULATOR" library="th_libraries_2" package="SOT223" value="LDL1117_5V_REG"/>
<element name="C15" library="SparkFun-Capacitors" package="0805" value="100nF">
<attribute name="PROD_ID" value="CAP-11330"/>
<attribute name="VALUE"/>
</element>
<element name="C16" library="SparkFun-Capacitors" package="0805" value="100nF">
<attribute name="PROD_ID" value="CAP-11330"/>
<attribute name="VALUE"/>
</element>
<element name="J13" library="10118194-0001LF" package="FRAMATOME_10118194-0001LF" value="10118194-0001LF">
<attribute name="AVAILABILITY" value="Unavailable"/>
<attribute name="DESCRIPTION" value=" Micro Usb, 2.0 Type b, Rcpt, Smt "/>
<attribute name="MF" value="Amphenol ICC"/>
<attribute name="MP" value="10118194-0001LF"/>
<attribute name="PACKAGE" value="None"/>
<attribute name="PRICE" value="None"/>
</element>
<element name="C17" library="SparkFun-Capacitors" package="CPOL-RADIAL-2.5MM-6.5MM" value="100uF">
<attribute name="PROD_ID" value="CAP-08439"/>
<attribute name="VALUE"/>
</element>
<element name="C7" library="SparkFun" package="0805" value="100n">
<attribute name="VALUE"/>
</element>
<element name="C1" library="SparkFun" package="0805" value="100n">
<attribute name="VALUE"/>
</element>
<element name="C2" library="SparkFun" package="0805" value="100n">
<attribute name="VALUE"/>
</element>
<element name="C3" library="SparkFun" package="0805" value="100n">
<attribute name="VALUE"/>
</element>
<element name="R1" library="SparkFun" package="0805" value="10k">
<attribute name="VALUE"/>
</element>
<element name="J12" library="SparkFun-Connectors" package="SCREWTERMINAL-5MM-2" value="">
<attribute name="SF_SKU" value="PRT-08432"/>
<attribute name="VALUE"/>
</element>
<element name="J14" library="SparkFun-Connectors" package="SCREWTERMINAL-5MM-2" value="">
<attribute name="SF_SKU" value="PRT-08432"/>
<attribute name="VALUE"/>
</element>
<element name="R13" library="SparkFun-Passives" package="0805" value="1000">
<attribute name="VALUE"/>
</element>
<element name="S1" library="th_libraries" package="STANDOFF_ELECTRICAL_144MILL_NORMAL_SCREW" value="STANDOFF_ELECTRICAL144"/>
<element name="S3" library="th_libraries" package="STANDOFF_ELECTRICAL_144MILL_NORMAL_SCREW" value="STANDOFF_ELECTRICAL144"/>
<element name="S4" library="th_libraries" package="STANDOFF_ELECTRICAL_144MILL_NORMAL_SCREW" value="STANDOFF_ELECTRICAL144"/>
<element name="X2" library="microbuilder" package="2X05_1.27MM_BOX_POSTS" value="2x5 0.05&quot;">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="JP5" library="samd21-temp" package="2X5-PTH-1.27MM" value="CORTEX_DEBUGPTH">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
</elements>
<signals>
<signal name="GND">
<contactref element="U1" pad="42"/>
<contactref element="U1" pad="35"/>
<contactref element="U1" pad="18"/>
<contactref element="U1" pad="5"/>
<contactref element="J13" pad="5"/>
<contactref element="S2" pad="3"/>
<contactref element="3V_REGULATOR" pad="1"/>
<contactref element="C16" pad="1"/>
<contactref element="C15" pad="1"/>
<contactref element="C17" pad="2"/>
<contactref element="C7" pad="2"/>
<contactref element="C1" pad="2"/>
<contactref element="C2" pad="2"/>
<contactref element="C3" pad="2"/>
<contactref element="J14" pad="1"/>
<contactref element="D3" pad="C"/>
<contactref element="X2" pad="3"/>
<contactref element="X2" pad="5"/>
<contactref element="X2" pad="9"/>
<contactref element="X2" pad="7"/>
<contactref element="JP5" pad="3"/>
<contactref element="JP5" pad="5"/>
</signal>
<signal name="3.3V">
<contactref element="U1" pad="44"/>
<contactref element="U1" pad="36"/>
<contactref element="U1" pad="17"/>
<contactref element="U1" pad="6"/>
<contactref element="3V_REGULATOR" pad="4"/>
<contactref element="3V_REGULATOR" pad="2"/>
<contactref element="C16" pad="2"/>
<contactref element="C17" pad="1"/>
<contactref element="C7" pad="1"/>
<contactref element="C1" pad="1"/>
<contactref element="C3" pad="1"/>
<contactref element="R1" pad="2"/>
<contactref element="J12" pad="2"/>
<contactref element="X2" pad="1"/>
<contactref element="JP5" pad="1"/>
</signal>
<signal name="VDDCORE">
<contactref element="U1" pad="43"/>
<contactref element="C2" pad="1"/>
</signal>
<signal name="!RESET">
<contactref element="U1" pad="40"/>
<contactref element="R1" pad="1"/>
<contactref element="S2" pad="1"/>
</signal>
<signal name="USB_D+">
<contactref element="U1" pad="34"/>
<contactref element="J13" pad="3"/>
</signal>
<signal name="USB_D-">
<contactref element="U1" pad="33"/>
<contactref element="J13" pad="2"/>
</signal>
<signal name="D1/TXO">
<contactref element="U1" pad="15"/>
</signal>
<signal name="D0/RXI">
<contactref element="U1" pad="16"/>
</signal>
<signal name="D4">
<contactref element="U1" pad="13"/>
</signal>
<signal name="D3">
<contactref element="U1" pad="14"/>
</signal>
<signal name="D2">
<contactref element="U1" pad="23"/>
</signal>
<signal name="D5">
<contactref element="U1" pad="24"/>
</signal>
<signal name="D6">
<contactref element="U1" pad="29"/>
</signal>
<signal name="D7">
<contactref element="U1" pad="30"/>
</signal>
<signal name="D8">
<contactref element="U1" pad="11"/>
</signal>
<signal name="D9">
<contactref element="U1" pad="12"/>
</signal>
<signal name="A3">
<contactref element="U1" pad="9"/>
</signal>
<signal name="A2">
<contactref element="U1" pad="8"/>
</signal>
<signal name="A1">
<contactref element="U1" pad="7"/>
</signal>
<signal name="A0">
<contactref element="U1" pad="3"/>
</signal>
<signal name="D12/MISO">
<contactref element="U1" pad="28"/>
</signal>
<signal name="D10/SS">
<contactref element="U1" pad="27"/>
<contactref element="J14" pad="2"/>
</signal>
<signal name="N$6">
<contactref element="D3" pad="A"/>
<contactref element="R13" pad="1"/>
</signal>
<signal name="D11/MOSI">
<contactref element="U1" pad="25"/>
</signal>
<signal name="SWCLK">
<contactref element="U1" pad="45"/>
<contactref element="X2" pad="4"/>
<contactref element="JP5" pad="4"/>
</signal>
<signal name="SWDIO">
<contactref element="U1" pad="46"/>
<contactref element="X2" pad="2"/>
<contactref element="JP5" pad="2"/>
</signal>
<signal name="SDA">
<contactref element="U1" pad="31"/>
</signal>
<signal name="SCL">
<contactref element="U1" pad="32"/>
</signal>
<signal name="USB_HOST_EN">
<contactref element="U1" pad="41"/>
</signal>
<signal name="RX_LED">
<contactref element="U1" pad="48"/>
</signal>
<signal name="TX_LED">
<contactref element="U1" pad="39"/>
</signal>
<signal name="AREF">
<contactref element="U1" pad="4"/>
</signal>
<signal name="INT1">
<contactref element="U1" pad="38"/>
</signal>
<signal name="N$2">
<contactref element="U1" pad="37"/>
</signal>
<signal name="V_USB">
<contactref element="J13" pad="1"/>
<contactref element="3V_REGULATOR" pad="3"/>
<contactref element="C15" pad="2"/>
<contactref element="J12" pad="1"/>
</signal>
<signal name="MOSI">
<contactref element="U1" pad="19"/>
</signal>
<signal name="SCK">
<contactref element="U1" pad="20"/>
</signal>
<signal name="MISO">
<contactref element="U1" pad="21"/>
</signal>
<signal name="D13">
<contactref element="U1" pad="26"/>
<contactref element="R13" pad="2"/>
</signal>
<signal name="RESET">
<contactref element="X2" pad="10"/>
<contactref element="JP5" pad="10"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
