Hi
I connected my CNC Shield to my Arduino and tried to run the Grbl controller but it keeps coming back with:
no data from com port after connect. expecting grbl version string
So I bought a new board and the same thing happend, I got the same message again. Another thing is that I don't think the nema wires are the right way round. I haven't seen anyone suggest which way these should go. As you look at the board with the reset button at top left the red wire should be at the top. I don't know if this has anything to do with not being able to connect to the Grbl controller or not.
btw, I changed the board rate from 9600 to 115200 but without any luck.
The Arduino was flashed with Grbl. But one other thing was the first board had jumper pins dotted around the board and the new one only had one on the EN/GRD but I'm sure there should have been more.
Hi
I couldn't get the grbl to load into the Arduino when I first installed IDE so I went to Youtube and found a video showing me how to do it another way. You go to Github and download GrblMaster and then copy the grbl bit out of the folder and paste it into the folder in the Documents section in the Arduino folder under Libraries. When you go back to Arduino IDE its there at the bottom of the Libaries tab.
Yes, thats my shield, but mine only has one jumper at EN/GRD where as you've got a blue box on the ground and another on the 5V/GND. Arn't there supposed to be three jumpers at X Y Z
The jumper on EN/ground is also optional. If the jumper is in place, software control of the stepper enable is disabled. You cannot power down the stepper driver outputs via software anymore.
The low memory is not a problem. For me, with Uno boards, it always shows up after a successful upload. It is a warning, not an error so grbl works just fine.
@Railroader, do you have compiler warnings enabled in the IDE File, Preferences menu?
I just tried to verify the grbl sketch on Arduino ide and it keeps coming up as
In file included from C:\Users\happy\Documents\Arduino\libraries\grbl/config.h:30:0,
from C:\Users\happy\Documents\Arduino\sketch_apr13a\sketch_apr13a.ino:1:
C:\Users\happy\Documents\Arduino\libraries\grbl/grbl.h:68:4: error: #error "Required HOMING_CYCLE_0 not defined."
#error "Required HOMING_CYCLE_0 not defined."
^~~~~
C:\Users\happy\Documents\Arduino\libraries\grbl/grbl.h:108:4: error: #error "WCO refresh must be greater than one."
#error "WCO refresh must be greater than one."
^~~~~
C:\Users\happy\Documents\Arduino\libraries\grbl/grbl.h:111:4: error: #error "Override refresh must be greater than zero."
#error "Override refresh must be greater than zero."
^~~~~
exit status 1
Compilation error: exit status 1
Is this why the Grbl Controller is refusing to connect.
Well that was the problem. Because I re-installed a new Grbl from Github it all worked. The Grbl Controller is happily pushing the nema's back and forwards. A lot of tinkering tomorrow to get the project up and running.
Thanks a lot for your help Railroader. I'd give you loads of kama but I don't know how?
I have installed grbl at least a dozen times on several different boards and have never seen those errors. From where did you download the grbl library?
Did you use the grblUpload example to upload grbl?
If your question has been answered to your satisfaction, please mark the thread as solved so that other people that may want to offer help will not waste time opening the thread only to find help no longer required.