How do I wire a stepper motor? Identifying 4-, 6- and 8-wire coils: step-by-step guide
Find the coil pairs with a multimeter, tell 4, 6 and 8-wire steppers apart, then wire bipolar, unipolar, series or parallel to match your driver and speed-torque need.
Updated 2026-11-28
The short answer
A stepper motor has two coils, A and B. Your job is to find which leads belong to each coil, then connect each coil to the driver outputs A+, A−, B+ and B−. Four leads give two separate coils. Six leads add a centre tap on each coil, used for unipolar drive. Eight leads bring out both ends of each coil, so you can wire it in series or in parallel. Measure with a multimeter. Do not rely on wire colours, because they differ between manufacturers.
Identify the wire count
- Set the multimeter to ohms and measure between every pair of leads. A pair reading a few ohms is one coil. An open reading between two leads means they belong to different coils.
- 4 wires: two coils with one lead at each end. Each pair reads the full coil resistance.
- 6 wires: each coil has a centre tap. The tap-to-end reading is half the end-to-end reading.
- 8 wires: each coil is brought out at both ends, and you may see two separate leads per coil. Joining the same polarity gives the parallel connection; joining opposite ends gives the series one.
Worked example: a 6-wire motor
You measure 4.8 ohms between leads 1 and 2, and 2.4 ohms between lead 3 and either lead 1 or 2. Lead 3 is the centre tap of coil A, and leads 1 and 2 are its ends. Coil B is then the leads 4 and 5 pair, with lead 6 as its centre tap. For bipolar drive, connect 1 and 2 to A+ and A−, and 4 and 5 to B+ and B−, leaving the centre taps unconnected. For unipolar drive, the centre taps go to the positive supply, and the ends are switched to ground.
Series or parallel for 8-wire motors
- Series: one lead of coil A joins one lead of coil B, and the remaining four leads go to the driver. Series has higher inductance and a lower rated current, so it gives more torque at low speed.
- Parallel: join the same-polarity leads of both coils. Parallel has lower inductance and needs a higher current setting, often about 1.4 times the series value, so it gives better high-speed torque. Confirm the figure in the datasheet.
- Polarity matters. If one coil is reversed, the fields cancel, the motor runs weak, and it vibrates without turning. Swap the two leads of a coil to fix it.
Driver settings and tests
- Set the driver current to the motor's rated per-phase current, not the wire count or the supply current.
- Power the motor off before connecting or disconnecting leads. Breaking an energised coil causes a voltage spike.
- Run the motor with no load for a few minutes. Check that the body is warm, not hot, and that it turns smoothly. Reversing the direction is done by swapping one coil's leads.
Common mistakes
- Tying the centre taps to ground in bipolar drive, which leaves one half of each coil unused.
- Putting two leads from different coils on the same driver output.
- Using the continuity or buzzer mode and assuming a reading means a coil. Use the resistance scale, because a buzzer will also sound for a short between coils.
- Choosing a unipolar driver for a bipolar motor, which gives low torque at high speed.
Stepper resolution & pulse rate
Pulses/rev = 360 / step angle × microsteps; f = v / lead × pulses/rev
Sourcing a motor or production equipment from China? We can find and contact the right factories for you in Chinese. Ask on WhatsApp →