Trouble downloading grbl

Trying to download grbl 1.1h to an UNO. IDE is V2.0.3. The grbl code is in my library folder in
the Arduino folder. When i open the library manager the only grbl that appears is something
called MODULE_GRBL13.2 by M5 STACK. There is nothing under examples. If I follow the path,
documents/arduino/libraries/grbl1.1h/grbl/examples/grblupload/grbl upload the sketch appears on the IDE labeled grbl upload.ino, but will not upload, says there is no such file or directory. Any info appreciated.

They have special instructions for how to compile grbl for the arduino: Compiling Grbl ยท gnea/grbl Wiki ยท GitHub

But instead of the library-based method, I like the "compiling as a normal Arduino project method":

The normal project method makes it easier to experiment with different grbl version or configurations.

Thanks for responding. We followed those setup procedures for 2.0.3 to the letter, nothing. Same result. More than once.
Will try compiling method tomorrow.

Per Compiling Grbl ยท gnea/grbl Wiki ยท GitHub I just tried:

cd ~/Documents/Arduino/
mkdir GRBLTEST
cd GRBLTEST
git clone git@github.com:gnea/grbl.git
touch grbl/grbl/grbl.ino

Then opened up a freshly installed Arduino 2.0.3, opened the grbl.ino file, chose an Arduino Uno, hit the compile button and success:

For the library method, you need to move the grbl directory in your documents/arduino/libraries/grbl1.1h/ folder up a directory per

<Sketchbook location>/
โ”œโ”€โ”€ libraries/
โ”‚   โ””โ”€โ”€ grbl/
โ”‚       โ”œโ”€โ”€ examples/
โ”‚       โ”‚   โ””โ”€โ”€ ...
โ”‚       โ”œโ”€โ”€ grbl.h
โ”‚       โ””โ”€โ”€ ...
โ””โ”€โ”€ ...

Yours seems like it might be one level too deep at:

<Sketchbook location>/
โ”œโ”€โ”€ libraries/
โ”‚   โ”” grbl1.1h/
โ”‚     โ”” grbl/
โ”‚       โ”œโ”€โ”€ examples/
โ”‚       โ”‚   โ””โ”€โ”€ ...
โ”‚       โ”œโ”€โ”€ grbl.h
โ”‚       โ””โ”€โ”€ ...
โ””โ”€โ”€ ...

...which makes it not seem well formed for the library finding.

1 Like

After another 4 hours of frustration I give up. I'll use 2.0.3 to code new sketches and 1.8.
which's on the CNC computer, to download grbl to the UNO's. It has zero problems.
Thanks for your assistance.

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