GRBL For Arduino Mega?

Hi guys. My friend is building cnc router and we want to check how steppers work. We're gonna use Arduino Mega and I could not find right firmware , tried to upload GRBL-mega on Arduino Ide, but I guess I couldn't find the right zip.file. I downloaded grbl-mega(zip-file) and did everything as I've seen in tutorial, but when I try to choose folder (grbl) to upload in libraries,it shows empty. So, I wonder , if any of you know suitable firmware for arduino Mega to control cnc machine or which version of GRBL can be used . I'm really begginer in this stuff and any help will be appreciated. thanks in advance <3

All Yuo need is grbl.h. I ran it on an UNO so it sould be possible on a MEGA. Compile the grbl.h and load it into the controller.

Browse to GitHub - gnea/grbl-Mega: An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560

Download the sources as a .zip file using the green "Code v" button and selecting "Download ZIP"

Unpack the "grbl-Mega-edge.zip" file.

Copy the 'grbl' folder (from the expanded 'grbl-Mega-edge' folder) into the 'libraries' folder of your sketchbook folder.

Select Tools -> Manage Libraries... to re-scan the libraries folder.

Close the Library Manager dialog.

Select File -> Examples -> grbl -> grblUpload.

Upload that 'example' to your Arduino Mega and that should install grbl-Mega.

Thanks a lot. It worked. But now I have a problem with ugs , it says controller doesn't work with this version of GRBl :frowning:

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