Sometimes Stepper motor can not move

Hello,

I am using Arduino program, Arduino Nano and driver DRV8825 to control the stepper motor (microstep mode). For one year, all of things were fine and motor was working for different steps (20,30,...100 steps) but now the stepper motor couldn't work fine. for example when I upload 10 steps it only moves for 6 steps. in fact sometimes it works but sometimes it can not work.

I am sure that the Arduino Nano and USB cable don't have a problem (because I am using LCD to show steps and it works fine).
Also I have checked the power supply it is fine.
and the wiring doen't have a problem becuse motor can move.

Do you have any suggestion to solve the problem? does driver have a problem?

Thank you.

Check your wiring - could be a loose connection.

@newshav, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.

Get your volt meter out and see if all the voltages are proper. Do you have screw terminals or soldered connections for all wires? Surely you are not still using a breadboard.
Paul

Thank you.

the voltage of which part?
I am using breadboard and Jump wires to connect Arduino, motor, driver and etc to each other.
I didn't solder.

I think that you have pinpointed the source of the problem.

Thank you.

in fact do I solder to solve the problem? or what?

Solder or screw terminals as mentioned by @Paul_KD7HB. A breadboard isn't intended for the kind of current steppers require. It's quite likely that you have burned out some tracks on it.

Thank you.

but I have checked the wiring. they don't have a problem.

Thank you.

actually, I have put Arduino, Driver, and capacitor on the breadboard. Now do I remove the the breadboard and connect all of them with soldering or screw terminal?

Ultimately, if this setup is intended to last, the breadboard should go. However, they're fine for logic level circuits, so for testing, you can leave the Arduino on it. The high current lines (power and stepper connections) should have better connections.

The CNC shield V4 will take a Nano and 3 driver modules (A4988 or DRV8825) and includes connections for 3 limit switches and other peripherals. It makes connecting steppers to the Nano easy and reliable. The shield is also Grbl compatible.

CNC shield to Nano pin mapping.

cnc shield v4 to nano

Thank you.

Does it necessary to change the driver (DRV8825) and replace the new one? or only check the wiring connection?

Thank you.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.