Welcome! Log In Create A New Profile

Advanced

Motor wire to Sanguinololu board mapping?

Posted by Pointedstick 
Motor wire to Sanguinololu board mapping?
September 10, 2011 05:35PM
I bought five NEMA 17 motors from Thingfarm and how it's time to hook them up. Problem is, I'm having a hard time correlating what the motor's wiring diagram says with what's printed on my Sanguinololu board. Each 1x4 bank of pins is marked with "1B 1A 2A 2B":


…but on the motor's wiring diagram (found here), the wires correspond to A, C, B, and D:


Anyone know what gets hooked up to where?
Re: Motor wire to Sanguinololu board mapping?
September 10, 2011 06:04PM
I used:
1b --> black
1a --> green
2a --> blue
2b --> red
As a result i had to invert all axises in the firmware, which really isn't a problem.

So if you don't want to invert your axises the following sheme should be right:
1b --> black
1a --> green
2a --> red
2b --> blue

Edited 1 time(s). Last edit at 09/10/2011 06:05PM by XynxNet.
Re: Motor wire to Sanguinololu board mapping?
September 11, 2011 12:20AM
Thanks a ton!
Re: Motor wire to Sanguinololu board mapping?
September 11, 2011 09:40AM
Hopefully someone that can make the change will see this comment.

Using 1A 1B 2B 2A is confusing to people, because it is ambiguous.

You can't know for sure if the number designates the pair (pair 1, pair 2), or if the letter designates the pair (pair A, pair cool smiley.

Yes the graphic tries to make it apparent, but this is not apparent.

One of the most common naming conventions for bi-polar stepper motors is to use letters to designate which wires belong to the same coil, and +/- to designate the polarity of each member. A+,A-, B-,B+
Re: Motor wire to Sanguinololu board mapping?
September 11, 2011 10:55AM
It stems from the fact that that is how Allegro label the outputs on the datasheet, i.e. with no regard for the convention for naming the motor wires.


[www.hydraraptor.blogspot.com]
i spent 3 hours trying to wire this thing incorrectly because other stepper boards i have refer to a,b as the coil and here 1,2 is the coil number. aaaaargh!
Sorry, only registered users may post in this forum.

Click here to login