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 6d3ff506e8 refactored compile time settings back into a new file called config.h 2011-02-05 00:55:37 +01:00
script small fry 2011-02-04 22:09:27 +01:00
.gitignore merged master 2011-01-31 19:42:56 +01:00
COPYING renamed file 2009-01-26 10:51:02 +01:00
Makefile renamed config.* to settings.* 2011-02-05 00:45:41 +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 formatting 2011-01-31 23:04:39 +01:00
eeprom.h Added runtime configurable global settings with eeprom persitence 2010-03-07 20:29:18 +01:00
gcode.c renamed config.* to settings.* 2011-02-05 00:45:41 +01:00
gcode.h added error messages and dropped echoing of command input 2011-02-05 00:39:34 +01:00
main.c renamed config.* to settings.* 2011-02-05 00:45:41 +01:00
motion_control.c refactored compile time settings back into a new file called config.h 2011-02-05 00:55:37 +01:00
motion_control.h formatting 2011-01-31 23:19:51 +01:00
nuts_bolts.h formatting 2011-01-31 23:19:51 +01:00
readme.textile updated readme 2011-01-25 14:42:27 +01:00
serial_protocol.c refactored compile time settings back into a new file called config.h 2011-02-05 00:55:37 +01:00
serial_protocol.h merged master 2011-01-31 19:42:56 +01:00
settings.c refactored compile time settings back into a new file called config.h 2011-02-05 00:55:37 +01:00
settings.h refactored compile time settings back into a new file called config.h 2011-02-05 00:55:37 +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 refactored block buffer into separate module motion_plan pending the addition of the actual look ahead planner 2011-01-14 16:45:18 +01:00
stepper.c refactored compile time settings back into a new file called config.h 2011-02-05 00:55:37 +01:00
stepper.h eliminated an annoying constant that broke my cleanly layered abstractions 2011-01-14 16:56:44 +01:00
stepper_plan.c refactored compile time settings back into a new file called config.h 2011-02-05 00:55:37 +01:00
stepper_plan.h removed a grave little bug in the planner and added a baseline safe speed so that motion sequences do not attempt to go to speed 0, but to a safe, higher speed based on the max_jerk setting 2011-02-04 22:09:09 +01:00
wiring_serial.c eliminated an old header file 2011-02-04 21:10:17 +01:00
wiring_serial.h moved all strings to pgm-memory 2010-03-07 23:10:41 +01:00

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_