<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.2.2">
<drawing>
<schematic>
<libraries>
<library name="fab">
<packages>
<package name="SOIC14">
<description>&lt;b&gt;Small Outline Package&lt;/b&gt;</description>
</package>
<package name="DIL14">
<description>&lt;b&gt;Dual In Line Package&lt;/b&gt;</description>
</package>
<package name="QFN/MLF20">
<description>&lt;b&gt;HP-VFQFP-N20&lt;/b&gt; Micro Lead Frame package (MLF)</description>
</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="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="6MM_SWITCH">
<description>&lt;b&gt;OMRON SWITCH&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="SOD123">
<description>&lt;b&gt;SMALL OUTLINE DIODE&lt;/b&gt;</description>
</package>
<package name="SOT-23">
<description>&lt;b&gt;Small Outline Transistor&lt;/b&gt;</description>
</package>
<package name="TO252">
<description>&lt;b&gt;SMALL OUTLINE TRANSISTOR&lt;/b&gt;&lt;p&gt;
TS-003</description>
</package>
<package name="C1206">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;</description>
</package>
<package name="C1206K">
<description>&lt;b&gt;Ceramic Chip Capacitor KEMET 1206 reflow solder&lt;/b&gt;&lt;p&gt;
Metric Code Size 3216</description>
</package>
<package name="C1206FAB">
</package>
<package name="SOT23">
<description>&lt;b&gt;SOT 23&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="ATTINY24/44/84">
<pin name="GND" direction="pwr"/>
<pin name="VCC" direction="pwr"/>
<pin name="(PCINT7/ICP/OC0B/ADC7)PA7"/>
<pin name="(PCINT6/OC1A/SDA/MOSI/ADC6)PA6"/>
<pin name="(PCINT5/OC1B/MISO/DO/ADC5)PA5"/>
<pin name="(PCINT4/T1/SCL/USCK/ADC4)PA4"/>
<pin name="(PCINT3/T0/ADC3)PA3"/>
<pin name="(PCINT2/AIN1/ADC2)PA2"/>
<pin name="(PCINT1/AIN0/ADC1)PA1"/>
<pin name="(PCINT0/AREF/ADC0)PA0"/>
<pin name="(PCINT11/RESET/DW)PB3"/>
<pin name="(PCINT10/INT0/OC0A/CKOUT)PB2"/>
<pin name="(PCINT9/XTAL2)PB1"/>
<pin name="(PCINT8/XTAL1/CLKI)PB0"/>
</symbol>
<symbol name="LED">
<description>LED</description>
<pin name="C" direction="pas"/>
<pin name="A" direction="pas"/>
</symbol>
<symbol name="R-US">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="TS2">
<pin name="P" direction="pas"/>
<pin name="S" direction="pas"/>
<pin name="S1" direction="pas"/>
<pin name="P1" 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="D">
<pin name="A" direction="pas"/>
<pin name="C" direction="pas"/>
</symbol>
<symbol name="N_MOSFET">
<pin name="D" direction="pas"/>
<pin name="S" direction="pas"/>
<pin name="G" direction="pas"/>
</symbol>
<symbol name="C-US">
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
</symbol>
<symbol name="REGULATOR">
<pin name="IN"/>
<pin name="GND"/>
<pin name="OUT"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="ATTINY44" prefix="IC">
<gates>
<gate name="1" symbol="ATTINY24/44/84"/>
</gates>
<devices>
<device name="-SSU" package="SOIC14">
<connects>
<connect gate="1" pin="(PCINT0/AREF/ADC0)PA0" pad="13"/>
<connect gate="1" pin="(PCINT1/AIN0/ADC1)PA1" pad="12"/>
<connect gate="1" pin="(PCINT10/INT0/OC0A/CKOUT)PB2" pad="5"/>
<connect gate="1" pin="(PCINT11/RESET/DW)PB3" pad="4"/>
<connect gate="1" pin="(PCINT2/AIN1/ADC2)PA2" pad="11"/>
<connect gate="1" pin="(PCINT3/T0/ADC3)PA3" pad="10"/>
<connect gate="1" pin="(PCINT4/T1/SCL/USCK/ADC4)PA4" pad="9"/>
<connect gate="1" pin="(PCINT5/OC1B/MISO/DO/ADC5)PA5" pad="8"/>
<connect gate="1" pin="(PCINT6/OC1A/SDA/MOSI/ADC6)PA6" pad="7"/>
<connect gate="1" pin="(PCINT7/ICP/OC0B/ADC7)PA7" pad="6"/>
<connect gate="1" pin="(PCINT8/XTAL1/CLKI)PB0" pad="2"/>
<connect gate="1" pin="(PCINT9/XTAL2)PB1" pad="3"/>
<connect gate="1" pin="GND" pad="14"/>
<connect gate="1" pin="VCC" pad="1"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-PU" package="DIL14">
<connects>
<connect gate="1" pin="(PCINT0/AREF/ADC0)PA0" pad="13"/>
<connect gate="1" pin="(PCINT1/AIN0/ADC1)PA1" pad="12"/>
<connect gate="1" pin="(PCINT10/INT0/OC0A/CKOUT)PB2" pad="5"/>
<connect gate="1" pin="(PCINT11/RESET/DW)PB3" pad="4"/>
<connect gate="1" pin="(PCINT2/AIN1/ADC2)PA2" pad="11"/>
<connect gate="1" pin="(PCINT3/T0/ADC3)PA3" pad="10"/>
<connect gate="1" pin="(PCINT4/T1/SCL/USCK/ADC4)PA4" pad="9"/>
<connect gate="1" pin="(PCINT5/OC1B/MISO/DO/ADC5)PA5" pad="8"/>
<connect gate="1" pin="(PCINT6/OC1A/SDA/MOSI/ADC6)PA6" pad="7"/>
<connect gate="1" pin="(PCINT7/ICP/OC0B/ADC7)PA7" pad="6"/>
<connect gate="1" pin="(PCINT8/XTAL1/CLKI)PB0" pad="2"/>
<connect gate="1" pin="(PCINT9/XTAL2)PB1" pad="3"/>
<connect gate="1" pin="GND" pad="14"/>
<connect gate="1" pin="VCC" pad="1"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-MU" package="QFN/MLF20">
<connects>
<connect gate="1" pin="(PCINT0/AREF/ADC0)PA0" pad="5"/>
<connect gate="1" pin="(PCINT1/AIN0/ADC1)PA1" pad="4"/>
<connect gate="1" pin="(PCINT10/INT0/OC0A/CKOUT)PB2" pad="14"/>
<connect gate="1" pin="(PCINT11/RESET/DW)PB3" pad="13"/>
<connect gate="1" pin="(PCINT2/AIN1/ADC2)PA2" pad="3"/>
<connect gate="1" pin="(PCINT3/T0/ADC3)PA3" pad="2"/>
<connect gate="1" pin="(PCINT4/T1/SCL/USCK/ADC4)PA4" pad="1"/>
<connect gate="1" pin="(PCINT5/OC1B/MISO/DO/ADC5)PA5" pad="20"/>
<connect gate="1" pin="(PCINT6/OC1A/SDA/MOSI/ADC6)PA6" pad="16"/>
<connect gate="1" pin="(PCINT7/ICP/OC0B/ADC7)PA7" pad="15"/>
<connect gate="1" pin="(PCINT8/XTAL1/CLKI)PB0" pad="11"/>
<connect gate="1" pin="(PCINT9/XTAL2)PB1" pad="12"/>
<connect gate="1" pin="GND" pad="8"/>
<connect gate="1" pin="VCC" pad="9"/>
</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="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="6MM_SWITCH" prefix="S" uservalue="yes">
<description>&lt;b&gt;OMRON SWITCH&lt;/b&gt;</description>
<gates>
<gate name="2" symbol="TS2"/>
</gates>
<devices>
<device name="6MM_SWITCH" package="6MM_SWITCH">
<connects>
<connect gate="2" pin="P" pad="1"/>
<connect gate="2" pin="P1" pad="2"/>
<connect gate="2" pin="S" pad="3"/>
<connect gate="2" pin="S1" pad="4"/>
</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="DIODE" prefix="D" uservalue="yes">
<description>&lt;B&gt;DIODE&lt;/B&gt;&lt;p&gt;
high speed (Philips)</description>
<gates>
<gate name="G$1" symbol="D"/>
</gates>
<devices>
<device name="SOD123" package="SOD123">
<connects>
<connect gate="G$1" pin="A" pad="ANODE"/>
<connect gate="G$1" pin="C" pad="CATHODE"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="NMOSFET" prefix="T" uservalue="yes">
<description>&lt;b&gt;MOS FET&lt;/b&gt;</description>
<gates>
<gate name="A" symbol="N_MOSFET"/>
</gates>
<devices>
<device name="SOT23" package="SOT-23">
<connects>
<connect gate="A" pin="D" pad="1"/>
<connect gate="A" pin="G" pad="3"/>
<connect gate="A" pin="S" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="TO252" package="TO252">
<connects>
<connect gate="A" pin="D" pad="3"/>
<connect gate="A" pin="G" pad="1"/>
<connect gate="A" pin="S" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="CAP-US" prefix="C">
<gates>
<gate name="G$1" symbol="C-US"/>
</gates>
<devices>
<device name="1206" package="C1206">
<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="1206K" package="C1206K">
<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="C1206FAB">
<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="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>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="IC1" library="fab" deviceset="ATTINY44" device="-SSU"/>
<part name="U$2" library="fab" deviceset="LED" device="FAB1206"/>
<part name="R1" library="fab" deviceset="RES-US" device="1206FAB" value="470"/>
<part name="S1" library="fab" deviceset="6MM_SWITCH" device="6MM_SWITCH"/>
<part name="U$1" library="fab" deviceset="AVRISP" device="SMD"/>
<part name="U$3" library="fab" deviceset="AVRISP" device="SMD"/>
<part name="U$4" library="fab" deviceset="LED" device="FAB1206" value="MOTOR"/>
<part name="D1" library="fab" deviceset="DIODE" device="SOD123" value="diode"/>
<part name="T1" library="fab" deviceset="NMOSFET" device="SOT23"/>
<part name="R2" library="fab" deviceset="RES-US" device="1206FAB" value="10k"/>
<part name="C1" library="fab" deviceset="CAP-US" device="1206FAB" value="0.1uf"/>
<part name="C2" library="fab" deviceset="CAP-US" device="1206FAB" value="0.1uf"/>
<part name="C3" library="fab" deviceset="CAP-US" device="1206FAB" value="10uf"/>
<part name="C4" library="fab" deviceset="CAP-US" device="1206FAB" value="0.1"/>
<part name="C5" library="fab" deviceset="CAP-US" device="1206FAB" value="10uf"/>
<part name="C6" library="fab" deviceset="CAP-US" device="1206FAB" value="1uf"/>
<part name="IC2" library="fab" deviceset="REGULATOR" device="SOT23"/>
</parts>
<sheets>
<sheet>
<plain>
</plain>
<busses>
</busses>
<nets>
<net name="GND">
<segment>
<pinref part="U$1" gate="G$1" pin="SCK"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="MOSI"/>
</segment>
<segment>
<pinref part="R1" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U$3" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="T1" gate="A" pin="S"/>
</segment>
<segment>
<pinref part="S1" gate="2" pin="S1"/>
</segment>
<segment>
<pinref part="IC2" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C6" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="C5" gate="G$1" pin="2"/>
</segment>
</net>
<net name="TX">
<segment>
<pinref part="U$1" gate="G$1" pin="RST"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="(PCINT1/AIN0/ADC1)PA1"/>
</segment>
</net>
<net name="RX">
<segment>
<pinref part="U$1" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="(PCINT2/AIN1/ADC2)PA2"/>
</segment>
</net>
<net name="MOTOR">
<segment>
<pinref part="IC1" gate="1" pin="(PCINT8/XTAL1/CLKI)PB0"/>
</segment>
<segment>
<pinref part="R2" gate="G$1" pin="2"/>
</segment>
</net>
<net name="LED">
<segment>
<pinref part="IC1" gate="1" pin="(PCINT9/XTAL2)PB1"/>
</segment>
<segment>
<pinref part="U$2" gate="G$1" pin="C"/>
</segment>
</net>
<net name="N$3">
<segment>
<pinref part="U$2" gate="G$1" pin="A"/>
<pinref part="R1" gate="G$1" pin="1"/>
</segment>
</net>
<net name="BUTTON">
<segment>
<pinref part="S1" gate="2" pin="P"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="(PCINT10/INT0/OC0A/CKOUT)PB2"/>
</segment>
</net>
<net name="MISO">
<segment>
<pinref part="U$3" gate="G$1" pin="MISO"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="(PCINT5/OC1B/MISO/DO/ADC5)PA5"/>
</segment>
</net>
<net name="SCK">
<segment>
<pinref part="U$3" gate="G$1" pin="SCK"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="(PCINT4/T1/SCL/USCK/ADC4)PA4"/>
</segment>
</net>
<net name="RST">
<segment>
<pinref part="U$3" gate="G$1" pin="RST"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="(PCINT11/RESET/DW)PB3"/>
</segment>
</net>
<net name="MOSI">
<segment>
<pinref part="U$3" gate="G$1" pin="MOSI"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="(PCINT6/OC1A/SDA/MOSI/ADC6)PA6"/>
</segment>
</net>
<net name="N$1">
<segment>
<pinref part="T1" gate="A" pin="D"/>
<pinref part="U$4" gate="G$1" pin="A"/>
<pinref part="D1" gate="G$1" pin="A"/>
<pinref part="C1" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$2">
<segment>
<pinref part="IC1" gate="1" pin="(PCINT7/ICP/OC0B/ADC7)PA7"/>
</segment>
</net>
<net name="N$4">
<segment>
<pinref part="T1" gate="A" pin="G"/>
<pinref part="R2" gate="G$1" pin="1"/>
</segment>
</net>
<net name="12V">
<segment>
<pinref part="U$1" gate="G$1" pin="MISO"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="VCC"/>
</segment>
<segment>
<pinref part="U$4" gate="G$1" pin="C"/>
<pinref part="D1" gate="G$1" pin="C"/>
<pinref part="C1" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="IC2" gate="G$1" pin="IN"/>
</segment>
<segment>
<pinref part="C2" gate="G$1" pin="1"/>
</segment>
</net>
<net name="5V">
<segment>
<pinref part="U$3" gate="G$1" pin="VCC"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="VCC"/>
</segment>
<segment>
<pinref part="IC2" gate="G$1" pin="OUT"/>
</segment>
<segment>
<pinref part="C6" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$6">
<segment>
<pinref part="C2" gate="G$1" pin="2"/>
<pinref part="C3" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$7">
<segment>
<pinref part="C3" gate="G$1" pin="2"/>
<pinref part="C4" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$8">
<segment>
<pinref part="C4" gate="G$1" pin="2"/>
<pinref part="C5" gate="G$1" pin="1"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
