<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.6.1">
<drawing>
<board>
<plain>
<text>Y</text>
<text>X</text>
<text>Z</text>
<text>LSM303DLHC</text>
<wire x1="10.16" y1="16.51" x2="10.16" y2="5.969" width="0.3048" layer="20"/>
<wire x1="32.766" y1="5.969" x2="32.766" y2="16.51" width="0.3048" layer="20"/>
<wire x1="32.766" y1="16.51" x2="31.496" y2="17.78" width="0.3048" layer="20" curve="90"/>
<wire x1="31.496" y1="4.699" x2="32.766" y2="5.969" width="0.3048" layer="20" curve="90"/>
<wire x1="10.16" y1="16.51" x2="11.43" y2="17.78" width="0.3048" layer="20" curve="-90"/>
<wire x1="31.496" y1="17.78" x2="11.43" y2="17.78" width="0.3048" layer="20"/>
<text>VCC</text>
<text>GND</text>
<text>RST</text>
<text>MOSI</text>
<text>MISO</text>
<text>SCK</text>
<text>&gt;1uF</text>
<text>VDIV</text>
<text>10k</text>
<text>8</text>
<text>7</text>
<text>6</text>
<text>5</text>
<text>+</text>
<text>+</text>
<text>+</text>
<text>+</text>
<text>4</text>
<text>3</text>
<text>2</text>
<text>1</text>
<text>+</text>
<text>+</text>
<text>+</text>
<text>+</text>
<text>+</text>
<text>-</text>
<text>ATMEGA
328P-MU</text>
<hole x="11.176" y="16.764" drill="0.7"/>
<hole x="32.004" y="16.256" drill="0.7"/>
<hole x="32.004" y="6.223" drill="0.7"/>
<hole x="12.065" y="6.223" drill="0.7"/>
<wire x1="11.43" y1="4.699" x2="10.16" y2="5.969" width="0.3048" layer="20" curve="-90"/>
<wire x1="11.43" y1="4.699" x2="31.496" y2="4.699" width="0.3048" layer="20"/>
<hole x="23.368" y="5.334" drill="0.7"/>
<hole x="23.368" y="17.018" drill="0.7"/>
<text>-LED+</text>
<text>1k</text>
<text>Not Legal Tender</text>
<text>MISO</text>
<text>SCK</text>
<text>MOSI</text>
<text>CS</text>
<text>PSAVE</text>
<text>SIG(LED)</text>
<text>BATT_DIV</text>
<text>SCL</text>
<text>SDA</text>
<text>GND</text>
<text>Y</text>
<text>X</text>
<text>Z</text>
<text>8</text>
<text>7</text>
<text>6</text>
<text>5</text>
<text>+</text>
<text>+</text>
<text>+</text>
<text>+</text>
<text>1</text>
<text>2</text>
<text>3</text>
<text>4</text>
<text>+</text>
<text>+</text>
<text>+</text>
<text>+</text>
<text>VCC4822</text>
<text>ISOLATE VCC</text>
<text>LSM</text>
<text>4822</text>
<text>(&gt;3.6v)</text>
<text>(sleep)</text>
</plain>
<libraries>
<library name="adafruit">
<packages>
<package name="QFN20">
</package>
<package name="JST-PH-2-THM-RA">
<description>&lt;b&gt;S2B-PH-K-S&lt;/b&gt; 
&lt;p&gt;
JST PH 2-pin thru-home side entry</description>
</package>
<package name="C0805K">
<description>&lt;b&gt;Ceramic Chip Capacitor KEMET 0805 Reflow solder&lt;/b&gt;&lt;p&gt;
Metric Code Size 2012</description>
</package>
<package name="SOT23">
<description>&lt;b&gt;SOT-23&lt;/b&gt;</description>
</package>
<package name="MLF32">
<description>&lt;b&gt;32M1-A&lt;/b&gt; Micro Lead Frame package (MLF)&lt;p&gt;
Source: http://www.atmel.com .. doc1477.pdf</description>
</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="LGA14">
</package>
</packages>
</library>
<library name="con-garry">
<description>&lt;b&gt;Pin Header Connectors&lt;/b&gt;&lt;p&gt;
&lt;a href="www.mpe-connector.de"&gt;Menufacturer&lt;/a&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="332-08">
<description>&lt;b&gt;8 Pin - 2mm Dual Row&lt;/b&gt;&lt;p&gt;
Source: www.mpe-connector.de / garry_shortform_2012.pdf</description>
</package>
</packages>
</library>
<library name="SparkFun-Jumpers">
<description>&lt;h3&gt;SparkFun Jumpers&lt;/h3&gt;
In this library you'll find jumpers, or other semipermanent means of changing current paths. The least permanent form is the solder jumper. These can be changed by adding, removing, or moving solder. In cases that are less likely to be changed we have jumpers that are connected with traces. These can be cut with a razor, or reconnected with solder. Reference designator JP.
&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="SMT-JUMPER_2_NO_NO-SILK">
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="MAX4822" library="adafruit" package="QFN20" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="JST-PH" library="adafruit" package="JST-PH-2-THM-RA" value="">
<attribute name="NAME"/>
</element>
<element name="C2" library="adafruit" package="C0805K" value="10µF">
<attribute name="VALUE"/>
</element>
<element name="U1" library="microbuilder" package="LGA14" value="LSM303DLHC"/>
<element name="C4" library="adafruit" package="C0805K" value="10µF">
<attribute name="VALUE"/>
</element>
<element name="C5" library="adafruit" package="C0805K" value="0.22µF">
<attribute name="VALUE"/>
</element>
<element name="1UF" library="adafruit" package="C0805K" value="">
<attribute name="VALUE"/>
</element>
<element name="E$10" library="adafruit" package="C0805K" value="10k">
<attribute name="VALUE"/>
</element>
<element name="E$13" library="adafruit" package="C0805K" value="">
<attribute name="VALUE"/>
</element>
<element name="E$1" library="con-garry" package="332-08" value="">
<attribute name="VALUE"/>
</element>
<element name="E$2" library="con-garry" package="332-08" value="">
<attribute name="VALUE"/>
</element>
<element name="MCP1700" library="adafruit" package="SOT23" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="ATMEGA328P" library="adafruit" package="MLF32" value="">
<attribute name="VALUE"/>
</element>
<element name="E$3" library="adafruit" package="C0805K" value="0.1uF">
<attribute name="VALUE"/>
</element>
<element name="C1" library="adafruit" package="C0805K" value="10µF"/>
<element name="C6" library="adafruit" package="C0805K" value="10µF"/>
<element name="E$4" library="SparkFun-Jumpers" package="SMT-JUMPER_2_NO_NO-SILK" value="">
<attribute name="VALUE"/>
</element>
<element name="E$5" library="SparkFun-Jumpers" package="SMT-JUMPER_2_NO_NO-SILK" value="">
<attribute name="VALUE"/>
</element>
</elements>
<signals>
<signal name="MISO">
<contactref element="MAX4822" pad="5"/>
<contactref element="ATMEGA328P" pad="16"/>
</signal>
<signal name="LSM_VCC">
<contactref element="U1" pad="1"/>
<contactref element="U1" pad="14"/>
<contactref element="E$3" pad="2"/>
<contactref element="E$4" pad="1"/>
</signal>
<signal name="VCC4822">
<contactref element="MAX4822" pad="19"/>
<contactref element="MAX4822" pad="20"/>
<contactref element="MAX4822" pad="1"/>
<contactref element="ATMEGA328P" pad="12"/>
<contactref element="E$5" pad="1"/>
</signal>
<signal name="VCC">
<contactref element="C2" pad="1"/>
<contactref element="MCP1700" pad="2"/>
<contactref element="ATMEGA328P" pad="6"/>
<contactref element="ATMEGA328P" pad="18"/>
<contactref element="E$4" pad="2"/>
<contactref element="E$5" pad="2"/>
</signal>
<signal name="SCK">
<contactref element="MAX4822" pad="4"/>
<contactref element="ATMEGA328P" pad="17"/>
</signal>
<signal name="MOSI">
<contactref element="MAX4822" pad="3"/>
<contactref element="ATMEGA328P" pad="15"/>
</signal>
<signal name="RESET">
<contactref element="ATMEGA328P" pad="29"/>
</signal>
<signal name="GND">
<contactref element="C2" pad="2"/>
<contactref element="U1" pad="7"/>
<contactref element="U1" pad="10"/>
<contactref element="U1" pad="11"/>
<contactref element="C4" pad="1"/>
<contactref element="MAX4822" pad="7"/>
<contactref element="JST-PH" pad="2"/>
<contactref element="1UF" pad="2"/>
<contactref element="E$13" pad="2"/>
<contactref element="MAX4822" pad="10"/>
<contactref element="MAX4822" pad="16"/>
<contactref element="MCP1700" pad="1"/>
<contactref element="ATMEGA328P" pad="5"/>
<contactref element="ATMEGA328P" pad="20"/>
<contactref element="E$3" pad="1"/>
<contactref element="C6" pad="2"/>
</signal>
<signal name="SDA">
<contactref element="U1" pad="3"/>
<contactref element="ATMEGA328P" pad="27"/>
</signal>
<signal name="SCL">
<contactref element="U1" pad="2"/>
<contactref element="ATMEGA328P" pad="28"/>
</signal>
<signal name="N$4">
<contactref element="U1" pad="12"/>
<contactref element="C5" pad="1"/>
</signal>
<signal name="N$5">
<contactref element="U1" pad="13"/>
<contactref element="C5" pad="2"/>
</signal>
<signal name="DRDY">
<contactref element="U1" pad="9"/>
</signal>
<signal name="INT2">
<contactref element="U1" pad="4"/>
</signal>
<signal name="INT1">
<contactref element="U1" pad="5"/>
</signal>
<signal name="VBATT">
<contactref element="JST-PH" pad="1"/>
<contactref element="1UF" pad="1"/>
<contactref element="E$10" pad="2"/>
<contactref element="E$2" pad="1"/>
<contactref element="E$2" pad="3"/>
<contactref element="E$2" pad="5"/>
<contactref element="E$2" pad="7"/>
<contactref element="E$1" pad="1"/>
<contactref element="E$1" pad="3"/>
<contactref element="E$1" pad="5"/>
<contactref element="E$1" pad="7"/>
<contactref element="MCP1700" pad="3"/>
</signal>
<signal name="OUT8">
<contactref element="MAX4822" pad="8"/>
<contactref element="E$1" pad="8"/>
</signal>
<signal name="OUT7">
<contactref element="MAX4822" pad="9"/>
<contactref element="E$1" pad="6"/>
</signal>
<signal name="OUT6">
<contactref element="MAX4822" pad="11"/>
<contactref element="E$1" pad="4"/>
</signal>
<signal name="OUT5">
<contactref element="MAX4822" pad="12"/>
<contactref element="E$1" pad="2"/>
</signal>
<signal name="OUT4">
<contactref element="MAX4822" pad="14"/>
<contactref element="E$2" pad="8"/>
</signal>
<signal name="OUT3">
<contactref element="MAX4822" pad="15"/>
<contactref element="E$2" pad="6"/>
</signal>
<signal name="OUT2">
<contactref element="MAX4822" pad="17"/>
<contactref element="E$2" pad="4"/>
</signal>
<signal name="OUT1">
<contactref element="MAX4822" pad="18"/>
<contactref element="E$2" pad="2"/>
</signal>
<signal name="V_BAT_DIV">
<contactref element="E$13" pad="1"/>
<contactref element="E$10" pad="1"/>
<contactref element="ATMEGA328P" pad="25"/>
</signal>
<signal name="PSAVE">
<contactref element="MAX4822" pad="13"/>
<contactref element="ATMEGA328P" pad="23"/>
</signal>
<signal name="CS">
<contactref element="MAX4822" pad="2"/>
<contactref element="ATMEGA328P" pad="14"/>
</signal>
<signal name="SIG">
<contactref element="ATMEGA328P" pad="24"/>
<contactref element="C1" pad="2"/>
</signal>
<signal name="S$1">
<contactref element="C4" pad="2"/>
<contactref element="U1" pad="6"/>
</signal>
<signal name="S$2">
</signal>
<signal name="S$3">
<contactref element="C6" pad="1"/>
<contactref element="C1" pad="1"/>
</signal>
<signal name="S$4">
</signal>
</signals>
</board>
</drawing>
</eagle>
