KS0378 Keyestudio Reprap Stepper Driver A4988 Kit (5PCS): Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[image:ks0378.png|thumb|600px|right|Keyestudio UNO R3 Board]]
[[image:ks0378.png|thumb|500px|right|Keyestudio Reprap Stepper Driver A4988 Kit]]


==Introduction==
==Introduction==
This stepper motor driver is powered by A4988, a DMOS microstep driver with converter and over-current protection.  
This stepper motor driver is powered by A4988, a DMOS microstep driver with converter and over-current protection. <br>
It is available in full, half, 1/4, 1/8 and 1/16 stepping modes to operate bipolar stepper motor with output drive performance up to 35 V and ± 2A.  
It is available in full, half, 1/4, 1/8 and 1/16 stepping modes to operate bipolar stepper motor with output drive performance up to 35 V and ± 2A. <br>
The A4988 includes a fixed turn-off time current regulator that operates in slow or mixed decay mode.
The A4988 includes a fixed turn-off time current regulator that operates in slow or mixed decay mode.<br>
The converter is the key to implement the A4988. As long as the "step" input carries in a pulse, it can drive the motor to produce micro-step.  
The converter is the key to implement the A4988. As long as the "step" input carries in a pulse, it can drive the motor to produce micro-step. <br>
There is no need for phase sequence tables, high frequency control lines or complex interface programming.  
There is no need for phase sequence tables, high frequency control lines or complex interface programming.<br>
The A4988 interface is ideal for complex microprocessors that are not available or overloaded.
The A4988 interface is ideal for complex microprocessors that are not available or overloaded.


 
<br>
==Specifications==
==Specifications==
1. With only simple step and direction control interface;
1. With only simple step and direction control interface;<br>
2. Five different step modes: full, half, 1/4, 1/8 and 1/16;
2. Five different step modes: full, half, 1/4, 1/8 and 1/16;<br>
3.Adjustable potentiometer can adjust the maximum current output, resulting in a higher step rate;
3. Adjustable potentiometer can adjust the maximum current output, resulting in a higher step rate;<br>
4. Automatic current decay mode detection / selection;
4. Automatic current decay mode detection / selection;<br>
5. Overheat shutdown circuit, undervoltage lockout, cross current protection;
5. Overheat shutdown circuit, undervoltage lockout, cross current protection;<br>
6. Ground short circuit protection and load short circuit protection.
6. Ground short circuit protection and load short circuit protection.<br>
 


<br>
==Settings for working mode==
==Settings for working mode==
<br>[[Image:ks0378-1.png|600px|frameless]]<br>
<br>[[Image:ks0378-1.png|600px|frameless]]<br>


 
<br>
==Connection Diagram==
==Connection Diagram==
It needs to connect DC 8-15V between motor power VMOT and GND.
It needs to connect DC 8-15V between motor power VMOT and GND.
<br>[[Image:ks0378-2.png|600px|frameless]]<br>
<br>[[File:0378.png|700px|frameless]]<br>


<br>


==Sample Code==
==Sample Code==
Line 54: Line 55:
</pre>
</pre>


 
<br>
==Test Result==
==Test Result==
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.
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.  
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. <br>
If it is an half-step mode, then the number of both positive and reverse circle should be halved.
If it is an half-step mode, then the number of both positive and reverse circle should be halved.


 
<br>
==Package Included==
==Package Included==
* Keyestudio Reprap Stepper Driver A4988 *5PCS
* Keyestudio Reprap Stepper Driver A4988 *5PCS
<br>[[Image:ks0378-3.png|600px|frameless]]<br>
<br>[[Image:ks0378-3.png|500px|frameless]]<br>
 
<br>
==Resources Download==
 
*'''Download the PDF:'''<br>
https://fs.keyestudio.com/KS0378
 
 
 
 
 
<br>
 
==Get One Now==
 
*[https://www.keyestudio.com/free-shipping-5pcs-lot-a4988-stepper-m-otor-driver-heatsink-for-3-d-printerreprapramps14-for-arduino-p0347.html  '''Official website''' ]
 
*[https://www.aliexpress.com/store/product/Free-shipping-Reprap-Stepper-Driver-Stepper-Motor-Driver-A4988-with-fins/1452162_2048992205.html?spm=2114.12010615.8148356.1.56a35067rWHoF0    '''Shop on aliexpress''' ]
 


<br>


[[Category: Accessories]]
[[Category: Accessories]]

Latest revision as of 15:49, 9 March 2021

Keyestudio Reprap Stepper Driver A4988 Kit

Introduction

This stepper motor driver is powered by A4988, a DMOS microstep driver with converter and over-current protection.
It is available in full, half, 1/4, 1/8 and 1/16 stepping modes to operate bipolar stepper motor 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 implement the A4988. As long as the "step" input carries in a pulse, it 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.


Specifications

1. With only 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.


Settings for working mode


Ks0378-1.png


Connection Diagram

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


Sample Code

int dirPin = 7;
int stepperPin = 8;
void setup() {
pinMode(dirPin, OUTPUT);
pinMode(stepperPin, OUTPUT);
}
void step(boolean dir,int steps){
digitalWrite(dirPin,dir);
delay(50);
for(int i=0;i<steps;i++){
digitalWrite(stepperPin, HIGH);
delayMicroseconds(800);
digitalWrite(stepperPin, LOW);
delayMicroseconds(800);
}
}
void loop(){
step(true,1600);
delay(500);
step(false,1600*5);
delay(500);
}


Test Result

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.


Package Included

  • Keyestudio Reprap Stepper Driver A4988 *5PCS


Ks0378-3.png


Resources Download

  • Download the PDF:

https://fs.keyestudio.com/KS0378




Get One Now