An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
 
 
 
Go to file
Simen Svale Skogsrud d96e48cecf added a line to disable baud doubling, but commented out for the time being until I can test it on real hardware 2011-02-11 01:11:33 +01:00
script minor tweak eliminates 'ok' message after errors 2011-02-10 17:01:07 +01:00
.gitignore
COPYING
Makefile refactored stepper_plan -> planner (untested) 2011-02-11 00:34:53 +01:00
config.h refactored compile time settings back into a new file called config.h 2011-02-05 00:55:37 +01:00
eeprom.c
eeprom.h
gcode.c config command prevents gcode parsing 2011-02-10 13:05:53 +01:00
gcode.h
main.c refactored stepper_plan -> planner (untested) 2011-02-11 00:34:53 +01:00
motion_control.c eliminated the mc_line-method and replaced it with a macro forwarding calls directly to the planner (untested) 2011-02-11 00:53:00 +01:00
motion_control.h formatting 2011-02-11 00:57:29 +01:00
nuts_bolts.h
planner.c formatting + moved current position getter to planner 2011-02-11 00:44:18 +01:00
planner.h formatting + moved current position getter to planner 2011-02-11 00:44:18 +01:00
readme.textile
serial_protocol.c minor tweak eliminates 'ok' message after errors 2011-02-10 17:01:07 +01:00
serial_protocol.h
settings.c replaced use of magical numbers for axis reference with constants 2011-02-06 23:27:04 +01:00
settings.h renamed public methods of settings module to include module name 2011-02-05 01:00:41 +01:00
spindle_control.c refactored compile time settings back into a new file called config.h 2011-02-05 00:55:37 +01:00
spindle_control.h
stepper.c formatting + moved current position getter to planner 2011-02-11 00:44:18 +01:00
stepper.h formatting + moved current position getter to planner 2011-02-11 00:44:18 +01:00
wiring_serial.c added a line to disable baud doubling, but commented out for the time being until I can test it on real hardware 2011-02-11 01:11:33 +01:00
wiring_serial.h

readme.textile

h1. Grbl - An embedded g-code interpreter and motion-controller for the Arduino/AVR328 microcontroller
    
Grbl is a no-compromise, high performance, low cost alternative to parallel-port-based motion control for CNC milling. It will run on a vanilla Arduino (Duemillanove/Uno) as long as it sports an Atmega 328. 

The controller is written in highly optimized C utilizing every clever feature of the AVR-chips to achieve precise timing and asynchronous operation. It is able to maintain more than 30kHz of stable, jitter free control pulses.

It accepts standards-compliant G-code and has been tested with the output of several CAM tools with no problems. Arcs, circles and helical motion are fully supported - but no support for tool offsets, functions or variables as these are apocryphal and fell into disuse after humans left G-code authoring to machines some time in the 80s.

Grbl includes full acceleration management with look ahead. That means the controller will look up to 20 motions into the future and plan its velocities ahead to deliver smooth acceleration and jerk-free cornering.

h2. Prioritized to-do:

* Backlash compensation
* Autodetect baud rate
* Spindle control
* Arduino IDE compatible (build and flash)
* Support "headless" fabrication by buffering all code to SD-card or similar

_The project was initially inspired by the Arduino GCode Interpreter by Mike Ellery_