Bernhard Kubicek 13 gadus atpakaļ
vecāks
revīzija
827cd72703
1 mainītis faili ar 35 papildinājumiem un 26 dzēšanām
  1. 35
    26
      README.md

+ 35
- 26
README.md Parādīt failu

14
 
14
 
15
 
15
 
16
 Features:
16
 Features:
17
- - Interrupt based movement with real linear acceleration
18
- - High steprate
19
- - Look ahead (Keep the speed high when possible. High cornering speed)
20
- - Interrupt based temperature protection
21
- - preliminary support for Matthew Roberts advance algorithm 
22
-   For more info see: http://reprap.org/pipermail/reprap-dev/2011-May/003323.html
23
- - Full endstop support
24
- - SD Card support
25
- - SD Card folders (works in pronterface)
26
- - LCD support (ideally 20x4) 
27
- - LCD menu system for autonomous SD card printing, controlled by an click-encoder. 
28
- - EEPROM storage of e.g. max-velocity, max-acceleration, and similar variables
29
- - many small but handy things originating from bkubicek's fork.
30
- - Arc support
31
- - Temperature oversampling
32
- - Dynamic Temperature setpointing aka "AutoTemp"
33
- - Support for QTMarlin, a very beta GUI for PID-tuning and velocity-acceleration testing. https://github.com/bkubicek/QTMarlin
34
- - Endstop trigger reporting to the host software.
35
- - Updated sdcardlib
36
- - Heater power reporting. Useful for PID monitoring.
17
+* Interrupt based movement with real linear acceleration
18
+* High steprate
19
+* Look ahead (Keep the speed high when possible. High cornering speed)
20
+* Interrupt based temperature protection
21
+* preliminary support for Matthew Roberts advance algorithm 
22
+* For more info see: http://reprap.org/pipermail/reprap-dev/2011-May/003323.html
23
+* Full endstop support
24
+* SD Card support
25
+* SD Card folders (works in pronterface)
26
+* LCD support (ideally 20x4) 
27
+* LCD menu system for autonomous SD card printing, controlled by an click-encoder. 
28
+* EEPROM storage of e.g. max-velocity, max-acceleration, and similar variables
29
+* many small but handy things originating from bkubicek's fork.
30
+* Arc support
31
+* Temperature oversampling
32
+* Dynamic Temperature setpointing aka "AutoTemp"
33
+* Support for QTMarlin, a very beta GUI for PID-tuning and velocity-acceleration testing. https://github.com/bkubicek/QTMarlin
34
+* Endstop trigger reporting to the host software.
35
+* Updated sdcardlib
36
+* Heater power reporting. Useful for PID monitoring.
37
 
37
 
38
 This firmware is optimized for Ultimaker's gen6 electronics (including the Ultimaker 1.5.x daughterboard and Arduino Mega 2560).
38
 This firmware is optimized for Ultimaker's gen6 electronics (including the Ultimaker 1.5.x daughterboard and Arduino Mega 2560).
39
 
39
 
42
 
42
 
43
 ========================================================================================
43
 ========================================================================================
44
 Differences and additions to the already good Sprinter firmware:
44
 Differences and additions to the already good Sprinter firmware:
45
+================================================================
45
 
46
 
46
 Look-ahead:
47
 Look-ahead:
48
+-----------
47
 Marlin has look-ahead. While sprinter has to break and re-accelerate at each corner, 
49
 Marlin has look-ahead. While sprinter has to break and re-accelerate at each corner, 
48
 lookahead will only decelerate and accelerate to a velocity, 
50
 lookahead will only decelerate and accelerate to a velocity, 
49
 so that the change in vectorial velocity magnitude is less than the xy_jerk_velocity.
51
 so that the change in vectorial velocity magnitude is less than the xy_jerk_velocity.
50
 This is only possible, if some future moves are already processed, hence the name. 
52
 This is only possible, if some future moves are already processed, hence the name. 
51
 It leads to less over-deposition at corners, especially at flat angles.
53
 It leads to less over-deposition at corners, especially at flat angles.
52
 
54
 
53
-Arc support: 
55
+Arc support:
56
+------------ 
54
 Splic3r can find curves that, although broken into segments, were ment to describe an arc.
57
 Splic3r can find curves that, although broken into segments, were ment to describe an arc.
55
 Marlin is able to print those arcs. The advantage is the firmware can choose the resolution,
58
 Marlin is able to print those arcs. The advantage is the firmware can choose the resolution,
56
 and can perform the arc with nearly constant velocity, resulting in a nice finish. 
59
 and can perform the arc with nearly constant velocity, resulting in a nice finish. 
60
 To reduce noise and make the PID-differential term more useful, 16 ADC conversion results are averaged.
63
 To reduce noise and make the PID-differential term more useful, 16 ADC conversion results are averaged.
61
 
64
 
62
 AutoTemp:
65
 AutoTemp:
66
+---------
63
 If your gcode contains a wide spread of extruder velocities, or you realtime change the building speed, the temperature should be changed accordingly.
67
 If your gcode contains a wide spread of extruder velocities, or you realtime change the building speed, the temperature should be changed accordingly.
