<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.6.3">
<drawing>
<schematic>
<libraries>
<library name="fab">
<packages>
<package name="SOIC8">
<description>&lt;B&gt;Wide Plastic Gull Wing Small Outline Package&lt;/B&gt;</description>
</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="C1206">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;</description>
</package>
<package name="C1206FAB">
</package>
<package name="C2220">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;</description>
</package>
<package name="2X03SMD">
</package>
<package name="2X03">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="2X02SMD">
</package>
<package name="P-LCC-4">
<description>&lt;b&gt;Power TOPLED®&lt;/b&gt;&lt;p&gt;
Source: http://www.osram.convergy.de/ ... LA_LO_LA_LY E67B.pdf</description>
</package>
<package name="SOT23">
<description>&lt;b&gt;SOT 23&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="ATTINY45">
<pin name="GND"/>
<pin name="PB5/PCINT5/-RESET/ADC0/DW"/>
<pin name="PB3/PCINT3/XTAL1/CLKI/-OC1B/ADC3"/>
<pin name="PB4/PCINT4/XTAL2/CLKO/OC1B/ADC2"/>
<pin name="VCC"/>
<pin name="SCK/USCK/SCL/ADC1/T0/INT0/PCINT2/PB2"/>
<pin name="MISO/DO/AIN1/OC0B/OC1A/PCINT1/PB1"/>
<pin name="MOSI/DI/SDA/AIN0/OC0A/-OC1A/AREF/PCINT0/PB0"/>
</symbol>
<symbol name="R-US">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="CAP-NONPOLARIZED">
<description>non-polarized capacitor</description>
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
</symbol>
<symbol name="AVRISP">
<pin name="MISO" direction="pas" function="dot"/>
<pin name="VCC" direction="pas" function="dot"/>
<pin name="SCK" direction="pas" function="dot"/>
<pin name="MOSI" direction="pas" function="dot"/>
<pin name="RST" direction="pas" function="dot"/>
<pin name="GND" direction="pas" function="dot"/>
</symbol>
<symbol name="PINH2X2">
<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"/>
</symbol>
<symbol name="LED-RGB">
<pin name="CGREEN" direction="pas"/>
<pin name="CBLUE" direction="pas"/>
<pin name="CRED" direction="pas"/>
<pin name="A2" direction="pas"/>
</symbol>
<symbol name="REGULATOR">
<pin name="IN"/>
<pin name="GND"/>
<pin name="OUT"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="ATTINY45">
<gates>
<gate name="G$1" symbol="ATTINY45"/>
</gates>
<devices>
<device name="SI" package="SOIC8">
<connects>
<connect gate="G$1" pin="GND" pad="4"/>
<connect gate="G$1" pin="MISO/DO/AIN1/OC0B/OC1A/PCINT1/PB1" pad="6"/>
<connect gate="G$1" pin="MOSI/DI/SDA/AIN0/OC0A/-OC1A/AREF/PCINT0/PB0" pad="5"/>
<connect gate="G$1" pin="PB3/PCINT3/XTAL1/CLKI/-OC1B/ADC3" pad="2"/>
<connect gate="G$1" pin="PB4/PCINT4/XTAL2/CLKO/OC1B/ADC2" pad="3"/>
<connect gate="G$1" pin="PB5/PCINT5/-RESET/ADC0/DW" pad="1"/>
<connect gate="G$1" pin="SCK/USCK/SCL/ADC1/T0/INT0/PCINT2/PB2" pad="7"/>
<connect gate="G$1" pin="VCC" pad="8"/>
</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="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>
<device name="2220" package="C2220">
<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="AVRISP">
<gates>
<gate name="G$1" symbol="AVRISP"/>
</gates>
<devices>
<device name="SMD" package="2X03SMD">
<connects>
<connect gate="G$1" pin="GND" pad="6"/>
<connect gate="G$1" pin="MISO" pad="1"/>
<connect gate="G$1" pin="MOSI" pad="4"/>
<connect gate="G$1" pin="RST" pad="5"/>
<connect gate="G$1" pin="SCK" pad="3"/>
<connect gate="G$1" pin="VCC" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="" package="2X03">
<connects>
<connect gate="G$1" pin="GND" pad="6"/>
<connect gate="G$1" pin="MISO" pad="1"/>
<connect gate="G$1" pin="MOSI" pad="4"/>
<connect gate="G$1" pin="RST" pad="5"/>
<connect gate="G$1" pin="SCK" pad="3"/>
<connect gate="G$1" pin="VCC" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="PINHD-2X2-SMD">
<gates>
<gate name="G$1" symbol="PINH2X2"/>
</gates>
<devices>
<device name="" package="2X02SMD">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
<connect gate="G$1" pin="3" pad="3"/>
<connect gate="G$1" pin="4" pad="4"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="LEDRGBNEW" prefix="D">
<gates>
<gate name="G$1" symbol="LED-RGB"/>
</gates>
<devices>
<device name="" package="P-LCC-4">
<connects>
<connect gate="G$1" pin="A2" pad="A"/>
<connect gate="G$1" pin="CBLUE" pad="B"/>
<connect gate="G$1" pin="CGREEN" pad="G"/>
<connect gate="G$1" pin="CRED" pad="R"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="REGULATOR" prefix="IC" uservalue="yes">
<gates>
<gate name="G$1" symbol="REGULATOR"/>
</gates>
<devices>
<device name="SOT23" package="SOT23">
<connects>
<connect gate="G$1" pin="GND" pad="3"/>
<connect gate="G$1" pin="IN" pad="2"/>
<connect gate="G$1" pin="OUT" pad="1"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="supply2">
<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>
</symbols>
<devicesets>
<deviceset name="GND" prefix="SUPPLY">
<description>&lt;b&gt;SUPPLY SYMBOL&lt;/b&gt;</description>
<gates>
<gate name="GND" symbol="GND"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</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="VCC">
<pin name="VCC" direction="sup"/>
</symbol>
<symbol name="VDD">
<pin name="VDD" direction="sup"/>
</symbol>
</symbols>
<devicesets>
<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>
<deviceset name="VDD" prefix="VDD">
<description>&lt;b&gt;SUPPLY SYMBOL&lt;/b&gt;</description>
<gates>
<gate name="G$1" symbol="VDD"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="U$1" library="fab" deviceset="ATTINY45" device="SI"/>
<part name="R1" library="fab" deviceset="RES-US" device="1206FAB"/>
<part name="R2" library="fab" deviceset="RES-US" device="1206FAB"/>
<part name="C1" library="fab" deviceset="CAP-UNPOLARIZED" device="FAB"/>
<part name="U$3" library="fab" deviceset="AVRISP" device="SMD"/>
<part name="U$4" library="fab" deviceset="PINHD-2X2-SMD" device=""/>
<part name="R3" library="fab" deviceset="RES-US" device="1206FAB" value="1K"/>
<part name="SUPPLY1" library="supply2" deviceset="GND" device=""/>
<part name="P+1" library="supply1" deviceset="VCC" device=""/>
<part name="P+2" library="supply1" deviceset="VCC" device=""/>
<part name="P+3" library="supply1" deviceset="VCC" device=""/>
<part name="SUPPLY4" library="supply2" deviceset="GND" device=""/>
<part name="SUPPLY5" library="supply2" deviceset="GND" device=""/>
<part name="R5" library="fab" deviceset="RES-US" device="1206FAB"/>
<part name="D1" library="fab" deviceset="LEDRGBNEW" device=""/>
<part name="R4" library="fab" deviceset="RES-US" device="1206FAB" value="499"/>
<part name="R6" library="fab" deviceset="RES-US" device="1206FAB" value="1K"/>
<part name="IC1" library="fab" deviceset="REGULATOR" device="SOT23"/>
<part name="SUPPLY2" library="supply2" deviceset="GND" device=""/>
<part name="VDD1" library="supply1" deviceset="VDD" device=""/>
<part name="U$5" library="fab" deviceset="PINHD-2X2-SMD" device=""/>
<part name="SUPPLY3" library="supply2" deviceset="GND" device=""/>
<part name="R7" library="fab" deviceset="RES-US" device="1206FAB" value="0Ohm"/>
</parts>
<sheets>
<sheet>
<plain>
</plain>
<busses>
</busses>
<nets>
<net name="GND">
<segment>
<pinref part="SUPPLY1" gate="GND" pin="GND"/>
<pinref part="U$3" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="SUPPLY4" gate="GND" pin="GND"/>
<pinref part="C1" gate="&gt;NAME" pin="2"/>
</segment>
<segment>
<pinref part="SUPPLY5" gate="GND" pin="GND"/>
<pinref part="U$1" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="U$4" gate="G$1" pin="3"/>
<pinref part="R2" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="U$4" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="GND"/>
<pinref part="SUPPLY2" gate="GND" pin="GND"/>
</segment>
<segment>
<pinref part="U$5" gate="G$1" pin="1"/>
<pinref part="SUPPLY3" gate="GND" pin="GND"/>
</segment>
</net>
<net name="SCK">
<segment>
<pinref part="U$1" gate="G$1" pin="SCK/USCK/SCL/ADC1/T0/INT0/PCINT2/PB2"/>
</segment>
<segment>
<pinref part="R4" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="U$3" gate="G$1" pin="SCK"/>
</segment>
</net>
<net name="MISO">
<segment>
<pinref part="U$3" gate="G$1" pin="MISO"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="MISO/DO/AIN1/OC0B/OC1A/PCINT1/PB1"/>
</segment>
<segment>
<pinref part="R3" gate="G$1" pin="1"/>
</segment>
</net>
<net name="MOSI">
<segment>
<pinref part="U$3" gate="G$1" pin="MOSI"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="MOSI/DI/SDA/AIN0/OC0A/-OC1A/AREF/PCINT0/PB0"/>
</segment>
<segment>
<pinref part="R6" gate="G$1" pin="1"/>
</segment>
</net>
<net name="RST">
<segment>
<pinref part="U$1" gate="G$1" pin="PB5/PCINT5/-RESET/ADC0/DW"/>
<pinref part="R1" gate="G$1" pin="2"/>
<pinref part="R7" gate="G$1" pin="1"/>
</segment>
</net>
<net name="VCC">
<segment>
<pinref part="U$3" gate="G$1" pin="VCC"/>
<pinref part="P+1" gate="VCC" pin="VCC"/>
</segment>
<segment>
<pinref part="P+3" gate="VCC" pin="VCC"/>
<pinref part="C1" gate="&gt;NAME" pin="1"/>
<pinref part="U$1" gate="G$1" pin="VCC"/>
<pinref part="D1" gate="G$1" pin="A2"/>
<pinref part="IC1" gate="G$1" pin="OUT"/>
</segment>
<segment>
<pinref part="P+2" gate="VCC" pin="VCC"/>
<pinref part="R1" gate="G$1" pin="1"/>
<pinref part="R5" gate="G$1" pin="1"/>
</segment>
</net>
<net name="TX">
<segment>
<pinref part="U$4" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="PB4/PCINT4/XTAL2/CLKO/OC1B/ADC2"/>
</segment>
</net>
<net name="RX">
<segment>
<pinref part="U$4" gate="G$1" pin="4"/>
<pinref part="R2" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="PB3/PCINT3/XTAL1/CLKI/-OC1B/ADC3"/>
<pinref part="R5" gate="G$1" pin="2"/>
</segment>
</net>
<net name="N$1">
<segment>
<pinref part="D1" gate="G$1" pin="CRED"/>
<pinref part="R3" gate="G$1" pin="2"/>
</segment>
</net>
<net name="N$2">
<segment>
<pinref part="D1" gate="G$1" pin="CBLUE"/>
<pinref part="R4" gate="G$1" pin="2"/>
</segment>
</net>
<net name="N$3">
<segment>
<pinref part="D1" gate="G$1" pin="CGREEN"/>
<pinref part="R6" gate="G$1" pin="2"/>
</segment>
</net>
<net name="VDD">
<segment>
<pinref part="IC1" gate="G$1" pin="IN"/>
<pinref part="VDD1" gate="G$1" pin="VDD"/>
<pinref part="U$5" gate="G$1" pin="4"/>
<pinref part="U$5" gate="G$1" pin="3"/>
</segment>
</net>
<net name="RST2">
<segment>
<pinref part="R7" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U$3" gate="G$1" pin="RST"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
