Overview

The DRV8825 is a complete microstepping bipolar stepper motor driver IC manufactured by Texas Instruments, commonly populated on Pololu-form-factor ("StepStick") breakout carrier modules.

Serving as a higher-voltage and higher-current drop-in alternative to the A4988 driver, the DRV8825 supports motor supply voltages up to 45 V, delivers up to 1.5 A continuous current per phase without forced air cooling (and up to 2.2 A with heatsinking and airflow), and offers microstepping resolution down to 1/32-step. It features adjustable current limiting via an onboard potentiometer, built-in indexer logic for simple STEP/DIR control, and internal protection against overcurrent, short circuits, thermal shutdown, and undervoltage lockout.

Quick reference

Motor supply voltage (VMOT)8.2 V to 45.0 V DC
Logic supply voltage (VVR)2.5 V to 5.25 V DC (internal 3.3V regulator)
Continuous current per phase1.5 A (2.2 A max with heatsink/fan)
Microstep resolutionsFull, 1/2, 1/4, 1/8, 1/16, 1/32 step
Control interfaceSTEP / DIR pins (simple step and direction pulse)
MOSFET RDS(on)R_{DS(on)}300 mΩ300\text{ m}\Omega typical (high side + low side)
Form factor16-pin 0.1" DIP carrier module (Pololu pinout)

Pinout

The module features two 8-pin 0.1" headers matching standard StepStick / RAMPS sockets:

PinNameTypeDescription
1ENABLEDigital InputActive-Low driver enable. High = outputs disabled.
2M0Digital InputMicrostep resolution selector pin 0
3M1Digital InputMicrostep resolution selector pin 1
4M2Digital InputMicrostep resolution selector pin 2
5RESETDigital InputActive-Low device reset (must be tied High for normal operation)
6SLEEPDigital InputActive-Low sleep mode input (must be tied High for normal operation)
7STEPDigital InputStep pulse input. Rising edge advances motor one step/microstep.
8DIRDigital InputDirection input. Logic High = clockwise, Low = counter-clockwise.
9GNDPowerLogic & Ground reference (0 V)
10FAULTDigital OutputActive-Low open-drain fault output (overtemp/overcurrent flag)
11A1Motor OutputBipolar stepper motor coil A phase 1
12A2Motor OutputBipolar stepper motor coil A phase 2
13B2Motor OutputBipolar stepper motor coil B phase 2
14B1Motor OutputBipolar stepper motor coil B phase 1
15GNDPowerMotor Ground reference
16VMOTPowerMotor supply voltage (+8.2 V to +45 V DC)

Microstep resolution selection

The microstep mode is selected via inputs M0, M1, and M2. All three pins have internal 100 kΩ100\text{ k}\Omega pull-down resistors (defaulting to Full-step when left floating):

M0M1M2Microstep Resolution
LowLowLowFull step
HighLowLow1/2 step
LowHighLow1/4 step
HighHighLow1/8 step
LowLowHigh1/16 step
HighLowHigh1/32 step
LowHighHigh1/32 step
HighHighHigh1/32 step

Specifications

ParameterSymbolMinTypMaxUnitConditions
Motor Supply VoltageVMOTV_{MOT}8.224.045.0VMotor power rail
Logic Level Input HighVIHV_{IH}2.03.3 / 5.05.25VSTEP, DIR, ENABLE, M0-M2
Logic Level Input LowVILV_{IL}-0.300.8VSTEP, DIR, ENABLE, M0-M2
Phase Current (Uncooled)IoutI_{out}1.51.8ANatural convection
Phase Current (Cooled)Iout_cooledI_{out\_cooled}2.02.2AHeatsink + forced air cooling
Minimum Pulse WidthtSTEPt_{STEP}1.9µsSTEP high/low pulse duration
Thermal Shutdown TempTTSDT_{TSD}150160175°CJunction temperature shutdown

Current limiting calibration (VrefV_{ref})

Before running a motor, the phase current limit must be set using the onboard trimmer potentiometer (VrefV_{ref} measured between the potentiometer metal wiper and GND):

Itrip=Vref2×Rsense=Vref2×0.100 Ω=5×VrefI_{trip} = \frac{V_{ref}}{2 \times R_{sense}} = \frac{V_{ref}}{2 \times 0.100\ \Omega} = 5 \times V_{ref}

(Assuming standard Rsense=0.100 ΩR_{sense} = 0.100\ \Omega current sense resistors on the module PCB)

Example: To limit current to 1.0 A1.0\text{ A} per phase:

Vref=1.0 A×0.2=0.20 V=200 mVV_{ref} = 1.0\text{ A} \times 0.2 = 0.20\text{ V} = 200\text{ mV}

Wiring

DRV8825 PinArduino / MCUExternal PowerNotes
VMOT+12V to +36V DCMotor power supply rail
GND (Motor)Power Supply GNDBulk decoupling capacitor mandatory
GND (Logic)MCU GNDPower Supply GNDShared ground reference
STEPDigital Pin (e.g. D3)Step pulse signal
DIRDigital Pin (e.g. D4)Direction signal
RESET & SLEEPConnect RESET directly to SLEEP
Warning

LC Voltage Spike Hazard:

  • Connecting or disconnecting a stepper motor while the DRV8825 is powered will destroy the driver IC.
  • A bulk electrolytic decoupling capacitor (minimum 47 μF47\ \mu\text{F} to 100 μF100\ \mu\text{F}, 50V rated) MUST be placed across VMOT and GND close to the module pins to suppress destructive ceramic capacitor LC voltage spikes.

Common mistakes

  • Leaving RESET and SLEEP floating: Both pins must be pulled High (or shorted together) for the driver to function. If left un-connected, the chip remains locked in sleep mode.
  • Hot-plugging motors: Unplugging motor cables while VMOT power is connected causes inductive kickback spikes that instantly destroy the output MOSFET H-bridges.
  • Confusing DRV8825 orientation with A4988: Although the DRV8825 fits in the same 16-pin socket, the potentiometer faces the opposite direction relative to VMOT compared to an A4988 StepStick. Plugging it in upside down shorts the power rails.

Notes

  • A4988 vs DRV8825: DRV8825 supports higher voltage (45V vs 35V), higher current (2.2A vs 2.0A max), higher microstepping (1/32 vs 1/16), and has a lower RDS(on)R_{DS(on)} resulting in less heat generation at equivalent currents.

Assets & downloads