A4988 Stepper Motor Driver Module

< All Topics

A4988 Stepper Motor Driver ModuleThis stepper motor driver module is a breakout/carrier board for Allegro’s A4988 DMOS Microstepping Driver with Translator and Overcurrent Protection and is Pololu / StepStick compatible. This stepper motor driver lets you control a bipolar stepper motor at 1 A continuous current per phase without a heatsink or cooling, and at up to 2 A maximum output current per coil if additional cooling is provided. An onboard potentiometer is used to adjust the current output.

This driver can control the stepper motor with just 2 pins from the controller, one for controlling the rotation direction and the other for controlling the steps. Stepper motors typically have a step size specification (e.g. 1.8° or 200 steps per revolution), which applies to full steps. A microstepping driver such as this one allows higher resolutions by allowing intermediate step locations, which are achieved by energizing the coils with intermediate current levels. For instance, driving a motor in quarter-step mode will give the 200-step-per-revolution motor 800 microsteps per revolution by using four different current levels. The resolution (step size) selector inputs (MS1, MS2, MS3) enable selection from the five-step resolutions according to the table below.

 The translator is the key to the easy implementation of the A4988. Simply inputting one pulse on the STEP input drives the motor one microstep, while the MS1 through MS3 input pins control the microstep resolution. There are no phase sequence tables, high-frequency control lines, or complex interfaces to program. The A4988 interface is ideal for applications that do not have a complex microprocessor available, and pairs well with Arduino microcontrollers.

Specifications:

  • Operating voltage: 8 V minimum to 35 V maximum
  • Continuous current per phase: 1 A
  • Maximum current per phase: 2 A (with cooling)
  • Logic voltage: 3 V minimum to 5.5 V maximum
  • Thermal shutdown circuitry
  • Ground fault protection
  • Load short-circuit protection
  • Microstep resolutions: Full, 1/2, 1/4, 1/8 and 1/16

Pinout Description:

VDD and Ground: 3 V to 5.5 V support power.

1A and 1B: Connected to one coil of the motor.

2A and 2B: Connected to the other coil of the motor.

VMOT and Ground: 8 V to 35 V for powering the motor. We recommend using a decoupling capacitor of at least 47 µF for protecting the driver board from voltage spikes.

DIRECTION: Controls the rotation direction of the motor, should be connected to one of the digital pins of your microcontroller.

STEP: Controls the microsteps of the motor, with each pulse sent to this pin the motor moves one step.

SLEEP: A logic low puts the board in sleep mode for minimizing power consumption when the motor is not in use.

RESET: Sets the translator to a predefined Home state, as defined in the A4988 Datasheet. These are the initial positions from where the motor starts and they are different depending on the microstep resolution. If the input state to this pin is a logic low all the STEP inputs will be ignored. Should be pulled high to enable the board.

MS1, MS2 and MS3: Select one of the five-step resolutions according to the table below. These pins have internal pull-down resistors so if they are disconnected, the board will operate in full-step mode.

A4988 Stepper Motor Driver Back Side Pinout
MS1MS2MS3Microstep Resolution
LowLowLowFull step
HighLowLowHalf step
LowHighLowQuarter step
HighHighLowEighth step
HighHighHighSixteenth step

ENABLE: Turns on or off the FET outputs. A logic high will keep the outputs disabled.

A4988 Stepper Motor Driver Connection Diagram
A4988 Stepper Motor Driver Schematic

Other References:

 How To Control a Stepper Motor with A4988 Driver and Arduino tutorial and video on HowToMechatronics: http://envistia.info/a4988howto

Allegro A4899 IC datasheet: http://envistia.info/a4988ds

Copyright © 2017-2021 Envistia Mall
www.envistiamall.com

P/N EM-MOTOR-0002

Next CNC Expansion Shield V3 for A4988 and DRV8825 Stepper Motor Drivers For Arduino Uno and Mega2560
Table of Contents