Hello,
Im currently working on a scara like robot. For that I use nema 17 stepper motors(stepper), an arduino, a cnc shield and DRV8825 motor drivers. I have to use 1/32 microstepping, because if I dont they "vibrate" to much. For my understanding if I use 1/32 microstepping one full revolution should be 3200 steps, because 200 steps * 16 = 3200. But first of all the motor is very slow even if I multiply the speed by 16. I would expect this code to do one full revolution and then stop but I dont get a full one maybe a 60% one. Am I doing something wrong?
Also, the stepper has two coils, so if you set the current limit for 1 A/winding, the motor power supply has to provide more than that. I would choose 2A for safety.
The article states, that the resistor value is irrelevant for the Drv8825. I used the calculator on the website and set the VREF to 0.45V and I set my power supply to 2A but I still get the wrong movement.
By the way I already changed the driver, the cable, the motor and connected the driver directly to the arduino without the shield.