Components / Motors and drivers / A4988 stepper driver

A4988 stepper driver

Small stepper driver with microstepping for NEMA 17 motors.

FunctionBipolar stepper driver with up to 1/16 microstep
Supply voltage8 to 35 V motor, 3 to 5.5 V logic
InterfaceSTEP and DIR pins
RatingAbout 1 A without a heatsink, up to 2 A with cooling
Motor DriversReviewedMPN A4988Used in 12 projects
In short

What is the A4988 stepper driver and what is it used for?

Small stepper driver with microstepping for NEMA 17 motors. Makers use it for 3D printers, CNC.

How it works

A chopper driver that switches each coil's current on and off to hold it at the set level, stepping through a table of coil currents for microsteps.

Key specifications

Interface module specValue
FunctionBipolar stepper driver with up to 1/16 microstep
Supply voltage8 to 35 V motor, 3 to 5.5 V logic
InterfaceSTEP and DIR pins
RatingAbout 1 A without a heatsink, up to 2 A with cooling
Logic level3.3 or 5 V

Pinout

ENABLELow to enable
MS1 MS2 MS3Microstep select
RESET SLEEPTie together
STEPOne pulse per step
DIRDirection
VMOT8 to 35 V motor supply (100 µF capacitor)
1A 1B 2A 2BMotor coils
VDD3 to 5.5 V logic
GNDGrounds

How to use it

Set the current limit first: on boards with 0.1 Ω sense resistors, current limit = Vref × 1.25, so 0.8 V gives about 1 A. Never unplug the motor while powered or the driver will die. Use AccelStepper for acceleration.

Applications

Alternatives

Buy at

Common questions

What is the A4988 stepper driver used for?

In maker projects: 3D printers, CNC.

How does the A4988 stepper driver work?

A chopper driver that switches each coil's current on and off to hold it at the set level, stepping through a table of coil currents for microsteps.

What voltage does the A4988 stepper driver need?

8 to 35 V motor, 3 to 5.5 V logic.

How do I connect the A4988 stepper driver to an Arduino or ESP32?

STEP and DIR pins. Pins: ENABLE (Low to enable), MS1 MS2 MS3 (Microstep select), RESET SLEEP (Tie together), STEP (One pulse per step), DIR (Direction), VMOT (8 to 35 V motor supply (100 µF capacitor)).

What can I use instead of the A4988 stepper driver?

DRV8825 stepper driver and TMC2209 stepper driver.