Hi, having built a small CNC I am having problems with drivers so to check motors I put together an Arduino Uno with a CNC Shield and DRV8825V Stepper drivers, I am just driving 1 axis "X" driving a Nema 17 motor (NEMA17 0.9° 40mm 400 steps/rev Stepper Motor (JK42HM40-168), after frying a Uno board and a couple of DRV's I think I got it stable, I was using Xloader to install grbl_v0-8C atmega 328p and firstly using the sketch program to find if it talking then opened serial monitor to check if OK typed G01X4F10 it runs but after a couple of times of running code it wont run unless I re-start the serial Monitor, tried using Universal G-Code sender thats the same.
Also for some reason it will decide to go in the opposite direction, was going CCW then suddenly on the next g-code will go CW
Still same problem with Serial Monitor but by upping F to G01X5F30 it seems to keep CCw but concerned why should go wrong way
No jumpers on microstepping pins what setting would be best
Can anyone tell me where I am going wrong.
Regards John