<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.3.1">
<drawing>
<schematic>
<libraries>
<library name="MCU-ATMEGA328P-AU_TQFP32_">
<packages>
<package name="TQFP32-0.8-7X7MM">
<description>&lt;B&gt;Thin Plasic Quad Flat Package&lt;/B&gt; Grid 0.8 mm</description>
</package>
</packages>
<symbols>
<symbol name="ATMEGA168">
<pin name="PB5(SCK)"/>
<pin name="PB7(XTAL2/TOSC2)"/>
<pin name="PB6(XTAL1/TOSC1)"/>
<pin name="GND@1"/>
<pin name="GND@2"/>
<pin name="VCC@1"/>
<pin name="VCC@2"/>
<pin name="GND"/>
<pin name="AREF"/>
<pin name="AVCC"/>
<pin name="PB4(MISO)"/>
<pin name="PB3(MOSI/OC2)"/>
<pin name="PB2(SS/OC1B)"/>
<pin name="PB1(OC1A)"/>
<pin name="PB0(ICP)"/>
<pin name="PD7(AIN1)"/>
<pin name="PD6(AIN0)"/>
<pin name="PD5(T1)"/>
<pin name="PD4(XCK/T0)"/>
<pin name="PD3(INT1)"/>
<pin name="PD2(INT0)"/>
<pin name="PD1(TXD)"/>
<pin name="PD0(RXD)"/>
<pin name="ADC7"/>
<pin name="ADC6"/>
<pin name="PC5(ADC5/SCL)"/>
<pin name="PC4(ADC4/SDA)"/>
<pin name="PC3(ADC3)"/>
<pin name="PC2(ADC2)"/>
<pin name="PC1(ADC1)"/>
<pin name="PC0(ADC0)"/>
<pin name="PC6(/RESET)" function="dot"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="MCU-ATMEGA328P-AU(TQFP32)" prefix="U">
<description>310010049</description>
<gates>
<gate name="U" symbol="ATMEGA168"/>
</gates>
<devices>
<device name="" package="TQFP32-0.8-7X7MM">
<connects>
<connect gate="U" pin="ADC6" pad="19"/>
<connect gate="U" pin="ADC7" pad="22"/>
<connect gate="U" pin="AREF" pad="20"/>
<connect gate="U" pin="AVCC" pad="18"/>
<connect gate="U" pin="GND" pad="5"/>
<connect gate="U" pin="GND@1" pad="3"/>
<connect gate="U" pin="GND@2" pad="21"/>
<connect gate="U" pin="PB0(ICP)" pad="12"/>
<connect gate="U" pin="PB1(OC1A)" pad="13"/>
<connect gate="U" pin="PB2(SS/OC1B)" pad="14"/>
<connect gate="U" pin="PB3(MOSI/OC2)" pad="15"/>
<connect gate="U" pin="PB4(MISO)" pad="16"/>
<connect gate="U" pin="PB5(SCK)" pad="17"/>
<connect gate="U" pin="PB6(XTAL1/TOSC1)" pad="7"/>
<connect gate="U" pin="PB7(XTAL2/TOSC2)" pad="8"/>
<connect gate="U" pin="PC0(ADC0)" pad="23"/>
<connect gate="U" pin="PC1(ADC1)" pad="24"/>
<connect gate="U" pin="PC2(ADC2)" pad="25"/>
<connect gate="U" pin="PC3(ADC3)" pad="26"/>
<connect gate="U" pin="PC4(ADC4/SDA)" pad="27"/>
<connect gate="U" pin="PC5(ADC5/SCL)" pad="28"/>
<connect gate="U" pin="PC6(/RESET)" pad="29"/>
<connect gate="U" pin="PD0(RXD)" pad="30"/>
<connect gate="U" pin="PD1(TXD)" pad="31"/>
<connect gate="U" pin="PD2(INT0)" pad="32"/>
<connect gate="U" pin="PD3(INT1)" pad="1"/>
<connect gate="U" pin="PD4(XCK/T0)" pad="2"/>
<connect gate="U" pin="PD5(T1)" pad="9"/>
<connect gate="U" pin="PD6(AIN0)" pad="10"/>
<connect gate="U" pin="PD7(AIN1)" pad="11"/>
<connect gate="U" pin="VCC@1" pad="4"/>
<connect gate="U" pin="VCC@2" pad="6"/>
</connects>
<technologies>
<technology name="">
<attribute name="DESCRIPTION" value=" Microcontroller Mcu, 8 Bit, Atmega, 20mhz, Tqfp-32 "/>
<attribute name="DIGI-KEY_PART_NUMBER" value="ATMEGA328P-AU-ND"/>
<attribute name="DIGI-KEY_PURCHASE_URL" value="https://www.digikey.sg/product-detail/en/microchip-technology/ATMEGA328P-AU/ATMEGA328P-AU-ND/1832260?utm_source=snapeda&amp;utm_medium=aggregator&amp;utm_campaign=symbol"/>
<attribute name="MF" value="Microchip"/>
<attribute name="MP" value="ATMEGA328P-AU"/>
<attribute name="PACKAGE" value="TQFP-32 Microchip"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="fab">
<packages>
<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="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="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="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="EFOBM">
</package>
</packages>
<symbols>
<symbol name="R-US">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="LED">
<description>LED</description>
<pin name="C" direction="pas"/>
<pin name="A" 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="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="CERAMIC_RESONATOR">
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
<pin name="3" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<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="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="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="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="RESONATOR">
<gates>
<gate name="G$1" symbol="CERAMIC_RESONATOR"/>
</gates>
<devices>
<device name="" package="EFOBM">
<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"/>
</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="1X06">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X06/90">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X07">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X07/90">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X08">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X08/90">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="PINHD6">
<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="PINHD7">
<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"/>
<pin name="7" direction="pas" function="dot"/>
</symbol>
<symbol name="PINHD8">
<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"/>
<pin name="7" direction="pas" function="dot"/>
<pin name="8" direction="pas" function="dot"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="PINHD-1X6" prefix="JP" uservalue="yes">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
<gates>
<gate name="A" symbol="PINHD6"/>
</gates>
<devices>
<device name="" package="1X06">
<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>
<device name="/90" package="1X06/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"/>
<connect gate="A" pin="5" pad="5"/>
<connect gate="A" pin="6" pad="6"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="PINHD-1X7" prefix="JP" uservalue="yes">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
<gates>
<gate name="A" symbol="PINHD7"/>
</gates>
<devices>
<device name="" package="1X07">
<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"/>
<connect gate="A" pin="7" pad="7"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="/90" package="1X07/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"/>
<connect gate="A" pin="5" pad="5"/>
<connect gate="A" pin="6" pad="6"/>
<connect gate="A" pin="7" pad="7"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="PINHD-1X8" prefix="JP" uservalue="yes">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
<gates>
<gate name="A" symbol="PINHD8"/>
</gates>
<devices>
<device name="" package="1X08">
<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"/>
<connect gate="A" pin="7" pad="7"/>
<connect gate="A" pin="8" pad="8"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="/90" package="1X08/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"/>
<connect gate="A" pin="5" pad="5"/>
<connect gate="A" pin="6" pad="6"/>
<connect gate="A" pin="7" pad="7"/>
<connect gate="A" pin="8" pad="8"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="IC1" library="MCU-ATMEGA328P-AU_TQFP32_" deviceset="MCU-ATMEGA328P-AU(TQFP32)" device="" value="MCU-ATMEGA328P-AU"/>
<part name="SW1" library="fab" deviceset="6MM_SWITCH" device="6MM_SWITCH" value="SW1"/>
<part name="ISP" library="fab" deviceset="AVRISP" device="SMD" value="AVR ISP"/>
<part name="JP3" library="pinhead" deviceset="PINHD-1X6" device="" value="GPIO/Analog"/>
<part name="C1" library="fab" deviceset="CAP-UNPOLARIZED" device="FAB" value="10uF"/>
<part name="R1" library="fab" deviceset="RES-US" device="1206" value="10K"/>
<part name="C4" library="fab" deviceset="CAP-UNPOLARIZED" device="" value="0.1uF"/>
<part name="R2" library="fab" deviceset="RES-US" device="1206" value="1K"/>
<part name="LED" library="fab" deviceset="LED" device="FAB1206" value="RED"/>
<part name="RESONATOR" library="fab" deviceset="RESONATOR" device="" value="16Mhz"/>
<part name="JP2" library="pinhead" deviceset="PINHD-1X7" device="" value="I2C/Tx/Rx"/>
<part name="JP1" library="pinhead" deviceset="PINHD-1X8" device="" value="Power In/GPIO"/>
</parts>
<sheets>
<sheet>
<plain>
<text>Decoupling capacitors</text>
</plain>
<busses>
</busses>
<nets>
<net name="VCC">
<segment>
<pinref part="ISP" gate="G$1" pin="VCC"/>
</segment>
<segment>
<pinref part="IC1" gate="U" pin="VCC@1"/>
<pinref part="IC1" gate="U" pin="VCC@2"/>
</segment>
<segment>
<pinref part="IC1" gate="U" pin="AVCC"/>
</segment>
<segment>
<pinref part="C1" gate="&gt;NAME" pin="1"/>
<pinref part="C4" gate="&gt;NAME" pin="2"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="1"/>
</segment>
<segment>
<pinref part="R1" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="1"/>
</segment>
<segment>
<pinref part="JP1" gate="A" pin="2"/>
</segment>
<segment>
<pinref part="JP1" gate="A" pin="1"/>
</segment>
</net>
<net name="MOSI">
<segment>
<pinref part="ISP" gate="G$1" pin="MOSI"/>
</segment>
<segment>
<pinref part="IC1" gate="U" pin="PB3(MOSI/OC2)"/>
</segment>
</net>
<net name="GND">
<segment>
<pinref part="ISP" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="IC1" gate="U" pin="GND@1"/>
<pinref part="IC1" gate="U" pin="GND@2"/>
</segment>
<segment>
<pinref part="IC1" gate="U" pin="GND"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="2"/>
</segment>
<segment>
<pinref part="C1" gate="&gt;NAME" pin="2"/>
<pinref part="C4" gate="&gt;NAME" pin="1"/>
</segment>
<segment>
<pinref part="LED" gate="G$1" pin="C"/>
</segment>
<segment>
<pinref part="RESONATOR" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="SW1" gate="2" pin="S1"/>
<pinref part="SW1" gate="2" pin="S"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="2"/>
</segment>
<segment>
<pinref part="JP1" gate="A" pin="4"/>
</segment>
<segment>
<pinref part="JP1" gate="A" pin="3"/>
</segment>
</net>
<net name="MISO">
<segment>
<pinref part="ISP" gate="G$1" pin="MISO"/>
</segment>
<segment>
<pinref part="IC1" gate="U" pin="PB4(MISO)"/>
</segment>
</net>
<net name="SCK">
<segment>
<pinref part="ISP" gate="G$1" pin="SCK"/>
</segment>
<segment>
<pinref part="IC1" gate="U" pin="PB5(SCK)"/>
</segment>
</net>
<net name="RST">
<segment>
<pinref part="ISP" gate="G$1" pin="RST"/>
</segment>
<segment>
<pinref part="SW1" gate="2" pin="P"/>
<pinref part="SW1" gate="2" pin="P1"/>
<pinref part="R1" gate="G$1" pin="2"/>
<pinref part="IC1" gate="U" pin="PC6(/RESET)"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="5"/>
</segment>
</net>
<net name="PC5_SCL">
<segment>
<pinref part="IC1" gate="U" pin="PC5(ADC5/SCL)"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="4"/>
</segment>
</net>
<net name="PC4_SDA">
<segment>
<pinref part="IC1" gate="U" pin="PC4(ADC4/SDA)"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="3"/>
</segment>
</net>
<net name="PC3">
<segment>
<pinref part="IC1" gate="U" pin="PC3(ADC3)"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="3"/>
</segment>
</net>
<net name="PC1">
<segment>
<pinref part="IC1" gate="U" pin="PC1(ADC1)"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="5"/>
</segment>
</net>
<net name="LED2">
<segment>
<pinref part="R2" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="IC1" gate="U" pin="PD2(INT0)"/>
</segment>
</net>
<net name="N$2">
<segment>
<pinref part="R2" gate="G$1" pin="1"/>
<pinref part="LED" gate="G$1" pin="A"/>
</segment>
</net>
<net name="XTAL2">
<segment>
<pinref part="RESONATOR" gate="G$1" pin="3"/>
<pinref part="IC1" gate="U" pin="PB7(XTAL2/TOSC2)"/>
</segment>
</net>
<net name="XTAL1">
<segment>
<pinref part="IC1" gate="U" pin="PB6(XTAL1/TOSC1)"/>
<pinref part="RESONATOR" gate="G$1" pin="1"/>
</segment>
</net>
<net name="PC2">
<segment>
<pinref part="IC1" gate="U" pin="PC2(ADC2)"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="4"/>
</segment>
</net>
<net name="PD5">
<segment>
<pinref part="IC1" gate="U" pin="PD5(T1)"/>
</segment>
<segment>
<pinref part="JP1" gate="A" pin="5"/>
</segment>
</net>
<net name="PD6">
<segment>
<pinref part="IC1" gate="U" pin="PD6(AIN0)"/>
</segment>
<segment>
<pinref part="JP1" gate="A" pin="6"/>
</segment>
</net>
<net name="PD7">
<segment>
<pinref part="IC1" gate="U" pin="PD7(AIN1)"/>
</segment>
<segment>
<pinref part="JP1" gate="A" pin="7"/>
</segment>
</net>
<net name="PB0">
<segment>
<pinref part="IC1" gate="U" pin="PB0(ICP)"/>
</segment>
<segment>
<pinref part="JP1" gate="A" pin="8"/>
</segment>
</net>
<net name="PC0">
<segment>
<pinref part="IC1" gate="U" pin="PC0(ADC0)"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="6"/>
</segment>
</net>
<net name="RX">
<segment>
<pinref part="IC1" gate="U" pin="PD0(RXD)"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="6"/>
</segment>
</net>
<net name="TX">
<segment>
<pinref part="IC1" gate="U" pin="PD1(TXD)"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="7"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
