From c0cc5b9b072262c7e247ae76993884b594999f7d Mon Sep 17 00:00:00 2001 From: John Hodge <tpg@mutabah.net> Date: Mon, 15 Nov 2021 18:44:17 +0800 Subject: [PATCH] Misc --- EagleProject/driverv2.brd | 716 ++++++++++++++++++-------- EagleProject/driverv2.sch | 859 ++++++++++++++++++++------------ EagleProject/eagle.epf | 3 +- EncoderResistorNetworkSizing.py | 58 +++ 4 files changed, 1094 insertions(+), 542 deletions(-) create mode 100644 EncoderResistorNetworkSizing.py diff --git a/EagleProject/driverv2.brd b/EagleProject/driverv2.brd index c372338..a17a66e 100644 --- a/EagleProject/driverv2.brd +++ b/EagleProject/driverv2.brd @@ -172,12 +172,12 @@ </layers> <board> <plain> -<wire x1="2.54" y1="25.908" x2="58.09" y2="25.908" width="0" layer="20"/> -<wire x1="58.09" y1="25.908" x2="58.09" y2="85.08" width="0" layer="20"/> -<wire x1="58.09" y1="85.08" x2="2.54" y2="85.08" width="0" layer="20"/> -<wire x1="2.54" y1="85.08" x2="2.54" y2="25.908" width="0" layer="20"/> -<dimension x1="58.166" y1="85.09" x2="58.09" y2="25.908" x3="77.21385" y3="55.474490625" textsize="1.778" layer="20"/> -<dimension x1="2.54" y1="26.416" x2="58.09" y2="25.908" x3="30.2635875" y3="20.540321875" textsize="1.778" layer="20"/> +<wire x1="-0.762" y1="25.908" x2="61.392" y2="25.908" width="0" layer="20"/> +<wire x1="61.392" y1="25.908" x2="61.392" y2="85.08" width="0" layer="20"/> +<wire x1="61.392" y1="85.08" x2="-0.762" y2="85.08" width="0" layer="20"/> +<wire x1="-0.762" y1="85.08" x2="-0.762" y2="25.908" width="0" layer="20"/> +<text x="36.322" y="49.276" size="1.778" layer="25">[TPG]</text> +<text x="2.794" y="47.498" size="1.778" layer="25" rot="R90">ForceFeedback v1</text> </plain> <libraries> <library name="resistor"> @@ -2523,50 +2523,6 @@ No holes, no ICSP connections. </package> </packages> </library> -<library name="con-jack"> -<description><b>Jacks</b><p> -Power Connectors<br> -Phone Connectors<br> -Cinch Connectors<br> -<author>Created by librarian@cadsoft.de</author></description> -<packages> -<package name="DCJ0202"> -<description><b>DC POWER JACK</b><p> -Source: DCJ0202.pdf</description> -<wire x1="1.65" y1="2.6" x2="-1.65" y2="2.6" width="0" layer="46"/> -<wire x1="-1.65" y1="2.6" x2="-1.65" y2="3.6" width="0" layer="46"/> -<wire x1="-1.65" y1="3.6" x2="1.65" y2="3.6" width="0" layer="46"/> -<wire x1="1.65" y1="3.6" x2="1.65" y2="2.6" width="0" layer="46"/> -<wire x1="5.3" y1="1.4" x2="4.3" y2="1.4" width="0" layer="46"/> -<wire x1="4.3" y1="1.4" x2="4.3" y2="-1.4" width="0" layer="46"/> -<wire x1="4.3" y1="-1.4" x2="5.3" y2="-1.4" width="0" layer="46"/> -<wire x1="5.3" y1="-1.4" x2="5.3" y2="1.4" width="0" layer="46"/> -<wire x1="1.4" y1="-3.5" x2="-1.4" y2="-3.5" width="0" layer="46"/> -<wire x1="-1.4" y1="-3.5" x2="-1.4" y2="-2.5" width="0" layer="46"/> -<wire x1="-1.4" y1="-2.5" x2="1.4" y2="-2.5" width="0" layer="46"/> -<wire x1="1.4" y1="-2.5" x2="1.4" y2="-3.5" width="0" layer="46"/> -<wire x1="-4.3" y1="-10.4" x2="4.3" y2="-10.4" width="0.2032" layer="21"/> -<wire x1="4.3" y1="-10.4" x2="4.3" y2="3.9" width="0.2032" layer="51"/> -<wire x1="4.3" y1="3.9" x2="-4.3" y2="3.9" width="0.2032" layer="51"/> -<wire x1="-4.3" y1="3.9" x2="-4.3" y2="-10.4" width="0.2032" layer="21"/> -<wire x1="-2.7" y1="3.9" x2="-4.3" y2="3.9" width="0.2032" layer="21"/> -<wire x1="4.3" y1="3.9" x2="2.7" y2="3.9" width="0.2032" layer="21"/> -<wire x1="-3" y1="-10.275" x2="-3" y2="-3" width="0.2032" layer="51" style="shortdash"/> -<wire x1="3" y1="-10.3" x2="3" y2="-3" width="0.2032" layer="51" style="shortdash"/> -<wire x1="3" y1="-3" x2="-3" y2="-3" width="0.2032" layer="51" style="shortdash"/> -<wire x1="-0.9" y1="-9" x2="-0.9" y2="-4.5" width="0.2032" layer="51" style="shortdash"/> -<wire x1="0.9" y1="-9" x2="0.9" y2="-4.5" width="0.2032" layer="51" style="shortdash"/> -<wire x1="-0.9" y1="-9" x2="0.9" y2="-9" width="0.2032" layer="51" curve="166.57811"/> -<wire x1="4.3" y1="-10.4" x2="4.3" y2="-2.45" width="0.2032" layer="21"/> -<wire x1="4.3" y1="2.3" x2="4.3" y2="3.9" width="0.2032" layer="21"/> -<pad name="1" x="0" y="3.1" drill="1" diameter="2" shape="long" rot="R180"/> -<pad name="3" x="0" y="-3" drill="1" diameter="2" shape="long" rot="R180"/> -<pad name="2" x="4.8" y="0" drill="1" diameter="2" shape="long" rot="R90"/> -<text x="-3.81" y="5.08" size="1.27" layer="25">>NAME</text> -<text x="-5.08" y="-10.16" size="1.27" layer="27" rot="R90">>VALUE</text> -</package> -</packages> -</library> <library name="lib"> <packages> <package name="POLOLU-2980"> @@ -2618,24 +2574,6 @@ Source: DCJ0202.pdf</description> </library> <library name="altronics"> <packages> -<package name="P2028"> -<pad name="P$1" x="-1.75" y="0" drill="0.8" shape="long" rot="R90"/> -<pad name="P$2" x="1.75" y="0" drill="0.8" shape="long" rot="R90"/> -<wire x1="-3.5" y1="3.5" x2="-3.5" y2="-3.5" width="0.127" layer="21"/> -<wire x1="-3.5" y1="-3.5" x2="3.5" y2="-3.5" width="0.127" layer="21"/> -<wire x1="3.5" y1="-3.5" x2="3.5" y2="3.5" width="0.127" layer="21"/> -<wire x1="3.5" y1="3.5" x2="-3.5" y2="3.5" width="0.127" layer="21"/> -</package> -<package name="P2029"> -<pad name="P$1" x="0" y="0" drill="0.8" shape="long" rot="R90"/> -<pad name="P$2" x="-3.5" y="0" drill="0.8" shape="long" rot="R90"/> -<pad name="P$3" x="3.5" y="0" drill="0.8" shape="long" rot="R90"/> -<wire x1="-5.5" y1="3.5" x2="-5.5" y2="-3.5" width="0.127" layer="21"/> -<wire x1="-5.5" y1="-3.5" x2="5.5" y2="-3.5" width="0.127" layer="21"/> -<wire x1="5.5" y1="-3.5" x2="5.5" y2="3.5" width="0.127" layer="21"/> -<wire x1="5.5" y1="3.5" x2="-5.5" y2="3.5" width="0.127" layer="21"/> -<text x="-3.81" y="3.81" size="1.27" layer="21">>NAME</text> -</package> <package name="P2024A"> <pad name="P$2" x="0" y="0" drill="1.3" shape="long" rot="R90"/> <pad name="P$1" x="-2.5" y="0" drill="1.3" shape="long" rot="R90"/> @@ -2646,6 +2584,42 @@ Source: DCJ0202.pdf</description> <wire x1="7.5" y1="-4" x2="-5" y2="-4" width="0.127" layer="21"/> <wire x1="-5" y1="-4" x2="-5" y2="4" width="0.127" layer="21"/> </package> +<package name="P3084A"> +<description>Altronics DE15 P3084A</description> +<pad name="P8" x="0.25" y="0" drill="1.1"/> +<pad name="P7" x="2.54" y="0" drill="1.1"/> +<pad name="P6" x="4.83" y="0" drill="1.1"/> +<pad name="P9" x="-2.04" y="0" drill="1.1"/> +<pad name="P10" x="-4.33" y="0" drill="1.1"/> +<pad name="P1" x="3.685" y="-1.99" drill="1.1"/> +<pad name="P2" x="1.395" y="-1.99" drill="1.1"/> +<pad name="P3" x="-0.895" y="-1.99" drill="1.1"/> +<pad name="P4" x="-3.185" y="-1.99" drill="1.1"/> +<pad name="P5" x="-5.475" y="-1.99" drill="1.1"/> +<pad name="P11" x="3.685" y="1.99" drill="1.1"/> +<pad name="P12" x="1.395" y="1.99" drill="1.1"/> +<pad name="P13" x="-0.895" y="1.99" drill="1.1"/> +<pad name="P14" x="-3.185" y="1.99" drill="1.1"/> +<pad name="P15" x="-5.475" y="1.99" drill="1.1"/> +<hole x="-12.5" y="0" drill="3.2"/> +<hole x="12.5" y="0" drill="3.2"/> +<wire x1="-15.5" y1="5.1" x2="15.5" y2="5.1" width="0.127" layer="21"/> +<wire x1="15.5" y1="5.1" x2="15.5" y2="-5" width="0.127" layer="21"/> +<wire x1="15.5" y1="-5" x2="-15.5" y2="-5" width="0.127" layer="21"/> +<wire x1="-15.5" y1="-5" x2="-15.5" y2="5.1" width="0.127" layer="21"/> +</package> +<package name="P0621"> +<pad name="S1" x="0" y="0" drill="3" rot="R90"/> +<pad name="P" x="6" y="0" drill="3" rot="R90"/> +<pad name="S2" x="3.2" y="-4.8" drill="3"/> +<rectangle x1="1.7" y1="-5.2" x2="4.7" y2="-4.4" layer="49"/> +<rectangle x1="-0.4" y1="-1.5" x2="0.4" y2="1.5" layer="49"/> +<rectangle x1="5.6" y1="-1.5" x2="6.4" y2="1.5" layer="49"/> +<wire x1="-7.5" y1="4.5" x2="6.7" y2="4.5" width="0.127" layer="21"/> +<wire x1="6.7" y1="4.5" x2="6.7" y2="-4.5" width="0.127" layer="21"/> +<wire x1="6.7" y1="-4.5" x2="-7.5" y2="-4.5" width="0.127" layer="21"/> +<wire x1="-7.5" y1="-4.5" x2="-7.5" y2="4.5" width="0.127" layer="21"/> +</package> </packages> </library> <library name="diode"> @@ -2737,7 +2711,7 @@ design rules under a new name.</description> <param name="msBlindViaRatio" value="0.5"/> <param name="rvPadTop" value="0.25"/> <param name="rvPadInner" value="0.25"/> -<param name="rvPadBottom" value="0.5"/> +<param name="rvPadBottom" value="0.3"/> <param name="rvViaOuter" value="0.25"/> <param name="rvViaInner" value="0.25"/> <param name="rvMicroViaOuter" value="0.25"/> @@ -2761,9 +2735,9 @@ design rules under a new name.</description> <param name="psFirst" value="-1"/> <param name="psElongationLong" value="100"/> <param name="psElongationOffset" value="100"/> -<param name="mvStopFrame" value="1"/> -<param name="mvCreamFrame" value="0"/> -<param name="mlMinStopFrame" value="4mil"/> +<param name="mvStopFrame" value="0.1"/> +<param name="mvCreamFrame" value="0.05"/> +<param name="mlMinStopFrame" value="1.5mil"/> <param name="mlMaxStopFrame" value="4mil"/> <param name="mlMinCreamFrame" value="0mil"/> <param name="mlMaxCreamFrame" value="0mil"/> @@ -2878,232 +2852,536 @@ design rules under a new name.</description> </pass> </autorouter> <elements> -<element name="R1" library="rcl" package="0309/12" value="4k7" x="35.56" y="56.642" rot="R180"/> -<element name="R6" library="rcl" package="0309/10" value="22K" x="11.684" y="74.93" rot="R90"/> -<element name="C2" library="resistor" package="C050-030X075" value="47n" x="11.684" y="62.738" rot="R270"/> -<element name="R7" library="rcl" package="0309/10" value="1K" x="20.574" y="42.926" rot="R270"/> -<element name="R8" library="rcl" package="0309/10" value="2K" x="23.876" y="42.926" rot="R270"/> -<element name="R9" library="rcl" package="0309/10" value="4K" x="17.272" y="42.926" rot="R270"/> -<element name="R10" library="rcl" package="0309/10" value="8K" x="13.97" y="42.926" rot="R270"/> -<element name="R11" library="rcl" package="0309/10" value="1K" x="18.796" y="52.578"/> -<element name="B1" library="SparkFun-Boards" package="UNO_R3_SHIELD" value="ARDUINO_UNO_R3_SHIELDBASIC" x="30.48" y="55.88"/> -<element name="J1" library="con-jack" package="DCJ0202" value="DCJ0202" x="48.514" y="34.798"> -<attribute name="OC_NEWARK" value="unknown" x="48.514" y="34.798" size="1.778" layer="27" display="off"/> -<attribute name="MPN" value="" x="48.514" y="34.798" size="1.778" layer="27" display="off"/> -<attribute name="MF" value="" x="48.514" y="34.798" size="1.778" layer="27" display="off"/> -<attribute name="OC_FARNELL" value="unknown" x="48.514" y="34.798" size="1.778" layer="27" display="off"/> +<element name="R1" library="rcl" package="0309/12" value="56K" x="30.226" y="62.992" smashed="yes" rot="R90"> +<attribute name="NAME" x="30.861" y="59.055" size="1.27" layer="25" ratio="10" rot="R90"/> +<attribute name="VALUE" x="30.9118" y="63.627" size="1.27" layer="27" ratio="10" rot="R90"/> +</element> +<element name="R6" library="rcl" package="0309/10" value="22K" x="13.97" y="67.056" smashed="yes" rot="R90"> +<attribute name="NAME" x="14.605" y="63.627" size="1.27" layer="25" ratio="10" rot="R90"/> +<attribute name="VALUE" x="14.6558" y="67.437" size="1.27" layer="27" ratio="10" rot="R90"/> +</element> +<element name="C2" library="resistor" package="C050-030X075" value="47n" x="13.97" y="56.642" smashed="yes" rot="R270"> +<attribute name="NAME" x="15.875" y="55.372" size="1.27" layer="25" ratio="10" rot="R270"/> +<attribute name="VALUE" x="15.748" y="59.944" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="R7" library="rcl" package="0309/10" value="10K" x="21.844" y="41.402" smashed="yes" rot="R270"> +<attribute name="NAME" x="21.463" y="39.751" size="1.27" layer="25" ratio="10" rot="R270"/> +<attribute name="VALUE" x="21.1582" y="45.339" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="R8" library="rcl" package="0309/10" value="22K" x="18.542" y="41.402" smashed="yes" rot="R270"> +<attribute name="NAME" x="17.907" y="39.751" size="1.27" layer="25" ratio="10" rot="R270"/> +<attribute name="VALUE" x="17.8562" y="45.339" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="R9" library="rcl" package="0309/10" value="39K" x="15.24" y="41.402" smashed="yes" rot="R270"> +<attribute name="NAME" x="14.605" y="39.751" size="1.27" layer="25" ratio="10" rot="R270"/> +<attribute name="VALUE" x="14.5542" y="45.339" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="R10" library="rcl" package="0309/10" value="82K" x="11.938" y="41.402" smashed="yes" rot="R270"> +<attribute name="NAME" x="11.303" y="41.021" size="1.27" layer="25" ratio="10" rot="R270"/> +<attribute name="VALUE" x="11.2522" y="45.339" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="B1" library="SparkFun-Boards" package="UNO_R3_SHIELD" value="ARDUINO_UNO_R3_SHIELDBASIC" x="30.48" y="55.88" smashed="yes"> +<attribute name="NAME" x="30.48" y="86.614" size="0.6096" layer="25" font="vector" ratio="20" align="bottom-center"/> +<attribute name="VALUE" x="30.48" y="26.162" size="0.6096" layer="27" font="vector" ratio="20" align="top-center"/> +</element> +<element name="R2" library="rcl" package="0309/10" value="56K" x="26.67" y="67.564" smashed="yes" rot="R90"> +<attribute name="NAME" x="27.305" y="63.627" size="1.27" layer="25" ratio="10" rot="R90"/> +<attribute name="VALUE" x="25.9842" y="71.501" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="R12" library="rcl" package="0309/10" value="10K" x="26.67" y="54.864" smashed="yes" rot="R90"> +<attribute name="NAME" x="27.305" y="51.181" size="1.27" layer="25" ratio="10" rot="R90"/> +<attribute name="VALUE" x="27.3558" y="55.245" size="1.27" layer="27" ratio="10" rot="R90"/> +</element> +<element name="U$1" library="lib" package="POLOLU-2980" value="POLOLU-2980" x="43.942" y="62.484" smashed="yes"> +<attribute name="NAME" x="49.022" y="52.832" size="1.27" layer="21" rot="R90"/> +<attribute name="VALUE" x="49.276" y="60.452" size="1.27" layer="21" rot="R90"/> +</element> +<element name="JP1" library="pinhead" package="1X01" value="" x="17.018" y="50.292" smashed="yes"> +<attribute name="NAME" x="18.7198" y="50.0888" size="1.27" layer="25" ratio="10"/> +<attribute name="VALUE" x="15.748" y="47.117" size="1.27" layer="27"/> +</element> +<element name="U$5" library="altronics" package="P2024A" value="P2024A" x="42.672" y="78.994"/> +<element name="D1" library="diode" package="DO41-10" value="1N4004" x="30.226" y="49.53" smashed="yes" rot="R270"> +<attribute name="NAME" x="31.877" y="47.244" size="1.27" layer="25" ratio="10" rot="R270"/> </element> -<element name="R2" library="rcl" package="0309/10" value="56K" x="16.002" y="74.93" rot="R90"/> -<element name="R12" library="rcl" package="0309/10" value="10K" x="16.002" y="62.23" rot="R90"/> -<element name="U$1" library="lib" package="POLOLU-2980" value="POLOLU-2980" x="35.56" y="56.642" rot="R90"/> -<element name="JP1" library="pinhead" package="1X01" value="" x="21.336" y="67.31"/> -<element name="U$2" library="altronics" package="P2028" value="P2028" x="38.354" y="31.75"/> -<element name="U$3" library="altronics" package="P2029" value="P2029" x="28.194" y="31.75"/> -<element name="U$4" library="altronics" package="P2029" value="P2029" x="17.272" y="31.75"/> -<element name="U$5" library="altronics" package="P2024A" value="P2024A" x="44.958" y="81.026" rot="R180"/> -<element name="D1" library="diode" package="DO41-10" value="1N4004" x="43.434" y="42.672" rot="R180"/> +<element name="U$6" library="lib" package="POLOLU-2980" value="POLOLU-2980" x="17.018" y="62.992" smashed="yes"> +<attribute name="NAME" x="22.098" y="53.086" size="1.27" layer="21" rot="R90"/> +<attribute name="VALUE" x="22.352" y="60.706" size="1.27" layer="21" rot="R90"/> +</element> +<element name="U$7" library="altronics" package="P2024A" value="P2024A" x="16.002" y="78.232"/> +<element name="R3" library="rcl" package="0309/10" value="22K" x="40.386" y="66.802" smashed="yes" rot="R90"> +<attribute name="NAME" x="41.021" y="62.865" size="1.27" layer="25" ratio="10" rot="R90"/> +<attribute name="VALUE" x="41.0718" y="67.183" size="1.27" layer="27" ratio="10" rot="R90"/> +</element> +<element name="C1" library="resistor" package="C050-030X075" value="47n" x="40.386" y="56.134" smashed="yes" rot="R270"> +<attribute name="NAME" x="42.291" y="55.372" size="1.27" layer="25" ratio="10" rot="R270"/> +<attribute name="VALUE" x="42.418" y="59.436" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="R4" library="rcl" package="0309/10" value="56K" x="34.036" y="67.564" smashed="yes" rot="R90"> +<attribute name="NAME" x="34.671" y="63.627" size="1.27" layer="25" ratio="10" rot="R90"/> +<attribute name="VALUE" x="33.6042" y="71.501" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="R5" library="rcl" package="0309/10" value="10K" x="34.036" y="54.864" smashed="yes" rot="R90"> +<attribute name="NAME" x="34.671" y="51.181" size="1.27" layer="25" ratio="10" rot="R90"/> +<attribute name="VALUE" x="34.7218" y="55.245" size="1.27" layer="27" ratio="10" rot="R90"/> +</element> +<element name="JP2" library="pinhead" package="1X01" value="" x="44.958" y="50.292" smashed="yes"> +<attribute name="NAME" x="46.6598" y="49.8348" size="1.27" layer="25" ratio="10"/> +<attribute name="VALUE" x="43.688" y="47.117" size="1.27" layer="27"/> +</element> +<element name="R13" library="rcl" package="0309/10" value="10K" x="48.768" y="41.656" smashed="yes" rot="R270"> +<attribute name="NAME" x="48.133" y="41.021" size="1.27" layer="25" ratio="10" rot="R270"/> +<attribute name="VALUE" x="48.0822" y="45.593" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="R14" library="rcl" package="0309/10" value="22K" x="45.466" y="41.656" smashed="yes" rot="R270"> +<attribute name="NAME" x="44.831" y="41.021" size="1.27" layer="25" ratio="10" rot="R270"/> +<attribute name="VALUE" x="44.7802" y="45.593" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="R15" library="rcl" package="0309/10" value="39K" x="42.164" y="41.656" smashed="yes" rot="R270"> +<attribute name="NAME" x="41.529" y="41.021" size="1.27" layer="25" ratio="10" rot="R270"/> +<attribute name="VALUE" x="41.4782" y="45.593" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="R16" library="rcl" package="0309/10" value="82K" x="38.862" y="41.656" smashed="yes" rot="R270"> +<attribute name="NAME" x="38.227" y="41.021" size="1.27" layer="25" ratio="10" rot="R270"/> +<attribute name="VALUE" x="38.1762" y="45.593" size="1.27" layer="27" ratio="10" rot="R270"/> +</element> +<element name="U$2" library="altronics" package="P2024A" value="P2024A" x="29.21" y="40.132"/> +<element name="U$8" library="altronics" package="P3084A" value="DE15-P3084A" x="14.732" y="30.988"/> +<element name="U$9" library="altronics" package="P3084A" value="DE15-P3084A" x="45.974" y="30.988"/> +<element name="U$3" library="altronics" package="P0621" value="P0621A" x="30.988" y="81.28" rot="R270"/> </elements> <signals> <signal name="VREF"> <contactref element="R6" pad="2"/> -<contactref element="B1" pad="D2"/> -<wire x1="10.16" y1="80.01" x2="11.684" y2="80.01" width="0.254" layer="1"/> -<wire x1="6.35" y1="76.2" x2="10.16" y2="80.01" width="0.254" layer="1"/> +<contactref element="B1" pad="D3"/> +<wire x1="11.811" y1="72.136" x2="13.97" y2="72.136" width="0.254" layer="1"/> +<wire x1="10.287" y1="73.66" x2="11.811" y2="72.136" width="0.254" layer="1"/> +<wire x1="6.35" y1="73.66" x2="10.287" y2="73.66" width="0.254" layer="1"/> </signal> -<signal name="CLOCK"> +<signal name="CLK"> <contactref element="B1" pad="D4"/> <contactref element="U$1" pad="P$10"/> -<wire x1="40.767" y1="50.292" x2="41.91" y2="50.292" width="0.254" layer="1"/> -<wire x1="29.718" y1="61.341" x2="40.767" y2="50.292" width="0.254" layer="1"/> -<wire x1="17.145" y1="61.341" x2="29.718" y2="61.341" width="0.254" layer="1"/> -<wire x1="7.366" y1="71.12" x2="17.145" y2="61.341" width="0.254" layer="1"/> -<wire x1="6.35" y1="71.12" x2="7.366" y2="71.12" width="0.254" layer="1"/> +<wire x1="34.671" y1="56.134" x2="37.592" y2="56.134" width="0.254" layer="16"/> +<wire x1="27.178" y1="48.641" x2="34.671" y2="56.134" width="0.254" layer="16"/> +<wire x1="17.018" y1="48.641" x2="27.178" y2="48.641" width="0.254" layer="16"/> +<wire x1="11.684" y1="53.975" x2="17.018" y2="48.641" width="0.254" layer="16"/> +<wire x1="11.684" y1="59.563" x2="11.684" y2="53.975" width="0.254" layer="16"/> +<wire x1="10.541" y1="60.706" x2="11.684" y2="59.563" width="0.254" layer="16"/> +<wire x1="10.287" y1="60.706" x2="10.541" y2="60.706" width="0.254" layer="16"/> +<wire x1="7.62" y1="63.373" x2="10.287" y2="60.706" width="0.254" layer="16"/> +<wire x1="7.62" y1="69.85" x2="7.62" y2="63.373" width="0.254" layer="16"/> +<wire x1="6.35" y1="71.12" x2="7.62" y2="69.85" width="0.254" layer="16"/> </signal> <signal name="GND" class="1"> -<contactref element="R11" pad="1"/> <polygon width="0.8128" layer="1"> -<vertex x="2.54" y="85.09"/> -<vertex x="2.54" y="26.162"/> -<vertex x="58.166" y="25.908"/> -<vertex x="58.42" y="85.09"/> +<vertex x="-0.762" y="85.09"/> +<vertex x="-1.016" y="25.908"/> +<vertex x="61.468" y="25.908"/> +<vertex x="61.468" y="85.09"/> </polygon> <contactref element="B1" pad="GND@2"/> <contactref element="B1" pad="GND@1"/> <contactref element="B1" pad="GND@0"/> -<contactref element="J1" pad="3"/> <contactref element="C2" pad="2"/> <contactref element="R12" pad="1"/> -<contactref element="U$2" pad="P$1"/> -<contactref element="U$4" pad="P$3"/> <polygon width="0.4064" layer="16"> -<vertex x="2.54" y="85.09"/> -<vertex x="58.166" y="85.09"/> -<vertex x="58.166" y="84.836"/> -<vertex x="58.166" y="25.4"/> +<vertex x="-0.762" y="85.09"/> +<vertex x="61.468" y="85.09"/> +<vertex x="61.468" y="25.908"/> <vertex x="2.54" y="25.4"/> -<vertex x="2.54" y="26.416"/> +<vertex x="-1.27" y="26.416"/> </polygon> <contactref element="D1" pad="A"/> +<contactref element="C1" pad="2"/> +<contactref element="R5" pad="1"/> +<contactref element="U$1" pad="P$1"/> +<contactref element="U$6" pad="P$1"/> +<contactref element="U$6" pad="P$7"/> +<contactref element="U$1" pad="P$7"/> +<contactref element="U$2" pad="P$4"/> +<contactref element="U$9" pad="P3"/> +<contactref element="U$8" pad="P3"/> +<via x="45.212" y="61.214" extent="1-16" drill="0.6"/> +<contactref element="U$3" pad="S1"/> </signal> <signal name="A_ENC"> -<contactref element="R10" pad="1"/> -<contactref element="R9" pad="1"/> -<contactref element="R8" pad="1"/> -<contactref element="R7" pad="1"/> -<contactref element="R11" pad="2"/> <contactref element="B1" pad="A1"/> -<wire x1="17.272" y1="48.006" x2="13.97" y2="48.006" width="0.254" layer="1"/> -<wire x1="17.272" y1="48.006" x2="20.574" y2="48.006" width="0.254" layer="1"/> -<wire x1="20.574" y1="48.006" x2="23.876" y2="48.006" width="0.254" layer="1"/> -<wire x1="23.876" y1="48.006" x2="23.876" y2="52.578" width="0.254" layer="1"/> -<wire x1="33.147" y1="71.12" x2="54.61" y2="71.12" width="0.254" layer="16"/> -<wire x1="23.876" y1="61.849" x2="33.147" y2="71.12" width="0.254" layer="16"/> -<wire x1="23.876" y1="52.578" x2="23.876" y2="61.849" width="0.254" layer="16"/> +<contactref element="R16" pad="1"/> +<contactref element="R15" pad="1"/> +<contactref element="R14" pad="1"/> +<contactref element="R13" pad="1"/> +<wire x1="42.164" y1="46.736" x2="38.862" y2="46.736" width="0.254" layer="1"/> +<wire x1="42.164" y1="46.736" x2="45.466" y2="46.736" width="0.254" layer="1"/> +<wire x1="46.101" y1="46.736" x2="48.768" y2="46.736" width="0.254" layer="1"/> +<wire x1="54.61" y1="70.485" x2="54.61" y2="71.12" width="0.254" layer="1"/> +<wire x1="56.007" y1="69.088" x2="54.61" y2="70.485" width="0.254" layer="1"/> +<wire x1="56.007" y1="55.372" x2="56.007" y2="69.088" width="0.254" layer="1"/> +<wire x1="55.245" y1="54.61" x2="56.007" y2="55.372" width="0.254" layer="1"/> +<wire x1="53.975" y1="54.61" x2="55.245" y2="54.61" width="0.254" layer="1"/> +<wire x1="46.101" y1="46.736" x2="53.975" y2="54.61" width="0.254" layer="1"/> +<wire x1="46.101" y1="46.736" x2="45.466" y2="46.736" width="0.254" layer="1"/> </signal> <signal name="5V"> <contactref element="R1" pad="1"/> <contactref element="B1" pad="5V"/> <contactref element="U$1" pad="P$2"/> -<wire x1="41.91" y1="56.642" x2="41.91" y2="62.992" width="0.254" layer="1"/> -<wire x1="42.672" y1="55.88" x2="54.61" y2="55.88" width="0.254" layer="1"/> -<wire x1="41.91" y1="56.642" x2="42.672" y2="55.88" width="0.254" layer="1"/> +<contactref element="U$6" pad="P$2"/> +<wire x1="54.356" y1="56.134" x2="50.292" y2="56.134" width="0.254" layer="1"/> +<wire x1="54.61" y1="55.88" x2="54.356" y2="56.134" width="0.254" layer="1"/> +<wire x1="30.226" y1="56.642" x2="23.368" y2="56.642" width="0.254" layer="1"/> +<wire x1="44.45" y1="56.134" x2="50.292" y2="56.134" width="0.254" layer="16"/> +<wire x1="40.386" y1="60.198" x2="44.45" y2="56.134" width="0.254" layer="16"/> +<wire x1="35.306" y1="60.198" x2="40.386" y2="60.198" width="0.254" layer="16"/> +<wire x1="34.544" y1="60.96" x2="35.306" y2="60.198" width="0.254" layer="16"/> +<wire x1="33.528" y1="60.96" x2="34.544" y2="60.96" width="0.254" layer="16"/> +<wire x1="30.226" y1="57.658" x2="33.528" y2="60.96" width="0.254" layer="16"/> +<wire x1="30.226" y1="56.642" x2="30.226" y2="57.658" width="0.254" layer="16"/> </signal> <signal name="3V3"> <contactref element="B1" pad="3.3V"/> -<contactref element="U$3" pad="P$1"/> -<wire x1="29.591" y1="31.75" x2="28.194" y2="31.75" width="0.254" layer="16"/> -<wire x1="51.181" y1="53.34" x2="29.591" y2="31.75" width="0.254" layer="16"/> -<wire x1="54.61" y1="53.34" x2="51.181" y2="53.34" width="0.254" layer="16"/> +<contactref element="U$2" pad="P$1"/> +<contactref element="U$9" pad="P2"/> +<contactref element="U$8" pad="P2"/> +<wire x1="16.764" y1="28.956" x2="16.129" y2="28.956" width="0.254" layer="1"/> +<wire x1="17.907" y1="27.813" x2="16.764" y2="28.956" width="0.254" layer="1"/> +<wire x1="18.923" y1="27.813" x2="17.907" y2="27.813" width="0.254" layer="1"/> +<wire x1="26.67" y1="35.56" x2="22.6695" y2="31.5595" width="0.254" layer="1"/> +<wire x1="22.6695" y1="31.5595" x2="18.923" y2="27.813" width="0.254" layer="1"/> +<wire x1="26.67" y1="40.132" x2="26.67" y2="35.56" width="0.254" layer="1"/> +<wire x1="16.129" y1="28.956" x2="16.127" y2="28.998" width="0.254" layer="1"/> +<wire x1="26.67" y1="40.132" x2="26.71" y2="40.132" width="0.254" layer="1"/> +<wire x1="46.863" y1="28.956" x2="47.244" y2="28.956" width="0.254" layer="1"/> +<wire x1="45.593" y1="27.686" x2="45.7835" y2="27.8765" width="0.254" layer="1"/> +<wire x1="45.7835" y1="27.8765" x2="46.863" y2="28.956" width="0.254" layer="1"/> +<wire x1="26.543" y1="27.686" x2="45.593" y2="27.686" width="0.254" layer="1"/> +<wire x1="22.6695" y1="31.5595" x2="26.543" y2="27.686" width="0.254" layer="1"/> +<wire x1="47.244" y1="28.956" x2="47.369" y2="28.998" width="0.254" layer="1"/> +<wire x1="54.61" y1="52.705" x2="54.61" y2="53.34" width="0.254" layer="1"/> +<wire x1="52.578" y1="50.673" x2="54.61" y2="52.705" width="0.254" layer="1"/> +<wire x1="52.578" y1="30.226" x2="52.578" y2="50.673" width="0.254" layer="1"/> +<wire x1="50.165" y1="27.813" x2="52.578" y2="30.226" width="0.254" layer="1"/> +<wire x1="45.847" y1="27.813" x2="50.165" y2="27.813" width="0.254" layer="1"/> +<wire x1="45.847" y1="27.813" x2="45.7835" y2="27.8765" width="0.254" layer="1"/> </signal> <signal name="VIN" class="1"> -<contactref element="B1" pad="VIN"/> -<contactref element="J1" pad="1"/> <contactref element="U$1" pad="P$8"/> <contactref element="D1" pad="C"/> -<wire x1="48.514" y1="37.898" x2="48.514" y2="42.672" width="0.8128" layer="1"/> -<wire x1="27.178" y1="62.992" x2="26.67" y2="62.992" width="0.8128" layer="16"/> -<wire x1="28.575" y1="64.389" x2="27.178" y2="62.992" width="0.8128" layer="16"/> -<wire x1="53.721" y1="64.389" x2="28.575" y2="64.389" width="0.8128" layer="16"/> -<wire x1="54.61" y1="63.5" x2="53.721" y2="64.389" width="0.8128" layer="16"/> -<wire x1="53.975" y1="42.672" x2="48.514" y2="42.672" width="0.8128" layer="16"/> -<wire x1="56.261" y1="44.958" x2="53.975" y2="42.672" width="0.8128" layer="16"/> -<wire x1="56.261" y1="61.595" x2="56.261" y2="44.958" width="0.8128" layer="16"/> -<wire x1="54.737" y1="63.119" x2="56.261" y2="61.595" width="0.8128" layer="16"/> -<wire x1="54.737" y1="63.119" x2="54.61" y2="63.5" width="0.8128" layer="16"/> +<contactref element="U$6" pad="P$8"/> +<contactref element="U$3" pad="P"/> +<wire x1="24.13" y1="72.898" x2="23.368" y2="71.882" width="0.8128" layer="16"/> +<wire x1="26.416" y1="75.184" x2="24.13" y2="72.898" width="0.8128" layer="16"/> +<wire x1="30.988" y1="75.28" x2="26.416" y2="75.184" width="0.8128" layer="16"/> +<wire x1="28.067" y1="56.769" x2="30.226" y2="54.61" width="0.8128" layer="16"/> +<wire x1="28.067" y1="66.929" x2="28.067" y2="56.769" width="0.8128" layer="16"/> +<wire x1="23.495" y1="71.501" x2="28.067" y2="66.929" width="0.8128" layer="16"/> +<wire x1="23.495" y1="71.501" x2="23.368" y2="71.882" width="0.8128" layer="16"/> +<wire x1="50.165" y1="79.883" x2="50.165" y2="71.755" width="0.8128" layer="16"/> +<wire x1="48.26" y1="81.788" x2="50.165" y2="79.883" width="0.8128" layer="16"/> +<wire x1="37.719" y1="81.788" x2="48.26" y2="81.788" width="0.8128" layer="16"/> +<wire x1="31.369" y1="75.438" x2="37.719" y2="81.788" width="0.8128" layer="16"/> +<wire x1="50.165" y1="71.755" x2="50.292" y2="71.374" width="0.8128" layer="16"/> +<wire x1="31.369" y1="75.438" x2="30.988" y2="75.28" width="0.8128" layer="16"/> </signal> <signal name="N$13" class="1"> <contactref element="U$1" pad="P$3"/> <contactref element="U$5" pad="P$1"/> -<wire x1="39.37" y1="72.136" x2="39.37" y2="62.992" width="0.8128" layer="1"/> -<wire x1="47.371" y1="80.137" x2="39.37" y2="72.136" width="0.8128" layer="1"/> -<wire x1="47.371" y1="81.026" x2="47.371" y2="80.137" width="0.8128" layer="1"/> -<wire x1="47.371" y1="81.026" x2="47.458" y2="81.026" width="0.8128" layer="1"/> +<wire x1="50.292" y1="59.309" x2="50.292" y2="58.674" width="0.8128" layer="16"/> +<wire x1="41.783" y1="67.818" x2="50.292" y2="59.309" width="0.8128" layer="16"/> +<wire x1="41.783" y1="76.454" x2="41.783" y2="67.818" width="0.8128" layer="16"/> +<wire x1="40.259" y1="77.978" x2="41.783" y2="76.454" width="0.8128" layer="16"/> +<wire x1="40.259" y1="78.994" x2="40.259" y2="77.978" width="0.8128" layer="16"/> +<wire x1="40.259" y1="78.994" x2="40.172" y2="78.994" width="0.8128" layer="16"/> </signal> <signal name="N$14" class="1"> <contactref element="U$1" pad="P$4"/> <contactref element="U$5" pad="P$2"/> -<wire x1="36.83" y1="72.136" x2="36.83" y2="62.992" width="0.8128" layer="1"/> -<wire x1="44.958" y1="80.264" x2="36.83" y2="72.136" width="0.8128" layer="1"/> -<wire x1="44.958" y1="81.026" x2="44.958" y2="80.264" width="0.8128" layer="1"/> +<wire x1="50.292" y1="61.849" x2="50.292" y2="61.214" width="0.8128" layer="16"/> +<wire x1="42.799" y1="69.342" x2="50.292" y2="61.849" width="0.8128" layer="16"/> +<wire x1="42.799" y1="78.867" x2="42.799" y2="69.342" width="0.8128" layer="16"/> +<wire x1="42.672" y1="78.994" x2="42.799" y2="78.867" width="0.8128" layer="16"/> </signal> <signal name="N$15" class="1"> <contactref element="U$1" pad="P$5"/> <contactref element="U$5" pad="P$3"/> -<wire x1="34.29" y1="72.136" x2="34.29" y2="62.992" width="0.8128" layer="1"/> -<wire x1="42.418" y1="80.264" x2="34.29" y2="72.136" width="0.8128" layer="1"/> -<wire x1="42.418" y1="81.026" x2="42.418" y2="80.264" width="0.8128" layer="1"/> -<wire x1="42.418" y1="81.026" x2="42.458" y2="81.026" width="0.8128" layer="1"/> +<wire x1="50.292" y1="64.389" x2="50.292" y2="63.754" width="0.8128" layer="16"/> +<wire x1="45.212" y1="69.469" x2="50.292" y2="64.389" width="0.8128" layer="16"/> +<wire x1="45.212" y1="78.994" x2="45.212" y2="69.469" width="0.8128" layer="16"/> +<wire x1="45.212" y1="78.994" x2="45.172" y2="78.994" width="0.8128" layer="16"/> </signal> <signal name="N$16" class="1"> <contactref element="U$1" pad="P$6"/> <contactref element="U$5" pad="P$4"/> -<wire x1="31.75" y1="72.898" x2="31.75" y2="62.992" width="0.8128" layer="1"/> -<wire x1="39.878" y1="81.026" x2="31.75" y2="72.898" width="0.8128" layer="1"/> -<wire x1="39.878" y1="81.026" x2="39.958" y2="81.026" width="0.8128" layer="1"/> +<wire x1="50.292" y1="66.929" x2="50.292" y2="66.294" width="0.8128" layer="16"/> +<wire x1="47.752" y1="69.469" x2="50.292" y2="66.929" width="0.8128" layer="16"/> +<wire x1="47.752" y1="78.994" x2="47.752" y2="69.469" width="0.8128" layer="16"/> +<wire x1="47.752" y1="78.994" x2="47.672" y2="78.994" width="0.8128" layer="16"/> </signal> <signal name="A_VREF"> <contactref element="R6" pad="1"/> <contactref element="C2" pad="1"/> <contactref element="B1" pad="A2"/> <contactref element="R2" pad="2"/> -<wire x1="11.684" y1="69.85" x2="11.684" y2="65.278" width="0.254" layer="16"/> -<wire x1="16.002" y1="74.168" x2="16.002" y2="80.01" width="0.254" layer="1"/> -<wire x1="11.684" y1="69.85" x2="16.002" y2="74.168" width="0.254" layer="1"/> -<wire x1="22.352" y1="73.66" x2="54.61" y2="73.66" width="0.254" layer="16"/> -<wire x1="16.002" y1="80.01" x2="22.352" y2="73.66" width="0.254" layer="16"/> +<wire x1="13.97" y1="61.976" x2="13.97" y2="59.182" width="0.254" layer="1"/> +<wire x1="28.448" y1="72.644" x2="26.67" y2="72.644" width="0.254" layer="1"/> +<wire x1="31.242" y1="69.85" x2="31.1785" y2="69.9135" width="0.254" layer="1"/> +<wire x1="31.1785" y1="69.9135" x2="28.448" y2="72.644" width="0.254" layer="1"/> +<wire x1="31.242" y1="68.834" x2="31.242" y2="69.85" width="0.254" layer="1"/> +<wire x1="25.273" y1="62.865" x2="31.242" y2="68.834" width="0.254" layer="1"/> +<wire x1="14.859" y1="62.865" x2="25.273" y2="62.865" width="0.254" layer="1"/> +<wire x1="13.97" y1="61.976" x2="14.859" y2="62.865" width="0.254" layer="1"/> +<wire x1="54.61" y1="74.295" x2="54.61" y2="73.66" width="0.254" layer="1"/> +<wire x1="55.88" y1="75.565" x2="54.61" y2="74.295" width="0.254" layer="1"/> +<wire x1="55.88" y1="81.915" x2="55.88" y2="75.565" width="0.254" layer="1"/> +<wire x1="55.245" y1="82.55" x2="55.88" y2="81.915" width="0.254" layer="1"/> +<wire x1="53.975" y1="82.55" x2="55.245" y2="82.55" width="0.254" layer="1"/> +<wire x1="49.149" y1="77.724" x2="53.975" y2="82.55" width="0.254" layer="1"/> +<wire x1="49.149" y1="77.47" x2="49.149" y2="77.724" width="0.254" layer="1"/> +<wire x1="41.656" y1="69.977" x2="49.149" y2="77.47" width="0.254" layer="1"/> +<wire x1="31.242" y1="69.977" x2="41.656" y2="69.977" width="0.254" layer="1"/> +<wire x1="31.242" y1="69.977" x2="31.1785" y2="69.9135" width="0.254" layer="1"/> </signal> <signal name="5V_4K7"> <contactref element="R1" pad="2"/> <contactref element="U$1" pad="P$16"/> <contactref element="U$1" pad="P$12"/> <contactref element="U$1" pad="P$11"/> -<wire x1="39.37" y1="50.292" x2="36.83" y2="50.292" width="0.254" layer="1"/> -<wire x1="26.67" y1="54.102" x2="26.67" y2="51.308" width="0.254" layer="1"/> -<wire x1="26.67" y1="51.308" x2="26.67" y2="50.292" width="0.254" layer="1"/> -<wire x1="29.21" y1="56.642" x2="26.67" y2="54.102" width="0.254" layer="1"/> -<wire x1="35.687" y1="50.292" x2="36.83" y2="50.292" width="0.254" layer="1"/> -<wire x1="34.671" y1="51.308" x2="35.687" y2="50.292" width="0.254" layer="1"/> -<wire x1="26.67" y1="51.308" x2="34.671" y2="51.308" width="0.254" layer="1"/> -</signal> -<signal name="N$20"> -<contactref element="R7" pad="2"/> -<contactref element="U$3" pad="P$2"/> -<wire x1="24.638" y1="33.782" x2="24.638" y2="31.75" width="0.254" layer="1"/> -<wire x1="20.574" y1="37.846" x2="24.638" y2="33.782" width="0.254" layer="1"/> -<wire x1="24.638" y1="31.75" x2="24.694" y2="31.75" width="0.254" layer="1"/> -</signal> -<signal name="N$21"> -<contactref element="R8" pad="2"/> -<contactref element="U$3" pad="P$3"/> -<wire x1="30.353" y1="31.75" x2="31.694" y2="31.75" width="0.254" layer="1"/> -<wire x1="24.257" y1="37.846" x2="30.353" y2="31.75" width="0.254" layer="1"/> -<wire x1="23.876" y1="37.846" x2="24.257" y2="37.846" width="0.254" layer="1"/> -</signal> -<signal name="N$22"> -<contactref element="R9" pad="2"/> -<contactref element="U$4" pad="P$1"/> -<wire x1="17.272" y1="37.846" x2="17.272" y2="31.75" width="0.254" layer="1"/> -</signal> -<signal name="N$23"> -<contactref element="R10" pad="2"/> -<contactref element="U$4" pad="P$2"/> -<wire x1="13.843" y1="37.719" x2="13.843" y2="31.75" width="0.254" layer="16"/> -<wire x1="13.97" y1="37.846" x2="13.843" y2="37.719" width="0.254" layer="16"/> -<wire x1="13.843" y1="31.75" x2="13.772" y2="31.75" width="0.254" layer="16"/> +<contactref element="U$6" pad="P$11"/> +<contactref element="U$6" pad="P$12"/> +<contactref element="U$6" pad="P$16"/> +<wire x1="10.668" y1="61.722" x2="10.668" y2="59.182" width="0.254" layer="1"/> +<wire x1="10.668" y1="70.739" x2="10.668" y2="71.882" width="0.254" layer="16"/> +<wire x1="9.652" y1="69.723" x2="10.668" y2="70.739" width="0.254" layer="16"/> +<wire x1="9.652" y1="62.738" x2="9.652" y2="69.723" width="0.254" layer="16"/> +<wire x1="10.668" y1="61.722" x2="9.652" y2="62.738" width="0.254" layer="16"/> +<wire x1="37.592" y1="61.214" x2="37.592" y2="58.674" width="0.254" layer="1"/> +<wire x1="32.258" y1="71.374" x2="37.592" y2="71.374" width="0.254" layer="16"/> +<wire x1="30.226" y1="69.342" x2="32.258" y2="71.374" width="0.254" layer="16"/> +<wire x1="37.592" y1="62.103" x2="37.592" y2="61.214" width="0.254" layer="16"/> +<wire x1="30.353" y1="69.342" x2="37.592" y2="62.103" width="0.254" layer="16"/> +<wire x1="30.353" y1="69.342" x2="30.226" y2="69.342" width="0.254" layer="16"/> +<wire x1="12.192" y1="61.722" x2="10.668" y2="61.722" width="0.254" layer="1"/> +<wire x1="18.669" y1="68.199" x2="12.192" y2="61.722" width="0.254" layer="1"/> +<wire x1="29.083" y1="68.199" x2="18.669" y2="68.199" width="0.254" layer="1"/> +<wire x1="30.226" y1="69.342" x2="29.083" y2="68.199" width="0.254" layer="1"/> </signal> <signal name="DIR"> -<contactref element="B1" pad="D3"/> <contactref element="U$1" pad="P$9"/> -<wire x1="43.307" y1="50.292" x2="44.45" y2="50.292" width="0.254" layer="1"/> -<wire x1="31.75" y1="61.849" x2="43.307" y2="50.292" width="0.254" layer="1"/> -<wire x1="18.161" y1="61.849" x2="31.75" y2="61.849" width="0.254" layer="1"/> -<wire x1="6.35" y1="73.66" x2="18.161" y2="61.849" width="0.254" layer="1"/> +<contactref element="B1" pad="D2"/> +<wire x1="31.115" y1="53.594" x2="37.592" y2="53.594" width="0.254" layer="1"/> +<wire x1="30.48" y1="52.959" x2="31.115" y2="53.594" width="0.254" layer="1"/> +<wire x1="9.906" y1="52.959" x2="30.48" y2="52.959" width="0.254" layer="1"/> +<wire x1="6.985" y1="55.88" x2="9.906" y2="52.959" width="0.254" layer="1"/> +<wire x1="5.715" y1="55.88" x2="6.985" y2="55.88" width="0.254" layer="1"/> +<wire x1="4.572" y1="57.023" x2="5.715" y2="55.88" width="0.254" layer="1"/> +<wire x1="4.572" y1="74.422" x2="4.572" y2="57.023" width="0.254" layer="1"/> +<wire x1="6.35" y1="76.2" x2="4.572" y2="74.422" width="0.254" layer="1"/> </signal> <signal name="A_POT"> <contactref element="B1" pad="A0"/> -<contactref element="U$2" pad="P$2"/> -<wire x1="40.132" y1="40.767" x2="40.132" y2="31.75" width="0.254" layer="1"/> -<wire x1="53.975" y1="54.61" x2="40.132" y2="40.767" width="0.254" layer="1"/> -<wire x1="55.245" y1="54.61" x2="53.975" y2="54.61" width="0.254" layer="1"/> -<wire x1="56.007" y1="55.372" x2="55.245" y2="54.61" width="0.254" layer="1"/> -<wire x1="56.007" y1="67.183" x2="56.007" y2="55.372" width="0.254" layer="1"/> -<wire x1="54.61" y1="68.58" x2="56.007" y2="67.183" width="0.254" layer="1"/> -<wire x1="40.132" y1="31.75" x2="40.104" y2="31.75" width="0.254" layer="1"/> +<contactref element="U$2" pad="P$3"/> +<wire x1="54.61" y1="66.421" x2="54.61" y2="68.58" width="0.254" layer="1"/> +<wire x1="50.546" y1="62.357" x2="54.61" y2="66.421" width="0.254" layer="1"/> +<wire x1="49.784" y1="62.357" x2="50.546" y2="62.357" width="0.254" layer="1"/> +<wire x1="42.037" y1="54.61" x2="49.784" y2="62.357" width="0.254" layer="1"/> +<wire x1="42.037" y1="51.435" x2="42.037" y2="54.61" width="0.254" layer="1"/> +<wire x1="31.75" y1="41.148" x2="42.037" y2="51.435" width="0.254" layer="1"/> +<wire x1="31.75" y1="40.132" x2="31.75" y2="41.148" width="0.254" layer="1"/> +<wire x1="31.75" y1="40.132" x2="31.71" y2="40.132" width="0.254" layer="1"/> </signal> <signal name="N$1"> <contactref element="R2" pad="1"/> <contactref element="R12" pad="2"/> <contactref element="JP1" pad="1"/> -<wire x1="16.002" y1="69.85" x2="16.002" y2="67.31" width="0.254" layer="1"/> -<wire x1="16.002" y1="67.31" x2="21.336" y2="67.31" width="0.254" layer="1"/> +<wire x1="26.67" y1="62.484" x2="26.67" y2="59.944" width="0.254" layer="1"/> +<wire x1="17.018" y1="51.689" x2="17.018" y2="50.292" width="0.254" layer="16"/> +<wire x1="23.368" y1="58.039" x2="17.018" y2="51.689" width="0.254" layer="16"/> +<wire x1="24.765" y1="58.039" x2="23.368" y2="58.039" width="0.254" layer="16"/> +<wire x1="26.67" y1="59.944" x2="24.765" y2="58.039" width="0.254" layer="16"/> </signal> -<signal name="N$4"> -<contactref element="U$1" pad="P$7"/> +<signal name="N$3" class="1"> +<contactref element="U$7" pad="P$1"/> +<contactref element="U$6" pad="P$3"/> +<wire x1="23.368" y1="59.817" x2="23.368" y2="59.182" width="0.8128" layer="16"/> +<wire x1="15.367" y1="67.818" x2="23.368" y2="59.817" width="0.8128" layer="16"/> +<wire x1="15.367" y1="75.438" x2="15.367" y2="67.818" width="0.8128" layer="16"/> +<wire x1="13.589" y1="77.216" x2="15.367" y2="75.438" width="0.8128" layer="16"/> +<wire x1="13.589" y1="78.232" x2="13.589" y2="77.216" width="0.8128" layer="16"/> +<wire x1="13.589" y1="78.232" x2="13.502" y2="78.232" width="0.8128" layer="16"/> </signal> -<signal name="N$6"> -<contactref element="U$1" pad="P$1"/> +<signal name="N$5" class="1"> +<contactref element="U$6" pad="P$4"/> +<contactref element="U$7" pad="P$2"/> +<wire x1="23.368" y1="62.357" x2="23.368" y2="61.722" width="0.8128" layer="16"/> +<wire x1="16.383" y1="69.342" x2="23.368" y2="62.357" width="0.8128" layer="16"/> +<wire x1="16.383" y1="77.851" x2="16.383" y2="69.342" width="0.8128" layer="16"/> +<wire x1="16.002" y1="78.232" x2="16.383" y2="77.851" width="0.8128" layer="16"/> +</signal> +<signal name="N$7" class="1"> +<contactref element="U$7" pad="P$3"/> +<contactref element="U$6" pad="P$5"/> +<wire x1="23.368" y1="64.897" x2="23.368" y2="64.262" width="0.8128" layer="16"/> +<wire x1="18.542" y1="69.723" x2="23.368" y2="64.897" width="0.8128" layer="16"/> +<wire x1="18.542" y1="78.232" x2="18.542" y2="69.723" width="0.8128" layer="16"/> +<wire x1="18.542" y1="78.232" x2="18.502" y2="78.232" width="0.8128" layer="16"/> +</signal> +<signal name="N$8" class="1"> +<contactref element="U$6" pad="P$6"/> +<contactref element="U$7" pad="P$4"/> +<wire x1="23.368" y1="67.437" x2="23.368" y2="66.802" width="0.8128" layer="16"/> +<wire x1="21.082" y1="69.723" x2="23.368" y2="67.437" width="0.8128" layer="16"/> +<wire x1="21.082" y1="78.232" x2="21.082" y2="69.723" width="0.8128" layer="16"/> +<wire x1="21.082" y1="78.232" x2="21.002" y2="78.232" width="0.8128" layer="16"/> +</signal> +<signal name="N$9"> +<contactref element="R4" pad="1"/> +<contactref element="R5" pad="2"/> +<contactref element="JP2" pad="1"/> +<wire x1="34.036" y1="62.484" x2="34.036" y2="59.944" width="0.254" layer="1"/> +<wire x1="44.958" y1="50.673" x2="44.958" y2="50.292" width="0.254" layer="16"/> +<wire x1="37.973" y1="57.658" x2="44.958" y2="50.673" width="0.254" layer="16"/> +<wire x1="36.322" y1="57.658" x2="37.973" y2="57.658" width="0.254" layer="16"/> +<wire x1="34.036" y1="59.944" x2="36.322" y2="57.658" width="0.254" layer="16"/> +</signal> +<signal name="VREF2"> +<contactref element="R3" pad="2"/> +<contactref element="B1" pad="D6"/> +<wire x1="38.481" y1="71.882" x2="40.386" y2="71.882" width="0.254" layer="1"/> +<wire x1="32.639" y1="77.724" x2="38.481" y2="71.882" width="0.254" layer="1"/> +<wire x1="29.337" y1="77.724" x2="32.639" y2="77.724" width="0.254" layer="1"/> +<wire x1="24.638" y1="73.025" x2="29.337" y2="77.724" width="0.254" layer="1"/> +<wire x1="16.383" y1="73.025" x2="24.638" y2="73.025" width="0.254" layer="1"/> +<wire x1="13.716" y1="70.358" x2="16.383" y2="73.025" width="0.254" layer="1"/> +<wire x1="7.493" y1="70.358" x2="13.716" y2="70.358" width="0.254" layer="1"/> +<wire x1="6.985" y1="69.85" x2="7.493" y2="70.358" width="0.254" layer="1"/> +<wire x1="5.715" y1="69.85" x2="6.985" y2="69.85" width="0.254" layer="1"/> +<wire x1="5.08" y1="69.215" x2="5.715" y2="69.85" width="0.254" layer="1"/> +<wire x1="5.08" y1="67.31" x2="5.08" y2="69.215" width="0.254" layer="1"/> +<wire x1="6.35" y1="66.04" x2="5.08" y2="67.31" width="0.254" layer="1"/> +</signal> +<signal name="A_VREF2"> +<contactref element="R3" pad="1"/> +<contactref element="C1" pad="1"/> +<contactref element="R4" pad="2"/> +<contactref element="B1" pad="A5"/> +<wire x1="40.386" y1="61.722" x2="40.386" y2="58.674" width="0.254" layer="1"/> +<wire x1="37.719" y1="72.644" x2="34.036" y2="72.644" width="0.254" layer="16"/> +<wire x1="40.386" y1="69.977" x2="37.719" y2="72.644" width="0.254" layer="16"/> +<wire x1="40.386" y1="61.722" x2="40.386" y2="69.977" width="0.254" layer="16"/> +<wire x1="54.61" y1="80.645" x2="54.61" y2="81.28" width="0.254" layer="1"/> +<wire x1="40.386" y1="66.421" x2="54.61" y2="80.645" width="0.254" layer="1"/> +<wire x1="40.386" y1="61.722" x2="40.386" y2="66.421" width="0.254" layer="1"/> +</signal> +<signal name="A_ENC2"> +<contactref element="R10" pad="1"/> +<contactref element="R9" pad="1"/> +<contactref element="R8" pad="1"/> +<contactref element="R7" pad="1"/> +<contactref element="B1" pad="A4"/> +<wire x1="15.24" y1="46.482" x2="11.938" y2="46.482" width="0.254" layer="1"/> +<wire x1="15.24" y1="46.482" x2="18.542" y2="46.482" width="0.254" layer="1"/> +<wire x1="18.542" y1="46.482" x2="21.844" y2="46.482" width="0.254" layer="1"/> +<wire x1="54.61" y1="78.105" x2="54.61" y2="78.74" width="0.254" layer="1"/> +<wire x1="41.402" y1="64.897" x2="54.61" y2="78.105" width="0.254" layer="1"/> +<wire x1="41.402" y1="56.261" x2="41.402" y2="64.897" width="0.254" layer="1"/> +<wire x1="38.608" y1="53.467" x2="41.402" y2="56.261" width="0.254" layer="1"/> +<wire x1="38.608" y1="52.705" x2="38.608" y2="53.467" width="0.254" layer="1"/> +<wire x1="32.385" y1="46.482" x2="38.608" y2="52.705" width="0.254" layer="1"/> +<wire x1="21.844" y1="46.482" x2="32.385" y2="46.482" width="0.254" layer="1"/> +</signal> +<signal name="A_POT2"> +<contactref element="B1" pad="A3"/> +<contactref element="U$2" pad="P$2"/> +<wire x1="53.467" y1="76.2" x2="54.61" y2="76.2" width="0.254" layer="1"/> +<wire x1="41.91" y1="64.643" x2="53.467" y2="76.2" width="0.254" layer="1"/> +<wire x1="41.91" y1="55.245" x2="41.91" y2="64.643" width="0.254" layer="1"/> +<wire x1="41.529" y1="54.864" x2="41.91" y2="55.245" width="0.254" layer="1"/> +<wire x1="41.529" y1="52.832" x2="41.529" y2="54.864" width="0.254" layer="1"/> +<wire x1="29.21" y1="40.513" x2="41.529" y2="52.832" width="0.254" layer="1"/> +<wire x1="29.21" y1="40.132" x2="29.21" y2="40.513" width="0.254" layer="1"/> +</signal> +<signal name="CLK2"> +<contactref element="U$6" pad="P$10"/> +<contactref element="B1" pad="D7"/> +<wire x1="10.668" y1="57.785" x2="10.668" y2="56.642" width="0.254" layer="16"/> +<wire x1="6.35" y1="62.103" x2="10.668" y2="57.785" width="0.254" layer="16"/> +<wire x1="6.35" y1="63.5" x2="6.35" y2="62.103" width="0.254" layer="16"/> +</signal> +<signal name="DIR2"> +<contactref element="U$6" pad="P$9"/> +<contactref element="B1" pad="D5"/> +<wire x1="10.668" y1="55.245" x2="10.668" y2="54.102" width="0.254" layer="1"/> +<wire x1="7.62" y1="58.293" x2="10.668" y2="55.245" width="0.254" layer="1"/> +<wire x1="7.62" y1="67.31" x2="7.62" y2="58.293" width="0.254" layer="1"/> +<wire x1="6.35" y1="68.58" x2="7.62" y2="67.31" width="0.254" layer="1"/> +</signal> +<signal name="ENC2_EA+"> +<contactref element="U$8" pad="P1"/> +<contactref element="R7" pad="2"/> +<wire x1="21.844" y1="31.623" x2="21.844" y2="36.322" width="0.254" layer="1"/> +<wire x1="19.304" y1="29.083" x2="21.844" y2="31.623" width="0.254" layer="1"/> +<wire x1="18.542" y1="29.083" x2="19.304" y2="29.083" width="0.254" layer="1"/> +<wire x1="18.542" y1="29.083" x2="18.417" y2="28.998" width="0.254" layer="1"/> +</signal> +<signal name="ENC2_EB+"> +<contactref element="U$8" pad="P11"/> +<contactref element="R8" pad="2"/> +<wire x1="18.542" y1="33.02" x2="18.542" y2="36.322" width="0.254" layer="1"/> +<wire x1="18.542" y1="33.02" x2="18.417" y2="32.978" width="0.254" layer="1"/> +</signal> +<signal name="ENC2_EB-"> +<contactref element="U$8" pad="P12"/> +<contactref element="R10" pad="2"/> +<wire x1="12.7" y1="36.322" x2="11.938" y2="36.322" width="0.254" layer="16"/> +<wire x1="16.002" y1="33.02" x2="12.7" y2="36.322" width="0.254" layer="16"/> +<wire x1="16.002" y1="33.02" x2="16.127" y2="32.978" width="0.254" layer="16"/> +</signal> +<signal name="ENC2_EA-"> +<contactref element="U$8" pad="P13"/> +<contactref element="R9" pad="2"/> +<wire x1="15.24" y1="34.417" x2="15.24" y2="36.322" width="0.254" layer="1"/> +<wire x1="13.843" y1="33.02" x2="15.24" y2="34.417" width="0.254" layer="1"/> +<wire x1="13.843" y1="33.02" x2="13.837" y2="32.978" width="0.254" layer="1"/> +</signal> +<signal name="ENC1_EA+"> +<contactref element="U$9" pad="P1"/> +<contactref element="R13" pad="2"/> +<wire x1="48.768" y1="35.56" x2="48.768" y2="36.576" width="0.254" layer="1"/> +<wire x1="52.07" y1="32.258" x2="48.768" y2="35.56" width="0.254" layer="1"/> +<wire x1="52.07" y1="30.607" x2="52.07" y2="32.258" width="0.254" layer="1"/> +<wire x1="50.546" y1="29.083" x2="52.07" y2="30.607" width="0.254" layer="1"/> +<wire x1="49.784" y1="29.083" x2="50.546" y2="29.083" width="0.254" layer="1"/> +<wire x1="49.784" y1="29.083" x2="49.659" y2="28.998" width="0.254" layer="1"/> +</signal> +<signal name="ENC1_EB+"> +<contactref element="U$9" pad="P11"/> +<contactref element="R14" pad="2"/> +<wire x1="46.101" y1="36.576" x2="45.466" y2="36.576" width="0.254" layer="1"/> +<wire x1="49.657" y1="33.02" x2="46.101" y2="36.576" width="0.254" layer="1"/> +<wire x1="49.657" y1="33.02" x2="49.659" y2="32.978" width="0.254" layer="1"/> +</signal> +<signal name="ENC1_EA-"> +<contactref element="U$9" pad="P13"/> +<contactref element="R15" pad="2"/> +<wire x1="42.164" y1="35.814" x2="42.164" y2="36.576" width="0.254" layer="16"/> +<wire x1="44.958" y1="33.02" x2="42.164" y2="35.814" width="0.254" layer="16"/> +<wire x1="44.958" y1="33.02" x2="45.079" y2="32.978" width="0.254" layer="16"/> +</signal> +<signal name="ENC1_EB-"> +<contactref element="U$9" pad="P12"/> +<contactref element="R16" pad="2"/> +<wire x1="40.64" y1="36.576" x2="38.862" y2="36.576" width="0.254" layer="1"/> +<wire x1="43.053" y1="34.163" x2="40.64" y2="36.576" width="0.254" layer="1"/> +<wire x1="46.101" y1="34.163" x2="43.053" y2="34.163" width="0.254" layer="1"/> +<wire x1="47.244" y1="33.02" x2="46.101" y2="34.163" width="0.254" layer="1"/> +<wire x1="47.244" y1="33.02" x2="47.369" y2="32.978" width="0.254" layer="1"/> +</signal> +<signal name="VIN_ARD"> +<contactref element="B1" pad="VIN"/> </signal> </signals> +<errors> +<approved hash="1,20,59fa421a45725e92"/> +</errors> </board> </drawing> </eagle> diff --git a/EagleProject/driverv2.sch b/EagleProject/driverv2.sch index bd25d65..323f8c4 100644 --- a/EagleProject/driverv2.sch +++ b/EagleProject/driverv2.sch @@ -7587,99 +7587,6 @@ Shield form compatible with the Arduino Uno R3. </deviceset> </devicesets> </library> -<library name="con-jack"> -<description><b>Jacks</b><p> -Power Connectors<br> -Phone Connectors<br> -Cinch Connectors<br> -<author>Created by librarian@cadsoft.de</author></description> -<packages> -<package name="DCJ0202"> -<description><b>DC POWER JACK</b><p> -Source: DCJ0202.pdf</description> -<wire x1="1.65" y1="2.6" x2="-1.65" y2="2.6" width="0" layer="46"/> -<wire x1="-1.65" y1="2.6" x2="-1.65" y2="3.6" width="0" layer="46"/> -<wire x1="-1.65" y1="3.6" x2="1.65" y2="3.6" width="0" layer="46"/> -<wire x1="1.65" y1="3.6" x2="1.65" y2="2.6" width="0" layer="46"/> -<wire x1="5.3" y1="1.4" x2="4.3" y2="1.4" width="0" layer="46"/> -<wire x1="4.3" y1="1.4" x2="4.3" y2="-1.4" width="0" layer="46"/> -<wire x1="4.3" y1="-1.4" x2="5.3" y2="-1.4" width="0" layer="46"/> -<wire x1="5.3" y1="-1.4" x2="5.3" y2="1.4" width="0" layer="46"/> -<wire x1="1.4" y1="-3.5" x2="-1.4" y2="-3.5" width="0" layer="46"/> -<wire x1="-1.4" y1="-3.5" x2="-1.4" y2="-2.5" width="0" layer="46"/> -<wire x1="-1.4" y1="-2.5" x2="1.4" y2="-2.5" width="0" layer="46"/> -<wire x1="1.4" y1="-2.5" x2="1.4" y2="-3.5" width="0" layer="46"/> -<wire x1="-4.3" y1="-10.4" x2="4.3" y2="-10.4" width="0.2032" layer="21"/> -<wire x1="4.3" y1="-10.4" x2="4.3" y2="3.9" width="0.2032" layer="51"/> -<wire x1="4.3" y1="3.9" x2="-4.3" y2="3.9" width="0.2032" layer="51"/> -<wire x1="-4.3" y1="3.9" x2="-4.3" y2="-10.4" width="0.2032" layer="21"/> -<wire x1="-2.7" y1="3.9" x2="-4.3" y2="3.9" width="0.2032" layer="21"/> -<wire x1="4.3" y1="3.9" x2="2.7" y2="3.9" width="0.2032" layer="21"/> -<wire x1="-3" y1="-10.275" x2="-3" y2="-3" width="0.2032" layer="51" style="shortdash"/> -<wire x1="3" y1="-10.3" x2="3" y2="-3" width="0.2032" layer="51" style="shortdash"/> -<wire x1="3" y1="-3" x2="-3" y2="-3" width="0.2032" layer="51" style="shortdash"/> -<wire x1="-0.9" y1="-9" x2="-0.9" y2="-4.5" width="0.2032" layer="51" style="shortdash"/> -<wire x1="0.9" y1="-9" x2="0.9" y2="-4.5" width="0.2032" layer="51" style="shortdash"/> -<wire x1="-0.9" y1="-9" x2="0.9" y2="-9" width="0.2032" layer="51" curve="166.57811"/> -<wire x1="4.3" y1="-10.4" x2="4.3" y2="-2.45" width="0.2032" layer="21"/> -<wire x1="4.3" y1="2.3" x2="4.3" y2="3.9" width="0.2032" layer="21"/> -<pad name="1" x="0" y="3.1" drill="1" diameter="2" shape="long" rot="R180"/> -<pad name="3" x="0" y="-3" drill="1" diameter="2" shape="long" rot="R180"/> -<pad name="2" x="4.8" y="0" drill="1" diameter="2" shape="long" rot="R90"/> -<text x="-3.81" y="5.08" size="1.27" layer="25">>NAME</text> -<text x="-5.08" y="-10.16" size="1.27" layer="27" rot="R90">>VALUE</text> -</package> -</packages> -<symbols> -<symbol name="DC-JACK-SWITCH"> -<wire x1="5.08" y1="2.54" x2="-2.54" y2="2.54" width="0.1524" layer="94"/> -<wire x1="-2.54" y1="2.54" x2="-2.54" y2="1.27" width="0.1524" layer="94"/> -<wire x1="5.08" y1="0" x2="2.54" y2="0" width="0.1524" layer="94"/> -<wire x1="2.54" y1="0" x2="2.54" y2="-2.54" width="0.1524" layer="94"/> -<wire x1="5.08" y1="-2.54" x2="2.54" y2="-2.54" width="0.1524" layer="94"/> -<wire x1="2.54" y1="-2.54" x2="0.762" y2="-2.54" width="0.1524" layer="94"/> -<wire x1="0.762" y1="-2.54" x2="0" y2="-1.016" width="0.1524" layer="94"/> -<wire x1="0" y1="-1.016" x2="-0.762" y2="-2.54" width="0.1524" layer="94"/> -<text x="-2.54" y="3.81" size="1.778" layer="95">>NAME</text> -<text x="-2.54" y="-6.35" size="1.778" layer="96">>VALUE</text> -<rectangle x1="-3.302" y1="-2.54" x2="-1.778" y2="1.27" layer="94"/> -<pin name="1" x="7.62" y="2.54" visible="pad" length="short" direction="pas" rot="R180"/> -<pin name="2" x="7.62" y="0" visible="pad" length="short" direction="pas" rot="R180"/> -<pin name="3" x="7.62" y="-2.54" visible="pad" length="short" direction="pas" rot="R180"/> -<polygon width="0.1524" layer="94"> -<vertex x="2.54" y="-2.54"/> -<vertex x="2.032" y="-1.27"/> -<vertex x="3.048" y="-1.27"/> -</polygon> -</symbol> -</symbols> -<devicesets> -<deviceset name="DCJ0202" prefix="J"> -<description><b>DC POWER JACK</b><p> -Source: DCJ0202.pdf</description> -<gates> -<gate name="G$1" symbol="DC-JACK-SWITCH" x="0" y="0"/> -</gates> -<devices> -<device name="" package="DCJ0202"> -<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=""> -<attribute name="MF" value="" constant="no"/> -<attribute name="MPN" value="" constant="no"/> -<attribute name="OC_FARNELL" value="unknown" constant="no"/> -<attribute name="OC_NEWARK" value="unknown" constant="no"/> -</technology> -</technologies> -</device> -</devices> -</deviceset> -</devicesets> -</library> <library name="lib"> <packages> <package name="POLOLU-2980"> @@ -7816,24 +7723,6 @@ Source: DCJ0202.pdf</description> </library> <library name="altronics"> <packages> -<package name="P2028"> -<pad name="P$1" x="-1.75" y="0" drill="0.8" shape="long" rot="R90"/> -<pad name="P$2" x="1.75" y="0" drill="0.8" shape="long" rot="R90"/> -<wire x1="-3.5" y1="3.5" x2="-3.5" y2="-3.5" width="0.127" layer="21"/> -<wire x1="-3.5" y1="-3.5" x2="3.5" y2="-3.5" width="0.127" layer="21"/> -<wire x1="3.5" y1="-3.5" x2="3.5" y2="3.5" width="0.127" layer="21"/> -<wire x1="3.5" y1="3.5" x2="-3.5" y2="3.5" width="0.127" layer="21"/> -</package> -<package name="P2029"> -<pad name="P$1" x="0" y="0" drill="0.8" shape="long" rot="R90"/> -<pad name="P$2" x="-3.5" y="0" drill="0.8" shape="long" rot="R90"/> -<pad name="P$3" x="3.5" y="0" drill="0.8" shape="long" rot="R90"/> -<wire x1="-5.5" y1="3.5" x2="-5.5" y2="-3.5" width="0.127" layer="21"/> -<wire x1="-5.5" y1="-3.5" x2="5.5" y2="-3.5" width="0.127" layer="21"/> -<wire x1="5.5" y1="-3.5" x2="5.5" y2="3.5" width="0.127" layer="21"/> -<wire x1="5.5" y1="3.5" x2="-5.5" y2="3.5" width="0.127" layer="21"/> -<text x="-3.81" y="3.81" size="1.27" layer="21">>NAME</text> -</package> <package name="P2024A"> <pad name="P$2" x="0" y="0" drill="1.3" shape="long" rot="R90"/> <pad name="P$1" x="-2.5" y="0" drill="1.3" shape="long" rot="R90"/> @@ -7844,23 +7733,44 @@ Source: DCJ0202.pdf</description> <wire x1="7.5" y1="-4" x2="-5" y2="-4" width="0.127" layer="21"/> <wire x1="-5" y1="-4" x2="-5" y2="4" width="0.127" layer="21"/> </package> +<package name="P3084A"> +<description>Altronics DE15 P3084A</description> +<pad name="P8" x="0.25" y="0" drill="1.1"/> +<pad name="P7" x="2.54" y="0" drill="1.1"/> +<pad name="P6" x="4.83" y="0" drill="1.1"/> +<pad name="P9" x="-2.04" y="0" drill="1.1"/> +<pad name="P10" x="-4.33" y="0" drill="1.1"/> +<pad name="P1" x="3.685" y="-1.99" drill="1.1"/> +<pad name="P2" x="1.395" y="-1.99" drill="1.1"/> +<pad name="P3" x="-0.895" y="-1.99" drill="1.1"/> +<pad name="P4" x="-3.185" y="-1.99" drill="1.1"/> +<pad name="P5" x="-5.475" y="-1.99" drill="1.1"/> +<pad name="P11" x="3.685" y="1.99" drill="1.1"/> +<pad name="P12" x="1.395" y="1.99" drill="1.1"/> +<pad name="P13" x="-0.895" y="1.99" drill="1.1"/> +<pad name="P14" x="-3.185" y="1.99" drill="1.1"/> +<pad name="P15" x="-5.475" y="1.99" drill="1.1"/> +<hole x="-12.5" y="0" drill="3.2"/> +<hole x="12.5" y="0" drill="3.2"/> +<wire x1="-15.5" y1="5.1" x2="15.5" y2="5.1" width="0.127" layer="21"/> +<wire x1="15.5" y1="5.1" x2="15.5" y2="-5" width="0.127" layer="21"/> +<wire x1="15.5" y1="-5" x2="-15.5" y2="-5" width="0.127" layer="21"/> +<wire x1="-15.5" y1="-5" x2="-15.5" y2="5.1" width="0.127" layer="21"/> +</package> +<package name="P0621"> +<pad name="S1" x="0" y="0" drill="3" rot="R90"/> +<pad name="P" x="6" y="0" drill="3" rot="R90"/> +<pad name="S2" x="3.2" y="-4.8" drill="3"/> +<rectangle x1="1.7" y1="-5.2" x2="4.7" y2="-4.4" layer="49"/> +<rectangle x1="-0.4" y1="-1.5" x2="0.4" y2="1.5" layer="49"/> +<rectangle x1="5.6" y1="-1.5" x2="6.4" y2="1.5" layer="49"/> +<wire x1="-7.5" y1="4.5" x2="6.7" y2="4.5" width="0.127" layer="21"/> +<wire x1="6.7" y1="4.5" x2="6.7" y2="-4.5" width="0.127" layer="21"/> +<wire x1="6.7" y1="-4.5" x2="-7.5" y2="-4.5" width="0.127" layer="21"/> +<wire x1="-7.5" y1="-4.5" x2="-7.5" y2="4.5" width="0.127" layer="21"/> +</package> </packages> <symbols> -<symbol name="P2028"> -<circle x="0" y="0" radius="0.635" width="0.254" layer="94"/> -<circle x="0" y="-2.54" radius="0.635" width="0.254" layer="94"/> -<pin name="P$1" x="-5.715" y="-2.54" visible="pad" length="middle"/> -<pin name="P$2" x="-5.715" y="0" visible="off" length="middle"/> -</symbol> -<symbol name="P2029"> -<circle x="0" y="0" radius="0.635" width="0.254" layer="94"/> -<circle x="0" y="2.54" radius="0.635" width="0.254" layer="94"/> -<circle x="0" y="-2.54" radius="0.635" width="0.254" layer="94"/> -<pin name="P$1" x="-5.08" y="2.54" visible="pad" length="middle"/> -<pin name="P$2" x="-5.08" y="0" visible="pad" length="middle"/> -<pin name="P$3" x="-5.08" y="-2.54" visible="pad" length="middle"/> -<text x="1.27" y="2.54" size="1.27" layer="94">>NAME</text> -</symbol> <symbol name="P2024A"> <circle x="0" y="0" radius="0.898025" width="0.254" layer="94"/> <circle x="0" y="-2.54" radius="0.898025" width="0.254" layer="94"/> @@ -7871,17 +7781,46 @@ Source: DCJ0202.pdf</description> <pin name="P$3" x="-5.08" y="-5.08" length="middle"/> <pin name="P$4" x="-5.08" y="-7.62" length="middle"/> </symbol> +<symbol name="DE15"> +<pin name="P$1" x="2.54" y="25.4" visible="pad" length="middle" rot="R180"/> +<pin name="P$2" x="2.54" y="17.78" visible="pad" length="middle" rot="R180"/> +<pin name="P$3" x="2.54" y="10.16" visible="pad" length="middle" rot="R180"/> +<pin name="P$4" x="2.54" y="2.54" visible="pad" length="middle" rot="R180"/> +<pin name="P$5" x="2.54" y="-5.08" visible="pad" length="middle" rot="R180"/> +<pin name="P$6" x="0" y="22.86" visible="pad" length="middle" rot="R180"/> +<pin name="P$7" x="0" y="15.24" visible="pad" length="middle" rot="R180"/> +<pin name="P$8" x="0" y="7.62" visible="pad" length="middle" rot="R180"/> +<pin name="P$9" x="0" y="0" visible="pad" length="middle" rot="R180"/> +<pin name="P$10" x="0" y="-7.62" visible="pad" length="middle" rot="R180"/> +<pin name="P$11" x="-2.54" y="20.32" visible="pad" length="middle" rot="R180"/> +<pin name="P$12" x="-2.54" y="12.7" visible="pad" length="middle" rot="R180"/> +<pin name="P$13" x="-2.54" y="5.08" visible="pad" length="middle" rot="R180"/> +<pin name="P$14" x="-2.54" y="-2.54" visible="pad" length="middle" rot="R180"/> +<pin name="P$15" x="-2.54" y="-10.16" visible="pad" length="middle" rot="R180"/> +</symbol> +<symbol name="DCJ"> +<pin name="P$1" x="5.08" y="2.54" visible="pad" length="middle" rot="R180"/> +<pin name="P$2" x="5.08" y="0" visible="pad" length="middle" rot="R180"/> +<pin name="P$3" x="5.08" y="-2.54" visible="pad" length="middle" rot="R180"/> +<wire x1="0" y1="0" x2="0" y2="-2.54" width="0.127" layer="94"/> +<wire x1="0" y1="2.54" x2="-7.62" y2="2.54" width="0.127" layer="94"/> +<wire x1="-7.62" y1="2.54" x2="-7.62" y2="0" width="0.254" layer="94"/> +<wire x1="-7.62" y1="0" x2="-7.62" y2="-2.54" width="1.778" layer="94"/> +<wire x1="0" y1="-2.54" x2="-2.54" y2="-2.54" width="0.127" layer="94"/> +</symbol> </symbols> <devicesets> -<deviceset name="P2028"> +<deviceset name="P2024A"> <gates> -<gate name="G$1" symbol="P2028" x="0" y="0"/> +<gate name="G$1" symbol="P2024A" x="0" y="2.54"/> </gates> <devices> -<device name="" package="P2028"> +<device name="" package="P2024A"> <connects> <connect gate="G$1" pin="P$1" pad="P$1"/> <connect gate="G$1" pin="P$2" pad="P$2"/> +<connect gate="G$1" pin="P$3" pad="P$3"/> +<connect gate="G$1" pin="P$4" pad="P$4"/> </connects> <technologies> <technology name=""/> @@ -7889,16 +7828,28 @@ Source: DCJ0202.pdf</description> </device> </devices> </deviceset> -<deviceset name="P2029"> +<deviceset name="DE15-P3084A"> <gates> -<gate name="G$1" symbol="P2029" x="0" y="-2.54"/> +<gate name="G$1" symbol="DE15" x="2.54" y="-7.62"/> </gates> <devices> -<device name="" package="P2029"> +<device name="" package="P3084A"> <connects> -<connect gate="G$1" pin="P$1" pad="P$1"/> -<connect gate="G$1" pin="P$2" pad="P$2"/> -<connect gate="G$1" pin="P$3" pad="P$3"/> +<connect gate="G$1" pin="P$1" pad="P1"/> +<connect gate="G$1" pin="P$10" pad="P10"/> +<connect gate="G$1" pin="P$11" pad="P11"/> +<connect gate="G$1" pin="P$12" pad="P12"/> +<connect gate="G$1" pin="P$13" pad="P13"/> +<connect gate="G$1" pin="P$14" pad="P14"/> +<connect gate="G$1" pin="P$15" pad="P15"/> +<connect gate="G$1" pin="P$2" pad="P2"/> +<connect gate="G$1" pin="P$3" pad="P3"/> +<connect gate="G$1" pin="P$4" pad="P4"/> +<connect gate="G$1" pin="P$5" pad="P5"/> +<connect gate="G$1" pin="P$6" pad="P6"/> +<connect gate="G$1" pin="P$7" pad="P7"/> +<connect gate="G$1" pin="P$8" pad="P8"/> +<connect gate="G$1" pin="P$9" pad="P9"/> </connects> <technologies> <technology name=""/> @@ -7906,17 +7857,16 @@ Source: DCJ0202.pdf</description> </device> </devices> </deviceset> -<deviceset name="P2024A"> +<deviceset name="P0621A"> <gates> -<gate name="G$1" symbol="P2024A" x="0" y="2.54"/> +<gate name="G$1" symbol="DCJ" x="2.54" y="0"/> </gates> <devices> -<device name="" package="P2024A"> +<device name="" package="P0621"> <connects> -<connect gate="G$1" pin="P$1" pad="P$1"/> -<connect gate="G$1" pin="P$2" pad="P$2"/> -<connect gate="G$1" pin="P$3" pad="P$3"/> -<connect gate="G$1" pin="P$4" pad="P$4"/> +<connect gate="G$1" pin="P$1" pad="P"/> +<connect gate="G$1" pin="P$2" pad="S2"/> +<connect gate="G$1" pin="P$3" pad="S1"/> </connects> <technologies> <technology name=""/> @@ -8013,185 +7963,254 @@ general purpose rectifier, 1 A</description> </class> </classes> <parts> -<part name="R1" library="rcl" deviceset="R-EU_" device="0309/12" value="4k7"/> +<part name="R1" library="rcl" deviceset="R-EU_" device="0309/12" value="56K"/> <part name="R6" library="rcl" deviceset="R-EU_" device="0309/10" value="22K"/> <part name="C2" library="resistor" deviceset="C-EU" device="050-030X075" value="47n"/> <part name="SUPPLY6" library="supply2" deviceset="GND" device=""/> -<part name="SUPPLY7" library="supply2" deviceset="GND" device=""/> -<part name="SUPPLY11" library="supply2" deviceset="GND" device=""/> -<part name="R7" library="rcl" deviceset="R-EU_" device="0309/10" value="1K"/> -<part name="R8" library="rcl" deviceset="R-EU_" device="0309/10" value="2K"/> -<part name="R9" library="rcl" deviceset="R-EU_" device="0309/10" value="4K"/> -<part name="R10" library="rcl" deviceset="R-EU_" device="0309/10" value="8K"/> -<part name="R11" library="rcl" deviceset="R-EU_" device="0309/10" value="1K"/> +<part name="R7" library="rcl" deviceset="R-EU_" device="0309/10" value="10K"/> +<part name="R8" library="rcl" deviceset="R-EU_" device="0309/10" value="22K"/> +<part name="R9" library="rcl" deviceset="R-EU_" device="0309/10" value="39K"/> +<part name="R10" library="rcl" deviceset="R-EU_" device="0309/10" value="82K"/> <part name="SUPPLY12" library="supply2" deviceset="GND" device=""/> <part name="B1" library="SparkFun-Boards" deviceset="ARDUINO_UNO_R3_SHIELD" device="BASIC"/> <part name="SUPPLY2" library="supply2" deviceset="GND" device=""/> -<part name="J1" library="con-jack" deviceset="DCJ0202" device=""/> <part name="SUPPLY3" library="supply2" deviceset="GND" device=""/> <part name="R2" library="rcl" deviceset="R-EU_" device="0309/10" value="56K"/> <part name="R12" library="rcl" deviceset="R-EU_" device="0309/10" value="10K"/> <part name="SUPPLY5" library="supply2" deviceset="GND" device=""/> <part name="U$1" library="lib" deviceset="POLOLU-2980" device=""/> -<part name="SUPPLY1" library="supply2" deviceset="GND" device=""/> <part name="JP1" library="pinhead" deviceset="PINHD-1X1" device=""/> -<part name="U$2" library="altronics" deviceset="P2028" device=""/> -<part name="U$3" library="altronics" deviceset="P2029" device=""/> -<part name="U$4" library="altronics" deviceset="P2029" device=""/> <part name="U$5" library="altronics" deviceset="P2024A" device=""/> <part name="D1" library="diode" deviceset="1N4004" device=""/> +<part name="U$6" library="lib" deviceset="POLOLU-2980" device=""/> +<part name="U$7" library="altronics" deviceset="P2024A" device=""/> +<part name="R3" library="rcl" deviceset="R-EU_" device="0309/10" value="22K"/> +<part name="C1" library="resistor" deviceset="C-EU" device="050-030X075" value="47n"/> +<part name="SUPPLY9" library="supply2" deviceset="GND" device=""/> +<part name="R4" library="rcl" deviceset="R-EU_" device="0309/10" value="56K"/> +<part name="R5" library="rcl" deviceset="R-EU_" device="0309/10" value="10K"/> +<part name="JP2" library="pinhead" deviceset="PINHD-1X1" device=""/> +<part name="SUPPLY10" library="supply2" deviceset="GND" device=""/> +<part name="R13" library="rcl" deviceset="R-EU_" device="0309/10" value="10K"/> +<part name="R14" library="rcl" deviceset="R-EU_" device="0309/10" value="22K"/> +<part name="R15" library="rcl" deviceset="R-EU_" device="0309/10" value="39K"/> +<part name="R16" library="rcl" deviceset="R-EU_" device="0309/10" value="82K"/> +<part name="SUPPLY14" library="supply2" deviceset="GND" device=""/> +<part name="U$2" library="altronics" deviceset="P2024A" device=""/> +<part name="U$8" library="altronics" deviceset="DE15-P3084A" device=""/> +<part name="U$9" library="altronics" deviceset="DE15-P3084A" device=""/> +<part name="U$3" library="altronics" deviceset="P0621A" device=""/> </parts> <sheets> <sheet> <plain> <text x="10.16" y="68.58" size="1.778" layer="91">ENABLE pulled high</text> -<text x="-12.7" y="93.98" size="1.778" layer="91">0-3.3 V</text> -<text x="0" y="81.28" size="1.778" layer="91">0-0.5V</text> -<text x="53.34" y="142.24" size="1.778" layer="91">TODO: +<text x="-20.32" y="96.52" size="1.778" layer="91">0-3.3 V</text> +<text x="-10.16" y="91.44" size="1.778" layer="91">0-0.5V</text> +<text x="93.98" y="157.48" size="1.778" layer="91">TODO: - TVS diode for flyback protection (or a F-off cap on the supply)</text> -<text x="-43.18" y="68.58" size="1.778" layer="91">1kHz +<text x="-50.8" y="71.12" size="1.778" layer="91">1kHz 1ms TC 22K is random 47n gives above TC</text> +<text x="-20.32" y="147.32" size="1.778" layer="91">0-3.3 V</text> +<text x="-7.62" y="142.24" size="1.778" layer="91">0-0.5V</text> +<text x="-50.8" y="121.92" size="1.778" layer="91">1kHz +1ms TC +22K is random +47n gives above TC</text> +<text x="-91.44" y="91.44" size="1.778" layer="91">The encoder either ties high, or ties low + 0 0 -- 0 + 1 15 -- 19 + 2 33 -- 39 + 3 49 -- 57 + 4 59 -- 68 + 5 75 -- 86 + 6 93 -- 105 + 7 110 -- 122 + 8 133 -- 145 + 9 150 -- 162 +10 169 -- 180 +11 187 -- 196 +12 198 -- 206 +13 216 -- 222 +14 236 -- 240 +15 255 -- 255 +</text> </plain> <instances> <instance part="R1" gate="G$1" x="10.16" y="149.86" rot="R270"/> -<instance part="R6" gate="G$1" x="-17.78" y="96.52" rot="R90"/> -<instance part="C2" gate="G$1" x="-17.78" y="81.28"/> -<instance part="SUPPLY6" gate="GND" x="-17.78" y="63.5"/> -<instance part="SUPPLY7" gate="GND" x="-66.04" y="66.04"/> -<instance part="SUPPLY11" gate="GND" x="-63.5" y="76.2"/> -<instance part="R7" gate="G$1" x="-93.98" y="88.9"/> -<instance part="R8" gate="G$1" x="-86.36" y="86.36"/> -<instance part="R9" gate="G$1" x="-78.74" y="83.82"/> -<instance part="R10" gate="G$1" x="-71.12" y="81.28"/> -<instance part="R11" gate="G$1" x="-101.6" y="73.66" rot="R90"/> -<instance part="SUPPLY12" gate="GND" x="-101.6" y="63.5"/> -<instance part="B1" gate="G$1" x="-86.36" y="137.16"/> -<instance part="SUPPLY2" gate="GND" x="-104.14" y="104.14"/> -<instance part="J1" gate="G$1" x="-48.26" y="152.4"/> -<instance part="SUPPLY3" gate="GND" x="-33.02" y="147.32"/> -<instance part="R2" gate="G$1" x="-5.08" y="86.36" rot="R90"/> -<instance part="R12" gate="G$1" x="-5.08" y="73.66" rot="R90"/> -<instance part="SUPPLY5" gate="GND" x="99.06" y="73.66"/> +<instance part="R6" gate="G$1" x="-25.4" y="99.06" rot="R90"/> +<instance part="C2" gate="G$1" x="-25.4" y="83.82"/> +<instance part="SUPPLY6" gate="GND" x="-25.4" y="66.04"/> +<instance part="R7" gate="G$1" x="-114.3" y="99.06" rot="R180"/> +<instance part="R8" gate="G$1" x="-109.22" y="93.98" rot="R180"/> +<instance part="R9" gate="G$1" x="-114.3" y="88.9" rot="R180"/> +<instance part="R10" gate="G$1" x="-109.22" y="83.82" rot="R180"/> +<instance part="SUPPLY12" gate="GND" x="-104.14" y="66.04"/> +<instance part="B1" gate="G$1" x="-83.82" y="198.12"/> +<instance part="SUPPLY2" gate="GND" x="-101.6" y="170.18"/> +<instance part="SUPPLY3" gate="GND" x="58.42" y="172.72"/> +<instance part="R2" gate="G$1" x="-15.24" y="88.9" rot="R90"/> +<instance part="R12" gate="G$1" x="-15.24" y="76.2" rot="R90"/> +<instance part="SUPPLY5" gate="GND" x="104.14" y="73.66"/> <instance part="U$1" gate="G$1" x="58.42" y="91.44" rot="R180"/> -<instance part="SUPPLY1" gate="GND" x="96.52" y="104.14"/> -<instance part="JP1" gate="G$1" x="27.94" y="60.96"/> -<instance part="U$2" gate="G$1" x="-55.88" y="71.12"/> -<instance part="U$3" gate="G$1" x="-53.34" y="88.9"/> -<instance part="U$4" gate="G$1" x="-53.34" y="81.28"/> +<instance part="JP1" gate="G$1" x="-5.08" y="83.82"/> <instance part="U$5" gate="G$1" x="144.78" y="96.52"/> -<instance part="D1" gate="1" x="-17.78" y="152.4" rot="R90"/> +<instance part="D1" gate="1" x="73.66" y="177.8" rot="R90"/> +<instance part="U$6" gate="G$1" x="58.42" y="134.62" rot="R180"/> +<instance part="U$7" gate="G$1" x="106.68" y="134.62"/> +<instance part="R3" gate="G$1" x="-25.4" y="149.86" rot="R90"/> +<instance part="C1" gate="G$1" x="-25.4" y="134.62"/> +<instance part="SUPPLY9" gate="GND" x="-25.4" y="116.84"/> +<instance part="R4" gate="G$1" x="-15.24" y="139.7" rot="R90"/> +<instance part="R5" gate="G$1" x="-15.24" y="127" rot="R90"/> +<instance part="JP2" gate="G$1" x="-5.08" y="134.62"/> +<instance part="SUPPLY10" gate="GND" x="-66.04" y="60.96"/> +<instance part="R13" gate="G$1" x="-114.3" y="152.4" rot="R180"/> +<instance part="R14" gate="G$1" x="-109.22" y="147.32" rot="R180"/> +<instance part="R15" gate="G$1" x="-114.3" y="142.24" rot="R180"/> +<instance part="R16" gate="G$1" x="-109.22" y="137.16" rot="R180"/> +<instance part="SUPPLY14" gate="GND" x="-104.14" y="121.92"/> +<instance part="U$2" gate="G$1" x="-58.42" y="71.12"/> +<instance part="U$8" gate="G$1" x="-137.16" y="73.66"/> +<instance part="U$9" gate="G$1" x="-139.7" y="127"/> +<instance part="U$3" gate="G$1" x="45.72" y="177.8"/> </instances> <busses> </busses> <nets> <net name="VREF" class="0"> <segment> -<wire x1="-73.66" y1="147.32" x2="-66.04" y2="147.32" width="0.1524" layer="91"/> -<label x="-68.58" y="147.32" size="1.778" layer="95"/> -<pinref part="B1" gate="G$1" pin="D2"/> +<pinref part="R6" gate="G$1" pin="2"/> +<wire x1="-25.4" y1="104.14" x2="-25.4" y2="109.22" width="0.1524" layer="91"/> +<label x="-25.4" y="109.22" size="1.778" layer="95" rot="R180" xref="yes"/> </segment> <segment> -<pinref part="R6" gate="G$1" pin="2"/> -<wire x1="-17.78" y1="101.6" x2="-17.78" y2="106.68" width="0.1524" layer="91"/> -<label x="-17.78" y="106.68" size="1.778" layer="95" rot="R180" xref="yes"/> +<pinref part="B1" gate="G$1" pin="*D3"/> +<wire x1="-71.12" y1="205.74" x2="-66.04" y2="205.74" width="0.1524" layer="91"/> +<label x="-66.04" y="205.74" size="1.778" layer="95"/> </segment> </net> -<net name="CLOCK" class="0"> +<net name="CLK" class="0"> <segment> -<wire x1="27.94" y1="101.6" x2="17.78" y2="101.6" width="0.1524" layer="91"/> -<label x="17.78" y="101.6" size="1.778" layer="95"/> -<label x="17.78" y="101.6" size="1.778" layer="95" rot="R180" xref="yes"/> +<wire x1="27.94" y1="101.6" x2="22.86" y2="101.6" width="0.1524" layer="91"/> +<label x="22.86" y="101.6" size="1.778" layer="95" rot="R180" xref="yes"/> <pinref part="U$1" gate="G$1" pin="STEP"/> </segment> <segment> <pinref part="B1" gate="G$1" pin="D4"/> -<wire x1="-73.66" y1="142.24" x2="-63.5" y2="142.24" width="0.1524" layer="91"/> -<label x="-68.58" y="142.24" size="1.778" layer="95"/> -<label x="-68.58" y="142.24" size="1.778" layer="95"/> +<wire x1="-71.12" y1="203.2" x2="-60.96" y2="203.2" width="0.1524" layer="91"/> +<label x="-66.04" y="203.2" size="1.778" layer="95"/> +<label x="-66.04" y="203.2" size="1.778" layer="95"/> </segment> </net> <net name="GND" class="1"> <segment> -<pinref part="SUPPLY7" gate="GND" pin="GND"/> -<pinref part="U$2" gate="G$1" pin="P$1"/> -<wire x1="-61.595" y1="68.58" x2="-66.04" y2="68.58" width="0.1524" layer="91"/> -</segment> -<segment> -<wire x1="-58.42" y1="78.74" x2="-63.5" y2="78.74" width="0.1524" layer="91"/> -<pinref part="SUPPLY11" gate="GND" pin="GND"/> -<pinref part="U$4" gate="G$1" pin="P$3"/> -</segment> -<segment> -<pinref part="R11" gate="G$1" pin="1"/> <pinref part="SUPPLY12" gate="GND" pin="GND"/> -<wire x1="-101.6" y1="68.58" x2="-101.6" y2="66.04" width="0.1524" layer="91"/> +<wire x1="-104.14" y1="68.58" x2="-104.14" y2="71.12" width="0.1524" layer="91"/> +<pinref part="U$8" gate="G$1" pin="P$3"/> +<wire x1="-134.62" y1="83.82" x2="-124.46" y2="83.82" width="0.1524" layer="91"/> +<wire x1="-124.46" y1="83.82" x2="-124.46" y2="71.12" width="0.1524" layer="91"/> +<wire x1="-124.46" y1="71.12" x2="-104.14" y2="71.12" width="0.1524" layer="91"/> </segment> <segment> <pinref part="B1" gate="G$1" pin="GND@2"/> -<wire x1="-99.06" y1="119.38" x2="-104.14" y2="119.38" width="0.1524" layer="91"/> -<wire x1="-104.14" y1="119.38" x2="-104.14" y2="116.84" width="0.1524" layer="91"/> +<wire x1="-96.52" y1="180.34" x2="-101.6" y2="180.34" width="0.1524" layer="91"/> +<wire x1="-101.6" y1="180.34" x2="-101.6" y2="177.8" width="0.1524" layer="91"/> <pinref part="B1" gate="G$1" pin="GND@1"/> -<wire x1="-104.14" y1="116.84" x2="-104.14" y2="114.3" width="0.1524" layer="91"/> -<wire x1="-104.14" y1="114.3" x2="-104.14" y2="106.68" width="0.1524" layer="91"/> -<wire x1="-99.06" y1="116.84" x2="-104.14" y2="116.84" width="0.1524" layer="91"/> -<junction x="-104.14" y="116.84"/> +<wire x1="-101.6" y1="177.8" x2="-101.6" y2="175.26" width="0.1524" layer="91"/> +<wire x1="-101.6" y1="175.26" x2="-101.6" y2="172.72" width="0.1524" layer="91"/> +<wire x1="-96.52" y1="177.8" x2="-101.6" y2="177.8" width="0.1524" layer="91"/> +<junction x="-101.6" y="177.8"/> <pinref part="B1" gate="G$1" pin="GND@0"/> -<wire x1="-99.06" y1="114.3" x2="-104.14" y2="114.3" width="0.1524" layer="91"/> -<junction x="-104.14" y="114.3"/> +<wire x1="-96.52" y1="175.26" x2="-101.6" y2="175.26" width="0.1524" layer="91"/> +<junction x="-101.6" y="175.26"/> <pinref part="SUPPLY2" gate="GND" pin="GND"/> </segment> <segment> -<pinref part="J1" gate="G$1" pin="3"/> -<wire x1="-40.64" y1="149.86" x2="-33.02" y2="149.86" width="0.1524" layer="91"/> -<label x="-35.56" y="149.86" size="1.778" layer="95"/> +<wire x1="50.8" y1="175.26" x2="58.42" y2="175.26" width="0.1524" layer="91"/> +<label x="55.88" y="175.26" size="1.778" layer="95"/> <pinref part="SUPPLY3" gate="GND" pin="GND"/> -<wire x1="-17.78" y1="149.86" x2="-33.02" y2="149.86" width="0.1524" layer="91"/> -<junction x="-33.02" y="149.86"/> +<wire x1="73.66" y1="175.26" x2="58.42" y2="175.26" width="0.1524" layer="91"/> +<junction x="58.42" y="175.26"/> <pinref part="D1" gate="1" pin="A"/> +<pinref part="U$3" gate="G$1" pin="P$3"/> </segment> <segment> <pinref part="C2" gate="G$1" pin="2"/> <pinref part="SUPPLY6" gate="GND" pin="GND"/> -<wire x1="-17.78" y1="76.2" x2="-17.78" y2="68.58" width="0.1524" layer="91"/> +<wire x1="-25.4" y1="78.74" x2="-25.4" y2="71.12" width="0.1524" layer="91"/> <pinref part="R12" gate="G$1" pin="1"/> -<wire x1="-17.78" y1="68.58" x2="-17.78" y2="66.04" width="0.1524" layer="91"/> -<wire x1="-5.08" y1="68.58" x2="-17.78" y2="68.58" width="0.1524" layer="91"/> -<junction x="-17.78" y="68.58"/> +<wire x1="-25.4" y1="71.12" x2="-25.4" y2="68.58" width="0.1524" layer="91"/> +<wire x1="-15.24" y1="71.12" x2="-25.4" y2="71.12" width="0.1524" layer="91"/> +<junction x="-25.4" y="71.12"/> +</segment> +<segment> +<pinref part="C1" gate="G$1" pin="2"/> +<pinref part="SUPPLY9" gate="GND" pin="GND"/> +<wire x1="-25.4" y1="129.54" x2="-25.4" y2="121.92" width="0.1524" layer="91"/> +<pinref part="R5" gate="G$1" pin="1"/> +<wire x1="-25.4" y1="121.92" x2="-25.4" y2="119.38" width="0.1524" layer="91"/> +<wire x1="-15.24" y1="121.92" x2="-25.4" y2="121.92" width="0.1524" layer="91"/> +<junction x="-25.4" y="121.92"/> +</segment> +<segment> +<pinref part="SUPPLY10" gate="GND" pin="GND"/> +<wire x1="-63.5" y1="63.5" x2="-66.04" y2="63.5" width="0.1524" layer="91"/> +<pinref part="U$2" gate="G$1" pin="P$4"/> </segment> <segment> -<wire x1="93.98" y1="76.2" x2="99.06" y2="76.2" width="0.1524" layer="91"/> +<pinref part="SUPPLY14" gate="GND" pin="GND"/> +<wire x1="-104.14" y1="127" x2="-104.14" y2="124.46" width="0.1524" layer="91"/> +<pinref part="U$9" gate="G$1" pin="P$3"/> +<wire x1="-137.16" y1="137.16" x2="-127" y2="137.16" width="0.1524" layer="91"/> +<label x="-134.62" y="137.16" size="1.778" layer="95"/> +<wire x1="-127" y1="137.16" x2="-127" y2="124.46" width="0.1524" layer="91"/> +<wire x1="-127" y1="124.46" x2="-104.14" y2="124.46" width="0.1524" layer="91"/> +<junction x="-104.14" y="124.46"/> +</segment> +<segment> +<pinref part="U$1" gate="G$1" pin="GND@1"/> +<wire x1="81.28" y1="106.68" x2="93.98" y2="106.68" width="0.1524" layer="91"/> +<pinref part="U$6" gate="G$1" pin="GND@1"/> +<wire x1="81.28" y1="149.86" x2="93.98" y2="149.86" width="0.1524" layer="91"/> +<wire x1="93.98" y1="149.86" x2="93.98" y2="119.38" width="0.1524" layer="91"/> +<junction x="93.98" y="106.68"/> +<pinref part="U$6" gate="G$1" pin="GND@7"/> +<wire x1="93.98" y1="119.38" x2="93.98" y2="106.68" width="0.1524" layer="91"/> +<wire x1="81.28" y1="119.38" x2="93.98" y2="119.38" width="0.1524" layer="91"/> +<junction x="93.98" y="119.38"/> +<wire x1="93.98" y1="76.2" x2="104.14" y2="76.2" width="0.1524" layer="91"/> <pinref part="SUPPLY5" gate="GND" pin="GND"/> +<wire x1="93.98" y1="106.68" x2="93.98" y2="76.2" width="0.1524" layer="91"/> +<pinref part="U$1" gate="G$1" pin="GND@7"/> +<wire x1="81.28" y1="76.2" x2="93.98" y2="76.2" width="0.1524" layer="91"/> +<junction x="93.98" y="76.2"/> </segment> </net> <net name="A_ENC" class="0"> <segment> -<wire x1="-101.6" y1="81.28" x2="-101.6" y2="83.82" width="0.1524" layer="91"/> -<pinref part="R10" gate="G$1" pin="1"/> -<wire x1="-101.6" y1="83.82" x2="-101.6" y2="86.36" width="0.1524" layer="91"/> -<wire x1="-101.6" y1="86.36" x2="-101.6" y2="88.9" width="0.1524" layer="91"/> -<wire x1="-101.6" y1="88.9" x2="-101.6" y2="96.52" width="0.1524" layer="91"/> -<wire x1="-76.2" y1="81.28" x2="-101.6" y2="81.28" width="0.1524" layer="91"/> -<pinref part="R9" gate="G$1" pin="1"/> -<wire x1="-83.82" y1="83.82" x2="-101.6" y2="83.82" width="0.1524" layer="91"/> -<junction x="-101.6" y="83.82"/> -<pinref part="R8" gate="G$1" pin="1"/> -<wire x1="-91.44" y1="86.36" x2="-101.6" y2="86.36" width="0.1524" layer="91"/> -<junction x="-101.6" y="86.36"/> -<pinref part="R7" gate="G$1" pin="1"/> -<wire x1="-99.06" y1="88.9" x2="-101.6" y2="88.9" width="0.1524" layer="91"/> -<junction x="-101.6" y="88.9"/> -<pinref part="R11" gate="G$1" pin="2"/> -<wire x1="-101.6" y1="81.28" x2="-101.6" y2="78.74" width="0.1524" layer="91"/> -<junction x="-101.6" y="81.28"/> -<label x="-101.6" y="96.52" size="1.778" layer="95" xref="yes"/> +<pinref part="B1" gate="G$1" pin="A1"/> +<wire x1="-96.52" y1="213.36" x2="-104.14" y2="213.36" width="0.1524" layer="91"/> +<label x="-104.14" y="213.36" size="1.778" layer="95"/> </segment> <segment> -<pinref part="B1" gate="G$1" pin="A1"/> -<wire x1="-99.06" y1="152.4" x2="-106.68" y2="152.4" width="0.1524" layer="91"/> -<label x="-106.68" y="152.4" size="1.778" layer="95"/> +<wire x1="-104.14" y1="137.16" x2="-104.14" y2="142.24" width="0.1524" layer="91"/> +<pinref part="R16" gate="G$1" pin="1"/> +<wire x1="-104.14" y1="142.24" x2="-104.14" y2="147.32" width="0.1524" layer="91"/> +<wire x1="-104.14" y1="147.32" x2="-104.14" y2="152.4" width="0.1524" layer="91"/> +<wire x1="-104.14" y1="152.4" x2="-104.14" y2="157.48" width="0.1524" layer="91"/> +<pinref part="R15" gate="G$1" pin="1"/> +<wire x1="-109.22" y1="142.24" x2="-104.14" y2="142.24" width="0.1524" layer="91"/> +<junction x="-104.14" y="142.24"/> +<pinref part="R14" gate="G$1" pin="1"/> +<junction x="-104.14" y="147.32"/> +<pinref part="R13" gate="G$1" pin="1"/> +<wire x1="-109.22" y1="152.4" x2="-104.14" y2="152.4" width="0.1524" layer="91"/> +<junction x="-104.14" y="152.4"/> +<label x="-104.14" y="157.48" size="1.778" layer="95" xref="yes"/> </segment> </net> <net name="5V" class="0"> @@ -8204,43 +8223,58 @@ general purpose rectifier, 1 A</description> </segment> <segment> <pinref part="B1" gate="G$1" pin="5V"/> -<wire x1="-99.06" y1="127" x2="-104.14" y2="127" width="0.1524" layer="91"/> -<label x="-104.14" y="127" size="1.778" layer="95"/> +<wire x1="-96.52" y1="187.96" x2="-101.6" y2="187.96" width="0.1524" layer="91"/> +<label x="-101.6" y="187.96" size="1.778" layer="95"/> </segment> <segment> <pinref part="U$1" gate="G$1" pin="VDD"/> -<wire x1="81.28" y1="101.6" x2="91.44" y2="101.6" width="0.1524" layer="91"/> -<label x="91.44" y="101.6" size="1.778" layer="95"/> +<wire x1="81.28" y1="101.6" x2="86.36" y2="101.6" width="0.1524" layer="91"/> +<label x="101.6" y="101.6" size="1.778" layer="95" xref="yes"/> +<pinref part="U$6" gate="G$1" pin="VDD"/> +<wire x1="86.36" y1="101.6" x2="101.6" y2="101.6" width="0.1524" layer="91"/> +<wire x1="81.28" y1="144.78" x2="86.36" y2="144.78" width="0.1524" layer="91"/> +<wire x1="86.36" y1="144.78" x2="86.36" y2="101.6" width="0.1524" layer="91"/> +<junction x="86.36" y="101.6"/> </segment> </net> <net name="3V3" class="0"> <segment> -<wire x1="-58.42" y1="91.44" x2="-66.04" y2="91.44" width="0.1524" layer="91"/> -<label x="-66.04" y="91.44" size="1.778" layer="95"/> -<pinref part="U$3" gate="G$1" pin="P$1"/> +<pinref part="B1" gate="G$1" pin="3.3V"/> +<wire x1="-96.52" y1="185.42" x2="-101.6" y2="185.42" width="0.1524" layer="91"/> +<label x="-101.6" y="185.42" size="1.778" layer="95"/> </segment> <segment> -<pinref part="B1" gate="G$1" pin="3.3V"/> -<wire x1="-99.06" y1="124.46" x2="-104.14" y2="124.46" width="0.1524" layer="91"/> -<label x="-104.14" y="124.46" size="1.778" layer="95"/> +<pinref part="U$2" gate="G$1" pin="P$1"/> +<wire x1="-63.5" y1="71.12" x2="-73.66" y2="71.12" width="0.1524" layer="91"/> +<label x="-73.66" y="71.12" size="1.778" layer="95"/> </segment> -</net> -<net name="VIN" class="1"> <segment> -<pinref part="B1" gate="G$1" pin="VIN"/> -<wire x1="-99.06" y1="129.54" x2="-104.14" y2="129.54" width="0.1524" layer="91"/> -<label x="-104.14" y="129.54" size="1.778" layer="95"/> +<pinref part="U$9" gate="G$1" pin="P$2"/> +<wire x1="-137.16" y1="144.78" x2="-127" y2="144.78" width="0.1524" layer="91"/> +<label x="-127" y="144.78" size="1.778" layer="95" xref="yes"/> </segment> <segment> -<pinref part="J1" gate="G$1" pin="1"/> -<label x="-35.56" y="154.94" size="1.778" layer="95"/> -<wire x1="-40.64" y1="154.94" x2="-17.78" y2="154.94" width="0.1524" layer="91"/> +<pinref part="U$8" gate="G$1" pin="P$2"/> +<wire x1="-134.62" y1="91.44" x2="-127" y2="91.44" width="0.1524" layer="91"/> +<label x="-127" y="91.44" size="1.778" layer="95" xref="yes"/> +</segment> +</net> +<net name="VIN" class="1"> +<segment> +<label x="55.88" y="180.34" size="1.778" layer="95"/> +<wire x1="50.8" y1="180.34" x2="73.66" y2="180.34" width="0.1524" layer="91"/> <pinref part="D1" gate="1" pin="C"/> +<pinref part="U$3" gate="G$1" pin="P$1"/> </segment> <segment> <pinref part="U$1" gate="G$1" pin="VMOT"/> <wire x1="81.28" y1="71.12" x2="88.9" y2="71.12" width="0.1524" layer="91"/> -<label x="88.9" y="71.12" size="1.778" layer="95"/> +<label x="93.98" y="71.12" size="1.778" layer="95" xref="yes"/> +<pinref part="U$6" gate="G$1" pin="VMOT"/> +<wire x1="81.28" y1="114.3" x2="88.9" y2="114.3" width="0.1524" layer="91"/> +<wire x1="88.9" y1="114.3" x2="88.9" y2="71.12" width="0.1524" layer="91"/> +<junction x="88.9" y="71.12"/> +<wire x1="88.9" y1="71.12" x2="93.98" y2="71.12" width="0.1524" layer="91"/> </segment> </net> <net name="N$13" class="1"> @@ -8280,24 +8314,27 @@ general purpose rectifier, 1 A</description> <segment> <pinref part="R6" gate="G$1" pin="1"/> <pinref part="C2" gate="G$1" pin="1"/> -<wire x1="-25.4" y1="91.44" x2="-17.78" y2="91.44" width="0.1524" layer="91"/> -<junction x="-17.78" y="91.44"/> -<wire x1="-17.78" y1="91.44" x2="-5.08" y2="91.44" width="0.1524" layer="91"/> +<wire x1="-33.02" y1="93.98" x2="-25.4" y2="93.98" width="0.1524" layer="91"/> +<junction x="-25.4" y="93.98"/> +<wire x1="-25.4" y1="93.98" x2="-15.24" y2="93.98" width="0.1524" layer="91"/> <pinref part="R2" gate="G$1" pin="2"/> -<wire x1="-17.78" y1="91.44" x2="-17.78" y2="83.82" width="0.1524" layer="91"/> -<label x="-25.4" y="91.44" size="1.778" layer="95" rot="R180" xref="yes"/> +<wire x1="-25.4" y1="93.98" x2="-25.4" y2="86.36" width="0.1524" layer="91"/> +<label x="-33.02" y="93.98" size="1.778" layer="95" rot="R180" xref="yes"/> </segment> <segment> <pinref part="B1" gate="G$1" pin="A2"/> -<wire x1="-99.06" y1="149.86" x2="-106.68" y2="149.86" width="0.1524" layer="91"/> -<label x="-106.68" y="149.86" size="1.778" layer="95"/> +<wire x1="-96.52" y1="210.82" x2="-104.14" y2="210.82" width="0.1524" layer="91"/> +<label x="-104.14" y="210.82" size="1.778" layer="95"/> </segment> </net> <net name="5V_4K7" class="0"> <segment> <pinref part="R1" gate="G$1" pin="2"/> -<wire x1="10.16" y1="144.78" x2="10.16" y2="96.52" width="0.1524" layer="91"/> -<label x="2.54" y="109.22" size="1.778" layer="95"/> +<wire x1="10.16" y1="144.78" x2="10.16" y2="139.7" width="0.1524" layer="91"/> +<label x="-5.08" y="111.76" size="1.778" layer="95"/> +<wire x1="10.16" y1="139.7" x2="10.16" y2="134.62" width="0.1524" layer="91"/> +<wire x1="10.16" y1="134.62" x2="10.16" y2="114.3" width="0.1524" layer="91"/> +<wire x1="10.16" y1="114.3" x2="10.16" y2="96.52" width="0.1524" layer="91"/> <wire x1="10.16" y1="96.52" x2="27.94" y2="96.52" width="0.1524" layer="91"/> <wire x1="10.16" y1="96.52" x2="10.16" y2="91.44" width="0.1524" layer="91"/> <junction x="10.16" y="96.52"/> @@ -8308,89 +8345,267 @@ general purpose rectifier, 1 A</description> <wire x1="27.94" y1="91.44" x2="10.16" y2="91.44" width="0.1524" layer="91"/> <junction x="10.16" y="91.44"/> <pinref part="U$1" gate="G$1" pin="!SLP"/> +<pinref part="U$6" gate="G$1" pin="!SLP"/> +<wire x1="27.94" y1="139.7" x2="10.16" y2="139.7" width="0.1524" layer="91"/> +<junction x="10.16" y="139.7"/> +<pinref part="U$6" gate="G$1" pin="!RST"/> +<wire x1="27.94" y1="134.62" x2="10.16" y2="134.62" width="0.1524" layer="91"/> +<junction x="10.16" y="134.62"/> +<pinref part="U$6" gate="G$1" pin="EN"/> +<wire x1="27.94" y1="114.3" x2="10.16" y2="114.3" width="0.1524" layer="91"/> +<junction x="10.16" y="114.3"/> </segment> </net> -<net name="N$20" class="0"> +<net name="DIR" class="0"> <segment> -<wire x1="-58.42" y1="88.9" x2="-88.9" y2="88.9" width="0.1524" layer="91"/> -<pinref part="R7" gate="G$1" pin="2"/> -<pinref part="U$3" gate="G$1" pin="P$2"/> +<wire x1="27.94" y1="106.68" x2="22.86" y2="106.68" width="0.1524" layer="91"/> +<label x="22.86" y="106.68" size="1.778" layer="95" rot="R180" xref="yes"/> +<pinref part="U$1" gate="G$1" pin="DIR"/> +</segment> +<segment> +<pinref part="B1" gate="G$1" pin="D2"/> +<wire x1="-71.12" y1="208.28" x2="-66.04" y2="208.28" width="0.1524" layer="91"/> +<label x="-66.04" y="208.28" size="1.778" layer="95"/> </segment> </net> -<net name="N$21" class="0"> +<net name="A_POT" class="0"> <segment> -<wire x1="-58.42" y1="86.36" x2="-81.28" y2="86.36" width="0.1524" layer="91"/> -<pinref part="R8" gate="G$1" pin="2"/> -<pinref part="U$3" gate="G$1" pin="P$3"/> +<pinref part="B1" gate="G$1" pin="A0"/> +<wire x1="-96.52" y1="215.9" x2="-104.14" y2="215.9" width="0.1524" layer="91"/> +<label x="-104.14" y="215.9" size="1.778" layer="95"/> +</segment> +<segment> +<label x="-71.12" y="66.04" size="1.778" layer="95" rot="R180" xref="yes"/> +<wire x1="-63.5" y1="66.04" x2="-71.12" y2="66.04" width="0.1524" layer="91"/> +<pinref part="U$2" gate="G$1" pin="P$3"/> </segment> </net> -<net name="N$22" class="0"> +<net name="N$1" class="0"> <segment> -<pinref part="R9" gate="G$1" pin="2"/> -<pinref part="U$4" gate="G$1" pin="P$1"/> -<wire x1="-58.42" y1="83.82" x2="-73.66" y2="83.82" width="0.1524" layer="91"/> +<pinref part="R2" gate="G$1" pin="1"/> +<pinref part="R12" gate="G$1" pin="2"/> +<wire x1="-15.24" y1="83.82" x2="-15.24" y2="81.28" width="0.1524" layer="91"/> +<wire x1="-15.24" y1="83.82" x2="-7.62" y2="83.82" width="0.1524" layer="91"/> +<junction x="-15.24" y="83.82"/> +<pinref part="JP1" gate="G$1" pin="1"/> </segment> </net> -<net name="N$23" class="0"> +<net name="N$3" class="1"> <segment> -<pinref part="R10" gate="G$1" pin="2"/> -<pinref part="U$4" gate="G$1" pin="P$2"/> -<wire x1="-58.42" y1="81.28" x2="-66.04" y2="81.28" width="0.1524" layer="91"/> +<pinref part="U$7" gate="G$1" pin="P$1"/> +<wire x1="101.6" y1="134.62" x2="99.06" y2="134.62" width="0.1524" layer="91"/> +<wire x1="99.06" y1="134.62" x2="99.06" y2="139.7" width="0.1524" layer="91"/> +<pinref part="U$6" gate="G$1" pin="1B"/> +<wire x1="99.06" y1="139.7" x2="81.28" y2="139.7" width="0.1524" layer="91"/> </segment> </net> -<net name="DIR" class="0"> +<net name="N$5" class="1"> <segment> -<pinref part="B1" gate="G$1" pin="*D3"/> -<wire x1="-73.66" y1="144.78" x2="-66.04" y2="144.78" width="0.1524" layer="91"/> -<label x="-68.58" y="144.78" size="1.778" layer="95"/> +<pinref part="U$6" gate="G$1" pin="1A"/> +<wire x1="81.28" y1="134.62" x2="96.52" y2="134.62" width="0.1524" layer="91"/> +<wire x1="96.52" y1="134.62" x2="96.52" y2="132.08" width="0.1524" layer="91"/> +<pinref part="U$7" gate="G$1" pin="P$2"/> +<wire x1="96.52" y1="132.08" x2="101.6" y2="132.08" width="0.1524" layer="91"/> </segment> +</net> +<net name="N$7" class="1"> <segment> -<wire x1="27.94" y1="106.68" x2="17.78" y2="106.68" width="0.1524" layer="91"/> -<label x="17.78" y="106.68" size="1.778" layer="95"/> -<label x="17.78" y="106.68" size="1.778" layer="95" rot="R180" xref="yes"/> -<pinref part="U$1" gate="G$1" pin="DIR"/> +<pinref part="U$7" gate="G$1" pin="P$3"/> +<pinref part="U$6" gate="G$1" pin="2A"/> +<wire x1="101.6" y1="129.54" x2="81.28" y2="129.54" width="0.1524" layer="91"/> </segment> </net> -<net name="A_POT" class="0"> +<net name="N$8" class="1"> <segment> -<pinref part="B1" gate="G$1" pin="A0"/> -<wire x1="-99.06" y1="154.94" x2="-106.68" y2="154.94" width="0.1524" layer="91"/> -<label x="-106.68" y="154.94" size="1.778" layer="95"/> +<pinref part="U$6" gate="G$1" pin="2B"/> +<wire x1="81.28" y1="124.46" x2="96.52" y2="124.46" width="0.1524" layer="91"/> +<wire x1="96.52" y1="124.46" x2="96.52" y2="127" width="0.1524" layer="91"/> +<pinref part="U$7" gate="G$1" pin="P$4"/> +<wire x1="96.52" y1="127" x2="101.6" y2="127" width="0.1524" layer="91"/> +</segment> +</net> +<net name="N$9" class="0"> +<segment> +<pinref part="R4" gate="G$1" pin="1"/> +<pinref part="R5" gate="G$1" pin="2"/> +<wire x1="-15.24" y1="134.62" x2="-15.24" y2="132.08" width="0.1524" layer="91"/> +<wire x1="-15.24" y1="134.62" x2="-7.62" y2="134.62" width="0.1524" layer="91"/> +<junction x="-15.24" y="134.62"/> +<pinref part="JP2" gate="G$1" pin="1"/> +</segment> +</net> +<net name="VREF2" class="0"> +<segment> +<pinref part="R3" gate="G$1" pin="2"/> +<wire x1="-25.4" y1="154.94" x2="-25.4" y2="160.02" width="0.1524" layer="91"/> +<label x="-25.4" y="160.02" size="1.778" layer="95" rot="R180" xref="yes"/> +</segment> +<segment> +<pinref part="B1" gate="G$1" pin="*D6"/> +<wire x1="-71.12" y1="198.12" x2="-66.04" y2="198.12" width="0.1524" layer="91"/> +<label x="-66.04" y="198.12" size="1.778" layer="95"/> +</segment> +</net> +<net name="A_VREF2" class="0"> +<segment> +<pinref part="R3" gate="G$1" pin="1"/> +<pinref part="C1" gate="G$1" pin="1"/> +<wire x1="-33.02" y1="144.78" x2="-25.4" y2="144.78" width="0.1524" layer="91"/> +<junction x="-25.4" y="144.78"/> +<wire x1="-25.4" y1="144.78" x2="-15.24" y2="144.78" width="0.1524" layer="91"/> +<pinref part="R4" gate="G$1" pin="2"/> +<wire x1="-25.4" y1="144.78" x2="-25.4" y2="137.16" width="0.1524" layer="91"/> +<label x="-33.02" y="144.78" size="1.778" layer="95" rot="R180" xref="yes"/> +</segment> +<segment> +<pinref part="B1" gate="G$1" pin="A5"/> +<wire x1="-96.52" y1="203.2" x2="-104.14" y2="203.2" width="0.1524" layer="91"/> +<label x="-104.14" y="203.2" size="1.778" layer="95"/> +</segment> +</net> +<net name="A_ENC2" class="0"> +<segment> +<wire x1="-104.14" y1="83.82" x2="-104.14" y2="88.9" width="0.1524" layer="91"/> +<pinref part="R10" gate="G$1" pin="1"/> +<wire x1="-104.14" y1="88.9" x2="-104.14" y2="93.98" width="0.1524" layer="91"/> +<wire x1="-104.14" y1="93.98" x2="-104.14" y2="99.06" width="0.1524" layer="91"/> +<wire x1="-104.14" y1="99.06" x2="-104.14" y2="104.14" width="0.1524" layer="91"/> +<pinref part="R9" gate="G$1" pin="1"/> +<wire x1="-109.22" y1="88.9" x2="-104.14" y2="88.9" width="0.1524" layer="91"/> +<junction x="-104.14" y="88.9"/> +<pinref part="R8" gate="G$1" pin="1"/> +<junction x="-104.14" y="93.98"/> +<pinref part="R7" gate="G$1" pin="1"/> +<wire x1="-109.22" y1="99.06" x2="-104.14" y2="99.06" width="0.1524" layer="91"/> +<junction x="-104.14" y="99.06"/> +<label x="-104.14" y="104.14" size="1.778" layer="95" xref="yes"/> +</segment> +<segment> +<pinref part="B1" gate="G$1" pin="A4"/> +<wire x1="-96.52" y1="205.74" x2="-104.14" y2="205.74" width="0.1524" layer="91"/> +<label x="-104.14" y="205.74" size="1.778" layer="95"/> </segment> +</net> +<net name="A_POT2" class="0"> <segment> -<label x="-68.58" y="71.12" size="1.778" layer="95"/> -<label x="-78.74" y="71.12" size="1.778" layer="95" rot="R180" xref="yes"/> +<label x="-81.28" y="68.58" size="1.778" layer="95" rot="R180" xref="yes"/> +<wire x1="-63.5" y1="68.58" x2="-81.28" y2="68.58" width="0.1524" layer="91"/> <pinref part="U$2" gate="G$1" pin="P$2"/> -<wire x1="-61.595" y1="71.12" x2="-78.74" y2="71.12" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="B1" gate="G$1" pin="A3"/> +<wire x1="-96.52" y1="208.28" x2="-104.14" y2="208.28" width="0.1524" layer="91"/> +<label x="-104.14" y="208.28" size="1.778" layer="95"/> </segment> </net> -<net name="N$1" class="0"> +<net name="CLK2" class="0"> <segment> -<pinref part="R2" gate="G$1" pin="1"/> -<pinref part="R12" gate="G$1" pin="2"/> -<wire x1="-5.08" y1="81.28" x2="-5.08" y2="78.74" width="0.1524" layer="91"/> -<wire x1="-5.08" y1="81.28" x2="0" y2="81.28" width="0.1524" layer="91"/> -<junction x="-5.08" y="81.28"/> -<wire x1="0" y1="81.28" x2="0" y2="60.96" width="0.1524" layer="91"/> -<wire x1="0" y1="60.96" x2="25.4" y2="60.96" width="0.1524" layer="91"/> -<pinref part="JP1" gate="G$1" pin="1"/> +<pinref part="U$6" gate="G$1" pin="STEP"/> +<wire x1="27.94" y1="144.78" x2="22.86" y2="144.78" width="0.1524" layer="91"/> +<label x="22.86" y="144.78" size="1.778" layer="95" rot="MR0" xref="yes"/> +</segment> +<segment> +<pinref part="B1" gate="G$1" pin="D7"/> +<wire x1="-71.12" y1="195.58" x2="-66.04" y2="195.58" width="0.1524" layer="91"/> +<label x="-66.04" y="195.58" size="1.778" layer="95"/> </segment> </net> -<net name="N$4" class="0"> +<net name="DIR2" class="0"> <segment> -<pinref part="U$1" gate="G$1" pin="GND@7"/> -<wire x1="81.28" y1="76.2" x2="93.98" y2="76.2" width="0.1524" layer="91"/> +<pinref part="U$6" gate="G$1" pin="DIR"/> +<wire x1="27.94" y1="149.86" x2="22.86" y2="149.86" width="0.1524" layer="91"/> +<label x="22.86" y="149.86" size="1.778" layer="95" rot="MR0" xref="yes"/> +</segment> +<segment> +<pinref part="B1" gate="G$1" pin="*D5"/> +<wire x1="-71.12" y1="200.66" x2="-66.04" y2="200.66" width="0.1524" layer="91"/> +<label x="-66.04" y="200.66" size="1.778" layer="95"/> </segment> </net> -<net name="N$6" class="0"> +<net name="ENC2_EA+" class="0"> <segment> -<pinref part="U$1" gate="G$1" pin="GND@1"/> -<wire x1="81.28" y1="106.68" x2="96.52" y2="106.68" width="0.1524" layer="91"/> +<pinref part="U$8" gate="G$1" pin="P$1"/> +<label x="-132.08" y="99.06" size="1.778" layer="95"/> +<pinref part="R7" gate="G$1" pin="2"/> +<wire x1="-134.62" y1="99.06" x2="-119.38" y2="99.06" width="0.1524" layer="91"/> +</segment> +</net> +<net name="ENC2_EB+" class="0"> +<segment> +<pinref part="U$8" gate="G$1" pin="P$11"/> +<wire x1="-139.7" y1="93.98" x2="-114.3" y2="93.98" width="0.1524" layer="91"/> +<label x="-132.08" y="93.98" size="1.778" layer="95"/> +<pinref part="R8" gate="G$1" pin="2"/> +</segment> +</net> +<net name="ENC2_EB-" class="0"> +<segment> +<pinref part="U$8" gate="G$1" pin="P$12"/> +<wire x1="-139.7" y1="86.36" x2="-116.84" y2="86.36" width="0.1524" layer="91"/> +<label x="-132.08" y="86.36" size="1.778" layer="95"/> +<wire x1="-116.84" y1="86.36" x2="-116.84" y2="83.82" width="0.1524" layer="91"/> +<pinref part="R10" gate="G$1" pin="2"/> +<wire x1="-116.84" y1="83.82" x2="-114.3" y2="83.82" width="0.1524" layer="91"/> +</segment> +</net> +<net name="ENC2_EA-" class="0"> +<segment> +<pinref part="U$8" gate="G$1" pin="P$13"/> +<wire x1="-139.7" y1="78.74" x2="-119.38" y2="78.74" width="0.1524" layer="91"/> +<label x="-132.08" y="78.74" size="1.778" layer="95"/> +<pinref part="R9" gate="G$1" pin="2"/> +<wire x1="-119.38" y1="78.74" x2="-119.38" y2="88.9" width="0.1524" layer="91"/> +</segment> +</net> +<net name="ENC1_EA+" class="0"> +<segment> +<pinref part="U$9" gate="G$1" pin="P$1"/> +<label x="-134.62" y="152.4" size="1.778" layer="95"/> +<pinref part="R13" gate="G$1" pin="2"/> +<wire x1="-119.38" y1="152.4" x2="-137.16" y2="152.4" width="0.1524" layer="91"/> +</segment> +</net> +<net name="ENC1_EB+" class="0"> +<segment> +<pinref part="U$9" gate="G$1" pin="P$11"/> +<wire x1="-142.24" y1="147.32" x2="-114.3" y2="147.32" width="0.1524" layer="91"/> +<label x="-134.62" y="147.32" size="1.778" layer="95"/> +<pinref part="R14" gate="G$1" pin="2"/> +</segment> +</net> +<net name="ENC1_EA-" class="0"> +<segment> +<pinref part="U$9" gate="G$1" pin="P$13"/> +<wire x1="-142.24" y1="132.08" x2="-119.38" y2="132.08" width="0.1524" layer="91"/> +<label x="-134.62" y="132.08" size="1.778" layer="95"/> +<wire x1="-119.38" y1="132.08" x2="-119.38" y2="142.24" width="0.1524" layer="91"/> +<pinref part="R15" gate="G$1" pin="2"/> +</segment> +</net> +<net name="ENC1_EB-" class="0"> +<segment> +<pinref part="U$9" gate="G$1" pin="P$12"/> +<wire x1="-142.24" y1="139.7" x2="-116.84" y2="139.7" width="0.1524" layer="91"/> +<label x="-134.62" y="139.7" size="1.778" layer="95"/> +<pinref part="R16" gate="G$1" pin="2"/> +<wire x1="-114.3" y1="137.16" x2="-116.84" y2="139.7" width="0.1524" layer="91"/> +</segment> +</net> +<net name="VIN_ARD" class="0"> +<segment> +<pinref part="B1" gate="G$1" pin="VIN"/> +<wire x1="-96.52" y1="190.5" x2="-111.76" y2="190.5" width="0.1524" layer="91"/> +<label x="-111.76" y="190.5" size="1.778" layer="95"/> </segment> </net> </nets> </sheet> </sheets> +<errors> +<approved hash="106,1,-96.52,190.5,VIN_ARD,,,,,"/> +<approved hash="113,1,-7.38293,85.2212,JP1,,,,,"/> +<approved hash="113,1,-7.38293,136.021,JP2,,,,,"/> +</errors> </schematic> </drawing> <compatibility> diff --git a/EagleProject/eagle.epf b/EagleProject/eagle.epf index 51b9487..9f738a4 100644 --- a/EagleProject/eagle.epf +++ b/EagleProject/eagle.epf @@ -345,10 +345,11 @@ UsedLibrary="/home/wheel/bob/eagle/libraries/NSC_By_element14_Batch_1.1.lbr" UsedLibrary="/home/wheel/bob/eagle/libraries/Texas Instruments_By_element14_Batch_1.lbr" UsedLibrary="lib.lbr" UsedLibrary="/home/wheel/tpg/Projects/ForceFeedback/EagleProject/altronics.lbr" +UsedLibrary="altronics.lbr" [Win_1] Type="Control Panel" -Loc="677 230 1759 670" +Loc="605 538 1687 978" State=2 Number=0 diff --git a/EncoderResistorNetworkSizing.py b/EncoderResistorNetworkSizing.py new file mode 100644 index 0000000..fd1824d --- /dev/null +++ b/EncoderResistorNetworkSizing.py @@ -0,0 +1,58 @@ + +# E12 +# 10 12 15 18 22 27 33 39 47 56 68 82 + +#values = [10, 22, 39, 82,] +values = [82, 39, 22, 10] + +class Vals(object): + def __init__(self): + self.hi = [] + self.lo = [] + def push(self, is_high, v): + # Assumes either tying high, or tying low + if is_high: + self.hi.append(v) + else: + self.lo.append(v) + def clone(self): + rv = Vals() + rv.hi = [v for v in self.hi] + rv.lo = [v for v in self.lo] + return rv + def calc(self): + if len(self.hi) == 0: + return 0.0 + if len(self.lo) == 0: + return 1.0 + hi = 1.0 / sum(( 1.0 / v for v in self.hi)) + lo = 1.0 / sum(( 1.0 / v for v in self.lo)) + return lo / (hi + lo) + def __repr__(self): + return "Vals({!r},{!r})".format(self.hi, self.lo) + +for state in range(16): + #output_vals = [0.0] + #for i,r in enumerate(values): + # ov = [] + # for v in output_vals: + # for m in [0.95,1.05]: + # R = r * m + # ov.append( v + R / (R + 10) ) + # output_vals = ov + output_vals = [Vals()] + for i,r in enumerate(values): + is_high = ((state >> i) & 1 != 0) + ov = [] + for v in output_vals: + for m in [0.95,1.0,1.05]: + ov.append(v.clone()) + ov[-1].push(is_high, r*m) + output_vals = ov + #print(output_vals) + output_vals = [v.calc() for v in output_vals] + + #print(state, "{:.3f} -- {:.3f}".format(min(output_vals), max(output_vals))) + output_vals = [ round(v * 255) for v in output_vals ] + print("{:2} {:3} -- {:3}".format(state, min(output_vals), max(output_vals))) + -- GitLab