Comparison

A4988 vs DRV8825 Stepper Drivers

Two StepStick drivers that fit the same socket but are not wired identically.

The A4988 and DRV8825 are the most common stepper drivers for 3D printers, CNC mills and plotters. Both come on 16-pin modules in the StepStick or Pololu format and are driven through STEP and DIR. The boards have the same size and the same pin order, so in most mainboards and CNC shields they can be swapped for each other.

The differences are in the details. Where the A4988 has the logic supply pin VDD, the DRV8825 has the FAULT output, because the DRV8825 generates its own logic voltage. On the Pololu modules FAULT is protected by a resistor so that an applied logic voltage does no harm. The microstepping pins are called MS1 to MS3 and M0 to M2 and are encoded differently: all three high means 1/16 step on the A4988 and 1/32 step on the DRV8825. The DRV8825 handles up to 45 V instead of 35 V and more current per coil, but needs longer STEP pulses. The formula for setting the current via Vref is different, and the trimpot sits in a different place. The coil outputs are labelled differently on the two modules but sit on the same pins.

The table compares both modules pin by pin.

Not pin-compatible

The pinouts differ. Use the tables below to rewire the signals.

Overview from the pinout data

PropertyA4988 DMOS Stepper Motor DriverDRV8825 Stepper Motor Controller
ManufacturerAllegro MicroSystems / PololuTexas Instruments / Pololu
TypeModuleModule
Compared pinout16-Pin StepStick Module Pinout16-Pin StepStick Module Pinout
Pins1616
Supply pinsVDD, 1B, 1A, 2A, 2B, VMOT2B, 2A, 1A, 1B, VMOT
Ground pins22
Interfaces––

Pin by pin

8 of 16 pins have the same function at the same position.

PinA4988 DMOS Stepper Motor DriverDRV8825 Stepper Motor Controller
1~ENABLE~ENABLEsame
2MS1M0differs
3MS2M1differs
4MS3M2differs
5~RESET~RESETsame
6~SLEEP~SLEEPsame
7STEPSTEPsame
8DIRDIRsame
9GNDGNDsame
10VDD~FAULTdiffers
111B2Bdiffers
121A2Adiffers
132A1Adiffers
142B1Bdiffers
15GNDGNDsame
16VMOTVMOTsame

Verdict

The A4988 is enough for typical NEMA 17 motors and is quieter at low speeds. The DRV8825 pays off with higher voltage, more current or finer resolution. After swapping, always set Vref again and check the microstepping jumpers.