A4988 stepper driver
Small stepper driver with microstepping for NEMA 17 motors.
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.
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 spec | Value |
|---|---|
| Function | Bipolar stepper driver with up to 1/16 microstep |
| Supply voltage | 8 to 35 V motor, 3 to 5.5 V logic |
| Interface | STEP and DIR pins |
| Rating | About 1 A without a heatsink, up to 2 A with cooling |
| Logic level | 3.3 or 5 V |
Pinout
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
Builds that use it
Pen plotter with two steppers
Motorised curtain that opens at sunrise
CoreXY pen plotter
Mini claw machine
Fruit ripeness sorter with vision
Colour-sorting pick-and-place arm
Mini CNC for drilling PCB holes
Product photo turntable
Alternatives
- DRV8825 stepper driverHigher voltage, 1/32 steps
- TMC2209 stepper driverNear silent, UART control
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.
