Bringup
Open the editor
Behavioural mixed-signal modelPololu #1182 (A4988 carrier)a4988_module

A4988 stepper driver module

Microstepping driver for one bipolar stepper motor, 8–35 V, up to 2 A per coil (about 1 A without heatsink). Each rising edge on STEP moves one step in the direction of DIR; MS1–MS3 select full, half, quarter, eighth or sixteenth steps. The coil current is chopped (30 µs off-time, mixed decay) to I = VREF / (8 · 0.068 Ω) · sin/cos of the step angle; set VREF with the trimmer. ENABLE high switches the outputs off; RESET and SLEEP must be high (tie RST to SLP).

ENMS1MS2MS3RSTSLPSTEPDIRVMOTGND2B2A1A1BVDDGNDPololu #1182 (A4988 carrier)
Schematic symbol

Key data

Category
Modules
Simulation model
Behavioural mixed-signal model
Manufacturer part number
Pololu #1182 (A4988 carrier)
Reference prefix
U
Pins
16
Land pattern
Pololu_Breakout-16_15.2x20.3mm

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
a4988
Supply pins
2 / 1

Pins 16

PinNameUse
9ENInput pinEnable, active low: high switches the outputs off
10MS1Input pinMicrostep select 1
11MS2Input pinMicrostep select 2
12MS3Input pinMicrostep select 3
13RSTInput pinReset, active low: tie to SLP for normal operation
14SLPInput pinSleep, active low: high = driver on
15STEPInput pinStep pulse: each rising edge moves one (micro)step
16DIRInput pinDirection of rotation
8VMOTSupply pinMotor supply 8–35 V: 100 µF close to the module
7GNDGround pinMotor ground
62BOutput pinCoil 2 (B) terminal
52AOutput pinCoil 2 (B) terminal
41AOutput pinCoil 1 (A) terminal
31BOutput pinCoil 1 (A) terminal
2VDDSupply pinLogic supply 3–5.5 V
1GNDGround pinLogic ground

Parameters 2

VREF (trimmer)vreflive
Default0.544 V

Current limit I = VREF / (8 · RS): 0.544 V = 1 A

Current sense resistorsrs
Default0.068 Ω

Pololu carriers since 2017: 0.068 Ω (older green boards 0.05 Ω)

PCB

Verified land patternPololu_Breakout-16_15.2x20.3mm