<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.6.0">
<drawing>
<board>
<plain>
<wire x1="0" y1="29" x2="36" y2="29" width="0" layer="20"/>
<wire x1="0" y1="0" x2="36" y2="0" width="0" layer="20"/>
<wire x1="0" y1="0" x2="0" y2="29" width="0" layer="20"/>
<wire x1="36" y1="0" x2="36" y2="29" width="0" layer="20"/>
<text>Dimensioned for a 500MaH LiPo</text>
<text>36mm x 29mm</text>
</plain>
<libraries>
<library name="microbuilder">
<packages>
<package name="FGPMMOPA6H">
</package>
<package name="BTN_KMR2_4.6X2.8">
</package>
<package name="BME280">
<description>&lt;p&gt;Source: http://ae-bst.resource.bosch.com/media/products/dokumente/bme280/BST-BME280_DS001-09.pdf&lt;/p&gt;</description>
</package>
</packages>
</library>
<library name="SparkFun">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
We've spent an enormous amount of time creating and checking these footprints and parts. 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="1210">
</package>
</packages>
</library>
<library name="BRETTAN">
<packages>
<package name="0603_CAP">
</package>
<package name="0402_CAP">
</package>
<package name="CRYSTAL-SMD-2X1.2">
</package>
<package name="QFN32">
</package>
<package name="0402_RES">
</package>
<package name="0402_LED">
</package>
<package name="SOT323">
</package>
<package name="SOT23-5">
</package>
<package name="1.27MMHOLEBIG">
</package>
</packages>
</library>
<library name="swift">
<packages>
<package name="FCI_USB_MICRO_B">
</package>
</packages>
</library>
<library name="tag-connect">
<description>&lt;h3&gt;TAG-CONNECT ICSP Connector&lt;/h3&gt;&lt;BR&gt;&lt;I&gt;Manufacturer:&lt;/I&gt; &lt;a href="http://www.tag-connect.com"&gt;Tag-Connect&lt;/a&gt;&lt;BR&gt;
&lt;BR&gt;Cable for easy In-Circuit Serial Programming. Designed for Microchip ICD2, suitable for many others.&lt;BR&gt;
Two variants - one "with legs" (for hands-free fit on PCB) and another "without legs" for quick programming.

&lt;p&gt;
&lt;TABLE cellspacing=0 cellpadding=0 border=0&gt;
&lt;TR&gt;&lt;TD width=20&gt;&lt;/TD&gt;&lt;TD&gt;
&lt;TABLE cellspacing=0 cellpadding=1 border=1&gt;
&lt;TR bgcolor=silver&gt;&lt;TD align=center&gt;PAD&lt;/TD&gt;&lt;TD align=center&gt;Description&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;1&lt;/TD&gt;&lt;TD&gt;MCLR/Vpp&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;2&lt;/TD&gt;&lt;TD&gt;Vdd&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;3&lt;/TD&gt;&lt;TD&gt;GND&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;4&lt;/TD&gt;&lt;TD&gt;PGD (ISPDAT)&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;5&lt;/TD&gt;&lt;TD&gt;PGC (ISPCLK)&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;6&lt;/TD&gt;&lt;TD&gt;nc (used for LVP)&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;BR&gt;

©2009 ROFA.cz - modified and updated by Robert Darlington &amp;#8249;rdarlington@gmail.com&amp;#8250;</description>
<packages>
<package name="TC2030-MCP-NL">
<description>&lt;B&gt;TAG-CONNECT ICSP Connector&lt;/B&gt;&lt;BR&gt;&lt;I&gt;Manufacturer:&lt;/I&gt; &lt;a href="www.tag-connect.com"&gt;Tag-Connect&lt;/a&gt;&lt;BR&gt;
&lt;BR&gt;Cable for easy In-Circuit Serial Programming. Designed for Microchip ICD2, suitable for many others.&lt;BR&gt;

