GRBL: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
Line 7: Line 7:
[[File: grblzipold.zip]]
[[File: grblzipold.zip]]


=Flash GRBL onto Arduino Uno in Windows=
=Uploading GRBL to Arduino Uno Using Windows=


[https://github.com/simen/grbl/downloads Get GRBL as a hex file here]
[https://github.com/simen/grbl/downloads Get GRBL as a hex file here]

Revision as of 21:21, 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

Uploading GRBL to Arduino Uno Using Windows

Get GRBL as a hex file here

Arduino Hex Uploader

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

Uploading GRBL to Arduino Uno Using 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