Windows IoT Core on RPi 3 running two stepper motors using DRV8825 stepper motor drivers. There are two examples to use DRV8825.
Things used in this project
Connect two DRV8825 to RPi.
No.1: GPIO26 to DIR, GPIO19 to STEP, 5V to RESET and SALEEP, GND to GND.
No.2: GPIO 13 to DIR, GPIO6 to STEP, GPIO5 to ENABLE, 5V to RESET and SLEEP, GND to GND.
Provide at least 10V to VMOT and connect GND to power source.
Connect stepper motors to A1, A2, B1, B2 pins. On each stepper coil I used resistor to limit the current not to burn DRV or stepper motor.
Since the No.2 DRV is enabled only when the step is needed the motor and the DRV stays cool. Similar you can use SLEEP pin.
On RPi UI first you need to enter number of steps and then you click on FWD or BACK Button. I called two motors vertical and horizontal.
Read More Information….
Current Project / Post can also be found using:
- drv8825 with stepper motor raspberry pi