&lt;TABLE cellspacing=0 cellpadding=0 border=0&gt;
&lt;TR&gt;&lt;TD width=20&gt;&lt;/TD&gt;&lt;TD&gt;
&lt;TABLE cellspacing=0 cellpadding=1 border=1&gt;
&lt;TR bgcolor=silver&gt;&lt;TD align=center&gt;PAD&lt;/TD&gt;&lt;TD align=center&gt;Description&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;1&lt;/TD&gt;&lt;TD&gt;MCLR/Vpp&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;2&lt;/TD&gt;&lt;TD&gt;Vdd&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;3&lt;/TD&gt;&lt;TD&gt;GND&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;4&lt;/TD&gt;&lt;TD&gt;PGD (ISPDAT)&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;5&lt;/TD&gt;&lt;TD&gt;PGC (ISPCLK)&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD align=center&gt;6&lt;/TD&gt;&lt;TD&gt;nc (used for LVP)&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;BR&gt;

©2009 ROFA.cz - modified and updated by Robert Darlington &amp;#8249;rdarlington@gmail.com&amp;#8250;</description>
</package>
</packages>
</library>
<library name="microsd">
<packages>
<package name="MICROSD">
</package>
</packages>
</library>
<library name="adafruit">
<packages>
<package name="CHIP-LED0603">
<description>&lt;b&gt;Hyper CHIPLED Hyper-Bright LED&lt;/b&gt;&lt;p&gt;
LB Q993&lt;br&gt;
Source: http://www.osram.convergy.de/ ... Lb_q993.pdf</description>
</package>
<package name="R0603">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;&lt;p&gt;
chip</description>
</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; 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="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="0603">
<description>&lt;p&gt;&lt;b&gt;Generic 1608 (0603) package&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;0.2mm courtyard excess rounded to nearest 0.05mm.&lt;/p&gt;</description>
</package>
</packages>
</library>
<library name="SparkFun-DiscreteSemi">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find discrete semiconductors- transistors, diodes, TRIACs, optoisolators, 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="SOD-323">
</package>
</packages>
</library>
<library name="SparkX">
<packages>
<package name="1X04_1MM_RA">
<description>&lt;h3&gt;SMD- 4 Pin Right Angle &lt;/h3&gt;
&lt;p&gt;Specifications:
&lt;ul&gt;&lt;li&gt;Pin count:4&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_04&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
<attribute name="REV" value="C"/>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="U1" library="microbuilder" package="FGPMMOPA6H" value="FGPMMOPA6H">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="LED1" library="adafruit" package="CHIP-LED0603" value="RED">
<attribute name="VALUE"/>
</element>
<element name="R1" library="adafruit" package="R0603" value="470 ohm">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C1" library="adafruit" package="R0603" value="0.1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C2" library="BRETTAN" package="0603_CAP" value="10uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="SW1" library="microbuilder" package="BTN_KMR2_4.6X2.8" value="KMR2">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R2" library="adafruit" package="R0603" value="100K">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C3" library="SparkFun" package="1210" value=""/>
<element name="C7" library="BRETTAN" package="0402_CAP" value="22pF"/>
<element name="C8" library="BRETTAN" package="0402_CAP" value="22pF"/>
<element name="U$10" library="BRETTAN" package="CRYSTAL-SMD-2X1.2" value="CRYSTAL_2X1.2"/>
<element name="U$6" library="BRETTAN" package="QFN32" value="SAMD21E"/>
<element name="C4" library="BRETTAN" package="0402_CAP" value="0.1uF"/>
<element name="R4" library="BRETTAN" package="0402_RES" value="1.5k"/>
<element name="LED2" library="BRETTAN" package="0402_LED" value="0402_LED"/>
<element name="USB" library="swift" package="FCI_USB_MICRO_B" value="USB_MICRO"/>
<element name="J1" library="tag-connect" package="TC2030-MCP-NL" value=""/>
<element name="C9" library="BRETTAN" package="0603_CAP" value="4.7uF"/>
<element name="C10" library="BRETTAN" package="0603_CAP" value="4.7uF"/>
<element name="U$11" library="microsd" package="MICROSD" value="SF-MICROSD"/>
<element name="U3" library="microbuilder" package="BME280" value="BME280"/>
<element name="U4" library="SparkFun-PowerIC" package="SOT23-5" value="MCP73831">
<attribute name="PROD_ID" value="IC-09995"/>
</element>
<element name="C6" library="SparkFun-Capacitors" package="0603" value="10uF">
<attribute name="PROD_ID" value="CAP-08280"/>
</element>
<element name="D1" library="adafruit" package="CHIP-LED0603" value="Yellow"/>
<element name="R6" library="adafruit" package="R0603" value="1K"/>
<element name="R9" library="adafruit" package="R0603" value="2k"/>
<element name="D2" library="SparkFun-DiscreteSemi" package="SOD-323" value="BAT60J">
<attribute name="PROD_ID" value="DIO-09646"/>
</element>
<element name="J4" library="SparkX" package="1X04_1MM_RA" value=""/>
<element name="R5" library="BRETTAN" package="0402_RES" value="4.7k"/>
<element name="R7" library="BRETTAN" package="0402_RES" value="4.7k"/>
<element name="D3" library="SparkFun-DiscreteSemi" package="SOD-323" value="BAT60J">
<attribute name="PROD_ID" value="DIO-09646"/>
</element>
<element name="U$16" library="BRETTAN" package="SOT323" value="DMP2160U"/>
<element name="VR2" library="BRETTAN" package="SOT23-5" value="MCP1711"/>
<element name="U$17" library="BRETTAN" package="1.27MMHOLEBIG" value="1.27MMBIGHOLE"/>
<element name="U$18" library="BRETTAN" package="1.27MMHOLEBIG" value="1.27MMBIGHOLE"/>
</elements>
<signals>
<signal name="FIX">
<contactref element="U1" pad="P$5"/>
<contactref element="LED1" pad="A"/>
</signal>
<signal name="N$2">
<contactref element="LED1" pad="C"/>
<contactref element="R1" pad="2"/>
</signal>
<signal name="GND">
<contactref element="R1" pad="1"/>
<contactref element="C1" pad="2"/>
<contactref element="U1" pad="P$8"/>
<contactref element="U1" pad="P$3"/>
<contactref element="C2" pad="2"/>
<contactref element="U1" pad="P$12"/>
<contactref element="U1" pad="P$19"/>
<contactref element="R2" pad="1"/>
<contactref element="C7" pad="1"/>
<contactref element="C8" pad="1"/>
<contactref element="USB" pad="P5"/>
<contactref element="U$6" pad="28"/>
<contactref element="C4" pad="2"/>
<contactref element="U$6" pad="10"/>
<contactref element="R4" pad="1"/>
<contactref element="C3" pad="2"/>
<contactref element="C10" pad="2"/>
<contactref element="C9" pad="2"/>
<contactref element="U3" pad="7"/>
<contactref element="U3" pad="1"/>
<contactref element="J1" pad="3"/>
<contactref element="U4" pad="2"/>
<contactref element="C6" pad="2"/>
<contactref element="R9" pad="1"/>
<contactref element="J4" pad="1"/>
<contactref element="U$11" pad="6"/>
<contactref element="U$17" pad="P$1"/>
<contactref element="SW1" pad="B'"/>
<contactref element="SW1" pad="B"/>
<contactref element="VR2" pad="2"/>
</signal>
<signal name="3.3V">
<contactref element="C2" pad="1"/>
<contactref element="U$6" pad="30"/>
<contactref element="U$6" pad="9"/>
<contactref element="C10" pad="1"/>
<contactref element="U3" pad="6"/>
<contactref element="U3" pad="8"/>
<contactref element="U3" pad="2"/>
<contactref element="J1" pad="2"/>
<contactref element="J4" pad="2"/>
<contactref element="R5" pad="2"/>
<contactref element="R7" pad="2"/>
<contactref element="U$11" pad="4"/>
<contactref element="U$16" pad="2"/>
<contactref element="D3" pad="A"/>
<contactref element="VR2" pad="5"/>
</signal>
<signal name="VBACKUP">
<contactref element="U1" pad="P$4"/>
<contactref element="C3" pad="1"/>
<contactref element="D3" pad="C"/>
</signal>
<signal name="TXD">
<contactref element="U1" pad="P$9"/>
<contactref element="U$6" pad="14"/>
</signal>
<signal name="RXD">
<contactref element="U1" pad="P$10"/>
<contactref element="U$6" pad="13"/>
</signal>
<signal name="1PPS">
<contactref element="U1" pad="P$13"/>
</signal>
<signal name="N$15">
<contactref element="C1" pad="1"/>
<contactref element="U1" pad="P$1"/>
<contactref element="U$16" pad="3"/>
</signal>
<signal name="ENABLE">
<contactref element="R2" pad="2"/>
<contactref element="U$16" pad="1"/>
<contactref element="U$6" pad="12"/>
</signal>
<signal name="VBUS">
<contactref element="USB" pad="P1"/>
<contactref element="C9" pad="1"/>
<contactref element="D2" pad="C"/>
<contactref element="U4" pad="4"/>
<contactref element="R6" pad="1"/>
<contactref element="VR2" pad="1"/>
<contactref element="VR2" pad="3"/>
</signal>
<signal name="RESET">
<contactref element="U$6" pad="26"/>
<contactref element="J1" pad="1"/>
<contactref element="SW1" pad="A"/>
</signal>
<signal name="PA00_XIN">
<contactref element="C7" pad="2"/>
<contactref element="U$10" pad="1"/>
<contactref element="U$6" pad="1"/>
</signal>
<signal name="PA01_XOUT">
<contactref element="C8" pad="2"/>
<contactref element="U$10" pad="2"/>
<contactref element="U$6" pad="2"/>
</signal>
<signal name="A14">
<contactref element="U$6" pad="16"/>
</signal>
<signal name="A15">
<contactref element="U$6" pad="15"/>
</signal>
<signal name="A2">
<contactref element="U$6" pad="3"/>
</signal>
<signal name="A4">
<contactref element="U$6" pad="5"/>
</signal>
<signal name="A5">
<contactref element="U$6" pad="6"/>
</signal>
<signal name="A6">
<contactref element="U$6" pad="7"/>
<contactref element="LED2" pad="C"/>
</signal>
<signal name="A7">
<contactref element="U$6" pad="8"/>
</signal>
<signal name="VDDCORE">
<contactref element="U$6" pad="29"/>
<contactref element="C4" pad="1"/>
</signal>
<signal name="USB_P">
<contactref element="U$6" pad="24"/>
<contactref element="USB" pad="P3"/>
</signal>
<signal name="USB_N">
<contactref element="U$6" pad="23"/>
<contactref element="USB" pad="P2"/>
</signal>
<signal name="A8">
<contactref element="U$6" pad="11"/>
</signal>
<signal name="A3">
<contactref element="U$6" pad="4"/>
</signal>
<signal name="N$1">
<contactref element="LED2" pad="A"/>
<contactref element="R4" pad="2"/>
</signal>
<signal name="SWD">
<contactref element="J1" pad="4"/>
<contactref element="U$6" pad="32"/>
</signal>
<signal name="SWCLK">
<contactref element="J1" pad="5"/>
<contactref element="U$6" pad="31"/>
</signal>
<signal name="N$8">
<contactref element="J1" pad="6"/>
</signal>
<signal name="SCL">
<contactref element="U3" pad="4"/>
<contactref element="U$6" pad="18"/>
<contactref element="J4" pad="4"/>
<contactref element="R5" pad="1"/>
</signal>
<signal name="SDA">
<contactref element="U3" pad="3"/>
<contactref element="U$6" pad="17"/>
<contactref element="J4" pad="3"/>
<contactref element="R7" pad="1"/>
</signal>
<signal name="N$17">
<contactref element="D1" pad="A"/>
<contactref element="R6" pad="2"/>
</signal>
<signal name="N$9">
<contactref element="U4" pad="1"/>
<contactref element="D1" pad="C"/>
</signal>
<signal name="N$14">
<contactref element="U4" pad="5"/>
<contactref element="R9" pad="2"/>
</signal>
<signal name="VBAT">
<contactref element="D2" pad="A"/>
<contactref element="C6" pad="1"/>
<contactref element="U4" pad="3"/>
<contactref element="U$18" pad="P$1"/>
</signal>
<signal name="MOSI">
<contactref element="U$6" pad="19"/>
<contactref element="U$11" pad="3"/>
</signal>
<signal name="SCK">
<contactref element="U$6" pad="20"/>
<contactref element="U$11" pad="5"/>
</signal>
<signal name="MISO">
<contactref element="U$6" pad="21"/>
<contactref element="U$11" pad="7"/>
</signal>
<signal name="SS">
<contactref element="U$6" pad="22"/>
<contactref element="U$11" pad="2"/>
</signal>
<signal name="N$3">
<contactref element="SW1" pad="A'"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
