Quick GRBL setup guide for Windows (Arduino G-Code Interpreter)
Method 1 : upload prebuilt HEX file
This is a quick guide on how to get your GRBL setup and ready to run in Windows.
My current GRBL setup:
- Windows 7 64-bit
- Arduino Duemilanove
- Prototype Shield with headers for 1 Pololu.com stepper drivers.
- Pololu DRV8825 Stepper Drivers
Start by Downloading the following….
- Download the latest stable version of Grbl. (Pre-Build HEX file)
- Download XLoader to upload the HEX file to your Arduino.
- Download the Universal-G-Code-Sender.
With the Xloader change the settings as follows:
- Select the HEX file you would like to Upload.
- Make sure to select the correct Arduino Board Setup.
- Select the Correct COM Port.
- Keep the Baud Rate as is… (It will change for each board type.
Click on the Upload to send the HEX file to your board.
The last step is to install the application that will send commands to your GRBL-Arduino setup.
With the Universal G-Code Sender you will be able to control your GRBL-Arduino board with G-Code commands and it even has arrow buttons to move your stepper motors in place.
Method 2: GRBL Arduino Library – Use the Arduino IDE to flash GRBL directly to your Arduino
We have created an Arduino Library of the popular GRBL g-code Interpreter. A great little application that turns your Arduino into a very capable CNC machine.
This library makes it so much easier to install GRBL onto your Arduino. No more issues with making HEX files or trying to find a way to upload the Hex file to your board. Simply install the library and open the right example sketch for your Arduino.
How to install it:
- Down load the library from GitHub : https://github.com/Protoneer/GRBL-Arduino-Library/archive/master.zip
- Unzip the library and copy the main folder into the “Libraries” folder in the folder you installed your Arduino software. Eg. C:\arduino-1.0.3\libraries\
- Rename the folder to “GRBL”. (This will stop the Arduino IDE from complaining about the long folder name)
- Open up the Arduino IDE.
- Click on the following menu : File -> Examples – > GRBL (or what ever you renamed the folder to) -> ArduinoUno
- Upload the sketch to you Arduino UNO board.