A4988 stepper motor driver pinout

A4988 stepper motor driver (StepStick, Pololu and clones), Allegro A4988, 5 V logic, 15.24×20.32 mm, 16 pins

verified20.10.2026

Component side view, trimmer at the bottom: logic on the left (EN at the top, DIR at the bottom), power and motor on the right (VMOT at the top).

Download PNG
Chip
Allegro A4988
Logic
5 V
Power
VMOT 8-35 VVDD 3-5.5 V

Important

  • Minimal wiring (Pololu): VMOT and GND from the 8-35 V motor supply with a 47-100 µF electrolytic, VDD and GND from the logic, STEP and DIR to GPIO, RST tied to SLP, coils to 1A-1B and 2A-2B.
  • Microstepping MS1, MS2, MS3: 000 full step, 100 half step, 010 1/4, 110 1/8, 111 1/16 (1 = HIGH).
  • Current: I = Vref / (8 × R_CS). R_CS is 0.068 Ω on Pololu, on red clones usually R100 (0.1 Ω) or R200 (0.2 Ω): see the marking on the resistors next to the chip.
  • The motor current is set by the trimmer potentiometer: the Vref voltage on its wiper. The Vref calculator on the site works out the setting for your motor (Tools, "Vref calculator").
  • Find the coils with a continuity test: the two wires of one coil beep to each other (a few ohms). One coil goes to 1A and 1B, the other to 2A and 2B.
  • Don't connect or disconnect the motor while VMOT is powered: the spike burns out the driver.
  • About 1 A per phase without a heatsink, up to 2 A with a heatsink and airflow (Pololu).
  • The logic draws up to 8 mA. Motor current flows only through VMOT.

Revisions and clones

  • Red clones (StepStick): same pins, R_CS 0.1 or 0.2 Ω, the trimmer may be at the other edge. Labels are on the back.
  • Pololu Black Edition (#2128): four-layer board, same pins, handles more current.
  • DRV8825 (drv8825-module): same header, but the FLT pin sits where VDD is, and microstepping goes up to 1/32.

All pins

LabelNumberFunctionsLimitsCheck
ENENABLE: LOW enables the outputs, HIGH disables them (motor free)onboard pull-downverified
MS1MS1: microstep select (100 kΩ pull-down to ground inside)verified
MS2MS2: microstep select (50 kΩ pull-down to ground inside)verified
MS3MS3: microstep select (100 kΩ pull-down to ground inside)verified
RSTRESET: LOW resets the driver; no pull-up, don't leave it floatingverified
SLPSLEEP: LOW puts the driver to sleep; 100 kΩ pull-up to VDD on the boardonboard pull-upverified
STEPSTEP: a LOW→HIGH edge makes one (micro)stepverified
DIRDIR: rotation directionverified
VMOT12 Vpower inputverified
GNDGroundverified
2B2B: coil 2, second terminalverified
2A2A: coil 2, first terminalverified
1A1A: coil 1, first terminalverified
1B1B: coil 1, second terminalverified
VDD5 Vpower inputverified
GNDGroundverified

Sources

Every pin is verified against the manufacturer's documents.

Size: 0.6×0.8 in (15.24×20.32 mm), rows 12.7 mm (0.5 in) apart, 2.54 mm pitch.

FAQ

What supply voltage does the A4988 stepper motor driver need?
VMOT: 8-35 V; VDD: 3-5.5 V. 5 V logic.

You might also need

Similar boards