Your position: Home / 3D printer

Free shipping! (5pcs/lot) A4988 Stepper M otor Driver+ Heatsink For 3 D Printer,Reprap,RAMPS1.4 for arduino

    Please select the information you wantX
(376 available)
Shipping Cost:
Estimated Delivery Time:
Please select the country you want to ship from
  • Description
  • Reviews(57)

KS0281 (3)KS0281 (4)KS0281 (7)KS0281 (6)KS0281 (8)KS0281 (9)KS0281 (5)KS0281 (10)


This stepper motor driver is powered by A4988, a DMOS microstep driver with converter and overcurrent protection. It is available in full, half, 1/4, 1/8 and 1/16 stepping modes to operate bipolar stepper motors with output drive performance up to 35 V and ± 2A. The A4988 includes a fixed turn-off time current regulator that operates in slow or mixed decay mode.

The converter is the key to easy implementation of the A4988. As long as the "step" input carries in a pulse, you can drive the motor to produce micro-step. There is no need for phase sequence tables, high frequency control lines or complex interface programming. The A4988 interface is ideal for complex microprocessors that are not available or overloaded.



1.With only a simple step and direction control interface;

2.Five different step modes: full, half, 1/4, 1/8 and 1/16;

3.Adjustable potentiometer can adjust the maximum current output, resulting in a higher step rate;

4.Automatic current decay mode detection / selection;

5.Overheat shutdown circuit, undervoltage lockout, cross current protection;

6.Ground short circuit protection and load short circuit protection.

Setting method of working mode

Connection Diagram

It needs to connect DC 8-15V between motor power VMOT and GND.


Sample Code

int dirPin = 7;

int stepperPin = 8;

void setup() {

pinMode(dirPin, OUTPUT);

pinMode(stepperPin, OUTPUT);


void step(boolean dir,int steps){



for(int i=0;i<steps;i++){

digitalWrite(stepperPin, HIGH);


digitalWrite(stepperPin, LOW);




void loop(){








The selection end MS1, MS2, MS3 of three modes are all connected to GND, that is, full-step mode, and the motor needs 200 stepping values or a stepping 1.8° to turn a round. In the experiment, we first let the stepper motor reverse 8 circles and delay 0.5 seconds; then turn 40 circles and delay 0.5 seconds. If it is an half-step mode, then the number of both positive and reverse circle should be halved.


Average rating: 4.0 based on 57 reviews
Share your thoughts with other customers
Write a review
Product reviews can be carried out after the member login, please click here to login