<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.1.0">
<drawing>
<board>
<plain>
<text>Current SENSOR</text>
<text>U1: INA219</text>
<text>R3: 0.1 OHM 1%</text>
<text>D5</text>
<text>D6</text>
<text>D7</text>
<text>D8</text>
<text>D9</text>
<text>D2</text>
<text>D3</text>
<text>D4</text>
<text>+</text>
<text>Logger</text>
<text>Vin +</text>
<text>Vin -</text>
<text>SD CS = 10</text>
<text>Vin: 26V - 3A</text>
<text>Georgian Borca - 2015</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="SOT23-8">
<description>&lt;b&gt;Source: &lt;/b&gt;http://www.ti.com/lit/ml/mpds099c/mpds099c.pdf</description>
</package>
<package name="JSTPH2">
<description>2-Pin JST PH Series Right-Angle Connector (+/- for batteries)</description>
</package>
<package name="_0805">
<description>&lt;b&gt;0805&lt;/b&gt;</description>
</package>
<package name="2512">
<description>&lt;b&gt;RESISTOR 2512 (Metric 6432)&lt;/b&gt;</description>
</package>
<package name="TERMBLOCK_1X2-3.5MM">
</package>
<package name="TESTPOINT_ROUND_2MM">
<description>Testpoint - Round 2mm</description>
</package>
<package name="MICROSD">
<description>Courtesy: Adafruit Industries</description>
</package>
</packages>
</library>
<library name="jumper">
<description>&lt;b&gt;Jumpers&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="SJ">
<description>&lt;b&gt;Solder jumper&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="SparkFun-DigitalIC">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find all manner of digital ICs- microcontrollers, memory chips, logic chips, FPGAs, 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="TQFP32-08">
<description>&lt;B&gt;Thin Plasic Quad Flat Package&lt;/B&gt; Grid 0.8 mm</description>
</package>
</packages>
</library>
<library name="SparkFun-Electromechanical">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find anything that moves- switches, relays, buttons, potentiometers. Also, anything that goes on a board but isn't electrical in nature- screws, standoffs, 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="KPS-1290">
</package>
<package name="TACTILE-SWITCH-1101NE">
<description>Sparkfun SKU# COM-08229</description>
</package>
</packages>
</library>
<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="2X3_LOCK">
</package>
<package name="FTDI_DEVICE_SIDE">
<description>Package for devices meant to mate to an FTDI connector.</description>
</package>
<package name="1X03_LOCK">
</package>
<package name="1X05_LOCK">
</package>
</packages>
</library>
<library name="dp_devices">
<description>Dangerous Prototypes Standard PCB sizes
http://dangerousprototypes.com</description>
<packages>
<package name="DP6037_V1">
</package>
<package name="ANARCHY_LOGO">
<description>Anarchy Logo by BrK</description>
</package>
</packages>
</library>
<library name="SparkFun-FreqCtrl">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find crystals and oscillators and other things that go "tick".&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="RESONATOR-SMD">
</package>
</packages>
</library>
<library name="SparkFun-Aesthetics">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find non-functional items- supply symbols, logos, notations, frame blocks, 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="OSHW-LOGO-M">
</package>
</packages>
</library>
<library name="logo">
<description>&lt;b&gt;Electronic logos&lt;/b&gt;&lt;p&gt;</description>
<packages>
<package name="ESD">
<description>&lt;b&gt;Logo: import from bit map with import-bmp.ulp&lt;/b&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="U1" library="microbuilder" package="SOT23-8" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="CN1" library="microbuilder" package="JSTPH2" value=""/>
<element name="A0" library="jumper" package="SJ" value=""/>
<element name="A1" library="jumper" package="SJ" value=""/>
<element name="C1" library="microbuilder" package="_0805" value="0.1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R1" library="microbuilder" package="_0805" value="10K"/>
<element name="R2" library="microbuilder" package="_0805" value="10K"/>
<element name="R3" library="microbuilder" package="2512" value="0.1/1%"/>
<element name="J1" library="microbuilder" package="TERMBLOCK_1X2-3.5MM" value=""/>
<element name="TP1" library="microbuilder" package="TESTPOINT_ROUND_2MM" value=""/>
<element name="TP2" library="microbuilder" package="TESTPOINT_ROUND_2MM" value=""/>
<element name="U2" library="SparkFun-DigitalIC" package="TQFP32-08" value="ATMEGA328P">
<attribute name="PROD_ID" value="IC-09069"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R4" library="microbuilder" package="_0805" value="10K"/>
<element name="U$8" library="SparkFun-Electromechanical" package="KPS-1290" value="SWITCH_SPDT">
<attribute name="PROD_ID" value="SWCH-10651"/>
</element>
<element name="RESET" library="SparkFun-Electromechanical" package="TACTILE-SWITCH-1101NE" value="SWITCH-MOMENTARY-2-SMD-1101NE">
<attribute name="NAME"/>
</element>
<element name="J2" library="SparkFun-Connectors" package="2X3_LOCK" value="AVR_SPI_PRG_62X3_LOCK">
<attribute name="NAME"/>
</element>
<element name="MICRO_SD" library="microbuilder" package="MICROSD" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="JP1" library="SparkFun-Connectors" package="FTDI_DEVICE_SIDE" value="FTDI_DEVICE"/>
<element name="C2" library="microbuilder" package="_0805" value="0.1uF"/>
<element name="U$13" library="dp_devices" package="DP6037_V1" value=""/>
<element name="Y1" library="SparkFun-FreqCtrl" package="RESONATOR-SMD" value="8MHZ">
<attribute name="PROD_ID" value="XTAL-08895"/>
</element>
<element name="JP2" library="SparkFun-Connectors" package="1X03_LOCK" value="">
<attribute name="VALUE"/>
</element>
<element name="JP3" library="SparkFun-Connectors" package="1X05_LOCK" value="">
<attribute name="VALUE"/>
</element>
<element name="U$14" library="SparkFun-Aesthetics" package="OSHW-LOGO-M" value=""/>
<element name="C3" library="microbuilder" package="_0805" value="0.1uF"/>
<element name="C4" library="microbuilder" package="_0805" value="0.1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C5" library="microbuilder" package="_0805" value="0.1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C6" library="microbuilder" package="_0805" value="0.1uF"/>
<element name="U$16" library="logo" package="ESD" value=""/>
<element name="U$17" library="dp_devices" package="ANARCHY_LOGO" value=""/>
</elements>
<signals>
<signal name="GND">
<contactref element="U1" pad="3"/>
<contactref element="C1" pad="2"/>
<contactref element="R1" pad="1"/>
<contactref element="R2" pad="1"/>
<contactref element="RESET" pad="1"/>
<contactref element="U2" pad="21"/>
<contactref element="U2" pad="5"/>
<contactref element="U2" pad="3"/>
<contactref element="CN1" pad="1"/>
<contactref element="MICRO_SD" pad="6"/>
<contactref element="MICRO_SD" pad="MT1"/>
<contactref element="MICRO_SD" pad="MT2"/>
<contactref element="J2" pad="6"/>
<contactref element="JP1" pad="P$6"/>
<contactref element="Y1" pad="2"/>
<contactref element="C4" pad="2"/>
<contactref element="C5" pad="2"/>
<contactref element="C3" pad="2"/>
<contactref element="C6" pad="2"/>
</signal>
<signal name="VCC">
<contactref element="U1" pad="4"/>
<contactref element="C1" pad="1"/>
<contactref element="A1" pad="2"/>
<contactref element="A0" pad="2"/>
<contactref element="R4" pad="2"/>
<contactref element="U2" pad="6"/>
<contactref element="U2" pad="18"/>
<contactref element="U2" pad="4"/>
<contactref element="U$8" pad="O"/>
<contactref element="MICRO_SD" pad="4"/>
<contactref element="JP1" pad="P$4"/>
<contactref element="J2" pad="2"/>
<contactref element="C3" pad="1"/>
<contactref element="C4" pad="1"/>
<contactref element="C5" pad="1"/>
<contactref element="C6" pad="1"/>
</signal>
<signal name="SCL">
<contactref element="U1" pad="5"/>
<contactref element="U2" pad="28"/>
</signal>
<signal name="SDA">
<contactref element="U1" pad="6"/>
<contactref element="U2" pad="27"/>
</signal>
<signal name="N$1">
<contactref element="U1" pad="7"/>
<contactref element="A0" pad="1"/>
<contactref element="R2" pad="2"/>
</signal>
<signal name="N$2">
<contactref element="U1" pad="8"/>
<contactref element="A1" pad="1"/>
<contactref element="R1" pad="2"/>
</signal>
<signal name="N$3">
<contactref element="U1" pad="1"/>
<contactref element="R3" pad="2"/>
<contactref element="J1" pad="1"/>
<contactref element="TP1" pad="P$1"/>
</signal>
<signal name="N$4">
<contactref element="U1" pad="2"/>
<contactref element="R3" pad="1"/>
<contactref element="J1" pad="2"/>
<contactref element="TP2" pad="P$1"/>
</signal>
<signal name="RESET">
<contactref element="U2" pad="29"/>
<contactref element="R4" pad="1"/>
<contactref element="RESET" pad="2"/>
<contactref element="C2" pad="2"/>
<contactref element="J2" pad="5"/>
</signal>
<signal name="V_BATT">
<contactref element="CN1" pad="2"/>
<contactref element="U$8" pad="P"/>
</signal>
<signal name="N$6">
<contactref element="U$8" pad="S"/>
</signal>
<signal name="MISO">
<contactref element="MICRO_SD" pad="7"/>
<contactref element="U2" pad="16"/>
<contactref element="J2" pad="1"/>
</signal>
<signal name="MOSI">
<contactref element="MICRO_SD" pad="3"/>
<contactref element="U2" pad="15"/>
<contactref element="J2" pad="4"/>
</signal>
<signal name="SCK">
<contactref element="MICRO_SD" pad="5"/>
<contactref element="U2" pad="17"/>
<contactref element="J2" pad="3"/>
</signal>
<signal name="CS">
<contactref element="MICRO_SD" pad="2"/>
<contactref element="U2" pad="14"/>
</signal>
<signal name="N$5">
<contactref element="JP1" pad="P$1"/>
<contactref element="C2" pad="1"/>
</signal>
<signal name="RXD">
<contactref element="U2" pad="30"/>
<contactref element="JP1" pad="P$3"/>
</signal>
<signal name="TXD">
<contactref element="U2" pad="31"/>
<contactref element="JP1" pad="P$2"/>
</signal>
<signal name="N$7">
<contactref element="Y1" pad="1"/>
<contactref element="U2" pad="7"/>
</signal>
<signal name="N$8">
<contactref element="Y1" pad="3"/>
<contactref element="U2" pad="8"/>
</signal>
<signal name="N$9">
<contactref element="U2" pad="32"/>
<contactref element="JP2" pad="1"/>
</signal>
<signal name="N$10">
<contactref element="U2" pad="1"/>
<contactref element="JP2" pad="2"/>
</signal>
<signal name="N$11">
<contactref element="U2" pad="2"/>
<contactref element="JP2" pad="3"/>
</signal>
<signal name="N$12">
<contactref element="U2" pad="9"/>
<contactref element="JP3" pad="1"/>
</signal>
<signal name="N$13">
<contactref element="U2" pad="10"/>
<contactref element="JP3" pad="2"/>
</signal>
<signal name="N$14">
<contactref element="U2" pad="11"/>
<contactref element="JP3" pad="3"/>
</signal>
<signal name="N$15">
<contactref element="U2" pad="12"/>
<contactref element="JP3" pad="4"/>
</signal>
<signal name="N$16">
<contactref element="U2" pad="13"/>
<contactref element="JP3" pad="5"/>
</signal>
<signal name="N$17">
<contactref element="U2" pad="22"/>
</signal>
<signal name="N$18">
<contactref element="U2" pad="19"/>
</signal>
<signal name="N$19">
<contactref element="U2" pad="26"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
