<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.3.1">
<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="2X03SMD">
</package>
<package name="2X03">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="P-LCC-4-3">
<description>&lt;b&gt;Hyper TOPLED® &lt;/b&gt;&lt;p&gt;
Source: http://www.osram.convergy.de/</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="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="LED-RGB">
<pin name="CGREEN" direction="pas"/>
<pin name="CBLUE" direction="pas"/>
<pin name="CRED" direction="pas"/>
<pin name="A2" direction="pas"/>
</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="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="LEDRGBOLD" prefix="LED" uservalue="yes">
<description>&lt;b&gt;OSRAM&lt;/b&gt;&lt;p&gt;
&lt;u&gt;Hyper Multi TOPLED® Hyper-Bright LED&lt;/u&gt;&lt;br&gt;
LATB T686&lt;br&gt;

&lt;p&gt;
Source: http://www.osram.convergy.de/</description>
<gates>
<gate name="G$1" symbol="LED-RGB"/>
</gates>
<devices>
<device name="" package="P-LCC-4-3">
<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>
</devicesets>
</library>
<library name="varistor">
<description>&lt;b&gt;Varistors/Thermistors&lt;/b&gt;&lt;p&gt;
Block, Siemens and generic&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="RS-2,5">
<description>&lt;b&gt;VARISTOR&lt;/b&gt;</description>
</package>
<package name="R-5">
<description>&lt;b&gt;VARISTOR&lt;/b&gt;</description>
</package>
<package name="R-7,5">
<description>&lt;b&gt;VARISTOR&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="THERMIST">
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="THERMISTOR" prefix="R">
<description>&lt;b&gt;THERMISTOR&lt;/b&gt;</description>
<gates>
<gate name="G$1" symbol="THERMIST"/>
</gates>
<devices>
<device name="-2,5" package="RS-2,5">
<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="-5" package="R-5">
<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="-7,5" package="R-7,5">
<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>
</devicesets>
</library>
<library name="SparkFun-Resistors">
<description>&lt;h3&gt;SparkFun Resistors&lt;/h3&gt;
This library contains resistors. Reference designator:R. 
&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="0603">
<description>&lt;p&gt;&lt;b&gt;Generic 1608 (0603) package&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;0.2mm courtyard excess rounded to nearest 0.05mm.&lt;/p&gt;</description>
</package>
</packages>
<symbols>
<symbol name="RESISTOR">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="1.5KOHM" prefix="R">
<description>&lt;h3&gt;1.5kΩ resistor&lt;/h3&gt;
&lt;p&gt;A resistor is a passive two-terminal electrical component that implements electrical resistance as a circuit element. Resistors act to reduce current flow, and, at the same time, act to lower voltage levels within circuits. - Wikipedia&lt;/p&gt;</description>
<gates>
<gate name="G$1" symbol="RESISTOR"/>
</gates>
<devices>
<device name="-0603-1/10W-1%" package="0603">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="PROD_ID" value="RES-08306"/>
<attribute name="VALUE" value="1.5k"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="SparkFun-Capacitors">
<description>&lt;h3&gt;SparkFun Capacitors&lt;/h3&gt;
This library contains capacitors. 
&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="0402">
<description>&lt;p&gt;&lt;b&gt;Generic 1005 (0402) package&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;0.2mm courtyard excess rounded to nearest 0.05mm.&lt;/p&gt;</description>
</package>
<package name="0603">
<description>&lt;p&gt;&lt;b&gt;Generic 1608 (0603) package&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;0.2mm courtyard excess rounded to nearest 0.05mm.&lt;/p&gt;</description>
</package>
<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>
<symbols>
<symbol name="CAP">
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="0.1UF" prefix="C">
<description>&lt;h3&gt;0.1µF ceramic capacitors&lt;/h3&gt;
&lt;p&gt;A capacitor is a passive two-terminal electrical component used to store electrical energy temporarily in an electric field.&lt;/p&gt;</description>
<gates>
<gate name="G$1" symbol="CAP"/>
</gates>
<devices>
<device name="-0402-16V-10%" package="0402">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="PROD_ID" value="CAP-12416"/>
<attribute name="VALUE" value="0.1uF"/>
</technology>
</technologies>
</device>
<device name="-0603-25V-(+80/-20%)" package="0603">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="PROD_ID" value="CAP-00810"/>
<attribute name="VALUE" value="0.1uF"/>
</technology>
</technologies>
</device>
<device name="-0603-25V-5%" package="0603">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="PROD_ID" value="CAP-08604"/>
<attribute name="VALUE" value="0.1uF"/>
</technology>
</technologies>
</device>
<device name="-KIT-EZ-50V-20%" package="CAP-PTH-SMALL-KIT">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="PROD_ID" value="CAP-08370"/>
<attribute name="VALUE" value="0.1uF"/>
</technology>
</technologies>
</device>
<device name="-0603-100V-10%" package="0603">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="PROD_ID" value="CAP-08390"/>
<attribute name="VALUE" value="0.1uF"/>
</technology>
</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="varistor" deviceset="THERMISTOR" device="-5"/>
<part name="U$2" library="fab" deviceset="AVRISP" device="SMD"/>
<part name="R2" library="SparkFun-Resistors" deviceset="1.5KOHM" device="-0603-1/10W-1%" value="1.5k"/>
<part name="R3" library="SparkFun-Resistors" deviceset="1.5KOHM" device="-0603-1/10W-1%" value="1.5k"/>
<part name="R4" library="SparkFun-Resistors" deviceset="1.5KOHM" device="-0603-1/10W-1%" value="900"/>
<part name="R5" library="SparkFun-Resistors" deviceset="1.5KOHM" device="-0603-1/10W-1%" value="600"/>
<part name="R6" library="SparkFun-Resistors" deviceset="1.5KOHM" device="-0603-1/10W-1%" value="1.5k"/>
<part name="U$3" library="fab" deviceset="LEDRGBOLD" device=""/>
<part name="C1" library="SparkFun-Capacitors" deviceset="0.1UF" device="-0603-25V-(+80/-20%)" value="0.1uF"/>
</parts>
<sheets>
<sheet>
<plain>
</plain>
<busses>
</busses>
<nets>
<net name="TEMP">
<segment>
<pinref part="R2" gate="G$1" pin="1"/>
<pinref part="R1" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="PB3/PCINT3/XTAL1/CLKI/-OC1B/ADC3"/>
</segment>
</net>
<net name="RED">
<segment>
<pinref part="R6" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="PB4/PCINT4/XTAL2/CLKO/OC1B/ADC2"/>
</segment>
</net>
<net name="GREEN">
<segment>
<pinref part="R4" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="MOSI/DI/SDA/AIN0/OC0A/-OC1A/AREF/PCINT0/PB0"/>
<pinref part="U$2" gate="G$1" pin="MOSI"/>
</segment>
</net>
<net name="MISO">
<segment>
<pinref part="U$1" gate="G$1" pin="MISO/DO/AIN1/OC0B/OC1A/PCINT1/PB1"/>
<pinref part="U$2" gate="G$1" pin="MISO"/>
</segment>
</net>
<net name="RST">
<segment>
<pinref part="U$2" gate="G$1" pin="RST"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="PB5/PCINT5/-RESET/ADC0/DW"/>
<pinref part="R3" gate="G$1" pin="1"/>
</segment>
</net>
<net name="GND">
<segment>
<pinref part="U$2" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="R1" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="C1" gate="G$1" pin="1"/>
</segment>
</net>
<net name="VCC">
<segment>
<pinref part="R3" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="R2" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="VCC"/>
</segment>
<segment>
<pinref part="C1" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U$2" gate="G$1" pin="VCC"/>
</segment>
<segment>
<pinref part="U$3" gate="G$1" pin="A2"/>
</segment>
</net>
<net name="N$1">
<segment>
<pinref part="R4" gate="G$1" pin="1"/>
<pinref part="U$3" gate="G$1" pin="CGREEN"/>
</segment>
</net>
<net name="N$2">
<segment>
<pinref part="R5" gate="G$1" pin="1"/>
<pinref part="U$3" gate="G$1" pin="CBLUE"/>
</segment>
</net>
<net name="N$3">
<segment>
<pinref part="R6" gate="G$1" pin="1"/>
<pinref part="U$3" gate="G$1" pin="CRED"/>
</segment>
</net>
<net name="BLUE">
<segment>
<pinref part="R5" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="SCK/USCK/SCL/ADC1/T0/INT0/PCINT2/PB2"/>
<pinref part="U$2" gate="G$1" pin="SCK"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
