Finding the coils on your stepper motor
unlimitedbacon last edited by unlimitedbacon
Connecting a new motor to your printer and don't know which wire is which? Here's how you can figure it out.
The NEMA 17 stepper motors that printers use have two coils, and two wires connected to each coil.
To find a coil, take a piece of spare wire or a paperclip and use it to connect any two of the wires together. Turn the motor shaft by hand. If it becomes harder to turn after you connect the wires, then both those wires are on the same coil. Consequently, the other two wires must be on the other coil.
Electric motors are also generators. By shorting a coil, you are essentially giving the generator an infinite load, which you can feel as you try to turn it.
The wires on the first coil are labeled 1A and 1B, and the wires on the second coil are labeled 2A and 2B. The wires are also usually different colors, but the colors themselves don't really mean anything and are often different from motor to motor. It doesn't actually matter which wire you call A and which one you call B. Likewise, it doesn't matter which coil you decide is #1 and which coil you decide is #2. If your motor runs in reverse, just swap any wire with it's partner, or swap the coils with each other.