please help I’m having trouble running the stepper motors ...whatever command I sent through universal Goode sender both the x and y axis steppers rotate , when I press y axis both of them rotate in same direction and when x axis is pressed both rotate in opposite direction.... I’ve been trying to sort out this issue, I tried using rabbit code sender, changed a4988 stepper drivers, cleared eeprom , flashed Grbl multiple times , tried changing the comport,tried different baud rate, nothing seems to work ..I’m stuck with this problem and when I stream a Gcode file both motors struggle due to multiple commands like when x axis code is running y axis also rotates ,at the same time if Yaxis command is given motor struggles making grinding noise... please provide a solution . What could have possibly went wrong ,should I change Arduino or CNC shield v3 ? My setup: Arduino Uno Nema 17 4.2kg/cm A4988 stepper driver Arduino CNC shied v3 Tower pro mini servo Power supply: 19v 4.7 A Grbl 0.9i
Sounds like there's a crossed wire somewhere - the step pulses for X and Y are shorted together?
I’ve personally checked the wiring several times once the problem occurred I’ve also replaced step driver a498...happened. Do you think it myt be due to CNC shield issue ? Or Arduino ? Please help
I think I would be tempted to put GRBL to one side for a while and try a simple program on each motor in turn to see that the control system is OK.
Simple Stepper Code
...R
Stepper Motor Basics
I will do that and can I use the CNC shield and a4988 setup to test this code ?
Clintoj:
I will do that and can I use the CNC shield and a4988 setup to test this code ?
I believe so. You just need to know which Arduino pins are for step and direction for each motor.
...R
Clintoj:
I’ve personally checked the wiring several times once the problem occurred
I hope it was a multimeter that did the checking, human's cannot directly sense (low) voltage and resistance!
Nope not with multimeter human error yea might be ...but I did check the connections
I figured out where it came from it was my Arduino when x or y command given both x and y pins are giving out signals on stepper enable pin and steps pin but no problem with z axis .. but I tried flashing another program using same pins and it worked perfectly only having issues when using Grbl ! Is it a sign of Arduino damage ..?
Clintoj:
but I tried flashing another program using same pins and it worked perfectly only having issues when using Grbl ! Is it a sign of Arduino damage ..?
If you were using the same Arduino for the "another program" and for GRBL then there is nothing wrong with the Arduino.
I am not familiar with GRBL but it sounds like some of the configuration is incorrect.
...R
Ok I’ll do one thing I’ll reinstall the whole Arduino and Grbl ..Nd then I’ll try once again