<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.3.0">
<drawing>
<schematic>
<libraries>
<library name="fab">
<packages>
<package name="2X03SMD">
</package>
<package name="C1206">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;</description>
</package>
<package name="C1206FAB">
</package>
<package name="R1206">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;</description>
</package>
<package name="R1206W">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;&lt;p&gt;
wave soldering</description>
</package>
<package name="R1206FAB">
</package>
<package name="LED1206">
<description>LED 1206 pads (standard pattern)</description>
</package>
<package name="LED1206FAB">
<description>LED1206 FAB style (smaller pads to allow trace between)</description>
</package>
<package name="5MM">
<description>5mm round through hole part.</description>
</package>
<package name="DO41Z10">
<description>&lt;B&gt;DIODE&lt;/B&gt;&lt;p&gt;
diameter 2.54 mm, horizontal, grid 10.16 mm</description>
</package>
<package name="SOD123">
<description>&lt;b&gt;SMALL OUTLINE DIODE&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="PINH2X3">
<pin name="1" direction="pas" function="dot"/>
<pin name="2" direction="pas" function="dot"/>
<pin name="3" direction="pas" function="dot"/>
<pin name="4" direction="pas" function="dot"/>
<pin name="5" direction="pas" function="dot"/>
<pin name="6" direction="pas" function="dot"/>
</symbol>
<symbol name="CAP-NONPOLARIZED">
<description>non-polarized capacitor</description>
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
</symbol>
<symbol name="R-US">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="LED">
<description>LED</description>
<pin name="C" direction="pas"/>
<pin name="A" direction="pas"/>
</symbol>
<symbol name="ZENER">
<pin name="ANODE" direction="pas"/>
<pin name="CATHODE" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="PINHD-2X3-SMD" prefix="JP" uservalue="yes">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
<gates>
<gate name="A" symbol="PINH2X3"/>
</gates>
<devices>
<device name="" package="2X03SMD">
<connects>
<connect gate="A" pin="1" pad="1"/>
<connect gate="A" pin="2" pad="2"/>
<connect gate="A" pin="3" pad="3"/>
<connect gate="A" pin="4" pad="4"/>
<connect gate="A" pin="5" pad="5"/>
<connect gate="A" pin="6" pad="6"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="CAP-UNPOLARIZED" prefix="C" uservalue="yes">
<gates>
<gate name="&gt;NAME" symbol="CAP-NONPOLARIZED"/>
</gates>
<devices>
<device name="" package="C1206">
<connects>
<connect gate="&gt;NAME" pin="1" pad="1"/>
<connect gate="&gt;NAME" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="FAB" package="C1206FAB">
<connects>
<connect gate="&gt;NAME" pin="1" pad="1"/>
<connect gate="&gt;NAME" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="RES-US" prefix="R" uservalue="yes">
<description>&lt;b&gt;Resistor (US Symbol)&lt;/b&gt;
&lt;p&gt;
Variants with postfix FAB are widened to allow the routing of internal traces</description>
<gates>
<gate name="G$1" symbol="R-US"/>
</gates>
<devices>
<device name="1206" package="R1206">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="1206W" package="R1206W">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="1206FAB" package="R1206FAB">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="LED">
<description>LED</description>
<gates>
<gate name="G$1" symbol="LED"/>
</gates>
<devices>
<device name="" package="LED1206">
<connects>
<connect gate="G$1" pin="A" pad="1"/>
<connect gate="G$1" pin="C" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="FAB1206" package="LED1206FAB">
<connects>
<connect gate="G$1" pin="A" pad="1"/>
<connect gate="G$1" pin="C" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="5MM" package="5MM">
<connects>
<connect gate="G$1" pin="A" pad="IN"/>
<connect gate="G$1" pin="C" pad="OUT"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="ZENER_DIODE" prefix="D" uservalue="yes">
<description>zener diode</description>
<gates>
<gate name="1" symbol="ZENER"/>
</gates>
<devices>
<device name="DO41Z10" package="DO41Z10">
<connects>
<connect gate="1" pin="ANODE" pad="A"/>
<connect gate="1" pin="CATHODE" pad="C"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="SOD123" package="SOD123">
<connects>
<connect gate="1" pin="ANODE" pad="ANODE"/>
<connect gate="1" pin="CATHODE" pad="CATHODE"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="usb">
<packages>
<package name="USB-A-H">
<description>&lt;b&gt;USB Series A Hole Mounted&lt;/b&gt;</description>
</package>
<package name="USB-A-S">
<description>&lt;b&gt;USB Series A Surface Mounted&lt;/b&gt;</description>
</package>
<package name="USB-B-SMT">
<description>USB Series B Surface Mounted</description>
</package>
<package name="S4B-PH">
</package>
<package name="USB-MB-H">
<description>&lt;b&gt;USB Series Mini-B Hole Mounted&lt;/b&gt;</description>
</package>
<package name="USB-MINIB-OLD">
<description>&lt;b&gt;USB Series Mini-B Surface Mounted&lt;/b&gt;</description>
</package>
<package name="USB-A-PCB">
</package>
<package name="USB-B-PTH">
<description>&lt;b&gt;USB Series B Hole Mounted&lt;/b&gt;</description>
</package>
<package name="USB-B-PTH-VERTICAL">
<description>&lt;b&gt;USB Series B Hole Mounted&lt;/b&gt;</description>
</package>
<package name="USB-MINIB">
<description>&lt;b&gt;USB Series Mini-B Surface Mounted&lt;/b&gt;</description>
</package>
<package name="USB-A_LC">
</package>
</packages>
<symbols>
<symbol name="USB">
<pin name="D+"/>
<pin name="D-"/>
<pin name="GND"/>
<pin name="VBUS"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="USB" prefix="X">
<description>&lt;b&gt;USB Connectors&lt;/b&gt;
&lt;p&gt;USB-B-PTH is fully proven SKU : PRT-00139
&lt;p&gt;USB-miniB is fully proven SKU : PRT-00587
&lt;p&gt;USB-A-PCB is untested.
&lt;p&gt;USB-A-H is throughly reviewed, but untested. Spark Fun Electronics SKU : PRT-00437
&lt;p&gt;USB-B-SMT is throughly reviewed, but untested. Needs silkscreen touching up.
&lt;p&gt;USB-A-S has not been used/tested
&lt;p&gt;USB-MB-H has not been used/tested</description>
<gates>
<gate name="G$1" symbol="USB"/>
</gates>
<devices>
<device name="-A-H" package="USB-A-H">
<connects>
<connect gate="G$1" pin="D+" pad="D-"/>
<connect gate="G$1" pin="D-" pad="D+"/>
<connect gate="G$1" pin="GND" pad="VBUS"/>
<connect gate="G$1" pin="VBUS" pad="GND"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-A-S" package="USB-A-S">
<connects>
<connect gate="G$1" pin="D+" pad="D+"/>
<connect gate="G$1" pin="D-" pad="D-"/>
<connect gate="G$1" pin="GND" pad="GND"/>
<connect gate="G$1" pin="VBUS" pad="VBUS"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-B-S" package="USB-B-SMT">
<connects>
<connect gate="G$1" pin="D+" pad="D+"/>
<connect gate="G$1" pin="D-" pad="D-"/>
<connect gate="G$1" pin="GND" pad="GND"/>
<connect gate="G$1" pin="VBUS" pad="VUSB"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-JST-2MM-SMT" package="S4B-PH">
<connects>
<connect gate="G$1" pin="D+" pad="2"/>
<connect gate="G$1" pin="D-" pad="3"/>
<connect gate="G$1" pin="GND" pad="1"/>
<connect gate="G$1" pin="VBUS" pad="4"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-MB-H" package="USB-MB-H">
<connects>
<connect gate="G$1" pin="D+" pad="D+"/>
<connect gate="G$1" pin="D-" pad="D-"/>
<connect gate="G$1" pin="GND" pad="GND"/>
<connect gate="G$1" pin="VBUS" pad="VBUS"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="OLD" package="USB-MINIB-OLD">
<connects>
<connect gate="G$1" pin="D+" pad="D+"/>
<connect gate="G$1" pin="D-" pad="D-"/>
<connect gate="G$1" pin="GND" pad="GND"/>
<connect gate="G$1" pin="VBUS" pad="VBUS"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="PCB" package="USB-A-PCB">
<connects>
<connect gate="G$1" pin="D+" pad="USB_P"/>
<connect gate="G$1" pin="D-" pad="USB_M"/>
<connect gate="G$1" pin="GND" pad="GND"/>
<connect gate="G$1" pin="VBUS" pad="5V"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="PTH" package="USB-B-PTH">
<connects>
<connect gate="G$1" pin="D+" pad="D+"/>
<connect gate="G$1" pin="D-" pad="D-"/>
<connect gate="G$1" pin="GND" pad="GND"/>
<connect gate="G$1" pin="VBUS" pad="VBUS"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="PTH-VERTICAL" package="USB-B-PTH-VERTICAL">
<connects>
<connect gate="G$1" pin="D+" pad="D+"/>
<connect gate="G$1" pin="D-" pad="D-"/>
<connect gate="G$1" pin="GND" pad="GND"/>
<connect gate="G$1" pin="VBUS" pad="VBUS"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="SMD" package="USB-MINIB">
<connects>
<connect gate="G$1" pin="D+" pad="D+"/>
<connect gate="G$1" pin="D-" pad="D-"/>
<connect gate="G$1" pin="GND" pad="GND"/>
<connect gate="G$1" pin="VBUS" pad="VBUS"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="" package="USB-A_LC">
<connects>
<connect gate="G$1" pin="D+" pad="D+"/>
<connect gate="G$1" pin="D-" pad="D-"/>
<connect gate="G$1" pin="GND" pad="GND"/>
<connect gate="G$1" pin="VBUS" pad="VBUS"/>
</connects>
<technologies>
<technology name="-A-LC"/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="supply1">
<description>&lt;b&gt;Supply Symbols&lt;/b&gt;&lt;p&gt;
 GND, VCC, 0V, +5V, -5V, etc.&lt;p&gt;
 Please keep in mind, that these devices are necessary for the
 automatic wiring of the supply signals.&lt;p&gt;
 The pin name defined in the symbol is identical to the net which is to be wired automatically.&lt;p&gt;
 In this library the device names are the same as the pin names of the symbols, therefore the correct signal names appear next to the supply symbols in the schematic.&lt;p&gt;
 &lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
