I am powering two Nema 17 stepper motors with an arduino through a4988 driver.
What i am encountering is a lot of irregularity in the movement of the motor. When initially run the code usually one motor is moving as intended. But the other one will be lagging or clunky. After a while they can sometimes both end up this way. When they do not move smoothly but instead seem to jitter while moving from one position to the other.
Are there any common occurrences that could cause this? Maybe a grounding issue? I have tried to highlight in the image the sources of power being supplied to the circuit. Both drivers are being powered by sperate wall supplies.
Nema 17
Power supply:
Input Voltage: 100-240V AC 50/60Hz
Output Voltage: 12V DC
Output current: up to 5A
Output Power: 60W Max
There are many. And usually a breadbord is a poor connection for stepper motors.
You need to provide much more informaton:
Post technical specs of your motors and your PSU's and a schematic. And post your sketch ( in code tags ).
And what I can see from the image, that the bulk capacitors at the Vmot pins of the drivers are missing.
Are you using multiple male-female connector to increase the wire length. I think that's why your motor are not running properly. Since you have made too many loose connection between motor and the board
A4988 Stepper Motor Driver - Technical Specifications
Minimum operating voltage: 8 V.
Maximum operating voltage: 35 V. Continuous current per phase: 1 A.
Maximum current per phase: 2 A.
Minimum logic voltage: 3 V.
Maximum logic voltage: 5.5 V.
Microstep resolutions: 1, 1/2, 1/4, 1/8, 1/16.
Size: 0.6″ × 0.8″
Nema 17
Power supply:
Input Voltage: 100-240V AC 50/60Hz
Output Voltage: 12V DC Output current: up to 5A
Output Power: 60W Max
I'm seeing here that the amps of the Nema 17 can go higher then the A4988 Stepper can support.
I think that is your problem.
Like I said I just started the same project
and made the same mistake with my motor driver... lol
That's why I had to order new ones and am waiting on them
Are you using multiple male-female connector to increase the wire length. I think that's why your motor are not running properly. Since you have made too many loose connection between motor and the board
Yeah, there are a few male-female connected in a row. Would you suggest using one length of wire to improve connections
Are you using three power supply. One for Arduino and other two for motors?
Initially just two, one for the motors & one for Arduino. I added a separate power supplies to see if it would improve performance. But didn't have any luck.