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 d00947a23a renamed config.* to settings.* 2011-02-05 00:45:41 +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
Makefile renamed config.* to settings.* 2011-02-05 00:45:41 +01:00
eeprom.c formatting 2011-01-31 23:04:39 +01:00
eeprom.h
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 renamed config.* to settings.* 2011-02-05 00:45:41 +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 renamed config.* to settings.* 2011-02-05 00:45:41 +01:00
serial_protocol.h merged master 2011-01-31 19:42:56 +01:00
settings.c renamed config.* to settings.* 2011-02-05 00:45:41 +01:00
settings.h renamed config.* to settings.* 2011-02-05 00:45:41 +01:00
spindle_control.c renamed config.* to settings.* 2011-02-05 00:45:41 +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 renamed config.* to settings.* 2011-02-05 00:45:41 +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 renamed config.* to settings.* 2011-02-05 00:45:41 +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

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_