Go to file
Sonny Jeon 89a3b37e02 Extended position reporting with both home and work coordinates. Home position now retained after reset. Other minor changes/fixes.
- Grbl now tracks both home and work (G92) coordinate systems and does
live updates when G92 is called.
- Rudimentary home and work position status reporting. Works but still
under major construction.
- Updated the main streaming script. Has a disabled periodic timer for
querying status reports, disabled only because the Python timer doesn't
consistently restart after the script exits. Add here only for user
testing.
- Fixed a bug to prevent an endless serial_write loop during status
reports.
- Refactored the planner variables to make it more clear what they are
and make it easier for clear them.
2012-01-10 08:34:54 -07:00
doc Initial v0.8 ALPHA commit. Features multi-tasking run-time command execution (feed hold, cycle start, reset, status query). Extensive re-structuring of code for future features. 2011-12-08 18:47:48 -07:00
script Extended position reporting with both home and work coordinates. Home position now retained after reset. Other minor changes/fixes. 2012-01-10 08:34:54 -07:00
.gitignore merged master 2011-01-31 19:42:56 +01:00
config.h Position reporting, refactored system variables, serial print fixes, updated streaming scripts. 2012-01-06 10:10:41 -07:00
COPYING renamed file 2009-01-26 10:51:02 +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 Position reporting, refactored system variables, serial print fixes, updated streaming scripts. 2012-01-06 10:10:41 -07:00
gcode.h refactored handling of settings '$' command out of gcode module and into settings module 2011-02-18 22:59:16 +01:00
limits.c Extended position reporting with both home and work coordinates. Home position now retained after reset. Other minor changes/fixes. 2012-01-10 08:34:54 -07:00
limits.h added support for limit switches and homing action 2011-02-20 00:29:56 +01:00
main.c Extended position reporting with both home and work coordinates. Home position now retained after reset. Other minor changes/fixes. 2012-01-10 08:34:54 -07:00
Makefile cleaned up serial completing support for non blocking tx and refactoring formatting functions into a new module 'print' 2011-06-03 15:28:14 +02:00
motion_control.c Extended position reporting with both home and work coordinates. Home position now retained after reset. Other minor changes/fixes. 2012-01-10 08:34:54 -07:00
motion_control.h Initial v0.8 ALPHA commit. Features multi-tasking run-time command execution (feed hold, cycle start, reset, status query). Extensive re-structuring of code for future features. 2011-12-08 18:47:48 -07:00
nuts_bolts.c Initial v0.8 ALPHA commit. Features multi-tasking run-time command execution (feed hold, cycle start, reset, status query). Extensive re-structuring of code for future features. 2011-12-08 18:47:48 -07:00
nuts_bolts.h Extended position reporting with both home and work coordinates. Home position now retained after reset. Other minor changes/fixes. 2012-01-10 08:34:54 -07:00
planner.c Extended position reporting with both home and work coordinates. Home position now retained after reset. Other minor changes/fixes. 2012-01-10 08:34:54 -07:00
planner.h Position reporting, refactored system variables, serial print fixes, updated streaming scripts. 2012-01-06 10:10:41 -07:00
print.c Position reporting, refactored system variables, serial print fixes, updated streaming scripts. 2012-01-06 10:10:41 -07:00
print.h Position reporting, refactored system variables, serial print fixes, updated streaming scripts. 2012-01-06 10:10:41 -07:00
protocol.c Extended position reporting with both home and work coordinates. Home position now retained after reset. Other minor changes/fixes. 2012-01-10 08:34:54 -07:00
protocol.h Initial v0.8 ALPHA commit. Features multi-tasking run-time command execution (feed hold, cycle start, reset, status query). Extensive re-structuring of code for future features. 2011-12-08 18:47:48 -07:00
readme.textile Initial v0.8 ALPHA commit. Features multi-tasking run-time command execution (feed hold, cycle start, reset, status query). Extensive re-structuring of code for future features. 2011-12-08 18:47:48 -07:00
serial.c Extended position reporting with both home and work coordinates. Home position now retained after reset. Other minor changes/fixes. 2012-01-10 08:34:54 -07:00
serial.h Initial v0.8 ALPHA commit. Features multi-tasking run-time command execution (feed hold, cycle start, reset, status query). Extensive re-structuring of code for future features. 2011-12-08 18:47:48 -07:00
settings.c Position reporting, refactored system variables, serial print fixes, updated streaming scripts. 2012-01-06 10:10:41 -07:00
settings.h Position reporting, refactored system variables, serial print fixes, updated streaming scripts. 2012-01-06 10:10:41 -07:00
spindle_control.c Initial v0.8 ALPHA commit. Features multi-tasking run-time command execution (feed hold, cycle start, reset, status query). Extensive re-structuring of code for future features. 2011-12-08 18:47:48 -07: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 Extended position reporting with both home and work coordinates. Home position now retained after reset. Other minor changes/fixes. 2012-01-10 08:34:54 -07:00
stepper.h Initial v0.8 ALPHA commit. Features multi-tasking run-time command execution (feed hold, cycle start, reset, status query). Extensive re-structuring of code for future features. 2011-12-08 18:47:48 -07:00

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, as well as, other basic functional g-code commands. Functions and variables are not currently supported, but may be included in future releases in a form of a pre-processor.

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.

*Changelog for v0.8 from v0.7:*
  - *ALPHA STATUS*: Major structural overhaul to allow for multi-tasking events and new feature sets
  - New run-time command control: Feed hold (pause), Cycle start (resume), Reset (abort), Status report (TBD)
  - Controlled feed hold with deceleration to ensure no skipped steps and loss of location.
  - After feed hold, cycle accelerations are re-planned and may be resumed.
  - System reset re-initializes grbl without resetting the Arduino.
  - Updated dwell function.
  - Restructured planner and stepper modules to become independent and ready for future features.
  - Planned features: Jog mode, status reporting, backlash compensation, improved flow control, planner optimizations
  - Reduce serial read buffer to 127 characters and increased write buffer to 31 characters (-1 ring buffer).
  - Increased planner buffer size to 20 blocks.
  - Misc bug fixes and removed deprecated acceleration enabled code.

*Changelog for v0.7 from v0.6:*
  - Significantly improved and optimized planner re-factoring.
  - New robust cornering algorithm, enabling smoother and faster motions.
  - Arc acceleration planning enabled by efficient vector transformation implementation.
  - Stepper subsystem re-factoring to help remove some motion issues from pre-v0.7 builds.
  - Increased dwell times.
  - G92 Coordinate offset support.
  - (Beta) Limit switch and homing cycle support.
  - Many other bug fixes and efficiency improvements.

*Important note for Atmega 168 users:* Going forward, support for Atmega 168 will be dropped due to its limited memory and speed. However, legacy Grbl v0.51 "in the branch called 'v0_51' is still available for use.

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