GRBL: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
Line 51: Line 51:
*In Terminal, type:
*In Terminal, type:


make clean
sudo make clean


[[Image: grblmakeclean.png]]
[[Image: grblmakeclean.png]]
Line 57: Line 57:
*In Terminal, type:
*In Terminal, type:


make
sudo make


[[Image:grblmake.png]]
[[Image:grblmake.png]]
Line 65: Line 65:
*In Terminal, type:
*In Terminal, type:


make flash
sudo make flash


*Disconnect the Arduino Uno
*Disconnect the Arduino Uno

Revision as of 21:19, 8 October 2012

What is GRBL?

"Grbl is a free, open source, high performance CNC milling controller written in optimized C that will run on a straight Arduino."

Dank GRBL Get this one by downloading the zip file and extracting its contents into a folder of your choosing

File:Grblzipold.zip

Flash GRBL onto Arduino Uno in Windows

Get GRBL as a hex file here

Arduino Hex Uploader

Use the uploader to upload the GRBL hex file into the Arduino Uno

Modify GRBL Files for enabling GRBL flashing to Arduino board on Linux

Tests

Ubuntu 12.04 - Success

Ubuntu 10.04 - Success

Software Requirements

Make sure you have RUBY by "sudo apt-get install ruby"

Make sure you have avrdude by "sudo apt-get install avrdude"

Steps

  • Navigate to the GRBL folder

Grblfolder.png

  • Open "Makefile" in gedit
  • Edit the PROGRAMMER line as:

PROGRAMMER = -c stk500v1 -P /dev/ttyACM0 -b 115200

Grblmakefileedit.png

Flashing GRBL to the Arduino in Linux

  • Open Terminal and navigate to the GRBL folder (ex. by using the "ls" and "cd" commands)

Terminalgrbl.png

  • In Terminal, type:

sudo make clean

Grblmakeclean.png

  • In Terminal, type:

sudo make

Grblmake.png

  • Connect the Arduino Uno to the computer via USB cable
  • In Terminal, type:

sudo make flash

  • Disconnect the Arduino Uno