CNC Shield not being recognised

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.

Thanks a lot.

Michael.

How did you install upload grbl to the Uno? Describe the process, please.
Did you see a warning about low memory?

What does that mean.

Is this your CNC shield?

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

I've compiled and downloaded just grbl.h in an UNO without problem.

If you mean the 3 jumper positions next to each other near the stepper drivers, those are the jumpers to set microstepping so those are optional.

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.

Just checked it up and the answer is: No........ Changed to "All"....

1 Like

Yes. exit status 1 there's no download done, and nothing to connect to.

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?

Thanks again.

Michael.

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?

1 Like

Yes I did and everything clicked into place afterwards. I'd like to thank you both for your patience.

Thanks a lot.

Michael.

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.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.