A4988

✓ In Stock

Complete microstepping motor driver with translator and easy operation for bipolar stepper motors up to 2A per coil.

Product Overview

Description

The A4988 is a complete microstepping motor driver with built-in translator for easy operation. It is designed to operate bipolar stepper motors in full-step, half-step, quarter-step, eighth-step, and sixteenth-step modes, with output drive capability up to 35V and ±2A.

The translator is the key to the easy implementation of the A4988. By simply inputting one pulse on the STEP input, the motor will take one step (full, half, quarter, etc.). The direction is selected by a simple logic level on the DIR input. No phase sequence tables or high-frequency control lines are required.

The A4988 includes a fixed off-time current regulator that operates in slow or mixed decay modes. The current decay mode is determined by the state of the MS1 and MS2 pins. Mixed decay reduces audible motor noise and vibration compared to slow decay.

Product Series

A

Primary Application

3D printers

Key Features

  • Simple step and direction control interface
  • Five microstep resolutions up to 1/16 step
  • Adjustable current control with potentiometer
  • Automatic current decay mode selection
  • Sync rectification for low power dissipation
  • Crossover current protection
  • Thermal shutdown and UVLO protection
  • Low RDS(on) outputs for cooler operation

Specifications

Motor Type Bipolar stepper
Supply Voltage 8V to 35V
Output Current ±2A per coil
Microstepping Full, 1/2, 1/4, 1/8, 1/16
Current Control PWM with fixed off-time
Decay Modes Slow and mixed
Protection OCP, OTP, UVLO
Package QFN-28, TSSOP-28
Temperature Range -20°C to +85°C

Applications

3D printers

Electronic system design

CNC machines

Electronic system design

Laser cutters

Electronic system design

Pick and place machines

Electronic system design

Automated dispensers

Electronic system design

Camera platforms

Electronic system design

Documents & Resources

FAE Expert Insights

L

"The A4988 is the workhorse of stepper motor control. Its simple step/direction interface makes it accessible to both beginners and experienced designers. The built-in translator eliminates the need for complex phase sequencing - just send pulses and the motor moves. I've used it in countless 3D printer and CNC designs with excellent reliability. The microstepping capability (up to 1/16) significantly reduces vibration and improves resolution compared to full-step operation. Key design tips: Use the potentiometer to set current limit based on motor rating; enable mixed decay for smoother operation at higher speeds; ensure adequate heatsinking - the chip can get warm at 2A. The A4988 is cost-effective and widely available, making it ideal for consumer and light industrial applications. For higher current requirements, consider the DRV8825 which is pin-compatible but supports up to 2.5A."

Simple step/direction interface; built-in translator; microstepping reduces vibration; cost-effective solution

— Lisa Wang, BeiLuo

Frequently Asked Questions

How do I set the current limit on A4988?

The A4988 current limit is set using the on-board potentiometer and VREF pin: Calculation - I_chop = VREF / (8 × Rs), where Rs is the sense resistor (typically 0.05Ω or 0.1Ω). For default 0.05Ω sense resistors: I_chop = VREF / 0.4. To set 1A current: VREF = 1A × 0.4 = 0.4V. Procedure: 1) Power on with motor disconnected; 2) Measure voltage between VREF pin and GND; 3) Adjust potentiometer to desired VREF; 4) Reconnect motor and test. Important notes: Set current to motor's rated current or slightly below; Higher current increases torque but also heating; Always use heatsink or cooling for currents > 1A; Current chopping may cause audible noise at certain frequencies. The potentiometer provides approximately 0-2V range, supporting currents up to 2A with 0.05Ω sense resistors.

Calculate VREF = I × 0.4 (for 0.05Ω Rs); set to motor rated current; use cooling for > 1A.

A4988 current limit VREF adjustment current setting
What is the difference between slow and mixed decay modes?

Slow and mixed decay modes affect current regulation and motor performance: Slow decay - Current recirculates through one low-side MOSFET and the motor winding; Slower current decay, better current regulation at low speeds; Lower ripple current, less motor heating; Can cause instability at high speeds. Mixed decay - Current decays through both low-side and high-side paths; Faster current decay, better high-speed performance; Higher ripple current, slightly more heating; Recommended for most applications. The A4988 automatically selects decay mode based on step rate: Slow decay at low speeds for stability; Mixed decay at high speeds for performance. For most applications, use the automatic mode. If experiencing resonance or missed steps at certain speeds, try forcing mixed decay mode.

Use automatic mode for most applications; force mixed decay if experiencing resonance or missed steps.

slow decay mixed decay current decay mode
What is the maximum PWM frequency supported?

The motor driver supports PWM frequencies up to 20kHz. Higher frequencies reduce audible noise but increase switching losses. For most applications, 10-20kHz provides a good balance between noise and efficiency. The device includes programmable dead-time to prevent shoot-through at high switching frequencies.

Use 10-20kHz PWM for optimal balance of noise and efficiency.

PWM frequency switching losses audible noise
How do I implement thermal management for the motor driver?

Thermal management guidelines: Calculate power dissipation P = I² × Rds(on) for conduction losses plus switching losses. Use PCB copper area (≥ 1 oz) for heat spreading. Add thermal vias under the package to conduct heat to inner layers. For high-power applications, consider external heatsinks or forced air cooling. Monitor temperature with the device's thermal warning output. The device includes thermal shutdown at 165°C for protection.

Calculate dissipation, use copper area for heat spreading, add thermal vias, monitor temperature.

thermal management heat dissipation thermal vias
What protection features are built into the driver?

The motor driver includes comprehensive protection: Overcurrent protection (OCP) with programmable threshold monitors motor current and shuts down during faults. Overtemperature protection (OTP) shuts down at 165°C junction temperature. Undervoltage lockout (UVLO) prevents operation below minimum supply voltage. Cross-conduction prevention ensures both high-side and low-side switches are never on simultaneously. Short-circuit protection responds in < 1μs to protect power devices.

All protections are automatic; configure OCP threshold for your application.

overcurrent protection thermal protection UVLO