<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.4.0">
<drawing>
<board>
<plain>
<wire x1="0" y1="0" x2="49.2" y2="0" width="0" layer="20"/>
<wire x1="49.2" y1="0" x2="49.2" y2="80" width="0" layer="20"/>
<wire x1="49.2" y1="80" x2="0" y2="80" width="0" layer="20"/>
<wire x1="0" y1="80" x2="0" y2="0" width="0" layer="20"/>
</plain>
<libraries>
<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="1X08_LOCK">
</package>
<package name="1X15">
</package>
<package name="SCREWTERMINAL-3.5MM-2">
</package>
</packages>
</library>
<library name="teensy">
<packages>
<package name="TEENSY">
</package>
</packages>
</library>
<library name="SparkFun-Passives">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find resistors, capacitors, inductors, test points, jumper pads, etc.&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="AXIAL-0.4">
<description>1/4W Resistor, 0.4" wide&lt;p&gt;

Yageo CFR series &lt;a href="http://www.yageo.com/pdf/yageo/Leaded-R_CFR_2008.pdf"&gt;http://www.yageo.com/pdf/yageo/Leaded-R_CFR_2008.pdf&lt;/a&gt;</description>
</package>
</packages>
</library>
<library name="SparkFun-Electromechanical">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find anything that moves- switches, relays, buttons, potentiometers. Also, anything that goes on a board but isn't electrical in nature- screws, standoffs, etc.&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="STAND-OFF">
<description>&lt;b&gt;Stand Off&lt;/b&gt;&lt;p&gt;
This is the mechanical footprint for a #4 phillips button head screw. Use the keepout ring to avoid running the screw head into surrounding components. SKU : PRT-00447</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="HP_DRVR" library="SparkFun-Connectors" package="1X08_LOCK" value=""/>
<element name="L298N" library="SparkFun-Connectors" package="1X15" value=""/>
<element name="MCU" library="teensy" package="TEENSY" value="TEENSY"/>
<element name="R1" library="SparkFun-Passives" package="AXIAL-0.4" value="20k"/>
<element name="LIN_BTN" library="SparkFun-Connectors" package="SCREWTERMINAL-3.5MM-2" value="">
<attribute name="PROD_ID" value="CONN-08399"/>
</element>
<element name="ROT_BTN" library="SparkFun-Connectors" package="SCREWTERMINAL-3.5MM-2" value="">
<attribute name="PROD_ID" value="CONN-08399"/>
</element>
<element name="PIEZO" library="SparkFun-Connectors" package="SCREWTERMINAL-3.5MM-2" value="">
<attribute name="PROD_ID" value="CONN-08399"/>
</element>
<element name="SUPPLY" library="SparkFun-Connectors" package="SCREWTERMINAL-3.5MM-2" value="">
<attribute name="PROD_ID" value="CONN-08399"/>
</element>
<element name="ROT_L_LIMIT" library="SparkFun-Connectors" package="SCREWTERMINAL-3.5MM-2" value="">
<attribute name="PROD_ID" value="CONN-08399"/>
</element>
<element name="ROT_R_LIMIT" library="SparkFun-Connectors" package="SCREWTERMINAL-3.5MM-2" value="">
<attribute name="PROD_ID" value="CONN-08399"/>
</element>
<element name="R2" library="SparkFun-Passives" package="AXIAL-0.4" value="20k"/>
<element name="R3" library="SparkFun-Passives" package="AXIAL-0.4" value="20k"/>
<element name="R4" library="SparkFun-Passives" package="AXIAL-0.4" value="20k"/>
<element name="R5" library="SparkFun-Passives" package="AXIAL-0.4" value="20k"/>
<element name="ROT_MTR" library="SparkFun-Connectors" package="SCREWTERMINAL-3.5MM-2" value="">
<attribute name="PROD_ID" value="CONN-08399"/>
</element>
<element name="STANDOFF1" library="SparkFun-Electromechanical" package="STAND-OFF" value="STAND-OFF"/>
<element name="STANDOFF2" library="SparkFun-Electromechanical" package="STAND-OFF" value="STAND-OFF"/>
<element name="STANDOFF3" library="SparkFun-Electromechanical" package="STAND-OFF" value="STAND-OFF"/>
<element name="STANDOFF4" library="SparkFun-Electromechanical" package="STAND-OFF" value="STAND-OFF"/>
</elements>
<signals>
<signal name="OUT4">
<contactref element="L298N" pad="1"/>
</signal>
<signal name="IN4">
<contactref element="L298N" pad="2"/>
</signal>
<signal name="IN3">
<contactref element="L298N" pad="3"/>
</signal>
<signal name="OUT3">
<contactref element="L298N" pad="5"/>
</signal>
<signal name="ENB">
<contactref element="L298N" pad="6"/>
</signal>
<signal name="IN2">
<contactref element="L298N" pad="8"/>
<contactref element="MCU" pad="B1"/>
</signal>
<signal name="IN1">
<contactref element="L298N" pad="9"/>
<contactref element="MCU" pad="B0"/>
</signal>
<signal name="OUT2">
<contactref element="L298N" pad="10"/>
<contactref element="ROT_MTR" pad="2"/>
</signal>
<signal name="GND">
<contactref element="L298N" pad="12"/>
<contactref element="L298N" pad="11"/>
<contactref element="L298N" pad="4"/>
<contactref element="HP_DRVR" pad="8"/>
<contactref element="MCU" pad="GND"/>
<contactref element="SUPPLY" pad="1"/>
<contactref element="PIEZO" pad="1"/>
<contactref element="R2" pad="P$2"/>
<contactref element="R5" pad="P$2"/>
<contactref element="R4" pad="P$2"/>
<contactref element="R3" pad="P$2"/>
</signal>
<signal name="ENA">
<contactref element="L298N" pad="13"/>
<contactref element="MCU" pad="B7"/>
</signal>
<signal name="OUT1">
<contactref element="L298N" pad="15"/>
<contactref element="ROT_MTR" pad="1"/>
</signal>
<signal name="5VO">
<contactref element="HP_DRVR" pad="2"/>
</signal>
<signal name="FF2">
<contactref element="HP_DRVR" pad="3"/>
<contactref element="MCU" pad="C7"/>
</signal>
<signal name="FF1">
<contactref element="HP_DRVR" pad="4"/>
<contactref element="MCU" pad="C6"/>
</signal>
<signal name="RESET">
<contactref element="HP_DRVR" pad="5"/>
<contactref element="R1" pad="P$1"/>
</signal>
<signal name="DIR">
<contactref element="HP_DRVR" pad="7"/>
<contactref element="MCU" pad="B2"/>
</signal>
<signal name="VIN">
<contactref element="L298N" pad="14"/>
<contactref element="SUPPLY" pad="2"/>
</signal>
<signal name="VCC">
<contactref element="L298N" pad="7"/>
<contactref element="MCU" pad="+5V"/>
<contactref element="LIN_BTN" pad="2"/>
<contactref element="ROT_BTN" pad="2"/>
<contactref element="ROT_R_LIMIT" pad="2"/>
<contactref element="ROT_L_LIMIT" pad="2"/>
</signal>
<signal name="VPP">
<contactref element="HP_DRVR" pad="1"/>
<contactref element="R1" pad="P$2"/>
</signal>
<signal name="PWM">
<contactref element="HP_DRVR" pad="6"/>
<contactref element="MCU" pad="D0"/>
</signal>
<signal name="LIN_SIG">
<contactref element="MCU" pad="B3"/>
<contactref element="LIN_BTN" pad="1"/>
<contactref element="R2" pad="P$1"/>
</signal>
<signal name="ROT_SIG">
<contactref element="MCU" pad="D1"/>
<contactref element="ROT_BTN" pad="1"/>
<contactref element="R3" pad="P$1"/>
</signal>
<signal name="RR_LIM_SIG">
<contactref element="ROT_R_LIMIT" pad="1"/>
<contactref element="R4" pad="P$1"/>
<contactref element="MCU" pad="D7"/>
</signal>
<signal name="RL_LIM_SIG">
<contactref element="ROT_L_LIMIT" pad="1"/>
<contactref element="R5" pad="P$1"/>
<contactref element="MCU" pad="B4"/>
</signal>
<signal name="PZO">
<contactref element="PIEZO" pad="2"/>
<contactref element="MCU" pad="B5"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