</packages>
<symbols>
<symbol name="GND">
<pin name="GND" direction="sup"/>
</symbol>
<symbol name="VCC">
<pin name="VCC" direction="sup"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="GND" prefix="GND">
<description>&lt;b&gt;SUPPLY SYMBOL&lt;/b&gt;</description>
<gates>
<gate name="1" symbol="GND"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="VCC" prefix="P+">
<description>&lt;b&gt;SUPPLY SYMBOL&lt;/b&gt;</description>
<gates>
<gate name="VCC" symbol="VCC"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</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; 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="SO08-EIAJ">
<description>Fits EIAJ packages (wide version of the SOIC-8).</description>
</package>
<package name="DIP08">
<description>&lt;b&gt;Dual In Line&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="ATTINY13">
<pin name="VCC"/>
<pin name="PB1(MISO)"/>
<pin name="PB5(NRES)"/>
<pin name="GND"/>
<pin name="PB0(MOSI)"/>
<pin name="PB2(SCK/ADC1)"/>
<pin name="PB3(ADC3)"/>
<pin name="PB4(ADC2)"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="ATTINY45">
<description>Atmel 8-pin 2/4/8kB flash uC</description>
<gates>
<gate name="G$1" symbol="ATTINY13"/>
</gates>
<devices>
<device name="" package="SO08-EIAJ">
<connects>
<connect gate="G$1" pin="GND" pad="4"/>
<connect gate="G$1" pin="PB0(MOSI)" pad="5"/>
<connect gate="G$1" pin="PB1(MISO)" pad="6"/>
<connect gate="G$1" pin="PB2(SCK/ADC1)" pad="7"/>
<connect gate="G$1" pin="PB3(ADC3)" pad="2"/>
<connect gate="G$1" pin="PB4(ADC2)" pad="3"/>
<connect gate="G$1" pin="PB5(NRES)" pad="1"/>
<connect gate="G$1" pin="VCC" pad="8"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="DIP8" package="DIP08">
<connects>
<connect gate="G$1" pin="GND" pad="4"/>
<connect gate="G$1" pin="PB0(MOSI)" pad="5"/>
<connect gate="G$1" pin="PB1(MISO)" pad="6"/>
<connect gate="G$1" pin="PB2(SCK/ADC1)" pad="7"/>
<connect gate="G$1" pin="PB3(ADC3)" pad="2"/>
<connect gate="G$1" pin="PB4(ADC2)" pad="3"/>
<connect gate="G$1" pin="PB5(NRES)" pad="1"/>
<connect gate="G$1" pin="VCC" pad="8"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="PIN" library="fab" deviceset="PINHD-2X3-SMD" device=""/>
<part name="POW_C" library="fab" deviceset="CAP-UNPOLARIZED" device="" value="100nF"/>
<part name="X1" library="usb" deviceset="USB" device="PCB"/>
<part name="GND1" library="supply1" deviceset="GND" device=""/>
<part name="GND3" library="supply1" deviceset="GND" device=""/>
<part name="P+1" library="supply1" deviceset="VCC" device=""/>
<part name="P+3" library="supply1" deviceset="VCC" device=""/>
<part name="POW_RES" library="fab" deviceset="RES-US" device="1206" value="150"/>
<part name="POW_LED" library="fab" deviceset="LED" device="FAB1206" value="RED"/>
<part name="CHIP1" library="SparkFun-DigitalIC" deviceset="ATTINY45" device=""/>
<part name="D1" library="fab" deviceset="ZENER_DIODE" device="SOD123"/>
<part name="D2" library="fab" deviceset="ZENER_DIODE" device="SOD123"/>
<part name="TLED" library="fab" deviceset="LED" device="FAB1206" value="GREEN"/>
<part name="TRES" library="fab" deviceset="RES-US" device="1206" value="150"/>
<part name="USB_M" library="fab" deviceset="RES-US" device="1206" value="47"/>
<part name="USB_P" library="fab" deviceset="RES-US" device="1206" value="47"/>
<part name="USB_M_BUS1" library="fab" deviceset="RES-US" device="1206" value="470"/>
<part name="USB_M_BUS2" library="fab" deviceset="RES-US" device="1206" value="1K"/>
<part name="P+2" library="supply1" deviceset="VCC" device=""/>
</parts>
<sheets>
<sheet>
<plain>
</plain>
<busses>
</busses>
<nets>
<net name="GND">
<segment>
<pinref part="GND1" gate="1" pin="GND"/>
<pinref part="POW_C" gate="&gt;NAME" pin="2"/>
<pinref part="POW_RES" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="GND3" gate="1" pin="GND"/>
<pinref part="X1" gate="G$1" pin="GND"/>
<pinref part="PIN" gate="A" pin="6"/>
<pinref part="CHIP1" gate="G$1" pin="GND"/>
<pinref part="TRES" gate="G$1" pin="2"/>
<pinref part="D1" gate="1" pin="ANODE"/>
<pinref part="D2" gate="1" pin="ANODE"/>
</segment>
</net>
<net name="VCC">
<segment>
<pinref part="P+2" gate="VCC" pin="VCC"/>
<pinref part="USB_M_BUS2" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="POW_C" gate="&gt;NAME" pin="1"/>
<pinref part="POW_LED" gate="G$1" pin="A"/>
<pinref part="P+1" gate="VCC" pin="VCC"/>
</segment>
<segment>
<pinref part="X1" gate="G$1" pin="VBUS"/>
<pinref part="PIN" gate="A" pin="2"/>
<pinref part="CHIP1" gate="G$1" pin="VCC"/>
<pinref part="P+3" gate="VCC" pin="VCC"/>
</segment>
</net>
<net name="POWLED">
<segment>
<pinref part="POW_LED" gate="G$1" pin="C"/>
<pinref part="POW_RES" gate="G$1" pin="2"/>
</segment>
</net>
<net name="MOSI">
<segment>
<pinref part="CHIP1" gate="G$1" pin="PB0(MOSI)"/>
<pinref part="PIN" gate="A" pin="4"/>
<pinref part="TLED" gate="G$1" pin="A"/>
</segment>
</net>
<net name="MISO">
<segment>
<pinref part="PIN" gate="A" pin="1"/>
<pinref part="CHIP1" gate="G$1" pin="PB1(MISO)"/>
</segment>
</net>
<net name="PB2">
<segment>
<pinref part="CHIP1" gate="G$1" pin="PB2(SCK/ADC1)"/>
<pinref part="PIN" gate="A" pin="3"/>
</segment>
</net>
<net name="PB5">
<segment>
<pinref part="PIN" gate="A" pin="5"/>
<pinref part="CHIP1" gate="G$1" pin="PB5(NRES)"/>
</segment>
</net>
<net name="PB4">
<segment>
<pinref part="CHIP1" gate="G$1" pin="PB4(ADC2)"/>
<pinref part="USB_P" gate="G$1" pin="1"/>
</segment>
</net>
<net name="PB3">
<segment>
<pinref part="CHIP1" gate="G$1" pin="PB3(ADC3)"/>
<pinref part="USB_M" gate="G$1" pin="1"/>
</segment>
</net>
<net name="TLED">
<segment>
<pinref part="TRES" gate="G$1" pin="1"/>
<pinref part="TLED" gate="G$1" pin="C"/>
</segment>
</net>
<net name="USB_P">
<segment>
<pinref part="USB_P" gate="G$1" pin="2"/>
<pinref part="D2" gate="1" pin="CATHODE"/>
<pinref part="X1" gate="G$1" pin="D+"/>
</segment>
</net>
<net name="BUS">
<segment>
<pinref part="USB_M_BUS2" gate="G$1" pin="2"/>
<pinref part="USB_M_BUS1" gate="G$1" pin="1"/>
</segment>
</net>
<net name="USB_M">
<segment>
<pinref part="X1" gate="G$1" pin="D-"/>
<pinref part="D1" gate="1" pin="CATHODE"/>
<pinref part="USB_M" gate="G$1" pin="2"/>
<pinref part="USB_M_BUS1" gate="G$1" pin="2"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
