Questions tagged [a4988]

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-, half-, quarter-, eighth-, and sixteenth-step modes, with an output drive capacity of up to 35 V and ±2 A. The A4988 includes a fixed off-time current regulator which has the ability to operate in Slow or Mixed decay modes.

Filter by
Sorted by
Tagged with
0 votes
1 answer
18 views

ESP32 + Stepper Motor 17HS3401S + A4988 driver. Stepper cannot move in Clockwise direction

/* * Basic example code for controlling a stepper with the AccelStepper library * * by Dejan, https://howtomechatronics.com */ #include <AccelStepper.h> const int DIR = 12; ...
Jade Stark's user avatar
0 votes
1 answer
43 views

Using an A4988 stepper motor driver for a low current (15mA) stepper motor

I have a BKA30DR5 stepper motor that operates at 15mA. I want to drive it using an A4988 stepper motor module. I've previously driven stepper motors that use much higher currents (around 1A) ...
Bas's user avatar
  • 109
0 votes
1 answer
169 views

AccelStepper.h - How can I quickly increase the speed of the NEMA 17 motor?

I'm pretty new to Arduino. I am trying to build a Self-balancing robot. I am using A4988 drivers, ESP32 microcontroller, NEMA 17 motors and a 6050 MPU. The problem is that, although the speed variable ...
camu's user avatar
  • 1
1 vote
0 answers
63 views

A4988 Jitter on stepper motor, some of the time

Hardware: Arduino Uno Rev3 A4988 Driver Nema 8 Stepper Setup: I've adjusted the VRef of the driver based on the formula VRef = Imot * 8 * Rsen. With the values of Imot = .5 (max = .6), Rsen = .068. ...
Michael's user avatar
  • 11
1 vote
0 answers
83 views

Stepper motor not working with A4988 driver

I have been trying to run stepper motor via Arduino Uno and A4988 motor driver via this tutorial: https://howtomechatronics.com/tutorials/arduino/how-to-control-stepper-motor-with-a4988-driver-and-...
user89175's user avatar
1 vote
1 answer
59 views

Need help figuring out how to organise a system to run a stepper motor at low speed without Steps-skipping

TL;DR : How to prevent step-skipping with a NEMA gearbox motor at low speed. I am in the process of creating a system in which I want an object to turn on a plate and to show a letter depending on the ...
Guillaume_slize's user avatar
1 vote
0 answers
1k views

accelstepper continuous rotation with forward and backward control

I am using Uno and the A4988 driver with nema17 motor and finally the Accelstepper, I want to make the motor run endlessly in a direction, but when I press a button I want it to stop and run in the ...
Galal Rashid Sallam's user avatar
1 vote
0 answers
355 views

CD rom stepper getting warm

I'm trying to run a SPS-15RF stepper motor from an old cd rom drive. I'm using a CNC shield and a4988 driver with a 6v power supply. The motion is smooth and fine. I know it has 18 pulse/revolution ...
2012User's user avatar
  • 149
1 vote
1 answer
184 views

Why does my stepper motor run when I open the Serial port?

For some reason my motor moves a certain amount every time I open the serial port without giving it any other instructions. It will move further by the same amount if I close and reopen the serial ...
SPatel's user avatar
  • 13
1 vote
0 answers
37 views

Need help with independent speed control on multiple steppers

I am a NOOB. I admit to a huge lack of understanding of programming. I just need my machine to work. I cannot wrap my head around getting independent speed control of 2 steppers since it seems that ...
robertbaker's user avatar
1 vote
1 answer
1k views

Stepper motor slow when reading from MPU 6050 sensor

I'm trying to get an inverted pendulum project working (following the instructions here), and while my stepper motor moves the cart just fine when that's the only code in the Arduino sketch, as soon ...
Frecka's user avatar
  • 33
2 votes
1 answer
2k views

Stepper Motor is not working with A4988 board

So, I have been following this tutorial on how to run a stepper motor with Arduino using an A4988 Stepper Driver. This is the tutorial: How To Control a Stepper Motor with A4988 Driver and Arduino. I ...
Gaurav Mall's user avatar
1 vote
0 answers
152 views

Stepper motor only rotates once in a loop?

I am quite new to this , I am trying to program two motors , aStepper and bStepper. I want the program to rotate aStepper then rotate the bStepper and when that is done rotate aStepper again , and ...
A'dam's user avatar
  • 11
1 vote
0 answers
350 views

Motor keeps spinning crazily after UNO board reset

I'm using a NEMA 17 stepper motor with A4988 motor driver and Arduino Uno board. I have used full microstepping (1/16th, so one revolution = 3200 steps). I'm coming across this strange problem. ...
Rahul Bharathwaj's user avatar
1 vote
1 answer
3k views

Powering two stepper motors with A4988 drivers

New to this site and wanted advice and sanity checking on my project design. I know there are similar questions to this but I couldn’t find one that was closely similar to mine. I’m creating a device ...
C McDonnell's user avatar
1 vote
1 answer
384 views

Are my stepper motors being burnt out? What is the issue here?

I am building a mini-cnc laser engraver as shown in this intructable and this youtube video. I have built the circuit (minus the jst connector and two male pins at the top left of the board) and have ...
Drake Ford's user avatar
0 votes
1 answer
145 views

How can I pulse a stepper motor whilst also wanting to handle other tasks?

A Polulo A4988 driver board listens for a LOW -> HIGH pulse on a digital pin to step a stepper motor. A simple way to pulse this with a delay of say 100μs, is to use the delayMicroseconds function:...
Joe Iddon's user avatar
  • 151
0 votes
2 answers
485 views

How to connect a MPU-6050 to an Arduino that already has a CNC Shield V3 on top of it?

I have a CNC Shield on top of an Arduino Uno (GRBL pinout) that controls 2 stepper motors through a4988 drivers and it is working like a charm. Now I want to add an accelerometer to it. From my ...
Minduca's user avatar
  • 103
1 vote
1 answer
1k views

Running two NEMA 17 motors, one by one, using the Arduino Uno

I am new to Arduino. I am trying to run two stepper motors NEMA 17 through respective A4988 driver and controlling via Arduino Uno. The thought is that first stepper motor will carry out a first ...
anshul_p's user avatar
2 votes
1 answer
2k views

A4988 Vref too low

I'm driving a stepper rated at 5V/1.7A using an A4988-based driver circuit with a 12V power supply. An Arduino controls the stepping sequence. According to the datasheet for my A4988, I should be ...
RLI123's user avatar
  • 121
0 votes
1 answer
208 views

Run Stepper with A4988 driver in highest resolution

I have a Bipolar Stepper Motor (12V, 350mA, 28oz-in NEMA-17) and would like to run it in the highest resolution (Sixteenth Step) with the A4988 Driver. According to multiple sources I read I need to "...
digit's user avatar
  • 193
0 votes
1 answer
539 views

Do I really need Ramps 1.4 for laser engraver

I'm making 2-axis laser engraver like system. Arduino waits command from pc, on receive moves laser to next coordinate and send current coordinate to pc. I have 3 step motors and I'm controlling them ...
bca's user avatar
  • 131
1 vote
1 answer
1k views

Stepper motor jittering

I'm trying to make a nema17 stepper motor work using ramps1.4 and A4988 driver. But when I'm trying to rotate motor, it spins with almost no torque and constant shaking. Motor 2-phase nema17 , Step ...
haxscramper's user avatar