Update: discussion into Troubleshooting [Arduino UNO + CNC shield + DRV8825 + steppers] topic is over, and solution has been found.
Root cause of the issue was that the cables of the steppers I have were not adapted to the pinout of the DRV8825 driver. I had to swap the two wires in the middle on one end of the cable to make it work.
Now next step is to write down a code doing the following:
- Make Motor X rotate continuously
- Make MotorY rotate until optical_endstopY is activated, then make it stop
- After that, make MotorZ rotate until optical_endstopZ is activated, then make it stop
Later on, I'll introduce the inductive proximity sensors to stop or start the motors depending on several cases (I need optocoupler to use the sensors with arduino since they use at least 12V, and I bought some already made up cards that are on their way), and finally the i2c lcd and button to add basic start / stop / pause functions.