Hello, i've recently begun to try to configure the NEMA 17 stepper (17HE19-2004S) alongside the DRV8825 & Arduino Mega. But i'm having massive issue getting the motor to spin properly.
Currently i'm using a 12V50A power supply. Hooked up to the DRV8825 Stepper driver controlled by an Arduino.
Currently i have the DRV wired up following this schematic. Only difference is i havent connected the DIR pin for simplicity and i'm not using a capacitor.
Although i have tried an "Extension Shield Board For A4988 DRV8825", with same issues.
I've tried other DRV8825 still same issue
I've tried other NEMA 17 steppers (17HE19-2004S), with same issue.
I've tried rearranging the 4 stepper cables. All that does is make the motor not spin
The code i'm using is a simple rotate at at 50 RPM
Very bad idea. Add the suggested capacitor, and connect the DIR pin appropriately.
With the DRV8825, be sure to set the current limit to less than 1.5A per winding. Start with a very low step rate, say 1 to 10 per second. At higher rates, use AccelStepper and microstepping to reduce resonant vibrations.
Thank you for the replies, wasn't expecting this quick of a response, so i havent gotten around to testing much
@MicroBahner I updated the code in the desc to match what i'm using on the Arduino.
i'm also using the capacitor as outlined by @jremington now.
@TomGeorge Aditionally i also adjusted the potentiometer on the DRV to 0.44V (0.88 A). Which is a bit below rated but should work i think.
Trying now my stepper motor is just stuck in place, unable to move. i'm reading 11-12V on the 4 stepper pins so power is going through it.
Based on my shallow research this error likely stems from incorrect stepping or something, not sure though.
Ontop of this a ordered a TB6600 to compare and contrast.
Hi, if you are following the thread, I tried the TB6600 and it worked flawlessly out of the box and pretty much solves the issue i had.
It is expensive but it is a good for testing since you can adjust the current limitation & microstepping via switches for easy debugging. rather than a potentiometer.
In case someone in the future stumbles upon this thread, here are some troubleshooting steps i would follow on the DRV8825.
Try to run the motor with microstepping, my motor had some issues running with no microstepping which is the default if you follow most tutorials! Power the M0,M1,M2 pins, try with 4x microstepping it worked smoothly for me
Triple check the the cables, vibrations like mine were likely caused by different coloring on the cables. Check on the website where you bought it, NOT GOOGLE. what the pin colors are, (sometimes they are different)