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 36fd3a9bfb improved the serial protocol, added some debug pins for a while 2010-03-02 08:19:21 +01:00
arc_algorithm lots and lots of bugfixes after running on reals hardware for the first time 2009-02-03 09:56:45 +01:00
gcode Fixed a number of bugs caused by using abs() on floats and long ints. Added support for selectively inverting bits of the stepping port. Debugged, optimized and cleaned up timing code for the step-pulses. 2010-02-27 19:55:09 +01:00
legacy lots and lots of bugfixes after running on reals hardware for the first time 2009-02-03 09:56:45 +01:00
script Fixed a number of bugs caused by using abs() on floats and long ints. Added support for selectively inverting bits of the stepping port. Debugged, optimized and cleaned up timing code for the step-pulses. 2010-02-27 19:55:09 +01:00
.gitignore minor revision 2010-01-04 16:09:00 +01:00
COPYING renamed file 2009-01-26 10:51:02 +01:00
Makefile Fixed a number of bugs caused by using abs() on floats and long ints. Added support for selectively inverting bits of the stepping port. Debugged, optimized and cleaned up timing code for the step-pulses. 2010-02-27 19:55:09 +01:00
config.h fixed a problem with the direction-pins 2010-02-27 21:01:35 +01:00
gcode.c Fixed a number of bugs caused by using abs() on floats and long ints. Added support for selectively inverting bits of the stepping port. Debugged, optimized and cleaned up timing code for the step-pulses. 2010-02-27 19:55:09 +01:00
gcode.h support for helical motion 2009-02-11 00:37:33 +01:00
geometry.c Fixed a number of bugs caused by using abs() on floats and long ints. Added support for selectively inverting bits of the stepping port. Debugged, optimized and cleaned up timing code for the step-pulses. 2010-02-27 19:55:09 +01:00
geometry.h added code to estimate steps in arc in order to support helical motion 2009-02-09 15:47:51 +01:00
main.c improved the serial protocol, added some debug pins for a while 2010-03-02 08:19:21 +01:00
motion_control.c improved the serial protocol, added some debug pins for a while 2010-03-02 08:19:21 +01:00
motion_control.h support for helical motion 2009-02-11 00:37:33 +01:00
nuts_bolts.h stepper signals looks good on scope 2009-02-03 23:36:04 +01:00
readme.txt updated readme 2010-01-06 00:31:11 +01:00
serial_protocol.c improved the serial protocol, added some debug pins for a while 2010-03-02 08:19:21 +01:00
serial_protocol.h presumably fixed the feed rate computation 2009-02-04 14:01:24 +01:00
spindle_control.c version 0.1 2009-01-25 00:48:56 +01:00
spindle_control.h version 0.1 2009-01-25 00:48:56 +01:00
stepper.c improved the serial protocol, added some debug pins for a while 2010-03-02 08:19:21 +01:00
stepper.h Fixed a number of bugs caused by using abs() on floats and long ints. Added support for selectively inverting bits of the stepping port. Debugged, optimized and cleaned up timing code for the step-pulses. 2010-02-27 19:55:09 +01:00
todo.txt minor revision 2010-01-04 16:09:00 +01:00
wiring_private.h version 0.1 2009-01-25 00:48:56 +01:00
wiring_serial.c Fixed a number of bugs caused by using abs() on floats and long ints. Added support for selectively inverting bits of the stepping port. Debugged, optimized and cleaned up timing code for the step-pulses. 2010-02-27 19:55:09 +01:00
wiring_serial.h version 0.1 2009-01-25 00:48:56 +01:00

readme.txt

Grbl - An embedded rs274/ngc (g-code) interpreter, CNC controller, readout and exerciser for the AVR series of microcontrollers.
Inspired by the Arduino GCode Interpreter by Mike Ellery

Status:
* Runs on atmega168/arduino.
* GCode interpreter complete
* Linear interpolation machine control complete
* Arcs and helical interpolation complete
* Buffered, non blocking, asynchronous stepping so the rest of the system is free to generate new steps and parse 
  g-code while the steppers are still steppin' 
* Basic serial protocol complete
* Stepper pulses verified on scope and tested with stepper motors, motion and rates verified with simulator,
  but not tested on real CNC-rig. Still waiting for my micRo kit from Lumenlab.com

Pending: 
* Optional support for a alphanumeric LCD readout, a joystick and a few buttons for program control
* Optional support for automated cutter length calibration when milling
* Support "headless" fabrication by buffering all code to SD-card or similar
* Smooth feed rate interpolation

Limitations:
* Limited GCode-support. Focus on the kind of GCode produced by CAM tools. Leave human GCoders frustrated.
* No rotation axes, only x, y and z.