Stepper misbehavin'

I have two steppers both with 200 steps per revolution. Testing them with Arduino uno and L298N and the provided ample program (Stepper Motor Control - one revolution by Tom Igoe) results in 4 turns instead of a single rotation. Of course the motors vibrate and have low/no torque. What am I missing, doing wrong?


This almost always means the connections are not correct and in the right order. You need to check the data sheet for your motors for the wire colors etc...

Some info here:

Let us know how it goes...

These links may help
Stepper Motor Basics
Simple Stepper Code