Robin2:
I don't understand what you mean by switch back to the shield? What were you using when the motor was working?
Dear Friend
in a previous reply you asked me to build a circuit with Arduino dedicated for only running a stepper motor to find out why my motor wasn't spinning and keep on shivering. and you posted a link to the post. so i have take a look at the code and burned it to an Arduino nano on a test board and ran the motor perfectly with a pololu driver its on the video i posted prior to your reply
when i made sure all pololu drivers worked. which i am using on the shield by unplugging them from the shield to the test board running the program you suggested.
now till here all is fine
i put back all the pololu drivers back to the sheild. and connected the motors to the sheild and made sure all are connected perfectly end to end.
i tried to test a gcode command to run the y motor which is G0 Y10 but the motor kept on shivering in its place and didn't move on any direction. i made sure all vref are suitable for the motors.
now after all this i came to a conclusion that i guess that it might be the settings of the gcode interpreter in the Arduino
here take a look at the setting and plz pinpoint what i have to change for a test.
Grbl 0.9j ['
for help]
$ (view Grbl settings)
$# (view # parameters)
$G (view parser state)
$I (view build info)
$N (view startup blocks)
$x=value (save Grbl setting)
$Nx=line (save startup block)
$C (check gcode mode)
$X (kill alarm lock)
$H (run homing cycle)
~ (cycle start)
! (feed hold)
? (current status)
ctrl-x (reset Grbl)
ok
ok
$0=10 (step pulse, usec)
$1=25 (step idle delay, msec)
$2=0 (step port invert mask:00000000)
$3=0 (dir port invert mask:00000000)
$4=0 (step enable invert, bool)
$5=0 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=3 (status report mask:00000011)
$11=0.010 (junction deviation, mm)
$12=0.002 (arc tolerance, mm)
$13=0 (report inches, bool)
$20=0 (soft limits, bool)
$21=0 (hard limits, bool)
$22=0 (homing cycle, bool)
$23=0 (homing dir invert mask:00000000)
$24=25.000 (homing feed, mm/min)
$25=500.000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=1.000 (homing pull-off, mm)
$100=250.000 (x, step/mm)
$101=250.000 (y, step/mm)
$102=250.000 (z, step/mm)
$110=100.000 (x max rate, mm/min)
$111=100.000 (y max rate, mm/min)
$112=100.000 (z max rate, mm/min)
$120=10.000 (x accel, mm/sec^2)
$121=10.000 (y accel, mm/sec^2)
$122=10.000 (z accel, mm/sec^2)
$130=200.000 (x max travel, mm)
$131=200.000 (y max travel, mm)
$132=200.000 (z max travel, mm)
ok
ok