<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.2">
  <drawing>
    <settings><setting alwaysvectorfont="no"/><setting verticaltext="up"/></settings>
    <grid distance="0.1" unitdist="mm" unit="mm" style="lines" multiple="1" display="yes" altdistance="0.05" altunitdist="mm" altunit="mm"/>
    <layers>
      <layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
      <layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="yes"/>
      <layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/>
      <layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/>
      <layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
      <layer number="25" name="tNames" color="7" fill="1" visible="yes" active="yes"/>
      <layer number="27" name="tValues" color="7" fill="1" visible="yes" active="yes"/>
      <layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/>
      <layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/>
      <layer number="39" name="tKeepout" color="4" fill="11" visible="yes" active="yes"/>
      <layer number="41" name="tRestrict" color="4" fill="10" visible="yes" active="yes"/>
      <layer number="51" name="tDocu" color="7" fill="1" visible="yes" active="yes"/>
      <layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/>
      <layer number="95" name="Names" color="7" fill="1" visible="yes" active="yes"/>
      <layer number="96" name="Values" color="7" fill="1" visible="yes" active="yes"/>
    </layers>
    <library>
      <packages>
        <package name="C14877_TQFP-32_7x7">
          <description>ATMEGA328P-AU — Clean-Room IPC-7351B / JEDEC MS-026-ABA</description>
          <smd name="1" x="-4.2" y="2.8" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="2" x="-4.2" y="2.0" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="3" x="-4.2" y="1.2" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="4" x="-4.2" y="0.4" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="5" x="-4.2" y="-0.4" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="6" x="-4.2" y="-1.2" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="7" x="-4.2" y="-2.0" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="8" x="-4.2" y="-2.8" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="9" x="-2.8" y="-4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="10" x="-2.0" y="-4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="11" x="-1.2" y="-4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="12" x="-0.4" y="-4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="13" x="0.4" y="-4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="14" x="1.2" y="-4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="15" x="2.0" y="-4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="16" x="2.8" y="-4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="17" x="4.2" y="-2.8" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="18" x="4.2" y="-2.0" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="19" x="4.2" y="-1.2" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="20" x="4.2" y="-0.4" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="21" x="4.2" y="0.4" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="22" x="4.2" y="1.2" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="23" x="4.2" y="2.0" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="24" x="4.2" y="2.8" dx="1.5" dy="0.5" layer="1" roundness="25"/>
          <smd name="25" x="2.8" y="4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="26" x="2.0" y="4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="27" x="1.2" y="4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="28" x="0.4" y="4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="29" x="-0.4" y="4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="30" x="-1.2" y="4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="31" x="-2.0" y="4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <smd name="32" x="-2.8" y="4.2" dx="0.5" dy="1.5" layer="1" roundness="25"/>
          <wire x1="-3.5" y1="3.5" x2="-3.27" y2="3.5" width="0.15" layer="21"/>
          <wire x1="3.27" y1="3.5" x2="3.5" y2="3.5" width="0.15" layer="21"/>
          <wire x1="3.5" y1="-3.5" x2="3.5" y2="-3.27" width="0.15" layer="21"/>
          <wire x1="3.5" y1="3.27" x2="3.5" y2="3.5" width="0.15" layer="21"/>
          <wire x1="-3.5" y1="-3.5" x2="-3.27" y2="-3.5" width="0.15" layer="21"/>
          <wire x1="3.27" y1="-3.5" x2="3.5" y2="-3.5" width="0.15" layer="21"/>
          <wire x1="-3.5" y1="-3.5" x2="-3.5" y2="-3.27" width="0.15" layer="21"/>
          <wire x1="-3.5" y1="3.27" x2="-3.5" y2="3.5" width="0.15" layer="21"/>
          <circle x="-5.4" y="2.8" radius="0.18" width="0" layer="21"/>
          <wire x1="-5.2" y1="-5.2" x2="5.2" y2="-5.2" width="0.05" layer="39"/>
          <wire x1="5.2" y1="-5.2" x2="5.2" y2="5.2" width="0.05" layer="39"/>
          <wire x1="5.2" y1="5.2" x2="-5.2" y2="5.2" width="0.05" layer="39"/>
          <wire x1="-5.2" y1="5.2" x2="-5.2" y2="-5.2" width="0.05" layer="39"/>
          <text x="-5.2" y="5.8" size="1.0" layer="25">&gt;NAME</text>
          <text x="-5.2" y="-6.8" size="1.0" layer="27">&gt;VALUE</text>
        </package>
      </packages>
      <symbols>
        <symbol name="ATMEGA328P-AU_SYM">
          <wire x1="-15.24" y1="-21.59" x2="15.24" y2="-21.59" width="0.254" layer="94"/>
          <wire x1="15.24" y1="-21.59" x2="15.24" y2="21.59" width="0.254" layer="94"/>
          <wire x1="15.24" y1="21.59" x2="-15.24" y2="21.59" width="0.254" layer="94"/>
          <wire x1="-15.24" y1="21.59" x2="-15.24" y2="-21.59" width="0.254" layer="94"/>
          <text x="-15.24" y="22.86" size="1.778" layer="95">&gt;NAME</text>
          <text x="-15.24" y="-24.13" size="1.778" layer="96">&gt;VALUE</text>
          <pin name="PD3" x="-20.32" y="19.05" length="middle" direction="io"/>
          <pin name="PD4" x="-20.32" y="16.51" length="middle" direction="io"/>
          <pin name="GND" x="-20.32" y="13.97" length="middle" direction="io"/>
          <pin name="VCC" x="-20.32" y="11.43" length="middle" direction="io"/>
          <pin name="GND_5" x="-20.32" y="8.89" length="middle" direction="io"/>
          <pin name="VCC_6" x="-20.32" y="6.35" length="middle" direction="io"/>
          <pin name="PB6" x="-20.32" y="3.81" length="middle" direction="io"/>
          <pin name="PB7" x="-20.32" y="1.27" length="middle" direction="io"/>
          <pin name="PD5" x="-20.32" y="-1.27" length="middle" direction="io"/>
          <pin name="PD6" x="-20.32" y="-3.81" length="middle" direction="io"/>
          <pin name="PD7" x="-20.32" y="-6.35" length="middle" direction="io"/>
          <pin name="PB0" x="-20.32" y="-8.89" length="middle" direction="io"/>
          <pin name="PB1" x="-20.32" y="-11.43" length="middle" direction="io"/>
          <pin name="PB2" x="-20.32" y="-13.97" length="middle" direction="io"/>
          <pin name="PB3" x="-20.32" y="-16.51" length="middle" direction="io"/>
          <pin name="PB4" x="-20.32" y="-19.05" length="middle" direction="io"/>
          <pin name="PB5" x="20.32" y="-19.05" length="middle" direction="io" rot="R180"/>
          <pin name="AVCC" x="20.32" y="-16.51" length="middle" direction="io" rot="R180"/>
          <pin name="ADC6" x="20.32" y="-13.97" length="middle" direction="io" rot="R180"/>
          <pin name="AREF" x="20.32" y="-11.43" length="middle" direction="io" rot="R180"/>
          <pin name="GND_21" x="20.32" y="-8.89" length="middle" direction="io" rot="R180"/>
          <pin name="ADC7" x="20.32" y="-6.35" length="middle" direction="io" rot="R180"/>
          <pin name="PC0" x="20.32" y="-3.81" length="middle" direction="io" rot="R180"/>
          <pin name="PC1" x="20.32" y="-1.27" length="middle" direction="io" rot="R180"/>
          <pin name="PC2" x="20.32" y="1.27" length="middle" direction="io" rot="R180"/>
          <pin name="PC3" x="20.32" y="3.81" length="middle" direction="io" rot="R180"/>
          <pin name="PC4" x="20.32" y="6.35" length="middle" direction="io" rot="R180"/>
          <pin name="PC5" x="20.32" y="8.89" length="middle" direction="io" rot="R180"/>
          <pin name="PC6/RESET" x="20.32" y="11.43" length="middle" direction="io" rot="R180"/>
          <pin name="PD0" x="20.32" y="13.97" length="middle" direction="io" rot="R180"/>
          <pin name="PD1" x="20.32" y="16.51" length="middle" direction="io" rot="R180"/>
          <pin name="PD2" x="20.32" y="19.05" length="middle" direction="io" rot="R180"/>
        </symbol>
      </symbols>
      <devicesets>
        <deviceset name="ATMEGA328P-AU" prefix="U">
          <gates>
            <gate name="G$1" symbol="ATMEGA328P-AU_SYM" x="0" y="0"/>
          </gates>
          <devices>
            <device name="" package="C14877_TQFP-32_7x7">
              <connects>
                <connect gate="G$1" pin="PD3" pad="1"/>
                <connect gate="G$1" pin="PD4" pad="2"/>
                <connect gate="G$1" pin="GND" pad="3"/>
                <connect gate="G$1" pin="VCC" pad="4"/>
                <connect gate="G$1" pin="GND_5" pad="5"/>
                <connect gate="G$1" pin="VCC_6" pad="6"/>
                <connect gate="G$1" pin="PB6" pad="7"/>
                <connect gate="G$1" pin="PB7" pad="8"/>
                <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="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="AVCC" pad="18"/>
                <connect gate="G$1" pin="ADC6" pad="19"/>
                <connect gate="G$1" pin="AREF" pad="20"/>
                <connect gate="G$1" pin="GND_21" pad="21"/>
                <connect gate="G$1" pin="ADC7" pad="22"/>
                <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"/>
              </connects>
            </device>
          </devices>
        </deviceset>
      </devicesets>
    </library>
  </drawing>
</eagle>
