Skip to content
RoboLearn
Not completed

Stepper motors

ActuatorsIntermediate25 minSpin a virtual stepper ↓Before this: Motor drivers and H-bridges

What you’ll learn

  • How a stepper moves in exact steps
  • The two common types and their drivers
  • When to choose a stepper instead of a servo or DC motor

Steps

A stepper has several coils. Energising them in sequence pulls the rotor round one step at a time. A common NEMA 17 motor has 200 steps per revolution (1.8° per step). Count steps and you know the position exactly, with no sensor, as long as it never skips steps.

Two common types

Motor Driver Notes
28BYJ-48 (5 V, unipolar, geared) ULN2003 board Cheap, slow, about 2048 steps per output turn
NEMA 17 (bipolar) A4988, DRV8825, TMC2208 Used in 3D printers; strong and precise

Drivers like the A4988 need only two pins: STEP (one pulse = one step) and DIR (direction). They also offer microstepping (1/2, 1/4 … 1/16 steps) for smoother, quieter motion.

Choosing a motor

Need Use
Spin continuously, fast (wheels) DC gear motor
Go to an angle within ~180° Servo
Many exact positions, full turns, holding torque Stepper

Finished this lesson?