<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.6.0">
<drawing>
<board>
<plain>
<wire x1="-5.08" y1="13.97" x2="20.29" y2="13.97" width="0.4064" layer="20"/>
<wire x1="20.29" y1="13.97" x2="20.29" y2="60.93" width="0.4064" layer="20"/>
<wire x1="20.29" y1="60.93" x2="-5.08" y2="60.93" width="0.4064" layer="20"/>
<wire x1="-5.08" y1="60.93" x2="-5.08" y2="13.97" width="0.4064" layer="20"/>
<text>GND</text>
<text>+5V</text>
<text>MS_CLK</text>
<text>MS_DAT</text>
<text>KB_CLK</text>
<text>KB_DAT</text>
<text>GND</text>
<text>+5V</text>
<text>MS_CLK</text>
<text>MS_DAT</text>
<text>KB_CLK</text>
<text>KB_DAT</text>
<text>PS2_MALE</text>
<text>PS2_FEMALE</text>
<text>SELECT</text>
<text>START</text>
<text>UP</text>
<text>A</text>
<text>B</text>
<text>DOWN</text>
<text>LEFT</text>
<text>GND</text>
<text>RIGHT</text>
<text>C</text>
<text>D</text>
</plain>
<libraries>
<library name="GeekAmmo">
<description>&lt;h3&gt;GeekAmmo  Library&lt;/h3&gt;

These are parts used by the GeekAmmo company (now part of SparkFun Electronics)!

 If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt;Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/
&lt;br&gt;&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="TAC-SWITCH-PTH">
</package>
</packages>
</library>
<library name="SparkFun-Connectors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find connectors and sockets- basically anything that can be plugged into or onto.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="DB9_MALE">
<description>&lt;b&gt;SUB-D&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="adafruit">
<packages>
<package name="DIL28-3-ROUND">
</package>
<package name="AVRISP">
</package>
</packages>
</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>
</packages>
</library>
<library name="transistor-small-signal">
<description>&lt;b&gt;Small Signal Transistors&lt;/b&gt;&lt;p&gt;
Packages from :&lt;br&gt;
www.infineon.com; &lt;br&gt;
www.semiconductors.com;&lt;br&gt;
www.irf.com&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="SOT54E">
<description>&lt;b&gt;SOT-54&lt;/b&gt;&lt;p&gt;
grid 2.54 mm</description>
</package>
</packages>
</library>
<library name="diode">
<description>&lt;b&gt;Diodes&lt;/b&gt;&lt;p&gt;
Based on the following sources:
&lt;ul&gt;
&lt;li&gt;Motorola : www.onsemi.com
&lt;li&gt;Fairchild : www.fairchildsemi.com
&lt;li&gt;Philips : www.semiconductors.com
&lt;li&gt;Vishay : www.vishay.de
&lt;/ul&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="DO41-10">
<description>&lt;B&gt;DIODE&lt;/B&gt;&lt;p&gt;
diameter 2.54 mm, horizontal, grid 10.16 mm</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="_" library="GeekAmmo" package="TAC-SWITCH-PTH" value="TACTILE-SWITCH-PTH"/>
<element name="DB9" library="SparkFun-Connectors" package="DB9_MALE" value="">
<attribute name="PROD_ID" value="CONN-09904"/>
</element>
<element name="IC1" library="adafruit" package="DIL28-3-ROUND" value="ATMEGA168PROUND"/>
<element name="1" library="pinhead" package="1X06" value=""/>
<element name="2" library="pinhead" package="1X06" value=""/>
<element name="ICSP" library="adafruit" package="AVRISP" value="AVRISP-6"/>
<element name="Q1" library="transistor-small-signal" package="SOT54E" value="BS170"/>
<element name="D1" library="diode" package="DO41-10" value="1N4004"/>
</elements>
<signals>
<signal name="GND">
<contactref element="_" pad="1"/>
<contactref element="_" pad="2"/>
<contactref element="DB9" pad="8"/>
<contactref element="IC1" pad="8"/>
<contactref element="2" pad="6"/>
<contactref element="1" pad="6"/>
<contactref element="ICSP" pad="6"/>
</signal>
<signal name="D2">
<contactref element="DB9" pad="3"/>
<contactref element="IC1" pad="4"/>
</signal>
<signal name="D3">
<contactref element="DB9" pad="4"/>
<contactref element="IC1" pad="5"/>
</signal>
<signal name="D4">
<contactref element="DB9" pad="6"/>
<contactref element="IC1" pad="6"/>
</signal>
<signal name="D5">
<contactref element="DB9" pad="9"/>
<contactref element="IC1" pad="11"/>
</signal>
<signal name="D11">
<contactref element="IC1" pad="17"/>
<contactref element="ICSP" pad="4"/>
</signal>
<signal name="D12">
<contactref element="_" pad="4"/>
<contactref element="_" pad="3"/>
<contactref element="IC1" pad="18"/>
<contactref element="ICSP" pad="1"/>
</signal>
<signal name="+5V">
<contactref element="DB9" pad="5"/>
<contactref element="IC1" pad="7"/>
<contactref element="2" pad="5"/>
<contactref element="1" pad="5"/>
<contactref element="ICSP" pad="2"/>
</signal>
<signal name="A5">
<contactref element="DB9" pad="2"/>
<contactref element="IC1" pad="28"/>
</signal>
<signal name="A4">
<contactref element="DB9" pad="1"/>
<contactref element="IC1" pad="27"/>
</signal>
<signal name="MS_CLK">
<contactref element="2" pad="4"/>
<contactref element="1" pad="4"/>
</signal>
<signal name="MS_DATA">
<contactref element="2" pad="3"/>
<contactref element="1" pad="3"/>
</signal>
<signal name="KB_CLK">
<contactref element="IC1" pad="25"/>
<contactref element="1" pad="2"/>
<contactref element="2" pad="2"/>
</signal>
<signal name="KB_DATA">
<contactref element="IC1" pad="26"/>
<contactref element="2" pad="1"/>
<contactref element="D1" pad="A"/>
<contactref element="Q1" pad="S"/>
</signal>
<signal name="A0">
<contactref element="DB9" pad="7"/>
<contactref element="IC1" pad="23"/>
</signal>
<signal name="D13">
<contactref element="IC1" pad="19"/>
<contactref element="ICSP" pad="3"/>
<contactref element="Q1" pad="G"/>
</signal>
<signal name="RST">
<contactref element="ICSP" pad="5"/>
<contactref element="IC1" pad="1"/>
</signal>
<signal name="KB_DATA'">
<contactref element="1" pad="1"/>
<contactref element="D1" pad="C"/>
<contactref element="Q1" pad="D"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
