<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.6.3">
<drawing>
<schematic>
<libraries>
<library name="fablibrary">
<packages>
<package name="SOIC8">
<description>&lt;B&gt;Wide Plastic Gull Wing Small Outline Package&lt;/B&gt;</description>
</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="2X02SMD">
</package>
<package name="2X03SMD">
</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>
</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="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="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="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="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>
</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="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="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="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="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>
</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>
</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>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="SLAVENODE01" library="fablibrary" deviceset="ATTINY45" device="SI"/>
<part name="D1" library="fablibrary" deviceset="LEDRGBNEW" device=""/>
<part name="I2CNODE" library="fablibrary" deviceset="PINHD-2X2-SMD" device=""/>
<part name="ISPNODE" library="fablibrary" deviceset="PINHD-2X3-SMD" device=""/>
<part name="R4" library="fablibrary" deviceset="RES-US" device="1206FAB" value="10k"/>
<part name="R5" library="fablibrary" deviceset="RES-US" device="1206FAB" value="1k"/>
<part name="R6" library="fablibrary" deviceset="RES-US" device="1206FAB" value="1k"/>
<part name="R7" library="fablibrary" deviceset="RES-US" device="1206FAB" value="10k"/>
<part name="C2" library="fablibrary" deviceset="CAP-UNPOLARIZED" device="FAB" value="1uF"/>
<part name="R8" library="fablibrary" deviceset="RES-US" device="1206FAB" value="499"/>
<part name="R9" library="fablibrary" deviceset="RES-US" device="1206FAB" value="10k"/>
<part name="P+1" library="supply1" deviceset="VCC" device=""/>
</parts>
<sheets>
<sheet>
<plain>
<text>I2C RGB Slave Schematic</text>
</plain>
<busses>
</busses>
<nets>
<net name="GND">
<segment>
<pinref part="ISPNODE" gate="A" pin="1"/>
</segment>
<segment>
<pinref part="C2" gate="&gt;NAME" pin="2"/>
</segment>
<segment>
<pinref part="SLAVENODE01" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="I2CNODE" gate="G$1" pin="3"/>
</segment>
</net>
<net name="RST">
<segment>
<pinref part="ISPNODE" gate="A" pin="2"/>
</segment>
<segment>
<pinref part="SLAVENODE01" gate="G$1" pin="PB5/PCINT5/-RESET/ADC0/DW"/>
</segment>
<segment>
<pinref part="R9" gate="G$1" pin="2"/>
</segment>
</net>
<net name="SDA">
<segment>
<pinref part="R4" gate="G$1" pin="2"/>
<pinref part="SLAVENODE01" gate="G$1" pin="MOSI/DI/SDA/AIN0/OC0A/-OC1A/AREF/PCINT0/PB0"/>
<pinref part="ISPNODE" gate="A" pin="3"/>
<pinref part="I2CNODE" gate="G$1" pin="2"/>
</segment>
</net>
<net name="VCC">
<segment>
<pinref part="R4" gate="G$1" pin="1"/>
<pinref part="P+1" gate="VCC" pin="VCC"/>
<pinref part="R7" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="ISPNODE" gate="A" pin="5"/>
</segment>
<segment>
<pinref part="SLAVENODE01" gate="G$1" pin="VCC"/>
</segment>
<segment>
<pinref part="D1" gate="G$1" pin="A2"/>
<pinref part="R9" gate="G$1" pin="1"/>
<pinref part="C2" gate="&gt;NAME" pin="1"/>
</segment>
<segment>
<pinref part="I2CNODE" gate="G$1" pin="1"/>
</segment>
</net>
<net name="MISO">
<segment>
<pinref part="ISPNODE" gate="A" pin="6"/>
</segment>
<segment>
<pinref part="SLAVENODE01" gate="G$1" pin="MISO/DO/AIN1/OC0B/OC1A/PCINT1/PB1"/>
</segment>
<segment>
<pinref part="R6" gate="G$1" pin="2"/>
</segment>
</net>
<net name="SCL">
<segment>
<pinref part="SLAVENODE01" gate="G$1" pin="SCK/USCK/SCL/ADC1/T0/INT0/PCINT2/PB2"/>
<pinref part="ISPNODE" gate="A" pin="4"/>
<pinref part="R7" gate="G$1" pin="2"/>
<pinref part="I2CNODE" gate="G$1" pin="4"/>
</segment>
</net>
<net name="RED">
<segment>
<pinref part="R5" gate="G$1" pin="2"/>
<pinref part="SLAVENODE01" gate="G$1" pin="PB3/PCINT3/XTAL1/CLKI/-OC1B/ADC3"/>
</segment>
</net>
<net name="N$1">
<segment>
<pinref part="D1" gate="G$1" pin="CRED"/>
<pinref part="R5" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$2">
<segment>
<pinref part="D1" gate="G$1" pin="CGREEN"/>
<pinref part="R6" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$6">
<segment>
<pinref part="D1" gate="G$1" pin="CBLUE"/>
<pinref part="R8" gate="G$1" pin="1"/>
</segment>
</net>
<net name="GREEN">
<segment>
<pinref part="R8" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="SLAVENODE01" gate="G$1" pin="PB4/PCINT4/XTAL2/CLKO/OC1B/ADC2"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
