Stepper Motor Wiring on 8,6,5 and 4 Lead Motors. (Which Lead Goes Where?)
Stepper Motor Wiring
In general, 2-phase stepper motors can have 4, 6 or 8-wire leads, not including any (optional) encoder lines. Some stepper motors have a motor case ground that can be tied to the ground of the system. It is usually a black wire, and it will add one additional wire to the overall count (4 coil wires + 1 casing ground = 5 wires total).
4 Wire Motors: Approach 1 (using a multimeter)
- Each of the two phases should have the same resistance when measured with a multimeter. When measuring the resistance across one wire from each of the two phases, the resistance should be infinite because the circuit is open. Locate the two pairs of wires that represent the two phases, and both pairs of wires will have similar internal resistance.
- Connect each phase to the amplifier and ignore the polarity (+ / -), for now. You have a 50% chance of guessing right.
- Send a command to move the motor. If the motor rotates in the wrong direction, then switch either phase A and A- or B and B- (effectively reversing directions).
4 Wire Motor: Approach 2 (w/o a multimeter)
- Connect the four coil wires to the amplifier in any arbitrary pattern. Send a command to move the motor.
- If the motor moves erratically or not at all, then switch one wire from phase A with one wire from phase B.
- If the motor is rotating in the wrong direction, then switch either phase A and A- or B and B- (effectively reversing directions).
6 Wire Motors
- If you have six coil wires, then each phase has a center tap wire.
- The center tap wire should have half the internal resistance of the full phase. The easiest option is to use a multimeter to find the two pairs of wires that have the maximum resistance.
- Connect each phase to the amplifier, and ignore the polarity (+ / -) for now. You have a 50% chance of guessing right. The motor should rotate, and if it is in the opposite direction, then switch either phase A and A- or B and B- (effectively reversing directions).
8 Wire Motors:
- If you have eight coil wires, then it is highly recommended you find the exact pinout for the motor.
- The eight wires represent four pairs of wires, and each pair has the same resistance. It is not easy to find what two pairs represent phase A and phase B without dismantling the motor.
Below are diagrams of the 4 different motor types so you can understand the rationale behind these tests.
8 Wire Configuration
6 Wire Configuration
5 Wire Configuration
4 Wire Configuration