I am using the DRV8825 to drive a stepper motor per the circuit provided on the product page. I am controlling the direction and step pins with an arduino. When I set the DIR pin to HIGH, the motor spins as expected. However, when I pull the DIR pin LOW, the motor locks up and does not spin. Strangely, when I disconnect the DIR pin from the arduino (so it is just floating), the motor changes direction and spins the other direction without issue. I am using a common ground with the motor power supply and my arduino as shown in the circuit diagram, so I cannot think of a cause for this issue. Has anyone experienced this before?
Hello.
What Arduino board are you using? Could you try measuring the voltage between the DRV8825 carrier’s DIR pin and GND when the Arduino is driving it high and low and see if it is responding as expected?
Also, could you post some pictures of your setup that show all of your connections, as well as the simplest complete program that demonstrates the problem?
Brandon