<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.7.0">
<drawing>
<schematic>
<libraries>
<library name="ATMEGA328P-AUR_SL044">
<packages>
<package name="QFP80P900X900X120-32N">
</package>
</packages>
<symbols>
<symbol name="ATMEGA328P-AUR_SL044">
<pin name="VCC" direction="pwr"/>
<pin name="GND" direction="pwr"/>
<pin name="PB0"/>
<pin name="PB1"/>
<pin name="PB2"/>
<pin name="PB3"/>
<pin name="PB4"/>
<pin name="PB5"/>
<pin name="PB6"/>
<pin name="PB7"/>
<pin name="PC0"/>
<pin name="PC1"/>
<pin name="PC2"/>
<pin name="PC3"/>
<pin name="PC4"/>
<pin name="PC5"/>
<pin name="PC6/!RESET"/>
<pin name="PD0"/>
<pin name="PD1"/>
<pin name="PD2"/>
<pin name="PD3"/>
<pin name="PD4"/>
<pin name="PD5"/>
<pin name="PD6"/>
<pin name="PD7"/>
<pin name="AREF" direction="in"/>
<pin name="AVCC" direction="pwr"/>
<pin name="ADC6"/>
<pin name="ADC7"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="ATMEGA328P-AUR_SL044" prefix="U">
<description>ATmega Series 20 MHz 32 KB Flash 2 KB SRAM 8-Bit Microcontroller - TQFP-32</description>
<gates>
<gate name="G$1" symbol="ATMEGA328P-AUR_SL044"/>
</gates>
<devices>
<device name="" package="QFP80P900X900X120-32N">
<connects>
<connect gate="G$1" pin="ADC6" pad="19"/>
<connect gate="G$1" pin="ADC7" pad="22"/>
<connect gate="G$1" pin="AREF" pad="20"/>
<connect gate="G$1" pin="AVCC" pad="18"/>
<connect gate="G$1" pin="GND" pad="3 5 21"/>
<connect gate="G$1" pin="PB0" pad="12"/>
<connect gate="G$1" pin="PB1" pad="13"/>
<connect gate="G$1" pin="PB2" pad="14"/>
<connect gate="G$1" pin="PB3" pad="15"/>
<connect gate="G$1" pin="PB4" pad="16"/>
<connect gate="G$1" pin="PB5" pad="17"/>
<connect gate="G$1" pin="PB6" pad="7"/>
<connect gate="G$1" pin="PB7" pad="8"/>
<connect gate="G$1" pin="PC0" pad="23"/>
<connect gate="G$1" pin="PC1" pad="24"/>
<connect gate="G$1" pin="PC2" pad="25"/>
<connect gate="G$1" pin="PC3" pad="26"/>
<connect gate="G$1" pin="PC4" pad="27"/>
<connect gate="G$1" pin="PC5" pad="28"/>
<connect gate="G$1" pin="PC6/!RESET" pad="29"/>
<connect gate="G$1" pin="PD0" pad="30"/>
<connect gate="G$1" pin="PD1" pad="31"/>
<connect gate="G$1" pin="PD2" pad="32"/>
<connect gate="G$1" pin="PD3" pad="1"/>
<connect gate="G$1" pin="PD4" pad="2"/>
<connect gate="G$1" pin="PD5" pad="9"/>
<connect gate="G$1" pin="PD6" pad="10"/>
<connect gate="G$1" pin="PD7" pad="11"/>
<connect gate="G$1" pin="VCC" pad="4 6"/>
</connects>
<technologies>
<technology name="">
<attribute name="AVAILABILITY" value="Unavailable"/>
<attribute name="DESCRIPTION" value=" MCU 8-Bit Atmega AVR RISC 32KB Flash 3.3V/5V 32-Pin TQFP T/R "/>
<attribute name="MF" value="Microchip"/>
<attribute name="MP" value="ATMEGA328P-AUR SL044"/>
<attribute name="PACKAGE" value="None"/>
<attribute name="PRICE" value="None"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="fab">
<packages>
<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="SOT23">
<description>&lt;b&gt;SOT 23&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>
</packages>
<symbols>
<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="REGULATOR">
<pin name="IN"/>
<pin name="GND"/>
<pin name="OUT"/>
</symbol>
<symbol name="R-US">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<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="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>
<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>
</devicesets>
</library>
<library name="pinhead">
<description>&lt;b&gt;Pin Header Connectors&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="1X04">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X04/90">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X02">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X02/90">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="PINHD4">
<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="PINHD2">
<pin name="1" direction="pas" function="dot"/>
<pin name="2" direction="pas" function="dot"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="PINHD-1X4" prefix="JP" uservalue="yes">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
<gates>
<gate name="A" symbol="PINHD4"/>
</gates>
<devices>
<device name="" package="1X04">
<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"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="/90" package="1X04/90">
<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"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="PINHD-1X2" prefix="JP" uservalue="yes">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
<gates>
<gate name="G$1" symbol="PINHD2"/>
</gates>
<devices>
<device name="" package="1X02">
<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="/90" package="1X02/90">
<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="jumper">
<description>&lt;b&gt;Jumpers&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="SJ">
<description>&lt;b&gt;Solder jumper&lt;/b&gt;</description>
</package>
<package name="SJW">
<description>&lt;b&gt;Solder jumper&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="SJ">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="SJ" prefix="SJ" uservalue="yes">
<description>SMD solder &lt;b&gt;JUMPER&lt;/b&gt;</description>
<gates>
<gate name="1" symbol="SJ"/>
</gates>
<devices>
<device name="" package="SJ">
<connects>
<connect gate="1" pin="1" pad="1"/>
<connect gate="1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="W" package="SJW">
<connects>
<connect gate="1" pin="1" pad="1"/>
<connect gate="1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="U1" library="ATMEGA328P-AUR_SL044" deviceset="ATMEGA328P-AUR_SL044" device=""/>
<part name="S4" library="fab" deviceset="6MM_SWITCH" device="6MM_SWITCH"/>
<part name="U$1" library="fab" deviceset="AVRISP" device=""/>
<part name="IC1" library="fab" deviceset="REGULATOR" device="SOT23"/>
<part name="BLUETOOTH" library="pinhead" deviceset="PINHD-1X4" device=""/>
<part name="R1" library="fab" deviceset="RES-US" device="1206FAB"/>
<part name="POWERIN" library="pinhead" deviceset="PINHD-1X2" device=""/>
<part name="S5" library="fab" deviceset="6MM_SWITCH" device="6MM_SWITCH"/>
<part name="R4" library="fab" deviceset="RES-US" device="1206FAB"/>
<part name="S6" library="fab" deviceset="6MM_SWITCH" device="6MM_SWITCH"/>
<part name="R5" library="fab" deviceset="RES-US" device="1206FAB"/>
<part name="S7" library="fab" deviceset="6MM_SWITCH" device="6MM_SWITCH"/>
<part name="R6" library="fab" deviceset="RES-US" device="1206FAB"/>
<part name="SJ1" library="jumper" deviceset="SJ" device="W"/>
<part name="SJ2" library="jumper" deviceset="SJ" device="W"/>
<part name="SJ3" library="jumper" deviceset="SJ" device="W"/>
<part name="SJ4" library="jumper" deviceset="SJ" device="W"/>
</parts>
<sheets>
<sheet>
<plain>
</plain>
<busses>
</busses>
<nets>
<net name="RST">
<segment>
<pinref part="U1" gate="G$1" pin="PC6/!RESET"/>
<pinref part="SJ4" gate="1" pin="2"/>
</segment>
<segment>
<pinref part="S4" gate="2" pin="S"/>
<pinref part="R1" gate="G$1" pin="2"/>
</segment>
</net>
<net name="N$2">
<segment>
<pinref part="S4" gate="2" pin="S1"/>
</segment>
</net>
<net name="N$1">
<segment>
<pinref part="S4" gate="2" pin="P"/>
</segment>
</net>
<net name="GND">
<segment>
<pinref part="S4" gate="2" pin="P1"/>
</segment>
<segment>
<pinref part="S5" gate="2" pin="P1"/>
</segment>
<segment>
<pinref part="S6" gate="2" pin="P1"/>
</segment>
<segment>
<pinref part="S7" gate="2" pin="P1"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="U1" gate="G$1" pin="GND"/>
<pinref part="SJ3" gate="1" pin="1"/>
</segment>
<segment>
<pinref part="POWERIN" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="BLUETOOTH" gate="A" pin="3"/>
</segment>
</net>
<net name="VCC">
<segment>
<pinref part="R1" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="R4" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="R5" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="R6" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="OUT"/>
</segment>
<segment>
<pinref part="U1" gate="G$1" pin="VCC"/>
</segment>
<segment>
<pinref part="BLUETOOTH" gate="A" pin="4"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="VCC"/>
</segment>
</net>
<net name="N$4">
<segment>
<pinref part="S5" gate="2" pin="S1"/>
</segment>
</net>
<net name="N$5">
<segment>
<pinref part="S5" gate="2" pin="P"/>
</segment>
</net>
<net name="N$6">
<segment>
<pinref part="S6" gate="2" pin="S1"/>
</segment>
</net>
<net name="N$7">
<segment>
<pinref part="S6" gate="2" pin="P"/>
</segment>
</net>
<net name="N$8">
<segment>
<pinref part="S7" gate="2" pin="S1"/>
</segment>
</net>
<net name="N$9">
<segment>
<pinref part="S7" gate="2" pin="P"/>
</segment>
</net>
<net name="PB0">
<segment>
<pinref part="S5" gate="2" pin="S"/>
<pinref part="R4" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U1" gate="G$1" pin="PB0"/>
</segment>
</net>
<net name="PB1">
<segment>
<pinref part="S6" gate="2" pin="S"/>
<pinref part="R5" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U1" gate="G$1" pin="PB1"/>
</segment>
</net>
<net name="PB2">
<segment>
<pinref part="S7" gate="2" pin="S"/>
<pinref part="R6" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U1" gate="G$1" pin="PB2"/>
</segment>
</net>
<net name="VIN">
<segment>
<pinref part="POWERIN" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="IN"/>
</segment>
</net>
<net name="N$10">
<segment>
<pinref part="U1" gate="G$1" pin="AVCC"/>
</segment>
</net>
<net name="RX">
<segment>
<pinref part="U1" gate="G$1" pin="PD0"/>
</segment>
<segment>
<pinref part="BLUETOOTH" gate="A" pin="1"/>
</segment>
</net>
<net name="TX">
<segment>
<pinref part="U1" gate="G$1" pin="PD1"/>
</segment>
<segment>
<pinref part="BLUETOOTH" gate="A" pin="2"/>
</segment>
</net>
<net name="MOSI">
<segment>
<pinref part="U$1" gate="G$1" pin="MOSI"/>
</segment>
<segment>
<pinref part="U1" gate="G$1" pin="PB3"/>
</segment>
</net>
<net name="SCK">
<segment>
<pinref part="U$1" gate="G$1" pin="SCK"/>
</segment>
<segment>
<pinref part="U1" gate="G$1" pin="PB5"/>
</segment>
</net>
<net name="MISO">
<segment>
<pinref part="U1" gate="G$1" pin="PB4"/>
<pinref part="SJ1" gate="1" pin="2"/>
</segment>
</net>
<net name="N$3">
<segment>
<pinref part="SJ1" gate="1" pin="1"/>
<pinref part="SJ2" gate="1" pin="2"/>
</segment>
</net>
<net name="MISO1">
<segment>
<pinref part="U$1" gate="G$1" pin="MISO"/>
</segment>
<segment>
<pinref part="SJ2" gate="1" pin="1"/>
</segment>
</net>
<net name="GND1">
<segment>
<pinref part="U$1" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="SJ3" gate="1" pin="2"/>
</segment>
</net>
<net name="RST1">
<segment>
<pinref part="U$1" gate="G$1" pin="RST"/>
</segment>
<segment>
<pinref part="SJ4" gate="1" pin="1"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
