GRBL: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 5: Line 5:
[http://dank.bengler.no/-/page/show/5470_grbl?ref=mst Dank GRBL] '''Get this one by downloading the zip file and extracting its contents into a folder of your choosing'''
[http://dank.bengler.no/-/page/show/5470_grbl?ref=mst Dank GRBL] '''Get this one by downloading the zip file and extracting its contents into a folder of your choosing'''


[https://github.com/simen/grbl Simen GRBL]
[[File: grblzipold.zip]] COrrupted


=How to Get GRBL on windows=
[https://github.com/chuck-h/grbl Chuck GRBL at github]


[https://github.com/grbl/grbl GRBL Here] '''Download the ZIP file and extract it to a folder of your choosing.'''
=Uploading GRBL to Arduino Uno Using Windows=


=How to Get GRBL Files on Linux=
[https://github.com/simen/grbl/downloads Get GRBL as a hex file here]


*Open Terminal and type:
[http://www.ngcoders.com/downloads/arduino-hex-uploader-and-programmer Arduino Hex Uploader]


git clone https://github.com/damellis/grbl.git grbl
'''Use the uploader to upload the GRBL hex file into the Arduino Uno'''


[[Image: grbl.png]]
=Uploading GRBL to Arduino Uno Using Linux=


=Modify GRBL Files for enabling GRBL flashing to Arduino board on Linux=
==Tests==
 
Ubuntu 12.04 - Success
 
Ubuntu 10.04 - Success
 
==Software Requirements==
 
RUBY - "sudo apt-get install ruby"
 
avrdude - "sudo apt-get install avrdude"
 
==Steps==


*Navigate to the GRBL folder
*Navigate to the GRBL folder
Line 33: Line 45:
[[Image: grblmakefileedit.png]]
[[Image: grblmakefileedit.png]]


=Flashing GRBL to the Arduino=
=Flashing GRBL to the Arduino in Linux=


*Open Terminal and navigate to the GRBL folder (ex. by using the "ls" and "cd" commands)
*Open Terminal and navigate to the GRBL folder (ex. by using the "ls" and "cd" commands)
Line 41: Line 53:
*In Terminal, type:
*In Terminal, type:


make clean
sudo make clean


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


make
sudo make


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


make flash
sudo make flash


*Disconnect the Arduino Uno
*Disconnect the Arduino Uno
=How to Determine GRBL Configuration Changes Required=
*Go to the following webpage:
http://dank.bengler.no/-/page/show/5474_configuringgrbl?ref=mst
=How to Modify GRBL Settings=
*Navigate to the Arduino IDE folder
[[Image: ArduinoFolder.png]]
*Double-click "Arduino" then click "run" in the popup window
[[Image: RunArduino.png]]
*Note: you may want to create a quick launcher for the Arduino IDE
*Connect the Arduino Uno to the computer via USB cable
*In Arduino IDE, open Tools>Serial Monitor
*Note: the Serial Monitor window should pop up and you should see the following:
Grbl 0.6b
'$' to dump current settings
*In the Serial Monitor, change the left drop-down setting to the following:
Both NL & CR
*In the Serial Monitor, type the following in the command line:
$
*Note: you should now see the following:
$0 = 157.480 (steps/mm x)
$1 = 157.480 (steps/mm y)
$2 = 157.480 (steps/mm z)
$3 = 10 (microseconds step pulse)
$4 = 500.0 (mm/min default feed rate)
$5 = 600.0 (mm/min default seek rate)
$6 = 0.100 (mm/arc segment)
$7 = 0 (step port invert mask. binary = 0)
$8 = 25.0 (acceleration in mm/sec^2)
$9 = 225.0 (max instant cornering speed change in delta mm/min)
'$x=value' to set parameter or just '$' to dump current settings
*In the Serial Monitor, type commands as necessary in the following format, where "X" and "Y" are numbers:
$X = Y

Latest revision as of 23:12, 12 November 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 COrrupted

Chuck GRBL at github

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

RUBY - "sudo apt-get install ruby"

avrdude - "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