{"id":60,"date":"2010-04-12T20:16:27","date_gmt":"2010-04-13T00:16:27","guid":{"rendered":""},"modified":"2011-02-02T00:02:50","modified_gmt":"2011-02-02T05:02:50","slug":"the-ugliest-little-reprap-stepper-driver","status":"publish","type":"post","link":"https:\/\/pappp.net\/?p=60","title":{"rendered":"The Ugliest Little RepRap Stepper Driver"},"content":{"rendered":"\n<p>I&#8217;ve been playing with my CNC Mill project a little bit in some &#8220;spare&#8221; time(= time I should be working on things for school, but can&#8217;t focus), and just got my third <a class=\"externlink\" title=\"Go to http:\/\/reprap.org\/wiki\/Stepper_Motor_Driver_2.3\" href=\"http:\/\/reprap.org\/wiki\/Stepper_Motor_Driver_2.3\">RepRap Stepper Motor Driver v2.3<\/a> working after some replacement parts and judicious <a class=\"externlink\" title=\"Go to http:\/\/www.sparkfun.com\/commerce\/tutorial_info.php?tutorials_id=99\" href=\"http:\/\/www.sparkfun.com\/commerce\/tutorial_info.php?tutorials_id=99\">green-wiring<\/a>.  <\/p>\n<p>I bought three drivers as kits, because they were cheap and well regarded, but the boards are largely surface-mount, and the first attempt to populate them didn&#8217;t go well, thanks to distorted lead frames and UK&#8217;s shifty surface mount equipment.  With a little bit of hand soldering to fix lifted pads, I got two of the three boards going, but one of them &#8230;ignited&#8230; when tested because of a lifted ground on the main IC.  The bad board has been sitting in it&#8217;s bag waiting for me to do something about it for most of a year now, and the other night I realized I could probably remove the chip, order a replacement Allegro A3982 from one of the electronics suppliers for a couple dollars, and try again.  Pulling the chip by hand lifted four pads, but left it looking workable, so I picked up a pair of spare chips from DigiKey (who, for a pleasant but startling change, only charged me a very modest shipping fee).  <\/p>\n<p>My replacements arrived earlier today, and I couldn&#8217;t resist taking a crack at it.  As the title suggests, this resulted in a UGLY but working driver board (click for larger):<br \/>\n<a href=\"https:\/\/pappp.net\/wp-content\/fp-content\/images\/redwire_md.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pappp.net\/wp-content\/fp-content\/images\/redwire_sm.jpg\" alt=\"redwire_sm.jpg\"  title=\"redwire_sm.jpg\"  class=\"center\"  width=\"500\" height=\"188\" \/><\/a><br \/>\nCheck out the run of magnet wire across the bottom of the board, up through a via, and then under the pad it goes to.  That is some quality fabrication (also, I checked, that path never carries much current, so magnet wire is OK).  The other fixes are all relatively easy (and large-current) runs across one side of the board.<\/p>\n<p>This time, instead of catching fire and destroying an IDC cable, connecting power and my supremely ghetto-rigged test circuit (a 555 timer set up to generate a pulse train on step, and some buttons and switches to control direction and enable) resulted in a smoothly turning motor.  Success.  I&#8217;ll probably only have to make one more small electronics order (remember that melted IDC cable&#8230;) and all the drive electronics will be together to run it from a EMC2\/Linux box.  <\/p>\n<p>The hangup now is the connections between the axes and the drive nuts: my old bent-steel-sheet brackets were not square enough, and were causing walking and uneven tension and all manner of badness, but I haven&#8217;t managed to design a replacement I&#8217;m both satisfied with and able to build\/source.  If anyone has an idea for mounting a 1.25&#8221; long, .56&#8221; flat-to-flat hexagonal coupling nut to a metal panel 1&#8221; away from the rod the nut rides on, which will take large lateral torque and remain square to the rod, let me know.  I have a half-baked plan with some modified heavy L-brackets, but there must be something better.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been playing with my CNC Mill project a little bit in some &#8220;spare&#8221; time(= time I should be working on things for school, but can&#8217;t focus), and just got my third RepRap Stepper Motor Driver v2.3 working after some &hellip; <a href=\"https:\/\/pappp.net\/?p=60\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,37,1,10,12],"tags":[38,39],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-diy","category-electronics","category-general","category-objects","category-oldblog","tag-reprap","tag-stepper"],"_links":{"self":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=60"}],"version-history":[{"count":0,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/60\/revisions"}],"wp:attachment":[{"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}