64
 Usually, higher speed requires higher temperature.
68
 Usually, higher speed requires higher temperature.
65
 This can now be performed by the AutoTemp function
69
 This can now be performed by the AutoTemp function
66
 By calling M109 S<mintemp> T<maxtemp> F<factor> you enter the autotemp mode.
70
 By calling M109 S<mintemp> T<maxtemp> F<factor> you enter the autotemp mode.
71
+
67
 You can leave it by calling M109 without any F.
72
 You can leave it by calling M109 without any F.
68
 If active, the maximal extruder stepper rate of all buffered moves will be calculated, and named "maxerate" [steps/sec].
73
 If active, the maximal extruder stepper rate of all buffered moves will be calculated, and named "maxerate" [steps/sec].
69
 The wanted temperature then will be set to t=tempmin+factor*maxerate, while being limited between tempmin and tempmax.
74
 The wanted temperature then will be set to t=tempmin+factor*maxerate, while being limited between tempmin and tempmax.
71
 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.
76
 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.
72
 
77
 
73
 EEPROM:
78
 EEPROM:
79
+-------
74
 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.
80
 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.
75
 After each reboot, it will magically load them from EEPROM, independent what your Configuration.h says.
81
 After each reboot, it will magically load them from EEPROM, independent what your Configuration.h says.
76
 
82
 
77
 LCD Menu:
83
 LCD Menu:
84
+---------
78
 If your hardware supports it, you can build yourself a LCD-CardReader+Click+encoder combination. It will enable you to realtime tune temperatures,
85
 If your hardware supports it, you can build yourself a LCD-CardReader+Click+encoder combination. It will enable you to realtime tune temperatures,
79
 accelerations, velocities, flow rates, select and print files from the SD card, preheat, disable the steppers, and do other fancy stuff.
86
 accelerations, velocities, flow rates, select and print files from the SD card, preheat, disable the steppers, and do other fancy stuff.
80
 One working hardware is documented here: http://www.thingiverse.com/thing:12663 
87
 One working hardware is documented here: http://www.thingiverse.com/thing:12663 
81
 Also, with just a 20x4 or 16x2 display, useful data is shown.
88
 Also, with just a 20x4 or 16x2 display, useful data is shown.
82
 
89
 
83
 SD card folders:
90
 SD card folders:
91
+----------------
84
 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".
92
 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".
85
 You can write to file in a subfolder by specifying a similar text using small letters in the path.
93
 You can write to file in a subfolder by specifying a similar text using small letters in the path.
86
 Also, backup copies of various operating systems are hidden, as well as files not ending with ".g".
94
 Also, backup copies of various operating systems are hidden, as well as files not ending with ".g".
87
 
95
 
88
 Endstop trigger reporting:
96
 Endstop trigger reporting:
97
+--------------------------
89
 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.
98
 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.
90
 This is useful, because the user gets a warning message.
99
 This is useful, because the user gets a warning message.
91
 However, also tools like QTMarlin can use this for finding acceptable combinations of velocity+acceleration.
100
 However, also tools like QTMarlin can use this for finding acceptable combinations of velocity+acceleration.
92
 
101
 
93
 Coding paradigm:
102
 Coding paradigm:
103
+----------------
94
 Not relevant from a user side, but Marlin was split into thematic junks, and has tried to partially enforced private variables.
104
 Not relevant from a user side, but Marlin was split into thematic junks, and has tried to partially enforced private variables.
95
 This is intended to make it clearer, what interacts which what, and leads to a higher level of modularization.
105
 This is intended to make it clearer, what interacts which what, and leads to a higher level of modularization.
96
 We think that this is a useful prestep for porting this firmware to e.g. an ARM platform in the future.
106
 We think that this is a useful prestep for porting this firmware to e.g. an ARM platform in the future.
100
 necessary for backwards compatibility.
110
 necessary for backwards compatibility.
101
 
111
 
102
 Interrupt based temperature measurements:
112
 Interrupt based temperature measurements:
113
+-----------------------------------------
103
 An interrupt is used to manage ADC conversions, and enforce checking for critical temperatures.
114
 An interrupt is used to manage ADC conversions, and enforce checking for critical temperatures.
104
 This leads to less blocking in the heater management routine.
115
 This leads to less blocking in the heater management routine.
105
 
116
 
106
 ========================================================================================
117
 ========================================================================================
107
 Non-standard M-Codes, different to an old version of sprinter:
118
 Non-standard M-Codes, different to an old version of sprinter:
108
-
119
+==============================================================
109
 G2  - CW ARC
120
 G2  - CW ARC
110
 G3  - CCW ARC
121
 G3  - CCW ARC
111
 
122
 
135
 M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).  
146
 M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).  
136
 M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
147
 M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
137
 ========================================================================================
148
 ========================================================================================
138
-
139
-
140
-
141
-Configuring and compilation
149
+Configuring and compilation:
150
+============================
142
 
151
 
143
 
152
 
144
 Install the arduino software IDE/toolset v22
153
 Install the arduino software IDE/toolset v22

Notiek ielāde…
Atcelt
Saglabāt