#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 up to 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 18 motions into the future and plan its velocities ahead to deliver smooth acceleration and jerk-free cornering.
* For more information and help, check out our **[Wiki pages!](https://github.com/grbl/grbl/wiki)** If you find that the information is out-dated, please to help us keep it updated by editing it or notifying our community! Thanks!
##Downloads (Right-Click and Save-Link-As):
_**Master Branch:**_
* [Grbl v0.8c Atmega328p 16mhz 9600baud](http://bit.ly/SSdCJE) (Last updated: 2013-12-07)
- 2013-12-07: G18 and serial volatile fixes.
- 2013-04-05: Line buffer increased and overflow feedback added.
_**Edge/Development Branch:**_
* [Grbl v0.9a Build 2013-03-19](http://bit.ly/Y0tMHo) : Edge Branch
- New experimental stepper algorithm. Smoother. Axes acceleration and maximum velocity limits. Automatic arc segment scaling by tolerance setting, leading to much faster feedrates about them. Updated g-code G10. 30kHz step rate absolute max. CAUTION: Bugs still exist. Settings WILL be over-written. Please let us know of any lingering bugs (except with homing).
_**Archives:**_
* [Grbl v0.8a Atmega328p 16mhz 9600baud](http://bit.ly/TVCTVv)
* [Grbl v0.7d Atmega328p 16mhz 9600baud](http://bit.ly/ZhL15G)
* [Grbl v0.6b Atmega328p 16mhz 9600baud](http://bit.ly/VD04A5)
* [Grbl v0.6b Atmega168 16mhz 9600baud](http://bit.ly/SScWnE)
* [Grbl v0.51 Atmega328p 16mhz 9600baud](http://bit.ly/W75BS1)
* [Grbl v0.51 Atmega168 16mhz 9600baud](http://bit.ly/VXyrYu)
##Changelog for v0.8 from v0.7:
- Major structural overhaul to allow for multi-tasking events and new feature sets.
- Run-time command control: Feed hold (pause), Cycle start (resume), Reset (abort), Status reporting (current position and state).
- 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.
- Advanced homing cycle with direction and speed configuration options. (Requires limit switches.) When enabled, homing is required before use to ensure safety.
- Limit pins are held normal high with internal pull-up resistors. Wiring only requires a normally-open switch connected to ground. (For both ends of an axis, simply wire two in parallel into the same pin.)
- Hard limits option and plays nice with homing cycle, so switches can be used for both homing and hard limits.
- A check g-code mode has also been added to allow users to error check their programs.
- Re-factored g-code parser with robust error-checking.
- 6 work coordinate systems (G54-G59), offsets(G92), and machine coordinate system support. Work coordinate systems are stored in EEPROM and persistent.
- G10 L2 and L20 work coordinate settings support. L2 sets one or more axes values. L20 sets the current machine position to the specified work origin.
- G28.1 and G30.1 set home position support. These set the internal EEPROM parameter values to the current machine position. (G28 and G30 no longer perform homing cycle, '$H' does. They move to these stored positions.)
- Program stop(M0,M2,M30) support.
- Coolant control(M7*,M8,M9) support. (M7 is a compile-time option).
- G-code parser state and '#' parameters feedback.
- System reset re-initializes grbl without resetting the Arduino and retains machine/home position and work coordinates.
- Settings overhauled and dozens of new settings and internal commands are now available, when most were compile-time only.
- New startup line setting. Allows users to store a custom g-code block into Grbl's startup routine. Executes immediately upon startup or reset. May be used to set g-code defaults like G20/G21.
- Pin-outs of the cycle-start, feed-hold, and soft-reset runtime commands on pins A0-A2.
- Misc bug fixes and removed deprecated acceleration enabled code.
- Advanced compile-time options: XON/XOFF flow control (limited support), direction and step pulse time delay, up to 5 startup lines, and homing sequence configurability.
*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_
-------------
Grbl is an open-source project and fueled by the free-time of our intrepid administrators and altruistic users. If you'd like to donate, all proceeds will be used to help fund supporting hardware and testing equipment. Thank you!
[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EBQWAWQAAT878)
没有合适的资源?快使用搜索试试~ 我知道了~
grbl源代码
共47个文件
h:17个
c:15个
txt:4个
需积分: 50 11 下载量 91 浏览量
2017-06-18
15:44:38
上传
评论 1
收藏 98KB ZIP 举报
温馨提示
激光雕刻机的源代码,直接下载make即可生成
资源推荐
资源详情
资源评论
收起资源包目录
grbl-master.zip (47个子文件)
grbl-master
stepper.c 21KB
protocol.h 2KB
eeprom.h 345B
print.h 1KB
coolant_control.c 2KB
COPYING 7KB
motion_control.h 2KB
limits.h 905B
defaults.h 9KB
report.h 2KB
gcode.h 4KB
script
simple_stream.py 1KB
Obsolete
console 415B
trapezoid_simulator.rb 3KB
proxy 110B
stream.rb 1KB
stream 39B
stream.py 3KB
spindle_control.c 2KB
settings.c 8KB
motion_control.c 14KB
limits.c 11KB
doc
pinmapping.txt 4KB
structure.txt 2KB
resources.txt 404B
commands.txt 3KB
coolant_control.h 976B
print.c 4KB
config.h 12KB
report.c 14KB
protocol.c 15KB
README.md 6KB
pin_map.h 7KB
Makefile 3KB
serial.h 2KB
nuts_bolts.h 5KB
nuts_bolts.c 4KB
planner.c 25KB
settings.h 4KB
spindle_control.h 942B
gcode.c 28KB
.gitignore 31B
serial.c 5KB
stepper.h 1KB
eeprom.c 5KB
planner.h 4KB
main.c 4KB
共 47 条
- 1
资源评论
动物都会叫<^_^>
- 粉丝: 95
- 资源: 15
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功