Skip to content

Instantly share code, notes, and snippets.

@logxen
Created May 4, 2014 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save logxen/6a4f00bfd2a2268692d3 to your computer and use it in GitHub Desktop.
Save logxen/6a4f00bfd2a2268692d3 to your computer and use it in GitHub Desktop.
How to wire an 8-lead stepper
I. Find coils
-with the stepper unplugged, spin the motor by hand
-touch two leads together and see if it is harder to spin
-if it is harder to spin you found a coil
-keep testing the rest and find all 4 coils
II. Find pairs
-name coils 1 through 4 and make a note of their colors for later reference
-plug in coils 1 and 2 then plug in and run the motor to see if it spins
-change coil 2 for 3 then plug in and run the motor see if it spins
-if the motor spins both times, coil 1 is paired with coil 4
otherwise coil 1 is paired with the coil that didn't spin
III. Match polarity
-name the coil pairs A and B
-leave coil 1 of pair A plugged in and the other coil of pair A unplugged
-choose one wire from each coil in B and connect them together
-plug in the other two wires from B and see if the motor spins
-if so then B now have the same polarity
-if not then swap the wires of one coil in B (you can test to make sure the motor spins)
-leave pair B plugged in and disconnect coil 1
-continue as above to match the coil polarity of pair A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment