cont work on stepper shield

mostly done, could work if we agree on V_BAT to 12V
This commit is contained in:
yair reshef 2014-12-14 23:51:47 +02:00
parent 4870fcc212
commit 3b9e99e05e
3 changed files with 680 additions and 1188 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -63,6 +63,7 @@
<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/>
<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/>
<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/>
<layer number="90" name="Modules" color="5" fill="1" visible="yes" active="yes"/>
<layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/>
<layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/>
<layer number="93" name="Pins" color="2" fill="1" visible="no" active="yes"/>
@ -85,7 +86,7 @@
<layer number="111" name="MPL" color="7" fill="1" visible="yes" active="yes"/>
<layer number="112" name="tSilk" color="7" fill="1" visible="yes" active="yes"/>
<layer number="116" name="Patch_BOT" color="9" fill="4" visible="no" active="yes"/>
<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="no"/>
<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="yes"/>
<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="yes"/>
<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="yes"/>
<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/>
@ -117,18 +118,18 @@
<layer number="214" name="214bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="215" name="215bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="216" name="216bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/>
<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/>
<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/>
<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/>
<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/>
<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/>
<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/>
<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/>
<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="yes"/>
<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="yes"/>
<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="yes"/>
<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="yes"/>
<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="yes"/>
<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="yes"/>
<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="yes"/>
<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="yes"/>
<layer number="248" name="Housing" color="7" fill="1" visible="yes" active="yes"/>
<layer number="249" name="Edge" color="7" fill="1" visible="yes" active="yes"/>
<layer number="250" name="Descript" color="3" fill="1" visible="no" active="no"/>
<layer number="251" name="SMDround" color="12" fill="11" visible="no" active="no"/>
<layer number="250" name="Descript" color="3" fill="1" visible="no" active="yes"/>
<layer number="251" name="SMDround" color="12" fill="11" visible="no" active="yes"/>
<layer number="254" name="cooling" color="7" fill="1" visible="no" active="yes"/>
</layers>
<schematic xreflabel="%F%N/%S.%C%R" xrefpart="/%S.%C%R">
@ -480,6 +481,46 @@ We've spent an enormous amount of time creating and checking these footprints an
<rectangle x1="-5.334" y1="-0.254" x2="-4.826" y2="0.254" layer="51"/>
<rectangle x1="4.826" y1="-0.254" x2="5.334" y2="0.254" layer="51"/>
</package>
<package name="SOLDERJUMPER_CLOSEDWIRE">
<wire x1="1.397" y1="-1.016" x2="-1.397" y2="-1.016" width="0.2032" layer="21"/>
<wire x1="1.397" y1="1.016" x2="1.651" y2="0.762" width="0.2032" layer="21" curve="-90"/>
<wire x1="-1.651" y1="0.762" x2="-1.397" y2="1.016" width="0.2032" layer="21" curve="-90"/>
<wire x1="-1.651" y1="-0.762" x2="-1.397" y2="-1.016" width="0.2032" layer="21" curve="90"/>
<wire x1="1.397" y1="-1.016" x2="1.651" y2="-0.762" width="0.2032" layer="21" curve="90"/>
<wire x1="1.651" y1="-0.762" x2="1.651" y2="0.762" width="0.2032" layer="21"/>
<wire x1="-1.651" y1="-0.762" x2="-1.651" y2="0.762" width="0.2032" layer="21"/>
<wire x1="-1.397" y1="1.016" x2="1.397" y2="1.016" width="0.2032" layer="21"/>
<wire x1="1.016" y1="0" x2="1.524" y2="0" width="0.2032" layer="51"/>
<wire x1="-1.016" y1="0" x2="-1.524" y2="0" width="0.2032" layer="51"/>
<wire x1="-0.254" y1="-0.127" x2="-0.254" y2="0.127" width="1.27" layer="51" curve="-180" cap="flat"/>
<wire x1="0.254" y1="0.127" x2="0.254" y2="-0.127" width="1.27" layer="51" curve="-180" cap="flat"/>
<smd name="1" x="-0.762" y="0" dx="1.1684" dy="1.6002" layer="1" cream="no"/>
<smd name="2" x="0.762" y="0" dx="1.1684" dy="1.6002" layer="1" cream="no"/>
<smd name="WIRE" x="0" y="0" dx="0.635" dy="0.2032" layer="1" cream="no"/>
<text x="-1.651" y="1.27" size="0.8128" layer="25" ratio="18">&gt;NAME</text>
<text x="-1.524" y="-1.651" size="0.4064" layer="27" ratio="10">&gt;VALUE</text>
<rectangle x1="-0.0762" y1="-0.9144" x2="0.0762" y2="0.9144" layer="29"/>
</package>
<package name="SOLDERJUMPER_CLOSEDPERM">
<wire x1="1.397" y1="-1.016" x2="-1.397" y2="-1.016" width="0.2032" layer="21"/>
<wire x1="1.397" y1="1.016" x2="1.651" y2="0.762" width="0.2032" layer="21" curve="-90"/>
<wire x1="-1.651" y1="0.762" x2="-1.397" y2="1.016" width="0.2032" layer="21" curve="-90"/>
<wire x1="-1.651" y1="-0.762" x2="-1.397" y2="-1.016" width="0.2032" layer="21" curve="90"/>
<wire x1="1.397" y1="-1.016" x2="1.651" y2="-0.762" width="0.2032" layer="21" curve="90"/>
<wire x1="-1.651" y1="-0.762" x2="-1.651" y2="0.762" width="0.2032" layer="21"/>
<wire x1="-1.397" y1="1.016" x2="1.397" y2="1.016" width="0.2032" layer="21"/>
<wire x1="1.016" y1="0" x2="1.524" y2="0" width="0.2032" layer="51"/>
<wire x1="-1.016" y1="0" x2="-1.524" y2="0" width="0.2032" layer="51"/>
<wire x1="-0.254" y1="-0.127" x2="-0.254" y2="0.127" width="1.27" layer="51" curve="-180" cap="flat"/>
<wire x1="0.254" y1="0.127" x2="0.254" y2="-0.127" width="1.27" layer="51" curve="-180" cap="flat"/>
<wire x1="1.651" y1="-0.762" x2="1.651" y2="0.762" width="0.2032" layer="21"/>
<smd name="1" x="-0.762" y="0" dx="1.1684" dy="1.6002" layer="1" cream="no"/>
<smd name="2" x="0.762" y="0" dx="1.1684" dy="1.6002" layer="1" cream="no"/>
<smd name="WIRE" x="0" y="0" dx="0.635" dy="1.6002" layer="1" cream="no"/>
<text x="-1.651" y="1.143" size="0.8128" layer="25" ratio="18">&gt;NAME</text>
<text x="-1.524" y="-1.651" size="0.4064" layer="27" ratio="10">&gt;VALUE</text>
<rectangle x1="-0.0762" y1="-0.9144" x2="0.0762" y2="0.9144" layer="29"/>
</package>
</packages>
<symbols>
<symbol name="MOUNTINGHOLE">
@ -542,6 +583,17 @@ We've spent an enormous amount of time creating and checking these footprints an
<pin name="4" x="-2.54" y="-2.54" visible="pad" length="short" direction="pas" function="dot"/>
<pin name="5" x="-2.54" y="-5.08" visible="pad" length="short" direction="pas" function="dot"/>
</symbol>
<symbol name="SOLDERJUMPER_CLOSED">
<wire x1="0.381" y1="0.635" x2="0.381" y2="-0.635" width="1.27" layer="94" curve="-180" cap="flat"/>
<wire x1="-0.381" y1="-0.635" x2="-0.381" y2="0.635" width="1.27" layer="94" curve="-180" cap="flat"/>
<wire x1="2.54" y1="0" x2="1.651" y2="0" width="0.1524" layer="94"/>
<wire x1="-2.54" y1="0" x2="-1.651" y2="0" width="0.1524" layer="94"/>
<wire x1="-0.635" y1="0" x2="0.635" y2="0" width="0.4064" layer="94"/>
<text x="-2.54" y="2.54" size="1.778" layer="95">&gt;NAME</text>
<text x="-2.54" y="-3.81" size="1.778" layer="96">&gt;VALUE</text>
<pin name="2" x="5.08" y="0" visible="pad" length="short" direction="pas" swaplevel="1" rot="R180"/>
<pin name="1" x="-5.08" y="0" visible="pad" length="short" direction="pas" swaplevel="1"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="MOUNTINGHOLE">
@ -810,6 +862,37 @@ We've spent an enormous amount of time creating and checking these footprints an
</device>
</devices>
</deviceset>
<deviceset name="SOLDERJUMPER_CLOSED" prefix="SJ" uservalue="yes">
<description>&lt;b&gt;Solder Jumper - Closed&lt;/b&gt;
&lt;p&gt;These solder jumpers are closed by default&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;CLOSEDWIRE&lt;/b&gt; - 10 mil trace between pads that can be cut and resoldered later&lt;/li&gt;
&lt;li&gt;&lt;b&gt;CLOSEDPERM&lt;/b&gt; - 63 mil trace between pads for a permanent connection (used to 'bridge' two signals, a shameless hack for Eagle). Can double as a test point as well (no cream layer)&lt;/li&gt;
&lt;/ul&gt;</description>
<gates>
<gate name="G$1" symbol="SOLDERJUMPER_CLOSED" x="0" y="0"/>
</gates>
<devices>
<device name="" package="SOLDERJUMPER_CLOSEDWIRE">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="PERM" package="SOLDERJUMPER_CLOSEDPERM">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="frames">
@ -858,96 +941,6 @@ DIN A4, landscape with location and doc. field</description>
</deviceset>
</devicesets>
</library>
<library name="reprap">
<description>RepRap electronics library. This library contains miscellaneous components required by the RepRap project.
see: http://www.reprap.org</description>
<packages>
<package name="DIL16">
<wire x1="-5.969" y1="10.16" x2="-10.414" y2="10.16" width="0.1524" layer="21"/>
<wire x1="-16.891" y1="10.16" x2="-12.446" y2="10.16" width="0.1524" layer="21"/>
<wire x1="-10.414" y1="10.16" x2="-12.446" y2="10.16" width="0.1524" layer="21" curve="-180"/>
<wire x1="-5.969" y1="-10.16" x2="-5.969" y2="10.16" width="0.1524" layer="21"/>
<wire x1="-16.891" y1="10.16" x2="-16.891" y2="-10.16" width="0.1524" layer="21"/>
<wire x1="-5.969" y1="-10.16" x2="-16.891" y2="-10.16" width="0.1524" layer="21"/>
<pad name="1" x="-17.78" y="8.89" drill="0.8128" shape="long"/>
<pad name="2" x="-17.78" y="6.35" drill="0.8128" shape="long"/>
<pad name="7" x="-5.08" y="6.35" drill="0.8128" shape="long"/>
<pad name="8" x="-5.08" y="8.89" drill="0.8128" shape="long"/>
<pad name="3" x="-17.78" y="3.81" drill="0.8128" shape="long"/>
<pad name="4" x="-17.78" y="1.27" drill="0.8128" shape="long"/>
<pad name="6" x="-5.08" y="3.81" drill="0.8128" shape="long"/>
<pad name="5" x="-5.08" y="1.27" drill="0.8128" shape="long"/>
<pad name="9" x="-17.78" y="-1.27" drill="0.8128" shape="long"/>
<pad name="10" x="-17.78" y="-3.81" drill="0.8128" shape="long"/>
<pad name="11" x="-5.08" y="-3.81" drill="0.8128" shape="long"/>
<pad name="12" x="-5.08" y="-1.27" drill="0.8128" shape="long"/>
<pad name="13" x="-17.78" y="-6.35" drill="0.8128" shape="long"/>
<pad name="14" x="-17.78" y="-8.89" drill="0.8128" shape="long"/>
<pad name="15" x="-5.08" y="-6.35" drill="0.8128" shape="long"/>
<pad name="16" x="-5.08" y="-8.89" drill="0.8128" shape="long"/>
<text x="-16.891" y="10.414" size="1.27" layer="25" ratio="10">&gt;NAME</text>
<text x="-12.065" y="3.556" size="1.27" layer="27" ratio="10" rot="R270">&gt;VALUE</text>
</package>
</packages>
<symbols>
<symbol name="POLOLUSTEPPERDRIVER">
<wire x1="17.78" y1="22.86" x2="17.78" y2="0" width="0.254" layer="94"/>
<wire x1="17.78" y1="0" x2="38.1" y2="0" width="0.254" layer="94"/>
<wire x1="38.1" y1="0" x2="38.1" y2="22.86" width="0.254" layer="94"/>
<wire x1="38.1" y1="22.86" x2="17.78" y2="22.86" width="0.254" layer="94"/>
<pin name="VMOT" x="12.7" y="20.32" length="middle" direction="pwr"/>
<pin name="GND1" x="12.7" y="17.78" length="middle" direction="pwr"/>
<pin name="2B" x="12.7" y="15.24" length="middle" direction="out"/>
<pin name="2A" x="12.7" y="12.7" length="middle" direction="out"/>
<pin name="1A" x="12.7" y="10.16" length="middle" direction="out"/>
<pin name="1B" x="12.7" y="7.62" length="middle" direction="out"/>
<pin name="VDD" x="12.7" y="5.08" length="middle" direction="pwr"/>
<pin name="GND2" x="12.7" y="2.54" length="middle" direction="pwr"/>
<pin name="DIR" x="43.18" y="2.54" length="middle" direction="in" rot="R180"/>
<pin name="STEP" x="43.18" y="5.08" length="middle" direction="in" rot="R180"/>
<pin name="SLP" x="43.18" y="7.62" length="middle" direction="in" rot="R180"/>
<pin name="RST" x="43.18" y="10.16" length="middle" direction="in" rot="R180"/>
<pin name="MS3" x="43.18" y="12.7" length="middle" direction="in" rot="R180"/>
<pin name="MS2" x="43.18" y="15.24" length="middle" direction="in" rot="R180"/>
<pin name="MS1" x="43.18" y="17.78" length="middle" direction="in" rot="R180"/>
<pin name="EN" x="43.18" y="20.32" length="middle" direction="in" rot="R180"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="POLOLUESTEPPERDRIVER">
<description>Pololu stepper driver based on the A4983.</description>
<gates>
<gate name="G$1" symbol="POLOLUSTEPPERDRIVER" x="-27.94" y="-12.7"/>
</gates>
<devices>
<device name="" package="DIL16">
<connects>
<connect gate="G$1" pin="1A" pad="5"/>
<connect gate="G$1" pin="1B" pad="6"/>
<connect gate="G$1" pin="2A" pad="4"/>
<connect gate="G$1" pin="2B" pad="3"/>
<connect gate="G$1" pin="DIR" pad="9"/>
<connect gate="G$1" pin="EN" pad="16"/>
<connect gate="G$1" pin="GND1" pad="2"/>
<connect gate="G$1" pin="GND2" pad="8"/>
<connect gate="G$1" pin="MS1" pad="15"/>
<connect gate="G$1" pin="MS2" pad="14"/>
<connect gate="G$1" pin="MS3" pad="13"/>
<connect gate="G$1" pin="RST" pad="12"/>
<connect gate="G$1" pin="SLP" pad="11"/>
<connect gate="G$1" pin="STEP" pad="10"/>
<connect gate="G$1" pin="VDD" pad="7"/>
<connect gate="G$1" pin="VMOT" pad="1"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="adafruit">
<packages>
<package name="R0402">
@ -3005,6 +2998,92 @@ type 0309, grid 2.5 mm</description>
</deviceset>
</devicesets>
</library>
<library name="ATtami">
<packages>
<package name="DIL16">
<wire x1="5.461" y1="10.16" x2="1.016" y2="10.16" width="0.1524" layer="21"/>
<wire x1="-5.461" y1="10.16" x2="-1.016" y2="10.16" width="0.1524" layer="21"/>
<wire x1="1.016" y1="10.16" x2="-1.016" y2="10.16" width="0.1524" layer="21" curve="-180"/>
<wire x1="5.461" y1="-10.16" x2="5.461" y2="10.16" width="0.1524" layer="21"/>
<wire x1="-5.461" y1="10.16" x2="-5.461" y2="-10.16" width="0.1524" layer="21"/>
<wire x1="5.461" y1="-10.16" x2="-5.461" y2="-10.16" width="0.1524" layer="21"/>
<text x="-5.461" y="10.414" size="1.27" layer="25" ratio="10">&gt;NAME</text>
<text x="-3.175" y="3.556" size="1.27" layer="27" ratio="10" rot="R270">&gt;VALUE</text>
<pad name="1" x="-6.35" y="8.89" drill="0.8" shape="long"/>
<pad name="2" x="-6.35" y="6.35" drill="0.8" shape="long"/>
<pad name="3" x="-6.35" y="3.81" drill="0.8" shape="long"/>
<pad name="4" x="-6.35" y="1.27" drill="0.8" shape="long"/>
<pad name="5" x="-6.35" y="-1.27" drill="0.8" shape="long"/>
<pad name="6" x="-6.35" y="-3.81" drill="0.8" shape="long"/>
<pad name="7" x="-6.35" y="-6.35" drill="0.8" shape="long"/>
<pad name="8" x="-6.35" y="-8.89" drill="0.8" shape="long"/>
<pad name="9" x="6.35" y="8.89" drill="0.8" shape="long"/>
<pad name="10" x="6.35" y="6.35" drill="0.8" shape="long"/>
<pad name="11" x="6.35" y="3.81" drill="0.8" shape="long"/>
<pad name="12" x="6.35" y="1.27" drill="0.8" shape="long"/>
<pad name="13" x="6.35" y="-1.27" drill="0.8" shape="long"/>
<pad name="14" x="6.35" y="-3.81" drill="0.8" shape="long"/>
<pad name="15" x="6.35" y="-6.35" drill="0.8" shape="long"/>
<pad name="16" x="6.35" y="-8.89" drill="0.8" shape="long"/>
</package>
</packages>
<symbols>
<symbol name="POLOLUSTEPPERDRIVER">
<wire x1="-10.16" y1="10.16" x2="-10.16" y2="-12.7" width="0.254" layer="94"/>
<wire x1="-10.16" y1="-12.7" x2="10.16" y2="-12.7" width="0.254" layer="94"/>
<wire x1="10.16" y1="-12.7" x2="10.16" y2="10.16" width="0.254" layer="94"/>
<wire x1="10.16" y1="10.16" x2="-10.16" y2="10.16" width="0.254" layer="94"/>
<pin name="ENABLE" x="-15.24" y="7.62" length="middle"/>
<pin name="MS1" x="-15.24" y="5.08" length="middle"/>
<pin name="MS2" x="-15.24" y="2.54" length="middle"/>
<pin name="MS3" x="-15.24" y="0" length="middle"/>
<pin name="RESET" x="-15.24" y="-2.54" length="middle"/>
<pin name="SLEEP" x="-15.24" y="-5.08" length="middle"/>
<pin name="STEP" x="-15.24" y="-7.62" length="middle"/>
<pin name="DIR" x="-15.24" y="-10.16" length="middle"/>
<pin name="VMOT" x="15.24" y="7.62" length="middle" rot="R180"/>
<pin name="GND@2" x="15.24" y="5.08" length="middle" rot="R180"/>
<pin name="2B" x="15.24" y="2.54" length="middle" rot="R180"/>
<pin name="2A" x="15.24" y="0" length="middle" rot="R180"/>
<pin name="1A" x="15.24" y="-2.54" length="middle" rot="R180"/>
<pin name="1B" x="15.24" y="-5.08" length="middle" rot="R180"/>
<pin name="VDD" x="15.24" y="-7.62" length="middle" rot="R180"/>
<pin name="GND@1" x="15.24" y="-10.16" length="middle" rot="R180"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="STEPPERDRIVER_A4988">
<gates>
<gate name="G$1" symbol="POLOLUSTEPPERDRIVER" x="10.16" y="12.7"/>
</gates>
<devices>
<device name="" package="DIL16">
<connects>
<connect gate="G$1" pin="1A" pad="14"/>
<connect gate="G$1" pin="1B" pad="13"/>
<connect gate="G$1" pin="2A" pad="12"/>
<connect gate="G$1" pin="2B" pad="11"/>
<connect gate="G$1" pin="DIR" pad="8"/>
<connect gate="G$1" pin="ENABLE" pad="1"/>
<connect gate="G$1" pin="GND@1" pad="16"/>
<connect gate="G$1" pin="GND@2" pad="10"/>
<connect gate="G$1" pin="MS1" pad="2"/>
<connect gate="G$1" pin="MS2" pad="3"/>
<connect gate="G$1" pin="MS3" pad="4"/>
<connect gate="G$1" pin="RESET" pad="5"/>
<connect gate="G$1" pin="SLEEP" pad="6"/>
<connect gate="G$1" pin="STEP" pad="7"/>
<connect gate="G$1" pin="VDD" pad="15"/>
<connect gate="G$1" pin="VMOT" pad="9"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
@ -3026,7 +3105,6 @@ type 0309, grid 2.5 mm</description>
<part name="FRAME1" library="frames" deviceset="A4L-LOC" device=""/>
<part name="J1" library="microbuilder" deviceset="HEADER-1X7" device="ROUND"/>
<part name="GND5" library="SparkFun" deviceset="GND" device=""/>
<part name="U$4" library="reprap" deviceset="POLOLUESTEPPERDRIVER" device=""/>
<part name="R1" library="adafruit" deviceset="R-US_" device="R0805"/>
<part name="Q1" library="microbuilder" deviceset="TRANSISTOR_NPN" device="WAVE"/>
<part name="R2" library="adafruit" deviceset="R-US_" device="R0805"/>
@ -3034,7 +3112,11 @@ type 0309, grid 2.5 mm</description>
<part name="GND2" library="SparkFun" deviceset="GND" device=""/>
<part name="JP1" library="microbuilder" deviceset="HEADER-1X5" device=""/>
<part name="GND3" library="SparkFun" deviceset="GND" device=""/>
<part name="GND4" library="SparkFun" deviceset="GND" device=""/>
<part name="SJ1" library="microbuilder" deviceset="SOLDERJUMPER_CLOSED" device=""/>
<part name="SJ2" library="microbuilder" deviceset="SOLDERJUMPER_CLOSED" device=""/>
<part name="SJ3" library="microbuilder" deviceset="SOLDERJUMPER_CLOSED" device=""/>
<part name="U$3" library="ATtami" deviceset="STEPPERDRIVER_A4988" device="" value="STEPPER_driver"/>
<part name="SJ4" library="microbuilder" deviceset="SOLDERJUMPER_CLOSED" device=""/>
</parts>
<sheets>
<sheet>
@ -3082,30 +3164,43 @@ refer to the datasheet P163 Section 21-3 Speed</text>
</polygon>
<text x="165.1" y="12.7" size="2.54" layer="100" font="vector">T.A.M.I hackerspace crew
LICENSE: CERN OHL 1.7</text>
<text x="52.324" y="164.592" size="1.778" layer="91">VCC (output)</text>
<text x="10.414" y="164.592" size="1.778" layer="91">V_BAT (input)</text>
<text x="40.64" y="33.02" size="1.778" layer="91">nice trick to use the 2.5-5v range as a digital logic and bellow 0.9v as reset.
see http://www.instructables.com/id/Attiny85-as-a-StepDir-Stepper-Motor-Controller</text>
<text x="54.864" y="129.032" size="1.778" layer="91">VCC (output)</text>
<text x="12.954" y="129.032" size="1.778" layer="91">V_BAT (input)</text>
<text x="53.34" y="93.98" size="1.778" layer="91">nice trick to use the 2.5-5v range
as a digital logic and bellow 0.9v as reset.
see instructables.com/id/Attiny85-as-a-StepDir-Stepper-Motor-Controller</text>
</plain>
<instances>
<instance part="GND16" gate="1" x="81.28" y="157.48"/>
<instance part="GND1" gate="1" x="40.64" y="160.02"/>
<instance part="GND16" gate="1" x="83.82" y="121.92"/>
<instance part="GND1" gate="1" x="43.18" y="121.92"/>
<instance part="U$1" gate="G$1" x="241.3" y="167.64"/>
<instance part="U$2" gate="G$1" x="233.68" y="167.64"/>
<instance part="J2" gate="G$1" x="27.94" y="162.56" rot="MR0"/>
<instance part="J3" gate="G$1" x="68.58" y="162.56" rot="MR0"/>
<instance part="J2" gate="G$1" x="30.48" y="127" rot="MR0"/>
<instance part="J3" gate="G$1" x="71.12" y="127" rot="MR0"/>
<instance part="FRAME1" gate="G$1" x="0" y="0"/>
<instance part="J1" gate="A" x="157.48" y="142.24"/>
<instance part="GND5" gate="1" x="142.24" y="154.94" rot="R180"/>
<instance part="U$4" gate="G$1" x="121.92" y="114.3" rot="R180"/>
<instance part="R1" gate="G$1" x="63.5" y="73.66" rot="R270"/>
<instance part="Q1" gate="G$1" x="63.5" y="60.96"/>
<instance part="R2" gate="G$1" x="53.34" y="60.96"/>
<instance part="R3" gate="G$1" x="63.5" y="50.8" rot="R90"/>
<instance part="GND2" gate="1" x="63.5" y="43.18"/>
<instance part="JP1" gate="A" x="134.62" y="101.6"/>
<instance part="GND3" gate="1" x="116.84" y="86.36"/>
<instance part="GND4" gate="1" x="114.3" y="121.92" rot="R180"/>
<instance part="J1" gate="A" x="58.42" y="58.42" rot="MR0"/>
<instance part="GND5" gate="1" x="71.12" y="68.58" rot="R180"/>
<instance part="R1" gate="G$1" x="48.26" y="91.44" rot="MR270"/>
<instance part="Q1" gate="G$1" x="48.26" y="78.74" rot="MR0"/>
<instance part="R2" gate="G$1" x="58.42" y="78.74" rot="MR0"/>
<instance part="R3" gate="G$1" x="48.26" y="68.58" rot="MR90"/>
<instance part="GND2" gate="1" x="48.26" y="60.96" rot="MR0"/>
<instance part="JP1" gate="A" x="149.86" y="71.12"/>
<instance part="GND3" gate="1" x="137.16" y="55.88" rot="MR0"/>
<instance part="SJ1" gate="G$1" x="93.98" y="71.12" smashed="yes">
<attribute name="VALUE" x="91.44" y="67.31" size="1.778" layer="96"/>
</instance>
<instance part="SJ2" gate="G$1" x="93.98" y="73.66" smashed="yes">
<attribute name="VALUE" x="91.44" y="69.85" size="1.778" layer="96"/>
</instance>
<instance part="SJ3" gate="G$1" x="93.98" y="76.2" smashed="yes">
<attribute name="VALUE" x="91.44" y="72.39" size="1.778" layer="96"/>
</instance>
<instance part="U$3" gate="G$1" x="119.38" y="71.12"/>
<instance part="SJ4" gate="G$1" x="99.06" y="68.58" smashed="yes">
<attribute name="VALUE" x="96.52" y="64.77" size="1.778" layer="96"/>
</instance>
</instances>
<busses>
</busses>
@ -3113,155 +3208,133 @@ see http://www.instructables.com/id/Attiny85-as-a-StepDir-Stepper-Motor-Controll
<net name="GND" class="0">
<segment>
<pinref part="GND16" gate="1" pin="GND"/>
<wire x1="81.28" y1="162.56" x2="81.28" y2="160.02" width="0.1524" layer="91"/>
<wire x1="83.82" y1="127" x2="83.82" y2="124.46" width="0.1524" layer="91"/>
<pinref part="J3" gate="G$1" pin="2"/>
<wire x1="81.28" y1="162.56" x2="71.12" y2="162.56" width="0.1524" layer="91"/>
<wire x1="83.82" y1="127" x2="73.66" y2="127" width="0.1524" layer="91"/>
</segment>
<segment>
<wire x1="30.48" y1="162.56" x2="40.64" y2="162.56" width="0.1524" layer="91"/>
<wire x1="33.02" y1="127" x2="43.18" y2="127" width="0.1524" layer="91"/>
<wire x1="43.18" y1="127" x2="43.18" y2="124.46" width="0.1524" layer="91"/>
<pinref part="GND1" gate="1" pin="GND"/>
<pinref part="J2" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="J1" gate="A" pin="1"/>
<wire x1="154.94" y1="149.86" x2="142.24" y2="149.86" width="0.1524" layer="91"/>
<wire x1="142.24" y1="149.86" x2="142.24" y2="152.4" width="0.1524" layer="91"/>
<wire x1="60.96" y1="66.04" x2="71.12" y2="66.04" width="0.1524" layer="91"/>
<pinref part="GND5" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="U$4" gate="G$1" pin="GND2"/>
<wire x1="109.22" y1="111.76" x2="114.3" y2="111.76" width="0.1524" layer="91"/>
<pinref part="GND4" gate="1" pin="GND"/>
<wire x1="114.3" y1="119.38" x2="114.3" y2="111.76" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="U$4" gate="G$1" pin="GND1"/>
<wire x1="109.22" y1="96.52" x2="116.84" y2="96.52" width="0.1524" layer="91"/>
<pinref part="GND3" gate="1" pin="GND"/>
<wire x1="116.84" y1="96.52" x2="116.84" y2="88.9" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="R3" gate="G$1" pin="1"/>
<pinref part="GND2" gate="1" pin="GND"/>
</segment>
<segment>
<wire x1="134.62" y1="60.96" x2="137.16" y2="60.96" width="0.1524" layer="91"/>
<wire x1="137.16" y1="60.96" x2="137.16" y2="58.42" width="0.1524" layer="91"/>
<pinref part="GND3" gate="1" pin="GND"/>
<pinref part="U$3" gate="G$1" pin="GND@1"/>
</segment>
<segment>
<wire x1="134.62" y1="76.2" x2="147.32" y2="76.2" width="0.1524" layer="91"/>
<pinref part="U$3" gate="G$1" pin="GND@2"/>
<pinref part="JP1" gate="A" pin="1"/>
</segment>
</net>
<net name="VCC" class="0">
<segment>
<pinref part="J3" gate="G$1" pin="1"/>
<wire x1="81.28" y1="165.1" x2="71.12" y2="165.1" width="0.1524" layer="91"/>
<label x="79.248" y="165.608" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="U$4" gate="G$1" pin="VDD"/>
<wire x1="109.22" y1="109.22" x2="119.38" y2="109.22" width="0.1524" layer="91"/>
<label x="116.84" y="109.22" size="1.778" layer="95"/>
<wire x1="83.82" y1="129.54" x2="73.66" y2="129.54" width="0.1524" layer="91"/>
<label x="81.788" y="130.048" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="R1" gate="G$1" pin="1"/>
<wire x1="63.5" y1="78.74" x2="63.5" y2="81.28" width="0.1524" layer="91"/>
<label x="63.5" y="81.28" size="1.778" layer="95"/>
<wire x1="48.26" y1="96.52" x2="48.26" y2="99.06" width="0.1524" layer="91"/>
<label x="48.26" y="99.06" size="1.778" layer="95" rot="MR0"/>
</segment>
<segment>
<wire x1="134.62" y1="63.5" x2="139.7" y2="63.5" width="0.1524" layer="91"/>
<wire x1="139.7" y1="63.5" x2="139.7" y2="58.42" width="0.1524" layer="91"/>
<wire x1="139.7" y1="58.42" x2="142.24" y2="58.42" width="0.1524" layer="91"/>
<label x="142.24" y="58.42" size="1.778" layer="95"/>
<pinref part="U$3" gate="G$1" pin="VDD"/>
</segment>
<segment>
<pinref part="SJ1" gate="G$1" pin="1"/>
<pinref part="SJ2" gate="G$1" pin="1"/>
<pinref part="SJ3" gate="G$1" pin="1"/>
<wire x1="88.9" y1="76.2" x2="88.9" y2="73.66" width="0.1524" layer="91"/>
<junction x="88.9" y="73.66"/>
<wire x1="88.9" y1="73.66" x2="88.9" y2="71.12" width="0.1524" layer="91"/>
<label x="86.36" y="78.74" size="1.778" layer="95" rot="R180"/>
<junction x="88.9" y="76.2"/>
<wire x1="88.9" y1="76.2" x2="81.28" y2="76.2" width="0.1524" layer="91"/>
</segment>
</net>
<net name="V_BAT" class="0">
<segment>
<pinref part="J2" gate="G$1" pin="1"/>
<wire x1="30.48" y1="165.1" x2="40.64" y2="165.1" width="0.1524" layer="91"/>
<label x="40.64" y="165.1" size="1.778" layer="95"/>
<wire x1="33.02" y1="129.54" x2="43.18" y2="129.54" width="0.1524" layer="91"/>
<label x="43.18" y="129.54" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="U$4" gate="G$1" pin="VMOT"/>
<wire x1="109.22" y1="93.98" x2="124.46" y2="93.98" width="0.1524" layer="91"/>
<wire x1="124.46" y1="93.98" x2="124.46" y2="96.52" width="0.1524" layer="91"/>
<pinref part="JP1" gate="A" pin="5"/>
<wire x1="124.46" y1="96.52" x2="132.08" y2="96.52" width="0.1524" layer="91"/>
<pinref part="U$3" gate="G$1" pin="VMOT"/>
<wire x1="134.62" y1="78.74" x2="137.16" y2="78.74" width="0.1524" layer="91"/>
<wire x1="137.16" y1="78.74" x2="137.16" y2="86.36" width="0.1524" layer="91"/>
<wire x1="137.16" y1="86.36" x2="152.4" y2="86.36" width="0.1524" layer="91"/>
<label x="137.16" y="86.36" size="1.778" layer="95"/>
</segment>
</net>
<net name="PB0" class="0">
<segment>
<label x="99.06" y="63.5" size="1.778" layer="95"/>
<wire x1="104.14" y1="63.5" x2="60.96" y2="63.5" width="0.1524" layer="91"/>
<pinref part="J1" gate="A" pin="2"/>
<wire x1="154.94" y1="147.32" x2="142.24" y2="147.32" width="0.1524" layer="91"/>
<label x="142.24" y="147.32" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="U$4" gate="G$1" pin="DIR"/>
<wire x1="78.74" y1="111.76" x2="73.66" y2="111.76" width="0.1524" layer="91"/>
<label x="73.66" y="113.03" size="1.778" layer="95" rot="R180"/>
<label x="68.58" y="63.5" size="1.778" layer="95"/>
<pinref part="U$3" gate="G$1" pin="STEP"/>
</segment>
</net>
<net name="PB1" class="0">
<segment>
<pinref part="J1" gate="A" pin="3"/>
<wire x1="154.94" y1="144.78" x2="142.24" y2="144.78" width="0.1524" layer="91"/>
<label x="142.24" y="144.78" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="U$4" gate="G$1" pin="STEP"/>
<wire x1="78.74" y1="109.22" x2="73.66" y2="109.22" width="0.1524" layer="91"/>
<label x="73.66" y="110.236" size="1.778" layer="95" rot="R180"/>
<label x="68.58" y="60.96" size="1.778" layer="95"/>
<label x="99.06" y="60.96" size="1.778" layer="95"/>
<wire x1="60.96" y1="60.96" x2="104.14" y2="60.96" width="0.1524" layer="91"/>
<pinref part="U$3" gate="G$1" pin="DIR"/>
</segment>
</net>
<net name="PB2" class="0">
<segment>
<pinref part="J1" gate="A" pin="4"/>
<wire x1="154.94" y1="142.24" x2="142.24" y2="142.24" width="0.1524" layer="91"/>
<label x="142.24" y="142.24" size="1.778" layer="95"/>
<wire x1="60.96" y1="58.42" x2="68.58" y2="58.42" width="0.1524" layer="91"/>
<label x="68.58" y="58.42" size="1.778" layer="95"/>
</segment>
</net>
<net name="PB3" class="0">
<segment>
<pinref part="J1" gate="A" pin="5"/>
<wire x1="142.24" y1="139.7" x2="154.94" y2="139.7" width="0.1524" layer="91"/>
<label x="142.24" y="139.7" size="1.778" layer="95"/>
<wire x1="68.58" y1="55.88" x2="60.96" y2="55.88" width="0.1524" layer="91"/>
<label x="68.58" y="55.88" size="1.778" layer="95"/>
</segment>
</net>
<net name="PB4" class="0">
<segment>
<pinref part="J1" gate="A" pin="6"/>
<wire x1="142.24" y1="137.16" x2="154.94" y2="137.16" width="0.1524" layer="91"/>
<label x="142.24" y="137.16" size="1.778" layer="95"/>
<wire x1="68.58" y1="53.34" x2="60.96" y2="53.34" width="0.1524" layer="91"/>
<label x="68.58" y="53.34" size="1.778" layer="95"/>
</segment>
</net>
<net name="PB5" class="0">
<segment>
<pinref part="J1" gate="A" pin="7"/>
<wire x1="142.24" y1="134.62" x2="154.94" y2="134.62" width="0.1524" layer="91"/>
<label x="142.24" y="134.62" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="R1" gate="G$1" pin="2"/>
<pinref part="Q1" gate="G$1" pin="C"/>
<wire x1="63.5" y1="68.58" x2="63.5" y2="66.04" width="0.1524" layer="91"/>
<wire x1="63.5" y1="66.04" x2="68.58" y2="66.04" width="0.1524" layer="91"/>
<junction x="63.5" y="66.04"/>
<label x="66.04" y="66.04" size="1.778" layer="95"/>
</segment>
</net>
<net name="N$8" class="0">
<segment>
<pinref part="U$4" gate="G$1" pin="2B"/>
<pinref part="JP1" gate="A" pin="4"/>
<wire x1="109.22" y1="99.06" x2="132.08" y2="99.06" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$10" class="0">
<segment>
<pinref part="U$4" gate="G$1" pin="2A"/>
<pinref part="JP1" gate="A" pin="3"/>
<wire x1="109.22" y1="101.6" x2="132.08" y2="101.6" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$11" class="0">
<segment>
<pinref part="U$4" gate="G$1" pin="1A"/>
<pinref part="JP1" gate="A" pin="2"/>
<wire x1="132.08" y1="104.14" x2="109.22" y2="104.14" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$13" class="0">
<segment>
<pinref part="U$4" gate="G$1" pin="1B"/>
<pinref part="JP1" gate="A" pin="1"/>
<wire x1="109.22" y1="106.68" x2="132.08" y2="106.68" width="0.1524" layer="91"/>
<wire x1="48.26" y1="86.36" x2="48.26" y2="83.82" width="0.1524" layer="91"/>
<wire x1="48.26" y1="83.82" x2="40.64" y2="83.82" width="0.1524" layer="91"/>
<junction x="48.26" y="83.82"/>
<wire x1="40.64" y1="83.82" x2="40.64" y2="45.72" width="0.1524" layer="91"/>
<wire x1="40.64" y1="45.72" x2="73.66" y2="45.72" width="0.1524" layer="91"/>
<wire x1="73.66" y1="45.72" x2="73.66" y2="50.8" width="0.1524" layer="91"/>
<pinref part="J1" gate="A" pin="7"/>
<wire x1="73.66" y1="50.8" x2="60.96" y2="50.8" width="0.1524" layer="91"/>
<label x="68.58" y="50.8" size="1.778" layer="95"/>
</segment>
</net>
<net name="N$4" class="0">
@ -3276,16 +3349,74 @@ see http://www.instructables.com/id/Attiny85-as-a-StepDir-Stepper-Motor-Controll
<pinref part="R2" gate="G$1" pin="2"/>
</segment>
</net>
<net name="EN" class="0">
<segment>
<pinref part="U$4" gate="G$1" pin="EN"/>
<wire x1="78.74" y1="93.98" x2="73.66" y2="93.98" width="0.1524" layer="91"/>
<label x="68.58" y="93.98" size="1.778" layer="95"/>
</segment>
<net name="ENABLE" class="0">
<segment>
<pinref part="R2" gate="G$1" pin="1"/>
<wire x1="48.26" y1="60.96" x2="40.64" y2="60.96" width="0.1524" layer="91"/>
<label x="40.64" y="60.96" size="1.778" layer="95"/>
<wire x1="63.5" y1="78.74" x2="104.14" y2="78.74" width="0.1524" layer="91"/>
<pinref part="U$3" gate="G$1" pin="ENABLE"/>
</segment>
</net>
<net name="N$10" class="0">
<segment>
<wire x1="104.14" y1="76.2" x2="99.06" y2="76.2" width="0.1524" layer="91"/>
<pinref part="SJ3" gate="G$1" pin="2"/>
<pinref part="U$3" gate="G$1" pin="MS1"/>
</segment>
</net>
<net name="N$13" class="0">
<segment>
<wire x1="104.14" y1="73.66" x2="99.06" y2="73.66" width="0.1524" layer="91"/>
<pinref part="SJ2" gate="G$1" pin="2"/>
<pinref part="U$3" gate="G$1" pin="MS2"/>
</segment>
</net>
<net name="N$14" class="0">
<segment>
<wire x1="104.14" y1="71.12" x2="99.06" y2="71.12" width="0.1524" layer="91"/>
<pinref part="SJ1" gate="G$1" pin="2"/>
<pinref part="U$3" gate="G$1" pin="MS3"/>
</segment>
</net>
<net name="N$3" class="0">
<segment>
<pinref part="JP1" gate="A" pin="2"/>
<wire x1="147.32" y1="73.66" x2="134.62" y2="73.66" width="0.1524" layer="91"/>
<pinref part="U$3" gate="G$1" pin="2B"/>
</segment>
</net>
<net name="N$6" class="0">
<segment>
<pinref part="JP1" gate="A" pin="3"/>
<wire x1="134.62" y1="71.12" x2="147.32" y2="71.12" width="0.1524" layer="91"/>
<pinref part="U$3" gate="G$1" pin="2A"/>
</segment>
</net>
<net name="N$7" class="0">
<segment>
<pinref part="JP1" gate="A" pin="4"/>
<wire x1="147.32" y1="68.58" x2="134.62" y2="68.58" width="0.1524" layer="91"/>
<pinref part="U$3" gate="G$1" pin="1A"/>
</segment>
</net>
<net name="N$8" class="0">
<segment>
<pinref part="JP1" gate="A" pin="5"/>
<wire x1="134.62" y1="66.04" x2="147.32" y2="66.04" width="0.1524" layer="91"/>
<pinref part="U$3" gate="G$1" pin="1B"/>
</segment>
</net>
<net name="N$2" class="0">
<segment>
<pinref part="U$3" gate="G$1" pin="RESET"/>
<pinref part="SJ4" gate="G$1" pin="2"/>
</segment>
</net>
<net name="N$9" class="0">
<segment>
<pinref part="SJ4" gate="G$1" pin="1"/>
<wire x1="93.98" y1="68.58" x2="93.98" y2="66.04" width="0.1524" layer="91"/>
<pinref part="U$3" gate="G$1" pin="SLEEP"/>
<wire x1="93.98" y1="66.04" x2="104.14" y2="66.04" width="0.1524" layer="91"/>
</segment>
</net>
</nets>