<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.1.1">
<drawing>
<board>
<plain>
<wire x1="21.9964" y1="24.3078" x2="74.3714" y2="24.3078" width="0" layer="20"/>
<wire x1="74.3714" y1="24.3078" x2="74.3714" y2="53.5078" width="0" layer="20"/>
<wire x1="74.3714" y1="53.5078" x2="21.9964" y2="53.5078" width="0" layer="20"/>
<wire x1="21.9964" y1="53.5078" x2="21.9964" y2="24.3078" width="0" layer="20"/>
<text>VasttraPi
Power Control
Board rev.2
by Dimitris Platis</text>
<text>GND</text>
<text>OUT</text>
<text>VCC</text>
</plain>
<libraries>
<library name="Seeed-OPL-Connector">
<packages>
<package name="USB4+2P-2.0-90D">
<description>&lt;b&gt;USB connector&lt;/b&gt;</description>
</package>
<package name="H3-2.54">
</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="DIP08">
<description>&lt;b&gt;Dual In Line&lt;/b&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="TO-92-AMMO">
</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="AXIAL-0.4">
<description>1/4W Resistor, 0.4" wide&lt;p&gt;

Yageo CFR series &lt;a href="http://www.yageo.com/pdf/yageo/Leaded-R_CFR_2008.pdf"&gt;http://www.yageo.com/pdf/yageo/Leaded-R_CFR_2008.pdf&lt;/a&gt;</description>
</package>
</packages>
</library>
<library name="Itead_BP_110825.lbr">
<packages>
<package name="RELAY">
</package>
</packages>
</library>
<library name="ch340g">
<packages>
<package name="SOIC16">
<description>&lt;b&gt;SMALL OUTLINE INTEGRATED CIRCUIT&lt;/b&gt;&lt;p&gt;
16-Pin (150-Mil) SOIC&lt;br&gt;
Source: http://www.cypress.com .. 38-12025_0P_V.pdf</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="CAP-PTH-SMALL-KIT">
<description>&lt;h3&gt;CAP-PTH-SMALL-KIT&lt;/h3&gt;
Commonly used for small ceramic capacitors. Like our 0.1uF (http://www.sparkfun.com/products/8375) or 22pF caps (http://www.sparkfun.com/products/8571).&lt;br&gt;
&lt;br&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.</description>
</package>
</packages>
</library>
<library name="Seeed-OPL-Crystal-Oscillator">
<packages>
<package name="HC49US">
<description>&lt;b&gt;CRYSTAL&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="Seeed-OPL-Capacitor">
<packages>
<package name="CERAMIC-2.54">
</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="OS">
</package>
</packages>
</library>
<library name="Seeed-OPL-Diode">
<packages>
<package name="LED2-2.54-D5.0MM">
</package>
<package name="DO-41">
</package>
</packages>
</library>
<library name="adafruit">
<packages>
<package name="OSHWLOGO_BACK_0.2">
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="JP2" library="Seeed-OPL-Connector" package="USB4+2P-2.0-90D" value="USB4-2.0-90D"/>
<element name="U1" library="SparkFun-DigitalIC" package="DIP08" value="TINY85-20-DIP">
<attribute name="NAME"/>
<attribute name="PROD_ID" value="IC-09445"/>
<attribute name="VALUE"/>
</element>
<element name="JP1" library="Seeed-OPL-Connector" package="USB4+2P-2.0-90D" value="USB4-2.0-90D">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="Q1" library="SparkFun-DiscreteSemi" package="TO-92-AMMO" value=""/>
<element name="R1" library="SparkFun-Passives" package="AXIAL-0.4" value="1KΩ">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U2" library="Itead_BP_110825.lbr" package="RELAY" value="RELAY">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="JP3" library="Seeed-OPL-Connector" package="USB4+2P-2.0-90D" value="USB4-2.0-90D">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U$1" library="ch340g" package="SOIC16" value="CH340G"/>
<element name="C1" library="SparkFun-Capacitors" package="CAP-PTH-SMALL-KIT" value="0.1 uF">
<attribute name="PROD_ID" value="CAP-08370"/>
</element>
<element name="Y1" library="Seeed-OPL-Crystal-Oscillator" package="HC49US" value="12MHZ">
<attribute name="MPN" value="HC-49US    16.000MHz"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C2" library="Seeed-OPL-Capacitor" package="CERAMIC-2.54" value="22pf">
<attribute name="MPN" value="CT4-0805CG220J101F3"/>
<attribute name="NAME"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C3" library="Seeed-OPL-Capacitor" package="CERAMIC-2.54" value="22pf">
<attribute name="MPN" value="CT4-0805CG220J101F3"/>
<attribute name="NAME"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="S2" library="SparkFun-Electromechanical" package="OS" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="J2" library="Seeed-OPL-Connector" package="H3-2.54" value="3p-2.54">
<attribute name="MPN" value="F185-1103A0BSYA1"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="D1" library="Seeed-OPL-Diode" package="LED2-2.54-D5.0MM" value="G502DC">
<attribute name="MPN" value="G502DC"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R2" library="SparkFun-Passives" package="AXIAL-0.4" value="220Ω">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="JP4" library="Seeed-OPL-Connector" package="USB4+2P-2.0-90D" value="USB4-2.0-90D">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C4" library="SparkFun-Capacitors" package="CAP-PTH-SMALL-KIT" value="0.1 uF">
<attribute name="PROD_ID" value="CAP-08370"/>
</element>
<element name="U$3" library="adafruit" package="OSHWLOGO_BACK_0.2" value=""/>
<element name="C5" library="SparkFun-Capacitors" package="CAP-PTH-SMALL-KIT" value="0.1 uF">
<attribute name="PROD_ID" value="CAP-08370"/>
</element>
<element name="D2" library="Seeed-OPL-Diode" package="DO-41" value="1N4001">
<attribute name="MPN" value="1N4001"/>
</element>
</elements>
<signals>
<signal name="N$1">
<contactref element="Q1" pad="2"/>
<contactref element="R1" pad="P$2"/>
</signal>
<signal name="N$2">
<contactref element="U2" pad="3"/>
<contactref element="Q1" pad="1"/>
</signal>
<signal name="GND">
<contactref element="Q1" pad="3"/>
<contactref element="JP3" pad="4"/>
<contactref element="JP1" pad="4"/>
<contactref element="U$1" pad="1"/>
<contactref element="C1" pad="2"/>
<contactref element="JP2" pad="4"/>
<contactref element="C3" pad="1"/>
<contactref element="C2" pad="1"/>
<contactref element="J2" pad="3"/>
<contactref element="U1" pad="4"/>
<contactref element="R2" pad="P$2"/>
<contactref element="JP4" pad="4"/>
<contactref element="C4" pad="1"/>
<contactref element="C5" pad="1"/>
</signal>
<signal name="VCC">
<contactref element="JP3" pad="1"/>
<contactref element="U2" pad="2"/>
<contactref element="S2" pad="2"/>
<contactref element="C4" pad="2"/>
<contactref element="U2" pad="4"/>
<contactref element="D2" pad="1"/>
</signal>
<signal name="VRPI">
<contactref element="JP1" pad="1"/>
<contactref element="U2" pad="1"/>
<contactref element="D1" pad="+"/>
<contactref element="JP4" pad="1"/>
<contactref element="C5" pad="2"/>
</signal>
<signal name="D-">
<contactref element="U$1" pad="6"/>
<contactref element="JP2" pad="2"/>
</signal>
<signal name="D+">
<contactref element="JP2" pad="3"/>
<contactref element="U$1" pad="5"/>
</signal>
<signal name="V3">
<contactref element="U$1" pad="4"/>
<contactref element="C1" pad="1"/>
</signal>
<signal name="TX">
<contactref element="U1" pad="5"/>
<contactref element="U$1" pad="3"/>
</signal>
<signal name="RX">
<contactref element="U1" pad="6"/>
<contactref element="U$1" pad="2"/>
</signal>
<signal name="N$4">
<contactref element="Y1" pad="2"/>
<contactref element="C2" pad="2"/>
<contactref element="U$1" pad="8"/>
</signal>
<signal name="N$5">
<contactref element="Y1" pad="1"/>
<contactref element="C3" pad="2"/>
<contactref element="U$1" pad="7"/>
</signal>
<signal name="INT">
<contactref element="J2" pad="2"/>
<contactref element="U1" pad="7"/>
</signal>
<signal name="RPI_PWR">
<contactref element="U1" pad="2"/>
<contactref element="R1" pad="P$1"/>
</signal>
<signal name="N$6">
<contactref element="D1" pad="-"/>
<contactref element="R2" pad="P$1"/>
</signal>
<signal name="N$3">
<contactref element="U2" pad="5"/>
<contactref element="S2" pad="1"/>
</signal>
<signal name="V_DIODE">
<contactref element="D2" pad="2"/>
<contactref element="U1" pad="8"/>
<contactref element="U$1" pad="16"/>
<contactref element="J2" pad="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
