Go to file
Sonny J 6de805441f Fixed minor bugs in planner. Increased max dwell time. Long slope bug stop-gap solution note.
- Fixed the planner TODO regarding minimum nominal speeds. Re-arranged
calculations to be both more efficient and guaranteed to be greater
than zero. - Missed a parenthesis location on the rate_delta
calculation. Should fix a nearly in-perceptible issue with incorrect
acceleration ramping in diagonal directions. - Increased maximum dwell
time from 6.5sec to an 18hour max. A crazy amount more, but that's how
the math works out. - Converted the internal feedrate values to mm/min
only, as it was switching between mm/min to mm/sec and back to mm/min.
Also added a feedrate > 0 check in gcode.c. - Identified the long slope
at the end of rapid de/ac-celerations noted by stephanix. Problem with
the numerical integration truncation error between the exact solution
of estimate_acceleration_distance and how grbl actually performs the
acceleration ramps discretely. Increasing the
ACCELERATION_TICKS_PER_SECOND in config.h helps fix this problem.
Investigating further.
2011-09-18 05:36:55 -06:00
doc 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
script Further planner improvements and misc minor bug fixes. Memory savings and increased buffer size. 2011-09-13 21:57:16 -06:00
.gitignore merged master 2011-01-31 19:42:56 +01:00
config.h Fixed minor bugs in planner. Increased max dwell time. Long slope bug stop-gap solution note. 2011-09-18 05:36:55 -06: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 Fixed minor bugs in planner. Increased max dwell time. Long slope bug stop-gap solution note. 2011-09-18 05:36:55 -06: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 added support for limit switches and homing action 2011-02-20 00:29:56 +01:00
limits.h added support for limit switches and homing action 2011-02-20 00:29:56 +01:00
main.c Fixed serial.c after tests on real hardware 2011-06-05 20:54:23 +02: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 Fixed minor bugs in planner. Increased max dwell time. Long slope bug stop-gap solution note. 2011-09-18 05:36:55 -06:00
motion_control.h Fixed minor bugs in planner. Increased max dwell time. Long slope bug stop-gap solution note. 2011-09-18 05:36:55 -06:00
nuts_bolts.c cleaned up handling of number parsing in settings_execute_command 2011-02-18 23:08:06 +01:00
nuts_bolts.h Further planner improvements and misc minor bug fixes. Memory savings and increased buffer size. 2011-09-13 21:57:16 -06:00
planner.c Fixed minor bugs in planner. Increased max dwell time. Long slope bug stop-gap solution note. 2011-09-18 05:36:55 -06:00
planner.h Further planner improvements and misc minor bug fixes. Memory savings and increased buffer size. 2011-09-13 21:57:16 -06:00
print.c changed default fp decimal places to 3 2011-06-05 20:58:21 +02:00
print.h cleaned up function definitions for serial and print modules and added a comment about the deeply flawed printFloat method 2011-06-03 15:36:14 +02:00
protocol.c Further planner improvements and misc minor bug fixes. Memory savings and increased buffer size. 2011-09-13 21:57:16 -06:00
protocol.h renamed wiring_serial to serial to reflect its complete remake 2011-05-31 22:45:38 +02:00
readme.textile updated readme to reflect real state of 168-compatibility 2011-06-05 21:12:56 +02:00
serial.c More '%' modulo opertor removals and some housecleaning. 2011-09-15 20:32:15 -06:00
serial.h refactored printIntegerInBase to work without a buffer + minor cleanup 2011-06-03 21:50:02 +02:00
settings.c More '%' modulo opertor removals and some housecleaning. 2011-09-15 20:32:15 -06:00
settings.h Further planner improvements and misc minor bug fixes. Memory savings and increased buffer size. 2011-09-13 21:57:16 -06:00
spindle_control.c spindle could not be stopped. Thanks again to Etienne for reporting 2011-02-25 15:00:47 +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 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
stepper.h added support for limit switches and homing action 2011-02-20 00:29:56 +01:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.

*Important note for Atmega 168 users:* Grbl used to be compatible with both the older Ardunios running atmega 168 and the newer with 328p. The full version of Grbl now compiles without support for circles/arcs if you target 168. If you need arcs, but not acceleration-management I am still maintaining Grbl 0.51 "in the branch called 'v0_51'":https://github.com/simen/grbl/tree/v0_51.

*Note for users upgrading from 0.51 to 0.6:* The new version has new and improved default pin-out. If nothing works when you upgrade, that is because the pulse trains are coming from the wrong pins. This is a simple matter of editing config.h  the whole legacy pin assignment is there for you to uncomment.

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