==========================
Marlin 3D Printer Firmware
==========================
[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=ErikZalm&url=https://github.com/ErikZalm/Marlin&title=Marlin&language=&tags=github&category=software)
Quick Information
===================
This RepRap firmware is a mashup between <a href="https://github.com/kliment/Sprinter">Sprinter</a>, <a href="https://github.com/simen/grbl/tree">grbl</a> and many original parts.
Derived from Sprinter and Grbl by Erik van der Zalm.
Sprinters lead developers are Kliment and caru.
Grbls lead developer is Simen Svale Skogsrud. Sonney Jeon (Chamnit) improved some parts of grbl
A fork by bkubicek for the Ultimaker was merged, and further development was aided by him.
Some features have been added by:
Lampmaker, Bradley Feldman, and others...
Features:
* Interrupt based movement with real linear acceleration
* High steprate
* Look ahead (Keep the speed high when possible. High cornering speed)
* Interrupt based temperature protection
* preliminary support for Matthew Roberts advance algorithm
For more info see: http://reprap.org/pipermail/reprap-dev/2011-May/003323.html
* Full endstop support
* SD Card support
* SD Card folders (works in pronterface)
* SD Card autostart support
* LCD support (ideally 20x4)
* LCD menu system for autonomous SD card printing, controlled by an click-encoder.
* EEPROM storage of e.g. max-velocity, max-acceleration, and similar variables
* many small but handy things originating from bkubicek's fork.
* Arc support
* Temperature oversampling
* Dynamic Temperature setpointing aka "AutoTemp"
* Support for QTMarlin, a very beta GUI for PID-tuning and velocity-acceleration testing. https://github.com/bkubicek/QTMarlin
* Endstop trigger reporting to the host software.
* Updated sdcardlib
* Heater power reporting. Useful for PID monitoring.
* PID tuning
* CoreXY kinematics (www.corexy.com/theory.html)
* Configurable serial port to support connection of wireless adaptors.
* Automatic operation of extruder/cold-end cooling fans based on nozzle temperature
* RC Servo Support, specify angle or duration for continuous rotation servos.
The default baudrate is 250000. This baudrate has less jitter and hence errors than the usual 115200 baud, but is less supported by drivers and host-environments.
Differences and additions to the already good Sprinter firmware:
================================================================
*Look-ahead:*
Marlin has look-ahead. While sprinter has to break and re-accelerate at each corner,
lookahead will only decelerate and accelerate to a velocity,
so that the change in vectorial velocity magnitude is less than the xy_jerk_velocity.
This is only possible, if some future moves are already processed, hence the name.
It leads to less over-deposition at corners, especially at flat angles.
*Arc support:*
Slic3r can find curves that, although broken into segments, were ment to describe an arc.
Marlin is able to print those arcs. The advantage is the firmware can choose the resolution,
and can perform the arc with nearly constant velocity, resulting in a nice finish.
Also, less serial communication is needed.
*Temperature Oversampling:*
To reduce noise and make the PID-differential term more useful, 16 ADC conversion results are averaged.
*AutoTemp:*
If your gcode contains a wide spread of extruder velocities, or you realtime change the building speed, the temperature should be changed accordingly.
Usually, higher speed requires higher temperature.
This can now be performed by the AutoTemp function
By calling M109 S<mintemp> T<maxtemp> F<factor> you enter the autotemp mode.
You can leave it by calling M109 without any F.
If active, the maximal extruder stepper rate of all buffered moves will be calculated, and named "maxerate" [steps/sec].
The wanted temperature then will be set to t=tempmin+factor*maxerate, while being limited between tempmin and tempmax.
If the target temperature is set manually or by gcode to a value less then tempmin, it will be kept without change.
Ideally, your gcode can be completely free of temperature controls, apart from a M109 S T F in the start.gcode, and a M109 S0 in the end.gcode.
*EEPROM:*
If you know your PID values, the acceleration and max-velocities of your unique machine, you can set them, and finally store them in the EEPROM.
After each reboot, it will magically load them from EEPROM, independent what your Configuration.h says.
*LCD Menu:*
If your hardware supports it, you can build yourself a LCD-CardReader+Click+encoder combination. It will enable you to realtime tune temperatures,
accelerations, velocities, flow rates, select and print files from the SD card, preheat, disable the steppers, and do other fancy stuff.
One working hardware is documented here: http://www.thingiverse.com/thing:12663
Also, with just a 20x4 or 16x2 display, useful data is shown.
*SD card folders:*
If you have an SD card reader attached to your controller, also folders work now. Listing the files in pronterface will show "/path/subpath/file.g".
You can write to file in a subfolder by specifying a similar text using small letters in the path.
Also, backup copies of various operating systems are hidden, as well as files not ending with ".g".
*SD card folders:*
If you place a file auto[0-9].g into the root of the sd card, it will be automatically executed if you boot the printer. The same file will be executed by selecting "Autostart" from the menu.
First *0 will be performed, than *1 and so on. That way, you can heat up or even print automatically without user interaction.
*Endstop trigger reporting:*
If an endstop is hit while moving towards the endstop, the location at which the firmware thinks that the endstop was triggered is outputed on the serial port.
This is useful, because the user gets a warning message.
However, also tools like QTMarlin can use this for finding acceptable combinations of velocity+acceleration.
*Coding paradigm:*
Not relevant from a user side, but Marlin was split into thematic junks, and has tried to partially enforced private variables.
This is intended to make it clearer, what interacts which what, and leads to a higher level of modularization.
We think that this is a useful prestep for porting this firmware to e.g. an ARM platform in the future.
A lot of RAM (with enabled LCD ~2200 bytes) was saved by storing char []="some message" in Program memory.
In the serial communication, a #define based level of abstraction was enforced, so that it is clear that
some transfer is information (usually beginning with "echo:"), an error "error:", or just normal protocol,
necessary for backwards compatibility.
*Interrupt based temperature measurements:*
An interrupt is used to manage ADC conversions, and enforce checking for critical temperatures.
This leads to less blocking in the heater management routine.
Implemented G Codes:
====================
* G0 -> G1
* G1 - Coordinated Movement X Y Z E
* G2 - CW ARC
* G3 - CCW ARC
* G4 - Dwell S<seconds> or P<milliseconds>
* G10 - retract filament according to settings of M207
* G11 - retract recover filament according to settings of M208
* G28 - Home all Axis
* G90 - Use Absolute Coordinates
* G91 - Use Relative Coordinates
* G92 - Set current position to cordinates given
RepRap M Codes
* M0 - Unconditional stop - Wait for user to press a button on the LCD (Only if ULTRA_LCD is enabled)
* M1 - Same as M0
* M104 - Set extruder target temp
* M105 - Read current temp
* M106 - Fan on
* M107 - Fan off
* M109 - Wait for extruder current temp to reach target temp.
* M114 - Display current position
Custom M Codes
* M17 - Enable/Power all stepper m
没有合适的资源?快使用搜索试试~ 我知道了~
Ultimaker 3D控制卡源程序
共524个文件
c:221个
h:137个
cpp:87个
3星 · 超过75%的资源 需积分: 14 9 下载量 154 浏览量
2014-04-16
16:19:29
上传
评论 2
收藏 2.86MB ZIP 举报
温馨提示
Ultimaker 3D打印机控制卡,源程序;包括C++代码,烧录HEX格式代码;
资源推荐
资源详情
资源评论
收起资源包目录
Ultimaker 3D控制卡源程序 (524个子文件)
u8g_font_data.c 4.09MB
u8g_font_data.c 4.09MB
chessengine.c 62KB
chessengine.c 62KB
u8g_font.c 34KB
u8g_font.c 34KB
ATmegaBOOT_168.c 30KB
optiboot.c 25KB
ATmegaBOOT.c 18KB
ATmegaBOOT.c 18KB
ATmegaBOOT.c 18KB
pins_arduino.c 16KB
u8g_dev_st7687_c144mvgd.c 14KB
u8g_dev_st7687_c144mvgd.c 14KB
u8g_dev_ili9325d_320x240.c 13KB
u8g_dev_ili9325d_320x240.c 13KB
u8g_rot.c 12KB
u8g_rot.c 12KB
u8g_ll_api.c 12KB
u8g_ll_api.c 12KB
u8g_dev_ssd1322_nhd31oled_bw.c 12KB
u8g_dev_ssd1322_nhd31oled_bw.c 12KB
u8g_dev_ssd1322_nhd31oled_gr.c 12KB
u8g_dev_ssd1322_nhd31oled_gr.c 12KB
u8g_com_arduino_t6963.c 12KB
u8g_com_arduino_t6963.c 12KB
u8g_dev_ssd1327_96x96_gr.c 11KB
u8g_dev_ssd1327_96x96_gr.c 11KB
u8g_dev_uc1610_dogxl160.c 11KB
u8g_dev_uc1610_dogxl160.c 11KB
u8g_dev_ssd1325_nhd27oled_bw.c 10KB
u8g_dev_ssd1325_nhd27oled_bw.c 10KB
u8g_dev_ssd1325_nhd27oled_bw_new.c 9KB
u8g_dev_ssd1325_nhd27oled_bw_new.c 9KB
u8g_dev_ssd1325_nhd27oled_gr.c 9KB
u8g_dev_ssd1325_nhd27oled_gr.c 9KB
u8g_pb8h1.c 9KB
u8g_pb8h1.c 9KB
u8g_dev_ssd1306_128x32.c 9KB
u8g_dev_ssd1306_128x32.c 9KB
u8g_dev_ssd1306_128x64.c 9KB
u8g_dev_ssd1306_128x64.c 9KB
u8g_dev_ssd1325_nhd27oled_gr_new.c 9KB
u8g_dev_ssd1325_nhd27oled_gr_new.c 9KB
wiring.c 9KB
u8g_circle.c 9KB
u8g_circle.c 9KB
WInterrupts.c 9KB
wiring.c 8KB
wiring.c 8KB
u8g_com_arduino_st7920_spi.c 8KB
u8g_com_arduino_st7920_spi.c 8KB
u8g_dev_st7565_lm6063.c 8KB
u8g_dev_st7565_lm6063.c 8KB
WInterrupts.c 7KB
wiring_analog.c 7KB
u8g_com_arduino_fast_parallel.c 7KB
u8g_com_arduino_fast_parallel.c 7KB
u8g_dev_t6963_240x128.c 7KB
u8g_dev_t6963_240x128.c 7KB
u8g_dev_t6963_240x64.c 7KB
u8g_dev_t6963_240x64.c 7KB
u8g_dev_t6963_128x64.c 7KB
u8g_dev_t6963_128x64.c 7KB
u8g_com_arduino_no_en_parallel.c 7KB
u8g_com_arduino_no_en_parallel.c 7KB
WInterrupts.c 7KB
u8g_com_arduino_sw_spi.c 7KB
u8g_com_arduino_sw_spi.c 7KB
wiring_analog.c 7KB
wiring_analog.c 7KB
u8g_dev_st7920_128x64.c 6KB
u8g_dev_st7920_128x64.c 6KB
u8g_dev_st7565_lm6059.c 6KB
u8g_dev_st7565_lm6059.c 6KB
u8g_dev_st7565_64128n.c 6KB
u8g_dev_st7565_64128n.c 6KB
u8g_dev_st7565_dogm132.c 6KB
u8g_dev_st7565_dogm132.c 6KB
u8g_dev_st7920_202x32.c 6KB
u8g_dev_st7920_202x32.c 6KB
u8g_com_arduino_st7920_hw_spi.c 6KB
u8g_com_arduino_st7920_hw_spi.c 6KB
u8g_dev_st7920_192x32.c 6KB
u8g_dev_st7920_192x32.c 6KB
u8g_com_arduino_ssd_i2c.c 6KB
u8g_com_arduino_ssd_i2c.c 6KB
u8g_dev_st7565_nhd_c12864.c 6KB
u8g_dev_st7565_nhd_c12864.c 6KB
wiring.c 5KB
u8g_dev_st7565_nhd_c12832.c 5KB
u8g_dev_st7565_nhd_c12832.c 5KB
u8g_pb16h1.c 5KB
u8g_pb16h1.c 5KB
u8g_com_atmega_st7920_hw_spi.c 5KB
u8g_com_atmega_st7920_hw_spi.c 5KB
u8g_dev_lc7981_160x80.c 5KB
u8g_dev_lc7981_160x80.c 5KB
u8g_dev_st7565_dogm128.c 5KB
u8g_dev_st7565_dogm128.c 5KB
共 524 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
- xia432326012014-12-14垃圾,要这么多积分,根本不是c++的,也不是Ultimaker自主开发的,就是Marlin的固件,marlin网上一大把
- wht80082014-05-06C++的,看不太懂。呵呵。不过应该不错。
谁与0争锋
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功