Skip to Content
Circuitera

A4988 stepper driver

Learn how to wire A4988 logic and motor supplies, set carrier-specific current limits and avoid damaging a connected stepper driver.

A4988 stepper driver photograph
A4988 stepper motor driver.jpg by Kushagra Keshari · CC BY-SA 4.0. Resized and encoded as WebP without cropping.

Overview

The A4988 contains two H bridges and a translator. Each STEP pulse advances the translator in the selected direction. The bridges regulate winding current according to the current limit and selected microstep.

Source: Allegro MicroSystems

Carrier wiring

The carrier has separate logic and motor supplies, shared ground, motor outputs and STEP/DIR inputs. Identify the two motor winding pairs using a meter. Keep motor power off while changing winding connections. Follow the carrier vendor’s bulk-capacitor guidance near VMOT.

Source: Pololu

Setting the limit

Calculate the limit using the sense resistor and formula for your exact carrier. A current reading on the power supply is not the same as winding current. Heatsinking and airflow determine the achievable continuous current.

Source: Pololu

Specifications

ParameterValue or conditionSource
Motor supply specification8–35 V for the cited Pololu carrier; observe transient and thermal limitsPololu
Supported step modesFull, half, quarter, eighth and sixteenthAllegro MicroSystems

Compatibility and practice

Check the carrier’s sense resistor and current-limit formula; use a bipolar motor.

Sources and datasheets