A stepper that buzzes in place usually has crossed coil wires or is asked to step faster than it can follow. Check the coil pairs first.
What the message means
A bipolar stepper has two coils, each with two wires. If wires from different coils are paired on the driver outputs, the field does not rotate and the shaft only shakes.
Fix it in this order
- Find the coil pairs with a multimeter. Two wires of the same coil show low resistance; wires of different coils show none.
- Connect one pair to the driver A outputs and the other pair to the B outputs.
- Lower the step rate. A motor cannot start at a high speed; start slowly and accelerate.
- Set the driver current limit to match the motor rating, then recheck.
- Check the motor supply voltage and the enable pin.
- Check the step and direction pins in the code.
Why it happens
A stepper that buzzes but does not turn usually has a swapped coil pair, too high a step rate, too little current or too low a supply voltage. A coil wired wrongly makes the shaft shake in place.
Find the two coil pairs with a multimeter: the wires of one coil show a low resistance, wires of different coils show none. Connect each pair to one driver output pair, lower the speed, and set the driver current limit for the motor rating.
If you see this, do this
| You see | Do this |
|---|---|
| Buzzes at any speed | Coil pairing or no current. |
| Works slowly and stalls when faster | Step rate too high or current too low. |
Related
stepper step frequency, stepper torque curve, A4988 or DRV8825 not moving.
Last reviewed: November 2026. These are the usual causes and the order that finds them fastest. Test on your own board; clones and cables differ.
Why this happens
A stepper turns by moving its rotor from one magnetic position to the next as the driver energises the coils in sequence. If the two coils are mixed up, the sequence no longer pushes the rotor around in order, so it only rocks between neighbouring positions and buzzes. The same buzz appears when the rotor cannot keep up: a stepper can follow steps only up to a speed set by its inductance, supply voltage and load, and above that it loses synchronism.
Current is the third factor. Torque is roughly proportional to coil current, and the driver limits that current to a value you set. If the limit is set far too low, the rotor does not have the torque to move even its own friction, and it hums in place.
How to confirm the cause
- With power off, measure resistance between pairs of motor wires. Two wires of the same coil read a few ohms; wires from different coils read open. That identifies the pairs.
- Spin the shaft by hand with the motor wires disconnected, then with two wires of a coil twisted together. The shaft should feel stiffer when the coil is shorted. That also confirms a coil pair.
- Send very slow steps (a few steps per second). If it moves correctly slowly and buzzes when faster, the step rate or the current is the issue.
- Measure the driver reference voltage and calculate the current limit from the formula for your driver module.
- Measure the motor supply voltage at the driver while it runs. A dip points to a weak supply.
Worked example
A slow test with a step and direction driver, 250 steps per second, which is 1.25 revolutions per second for a 200-step motor in full-step mode:
const int STEP_PIN = 3, DIR_PIN = 4;
void setup() {
pinMode(STEP_PIN, OUTPUT);
pinMode(DIR_PIN, OUTPUT);
digitalWrite(DIR_PIN, HIGH);
}
void loop() {
digitalWrite(STEP_PIN, HIGH);
delayMicroseconds(2000);
digitalWrite(STEP_PIN, LOW);
delayMicroseconds(2000);
}Common mistakes
- Pairing the wires as 1-3 and 2-4 by guessing instead of measuring.
- Connecting or disconnecting the motor while the driver is powered, which can destroy the driver.
- Leaving the enable pin undriven or high on a module that uses it as active low.
- Starting at full speed instead of ramping up.
- Setting the current limit by guess; with an A4988 the usual formula uses the sense resistor value on the module, so check your board.
If this did not fix it
- No common ground between the controller and the driver.
- A missing capacitor across the motor supply pins of the driver, or a supply that sags under load.
- A motor rated for much more current than the driver can deliver.