https://corneliashine.blogspot.com/2021/04/drv8825-stepper-motor-driver-arduino.html
Drv8825 Stepper Motor Driver Arduino Tutorial