Quellcode durchsuchen

Merge branch 'Development' of https://github.com/MarlinFirmware/Marlin into Development

Erik van der Zalm vor 10 Jahren
Ursprung
Commit
1aade4a8e2

+ 105
- 0
Documentation/BedLeveling.md Datei anzeigen

@@ -0,0 +1,105 @@
1
+===============================================
2
+Instructions for configuring Bed Auto Leveling
3
+===============================================
4
+There are two options for this feature. You may choose to use a servo mounted on the X carriage or you may use a sled that mounts on the X axis and can be docked when not in use.
5
+See the section for each option below for specifics about installation and configuration. Also included are instructions that apply to both options.
6
+
7
+Instructions for Both Options
8
+-----------------------------
9
+
10
+Uncomment the "ENABLE_AUTO_BED_LEVELING" define (commented by default)
11
+
12
+The following options define the probing positions. These are good starting values.
13
+I recommend to keep a better clearance from borders in the first run and then make the probes as close as possible to borders:
14
+
15
+* \#define LEFT_PROBE_BED_POSITION 30
16
+* \#define RIGHT_PROBE_BED_POSITION 140
17
+* \#define BACK_PROBE_BED_POSITION 140
18
+* \#define FRONT_PROBE_BED_POSITION 30
19
+
20
+A few more options:
21
+
22
+* \#define XY_TRAVEL_SPEED 6000
23
+
24
+X and Y axis travel speed between probes, in mm/min.
25
+Bear in mind that really fast moves may render step skipping. 6000 mm/min (100mm/s) is a good value.
26
+
27
+* \#define Z_RAISE_BEFORE_PROBING 10
28
+* \#define Z_RAISE_BETWEEN_PROBINGS 10
29
+
30
+The Z axis is lifted when traveling to the first probe point by Z_RAISE_BEFORE_PROBING value
31
+and then lifted when traveling from first to second and second to third point by Z_RAISE_BETWEEN_PROBINGS.
32
+All values are in mm as usual.
33
+
34
+Servo Option Notes
35
+------------------
36
+You will probably need a swivel Z-MIN endstop in the extruder. A rc servo do a great job.
37
+Check the system working here: http://www.youtube.com/watch?v=3IKMeOYz-1Q (Enable English subtitles)
38
+Teasing ;-) video: http://www.youtube.com/watch?v=x8eqSQNAyro
39
+
40
+In order to get the servo working, you need to enable:
41
+
42
+* \#define NUM_SERVOS 1 // Servo index starts with 0 for M280 command
43
+
44
+* \#define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1
45
+
46
+* \#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 165,60} // X,Y,Z Axis Extend and Retract angles
47
+
48
+The first define tells firmware how many servos you have.
49
+The second tells what axis this servo will be attached to. In the example above, we have a servo in Z axis.
50
+The third one tells the angle in 2 situations: Probing (165º) and resting (60º). Check this with command M280 P0 S{angle} (example: M280 P0 S60 moves the servo to 60º)
51
+
52
+Next you need to define the Z endstop (probe) offset from hotend.
53
+My preferred method:
54
+
55
+* a) Make a small mark in the bed with a marker/felt-tip pen.
56
+* b) Place the hotend tip as *exactly* as possible on the mark, touching the bed. Raise the hotend 0.1mm (a regular paper thickness) and zero all axis (G92 X0 Y0 Z0);
57
+* d) Raise the hotend 10mm (or more) for probe clearance, lower the Z probe (Z-Endstop) with M401 and place it just on that mark by moving X, Y and Z;
58
+* e) Lower the Z in 0.1mm steps, with the probe always touching the mark (it may be necessary to adjust X and Y as well) until you hear the "click" meaning the mechanical endstop was trigged. You can confirm with M119;
59
+* f) Now you have the probe in the same place as your hotend tip was before. Perform a M114 and write down the values, for example: X:24.3 Y:-31.4 Z:5.1;
60
+* g) You can raise the z probe with M402 command;
61
+* h) Fill the defines bellow multiplying the values by "-1" (just change the signal)
62
+
63
+
64
+* \#define X_PROBE_OFFSET_FROM_EXTRUDER -24.3
65
+* \#define Y_PROBE_OFFSET_FROM_EXTRUDER 31.4
66
+* \#define Z_PROBE_OFFSET_FROM_EXTRUDER -5.1
67
+
68
+Sled Option Notes
69
+-----------------
70
+The sled option uses an electromagnet to attach and detach to/from the X carriage. See http://www.thingiverse.com/thing:396692 for more details on how to print and install this feature. It uses the same connections as the servo option.
71
+
72
+To use the sled option, you must define two additional things in Configuration.h:
73
+
74
+* \#define Z_PROBE_SLED
75
+* \#define SLED_DOCKING_OFFSET 5
76
+
77
+Uncomment the Z_PROBE_SLED to define to enable the sled (commented out by default).
78
+
79
+Uncomment the SLED_DOCKING_OFFSET to set the extra distance the X axis must travel to dock the sled. This value can be found by moving the X axis to its maximum position then measure the distance to the right X end and subtract the width of the sled (23mm if you printed the sled from Thingiverse).
80
+
81
+Next you need to define the Z endstop (probe) offset from hotend.
82
+My preferred method:
83
+
84
+* a) Home the X and Y axes.
85
+* b) Move the X axis to about the center of the print bed. Make a mark on the print bed.
86
+* c) Move the Y axis to the maximum position. Make another mark.
87
+* d) Home the X axis and use a straight edge to make a line between the two points.
88
+* e) Repeat (b)-(d) reversing the X and Y. When you are done you will have two lines on the print bed. We will use these to measure the offset for the Z probe endstop.
89
+* f) Move the nozzle so that it is positioned on the center point of the two lines. You can use fine movement of 0.1mm to get it as close as possible. Note the position of X and Y.
90
+* g) Zero the Z axis with the G92 Z0 command.
91
+* h) Raise the Z axis about 20mmm.
92
+* i) Use the G32 command to retrieve the sled.
93
+* j) Now more the X and Y axis to the position recorded in (f).
94
+* k) Lower the Z axis in 0.1mm steps until you hear the "click" meaning the mechanical endstop was trigged. You can confirm with the M119 command. Note the position of the Z axis.
95
+* l) Make a mark on the print bed where the endstop lever has touched the print bed. Raise the Z-axis about 30mm to give yourself some room.
96
+* m) Now measure the distance from the center point to the endstop impact site along the X and Y axis using the lines drawn previously.
97
+* n) Fill in the values below. If the endstop mark is in front of the line running left-to-right, use positive values. If it is behind, use negative values. For the Z axis use the value from (k) and subtract 0.1mm.
98
+
99
+For example, suppose you measured the endstop position and it was 20mm to the right of the line running front-to-back, 10mm toward the front of the line running left-to-right, and the value from (k) was 2.85. The values for the defines would be:
100
+
101
+* \#define X_PROBE_OFFSET_FROM_EXTRUDER 20
102
+* \#define Y_PROBE_OFFSET_FROM_EXTRUDER 10
103
+* \#define Z_PROBE_OFFSET_FROM_EXTRUDER 2.75
104
+
105
+That's it.. enjoy never having to calibrate your Z endstop neither leveling your bed by hand anymore ;-)

COPYING.md → Documentation/COPYING.md Datei anzeigen


+ 16
- 0
Documentation/Compilation.md Datei anzeigen

@@ -0,0 +1,16 @@
1
+# Configuring and compilation
2
+
3
+  1. Install the latest non-beta arduino software IDE/toolset: http://www.arduino.cc/en/Main/Software
4
+  2. Download the Marlin firmware
5
+    - [Latest developement version](https://github.com/MarlinFirmware/Marlin/tree/Development)
6
+    - [Stable version](https://github.com/MarlinFirmware/Marlin/tree/Development)
7
+  3. In both cases use the "Download Zip" button on the right.
8
+  4. Some boards require special files and/or libraries from the ArduinoAddons directory. Take a look at the dedicated [README](/ArduinoAddons/README.md) for details.
9
+  5. Start the arduino IDE.
10
+  6. Select Tools -> Board -> Arduino Mega 2560    or your microcontroller
11
+  7. Select the correct serial port in Tools ->Serial Port
12
+  8. Open Marlin.pde or .ino
13
+  9. Click the Verify/Compile button
14
+  10. Click the Upload button. If all goes well the firmware is uploading
15
+
16
+That's ok.  Enjoy Silky Smooth Printing.

+ 10
- 0
Documentation/Contributing.md Datei anzeigen

@@ -0,0 +1,10 @@
1
+Developer Notes
2
+===================
3
+
4
+- There are now 2 branches: The __development__ branch is where new features and code changes will be sorted out. This branch may have untested code in it, so please let us know if you find any bugs. When the __development__ branch has reached a state where it is stable, it will be moved to the __stable__ branch.
5
+
6
+- We are doing a kind of cleanup in the list of Issues and Pull Requests, the aim is to get to a state where we can certify the code as stable. To get the code tested as widely as possible we require several volunteers with a wide variety of hardware configurations willing to test the firmware and help us to certify it as stable. If you want to help out testing go to this issue and let us know: https://github.com/MarlinFirmware/Marlin/issues/1209
7
+
8
+- Before you submit any pull request, we ask that you _PLEASE_ test your code before submission, even if the change seems innocuous. When creating the pull request, please include the hardware you used for testing and a short synopsis of your testing procedure. Untested pull requests are less likely to be merged, as even slight changes create the risk of breaking the main branch.
9
+
10
+- If you have a fix don't open an issue telling about it, but test the code and submit a pull request. Use the __development__ branch when you submit.

+ 112
- 0
Documentation/Features.md Datei anzeigen

@@ -0,0 +1,112 @@
1
+# Features
2
+
3
+*   Interrupt based movement with real linear acceleration
4
+*   High steprate
5
+*   Look ahead (Keep the speed high when possible. High cornering speed)
6
+*   Interrupt based temperature protection
7
+*   Preliminary support for [Matthew Roberts Advance Algorithm](http://reprap.org/pipermail/reprap-dev/2011-May/003323.html)
8
+*   Full endstop support
9
+*   SD Card support
10
+*   SD Card folders (works in pronterface)
11
+*   SD Card autostart support
12
+*   LCD support (ideally 20x4)
13
+*   LCD menu system for autonomous SD card printing, controlled by an click-encoder.
14
+*   EEPROM storage of e.g. max-velocity, max-acceleration, and similar variables
15
+*   many small but handy things originating from bkubicek's fork.
16
+*   Arc support
17
+*   Temperature oversampling
18
+*   Dynamic Temperature setpointing aka "AutoTemp"
19
+*   Support for [QTMarlin](https://github.com/bkubicek/QTMarlin), a very beta GUI for PID-tuning and velocity-acceleration testing. 
20
+*   Endstop trigger reporting to the host software.
21
+*   Updated sdcardlib
22
+*   Heater power reporting. Useful for PID monitoring.
23
+*   PID tuning
24
+*   [CoreXY kinematics](www.corexy.com/theory.html)
25
+*   Delta kinematics
26
+*   SCARA kinematics
27
+*   Dual X-carriage support for multiple extruder systems
28
+*   Configurable serial port to support connection of wireless adaptors.
29
+*   Automatic operation of extruder/cold-end cooling fans based on nozzle temperature
30
+*   RC Servo Support, specify angle or duration for continuous rotation servos.
31
+*   Bed Auto Leveling.
32
+*   Support for a filament diameter sensor, which adjusts extrusion volume
33
+
34
+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.
35
+
36
+## Differences and additions to the already good Sprinter firmware
37
+
38
+### Look-ahead
39
+
40
+Marlin has look-ahead. While sprinter has to break and re-accelerate at each corner,
41
+lookahead will only decelerate and accelerate to a velocity,
42
+so that the change in vectorial velocity magnitude is less than the xy_jerk_velocity.
43
+This is only possible, if some future moves are already processed, hence the name.
44
+It leads to less over-deposition at corners, especially at flat angles.
45
+
46
+### Arc support
47
+
48
+Slic3r can find curves that, although broken into segments, were ment to describe an arc.
49
+Marlin is able to print those arcs. The advantage is the firmware can choose the resolution,
50
+and can perform the arc with nearly constant velocity, resulting in a nice finish.
51
+Also, less serial communication is needed.
52
+
53
+### Temperature Oversampling
54
+
55
+To reduce noise and make the PID-differential term more useful, 16 ADC conversion results are averaged.
56
+
57
+### AutoTemp
58
+
59
+If your gcode contains a wide spread of extruder velocities, or you realtime change the building speed, the temperature should be changed accordingly.
60
+Usually, higher speed requires higher temperature.
61
+This can now be performed by the AutoTemp function
62
+By calling M109 S<mintemp> B<maxtemp> F<factor> you enter the autotemp mode.
63
+
64
+You can leave it by calling M109 without any F.
65
+If active, the maximal extruder stepper rate of all buffered moves will be calculated, and named "maxerate" [steps/sec].
66
+The wanted temperature then will be set to t=tempmin+factor*maxerate, while being limited between tempmin and tempmax.
67
+If the target temperature is set manually or by gcode to a value less then tempmin, it will be kept without change.
68
+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.
69
+
70
+### EEPROM
71
+
72
+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.
73
+After each reboot, it will magically load them from EEPROM, independent what your Configuration.h says.
74
+
75
+### LCD Menu
76
+
77
+If your hardware supports it, you can build yourself a LCD-CardReader+Click+encoder combination. It will enable you to realtime tune temperatures,
78
+accelerations, velocities, flow rates, select and print files from the SD card, preheat, disable the steppers, and do other fancy stuff.
79
+One working hardware is documented here: http://www.thingiverse.com/thing:12663
80
+Also, with just a 20x4 or 16x2 display, useful data is shown.
81
+
82
+### SD card directories
83
+
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".
85
+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".
87
+
88
+### Autostart
89
+
90
+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.
91
+First *0 will be performed, than *1 and so on. That way, you can heat up or even print automatically without user interaction.
92
+
93
+### Endstop trigger reporting
94
+
95
+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.
96
+This is useful, because the user gets a warning message.
97
+However, also tools like QTMarlin can use this for finding acceptable combinations of velocity+acceleration.
98
+
99
+### Coding paradigm
100
+
101
+Not relevant from a user side, but Marlin was split into thematic junks, and has tried to partially enforced private variables.
102
+This is intended to make it clearer, what interacts which what, and leads to a higher level of modularization.
103
+We think that this is a useful prestep for porting this firmware to e.g. an ARM platform in the future.
104
+A lot of RAM (with enabled LCD ~2200 bytes) was saved by storing char []="some message" in Program memory.
105
+In the serial communication, a #define based level of abstraction was enforced, so that it is clear that
106
+some transfer is information (usually beginning with "echo:"), an error "error:", or just normal protocol,
107
+necessary for backwards compatibility.
108
+
109
+### Interrupt based temperature measurements
110
+
111
+An interrupt is used to manage ADC conversions, and enforce checking for critical temperatures.
112
+This leads to less blocking in the heater management routine.

+ 9
- 0
Documentation/FilamentSensor.md Datei anzeigen

@@ -0,0 +1,9 @@
1
+Filament Sensor
2
+---------------
3
+Supports the use of a real time filament diameter sensor that measures the diameter of the filament going into the extruder and then adjusts the extrusion rate to compensate for filament that does not match what is defined in the g-code.  The diameter can also be displayed on the LCD screen. This potentially eliminates the need to measure filament diameter when changing spools of filament. Gcode becomes independent of the filament diameter. Can also compensate for changing diameter.
4
+
5
+For examples of these sensors, see: http://www.thingiverse.com/thing:454584, https://www.youmagine.com/designs/filament-diameter-sensor, http://diy3dprinting.blogspot.com/2014/01/diy-filament-diameter-sensor.html. Any sensor which produces a voltage equivalent to the diameter in mm (i.e. 1v = 1mm) can be used. This provides a very simple interface and may encourage more innovation in this area.
6
+
7
+4 new Mcodes are defined to set relevant parameters: M404, M405, M406, M407 - see above.
8
+
9
+ Implements a delay buffer to handle the transit delay between where the filament is measured and when it gets to the extruder.

+ 103
- 0
Documentation/GCodes.md Datei anzeigen

@@ -0,0 +1,103 @@
1
+# Implemented G Codes
2
+
3
+## G Codes
4
+
5
+*  G0  -> G1
6
+*  G1  - Coordinated Movement X Y Z E
7
+*  G2  - CW ARC
8
+*  G3  - CCW ARC
9
+*  G4  - Dwell S<seconds> or P<milliseconds>
10
+*  G10 - retract filament according to settings of M207
11
+*  G11 - retract recover filament according to settings of M208
12
+*  G28 - Home all Axis
13
+*  G29 - Detailed Z-Probe, probes the bed at 3 points.  You must de at the home position for this to work correctly.
14
+*  G30 - Single Z Probe, probes bed at current XY location.
15
+*  G31 - Dock Z Probe sled (if enabled)
16
+*  G32 - Undock Z Probe sled (if enabled)
17
+*  G90 - Use Absolute Coordinates
18
+*  G91 - Use Relative Coordinates
19
+*  G92 - Set current position to cordinates given
20
+
21
+## M Codes
22
+*  M0   - Unconditional stop - Wait for user to press a button on the LCD (Only if ULTRA_LCD is enabled)
23
+*  M1   - Same as M0
24
+*  M17  - Enable/Power all stepper motors
25
+*  M18  - Disable all stepper motors; same as M84
26
+*  M20  - List SD card
27
+*  M21  - Init SD card
28
+*  M22  - Release SD card
29
+*  M23  - Select SD file (M23 filename.g)
30
+*  M24  - Start/resume SD print
31
+*  M25  - Pause SD print
32
+*  M26  - Set SD position in bytes (M26 S12345)
33
+*  M27  - Report SD print status
34
+*  M28  - Start SD write (M28 filename.g)
35
+*  M29  - Stop SD write
36
+*  M30  - Delete file from SD (M30 filename.g)
37
+*  M31  - Output time since last M109 or SD card start to serial
38
+*  M32  - Select file and start SD print (Can be used when printing from SD card)
39
+*  M42  - Change pin status via gcode Use M42 Px Sy to set pin x to value y, when omitting Px the onboard led will be used.
40
+*  M80  - Turn on Power Supply
41
+*  M81  - Turn off Power Supply
42
+*  M82  - Set E codes absolute (default)
43
+*  M83  - Set E codes relative while in Absolute Coordinates (G90) mode
44
+*  M84  - Disable steppers until next move, or use S<seconds> to specify an inactivity timeout, after which the steppers will be disabled.  S0 to disable the timeout.
45
+*  M85  - Set inactivity shutdown timer with parameter S<seconds>. To disable set zero (default)
46
+*  M92  - Set axis_steps_per_unit - same syntax as G92
47
+*  M104 - Set extruder target temp
48
+*  M105 - Read current temp
49
+*  M106 - Fan on
50
+*  M107 - Fan off
51
+*  M109 - Sxxx Wait for extruder current temp to reach target temp. Waits only when heating
52
+*         Rxxx Wait for extruder current temp to reach target temp. Waits when heating and cooling
53
+*  M112 - Emergency stop
54
+*  M114 - Output current position to serial port
55
+*  M115 - Capabilities string
56
+*  M117 - display message
57
+*  M119 - Output Endstop status to serial port
58
+*  M126 - Solenoid Air Valve Open (BariCUDA support by jmil)
59
+*  M127 - Solenoid Air Valve Closed (BariCUDA vent to atmospheric pressure by jmil)
60
+*  M128 - EtoP Open (BariCUDA EtoP = electricity to air pressure transducer by jmil)
61
+*  M129 - EtoP Closed (BariCUDA EtoP = electricity to air pressure transducer by jmil)
62
+*  M140 - Set bed target temp
63
+*  M190 - Sxxx Wait for bed current temp to reach target temp. Waits only when heating
64
+*         Rxxx Wait for bed current temp to reach target temp. Waits when heating and cooling
65
+*  M200 D<millimeters>- set filament diameter and set E axis units to cubic millimeters (use S0 to set back to millimeters).
66
+*  M201 - Set max acceleration in units/s^2 for print moves (M201 X1000 Y1000)
67
+*  M202 - Set max acceleration in units/s^2 for travel moves (M202 X1000 Y1000) Unused in Marlin!!
68
+*  M203 - Set maximum feedrate that your machine can sustain (M203 X200 Y200 Z300 E10000) in mm/sec
69
+*  M204 - Set default acceleration: S normal moves T filament only moves (M204 S3000 T7000) im mm/sec^2  also sets minimum segment time in ms (B20000) to prevent buffer underruns and M20 minimum feedrate
70
+*  M205 -  advanced settings:  minimum travel speed S=while printing T=travel only,  B=minimum segment time X= maximum xy jerk, Z=maximum Z jerk, E=maximum E jerk
71
+*  M206 - set additional homeing offset
72
+*  M207 - set retract length S[positive mm] F[feedrate mm/min] Z[additional zlift/hop], stays in mm regardless of M200 setting
73
+*  M208 - set recover=unretract length S[positive mm surplus to the M207 S*] F[feedrate mm/min]
74
+*  M209 - S<1=true/0=false> enable automatic retract detect if the slicer did not support G10/11: every normal extrude-only move will be classified as retract depending on the direction.
75
+*  M218 - set hotend offset (in mm): T<extruder_number> X<offset_on_X> Y<offset_on_Y>
76
+*  M220 S<factor in percent>- set speed factor override percentage
77
+*  M221 S<factor in percent>- set extrude factor override percentage
78
+*  M240 - Trigger a camera to take a photograph
79
+*  M280 - Position an RC Servo P<index> S<angle/microseconds>, ommit S to report back current angle
80
+*  M300 - Play beepsound S<frequency Hz> P<duration ms>
81
+*  M301 - Set PID parameters P I and D
82
+*  M302 - Allow cold extrudes
83
+*  M303 - PID relay autotune S<temperature> sets the target temperature. (default target temperature = 150C)
84
+*  M304 - Set bed PID parameters P I and D
85
+*  M400 - Finish all moves
86
+*  M401 - Lower z-probe if present
87
+*  M402 - Raise z-probe if present
88
+*  M404 - N<dia in mm> Enter the nominal filament width (3mm, 1.75mm ) or will display nominal filament width without parameters
89
+*  M405 - Turn on Filament Sensor extrusion control.  Optional D<delay in cm> to set delay in centimeters between sensor and extruder
90
+*  M406 - Turn off Filament Sensor extrusion control
91
+*  M407 - Displays measured filament diameter
92
+*  M500 - stores paramters in EEPROM
93
+*  M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
94
+*  M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
95
+*  M503 - print the current settings (from memory not from eeprom)
96
+*  M540 - Use S[0|1] to enable or disable the stop SD card print on endstop hit (requires ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
97
+*  M600 - Pause for filament change X[pos] Y[pos] Z[relative lift] E[initial retract] L[later retract distance for removal]
98
+*  M907 - Set digital trimpot motor current using axis codes.
99
+*  M908 - Control digital trimpot directly.
100
+*  M350 - Set microstepping mode.
101
+*  M351 - Toggle MS1 MS2 pins directly.
102
+*  M928 - Start SD logging (M928 filename.g) - ended by M29
103
+*  M999 - Restart after being stopped by error

+ 119
- 0
Documentation/Hardware.md Datei anzeigen

@@ -0,0 +1,119 @@
1
+# Supported Hardware
2
+
3
+__Please note:__ We need more feedback from users weather their board is actually working!
4
+
5
+Supported boards are listed under: [/Marlin/boards.h](/Marlin/boards.h)
6
+
7
+
8
+
9
+
10
+##### RAMPS
11
+
12
+http://reprap.org/wiki/RAMPS
13
+
14
+```
15
+#define BOARD_RAMPS_OLD         3    // MEGA/RAMPS up to 1.2
16
+#define BOARD_RAMPS_13_EFB      33   // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Bed)
17
+#define BOARD_RAMPS_13_EEB      34   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)
18
+#define BOARD_RAMPS_13_EFF      35   // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
19
+#define BOARD_RAMPS_13_EEF      36   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)
20
+```
21
+
22
+##### Generation 3 Electronics
23
+
24
+http://reprap.org/wiki/Generation_3_Electronics
25
+
26
+```
27
+#define BOARD_GEN3_PLUS         9    // Gen3+
28
+#define BOARD_GEN3_MONOLITHIC   22   // Gen3 Monolithic Electronics
29
+```
30
+
31
+##### Generation 6 Electronics
32
+
33
+http://reprap.org/wiki/Generation_6_Electronics
34
+
35
+```
36
+#define BOARD_GEN6              5    // Gen6
37
+#define BOARD_GEN6_DELUXE       51   // Gen6 deluxe
38
+```
39
+
40
+##### Generation 7 Electronics
41
+
42
+http://reprap.org/wiki/Generation_7_Electronics
43
+
44
+```
45
+#define BOARD_GEN7_CUSTOM       10   // Gen7 custom (Alfons3 Version) "https://github.com/Alfons3/Generation_7_Electronics"
46
+#define BOARD_GEN7_12           11   // Gen7 v1.1, v1.2
47
+#define BOARD_GEN7_13           12   // Gen7 v1.3
48
+#define BOARD_GEN7_14           13   // Gen7 v1.4
49
+```
50
+
51
+
52
+```
53
+#define BOARD_CHEAPTRONIC       2    // Cheaptronic v1.0
54
+#define BOARD_SETHI             20   // Sethi 3D_1
55
+```
56
+
57
+##### Sanguinololu
58
+
59
+http://reprap.org/wiki/Sanguinololu
60
+
61
+```
62
+#define BOARD_SANGUINOLOLU_11   6    // Sanguinololu < 1.2
63
+#define BOARD_SANGUINOLOLU_12   62   // Sanguinololu 1.2 and above
64
+
65
+```
66
+
67
+##### Melzi
68
+
69
+http://reprap.org/wiki/Melzi
70
+
71
+```
72
+#define BOARD_MELZI             63   // Melzi
73
+#define BOARD_MELZI_1284        66   // Melzi with ATmega1284 (MaKr3d version)
74
+```
75
+
76
+##### RUMBA
77
+
78
+http://reprap.org/wiki/RUMBA
79
+
80
+```
81
+#define BOARD_RUMBA             80   // Rumba
82
+```
83
+
84
+##### Azteeg
85
+
86
+  - http://reprap.org/wiki/Azteeg_X1
87
+  - http://reprap.org/wiki/Azteeg_X3
88
+
89
+
90
+```
91
+#define BOARD_AZTEEG_X1         65   // Azteeg X1
92
+#define BOARD_AZTEEG_X3         67   // Azteeg X3
93
+#define BOARD_AZTEEG_X3_PRO     68   // Azteeg X3 Pro
94
+```
95
+
96
+#### Others
97
+
98
+```
99
+#define BOARD_DUEMILANOVE_328P  4    // Duemilanove w/ ATMega328P pin assignment
100
+#define BOARD_STB_11            64   // STB V1.1
101
+#define BOARD_ULTIMAKER         7    // Ultimaker
102
+#define BOARD_ULTIMAKER_OLD     71   // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
103
+#define BOARD_ULTIMAIN_2        72   // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
104
+#define BOARD_3DRAG             77   // 3Drag Controller
105
+#define BOARD_TEENSYLU          8    // Teensylu
106
+#define BOARD_PRINTRBOARD       81   // Printrboard (AT90USB1286)
107
+#define BOARD_BRAINWAVE         82   // Brainwave (AT90USB646)
108
+#define BOARD_SAV_MKI           83   // SAV Mk-I (AT90USB1286)
109
+#define BOARD_TEENSY2           84   // Teensy++2.0 (AT90USB1286) - CLI compile: DEFINES=AT90USBxx_TEENSYPP_ASSIGNMENTS HARDWARE_MOTHERBOARD=84  make
110
+#define BOARD_MEGATRONICS       70   // Megatronics
111
+#define BOARD_MEGATRONICS_2     701  // Megatronics v2.0
112
+#define BOARD_MEGATRONICS_1     702  // Minitronics v1.0
113
+#define BOARD_OMCA_A            90   // Alpha OMCA board
114
+#define BOARD_OMCA              91   // Final OMCA board
115
+#define BOARD_RAMBO             301  // Rambo
116
+#define BOARD_ELEFU_3           21   // Elefu Ra Board (v3)
117
+#define BOARD_5DPRINT           88   // 5DPrint D8 Driver Board
118
+#define BOARD_LEAPFROG          999  // Leapfrog
119
+```

Marlin/documentation/LCD Menu Tree.pdf → Documentation/LCD Menu Tree.pdf Datei anzeigen


BIN
Documentation/Logo/Marlin Logo GitHub.png Datei anzeigen


Marlin/documentation/marlin logoscript.ai → Documentation/Logo/Marlin Logo.ai Datei anzeigen


Marlin/documentation/marlin logoscript.cdr → Documentation/Logo/Marlin Logo.cdr Datei anzeigen


Marlin/documentation/marlin logoscript.dxf → Documentation/Logo/Marlin Logo.dxf Datei anzeigen


Marlin/documentation/marlin logoscript.pdf → Documentation/Logo/Marlin Logo.pdf Datei anzeigen


BIN
Documentation/Logo/Marlin Logo.png Datei anzeigen


Marlin/documentation/marlin logoscript.svg → Documentation/Logo/Marlin Logo.svg Datei anzeigen


Marlin/documentation/Menu Plans.xlsx → Documentation/Menu Plans.xlsx Datei anzeigen


+ 5
- 5
Marlin/Configuration.h Datei anzeigen

@@ -148,7 +148,7 @@
148 148
 #ifdef PIDTEMP
149 149
   //#define PID_DEBUG // Sends debug data to the serial port.
150 150
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
151
-  //#define SLOW_PWM_HEATERS // PWM with very low frequency (circa 0.125Hz=8s) and miminum state time of circa 1s usefoul for heater drived by relay
151
+  //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay
152 152
   #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
153 153
                                   // is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
154 154
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
@@ -435,20 +435,20 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
435 435
 
436 436
   #ifdef AUTO_BED_LEVELING_GRID	// Check if Probe_Offset * Grid Points is greater than Probing Range
437 437
     #if X_PROBE_OFFSET_FROM_EXTRUDER < 0
438
-      #if (-(X_PROBE_OFFSET_FROM_EXTRUDER * AUTO_BED_LEVELING_GRID_POINTS) >= (RIGHT_PROBE_BED_POSITION - LEFT_PROBE_BED_POSITION))
438
+      #if (-(X_PROBE_OFFSET_FROM_EXTRUDER * (AUTO_BED_LEVELING_GRID_POINTS-1)) >= (RIGHT_PROBE_BED_POSITION - LEFT_PROBE_BED_POSITION))
439 439
 	     #error "The X axis probing range is not enough to fit all the points defined in AUTO_BED_LEVELING_GRID_POINTS"
440 440
 	  #endif
441 441
 	#else
442
-      #if ((X_PROBE_OFFSET_FROM_EXTRUDER * AUTO_BED_LEVELING_GRID_POINTS) >= (RIGHT_PROBE_BED_POSITION - LEFT_PROBE_BED_POSITION))
442
+      #if ((X_PROBE_OFFSET_FROM_EXTRUDER * (AUTO_BED_LEVELING_GRID_POINTS-1)) >= (RIGHT_PROBE_BED_POSITION - LEFT_PROBE_BED_POSITION))
443 443
 	     #error "The X axis probing range is not enough to fit all the points defined in AUTO_BED_LEVELING_GRID_POINTS"
444 444
 	  #endif
445 445
 	#endif
446 446
     #if Y_PROBE_OFFSET_FROM_EXTRUDER < 0
447
-      #if (-(Y_PROBE_OFFSET_FROM_EXTRUDER * AUTO_BED_LEVELING_GRID_POINTS) >= (BACK_PROBE_BED_POSITION - FRONT_PROBE_BED_POSITION))
447
+      #if (-(Y_PROBE_OFFSET_FROM_EXTRUDER * (AUTO_BED_LEVELING_GRID_POINTS-1)) >= (BACK_PROBE_BED_POSITION - FRONT_PROBE_BED_POSITION))
448 448
 	     #error "The Y axis probing range is not enough to fit all the points defined in AUTO_BED_LEVELING_GRID_POINTS"
449 449
 	  #endif
450 450
 	#else
451
-      #if ((Y_PROBE_OFFSET_FROM_EXTRUDER * AUTO_BED_LEVELING_GRID_POINTS) >= (BACK_PROBE_BED_POSITION - FRONT_PROBE_BED_POSITION))
451
+      #if ((Y_PROBE_OFFSET_FROM_EXTRUDER * (AUTO_BED_LEVELING_GRID_POINTS-1)) >= (BACK_PROBE_BED_POSITION - FRONT_PROBE_BED_POSITION))
452 452
 	     #error "The Y axis probing range is not enough to fit all the points defined in AUTO_BED_LEVELING_GRID_POINTS"
453 453
 	  #endif
454 454
 	#endif

+ 21
- 65
Marlin/DOGMbitmaps.h Datei anzeigen

@@ -1,71 +1,27 @@
1
-#define START_BMPWIDTH 	60	//Width in pixels
1
+#define START_BMPWIDTH 	60	//Width in pixels - http://www.digole.com/tools/PicturetoC_Hex_converter.php
2 2
 #define START_BMPHEIGHT 	64	//Height in pixels
3 3
 #define START_BMPBYTEWIDTH 	8	//Width in bytes
4 4
 const unsigned char start_bmp[574] PROGMEM = { //AVR-GCC, WinAVR
5
-0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,
6
-0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,
7
-0xFF,0xFF,0xFF,0xF9,0xFF,0xFF,0xFF,0xF0,
8
-0xFF,0xFF,0xFF,0xF0,0xFF,0xFF,0xFF,0xF0,
9
-0xFF,0xFF,0xFF,0xE0,0x7F,0xFF,0xFF,0xF0,
10
-0xFF,0xFF,0xFF,0xC0,0x3F,0xFF,0xFF,0xF0,
11
-0xFF,0xFF,0xFF,0x80,0x1F,0xFF,0xFF,0xF0,
12
-0xFF,0xFF,0xFF,0x00,0x0F,0xFF,0xFF,0xF0,
13
-0xFF,0xFF,0xFE,0x00,0x07,0xFF,0xFF,0xF0,
14
-0xFF,0xFF,0xFC,0x00,0x03,0xFF,0xFF,0xF0,
15
-0xFF,0xFF,0xF8,0x00,0x01,0xFF,0xFF,0xF0,
16
-0xFF,0xFF,0xF0,0x00,0x00,0xFF,0xFF,0xF0,
17
-0xFF,0xFF,0xE0,0x00,0x00,0x7F,0xFF,0xF0,
18
-0xFF,0xFF,0xC0,0x00,0x00,0x3F,0xFF,0xF0,
19
-0xFF,0xFF,0x80,0x00,0x00,0x3F,0xFF,0xF0,
20
-0xFF,0xFF,0x00,0x00,0x00,0x1F,0xFF,0xF0,
21
-0xFF,0xFE,0x00,0x00,0x00,0x0F,0xFF,0xF0,
22
-0xFF,0xFE,0x00,0x00,0x00,0x07,0xFF,0xF0,
23
-0xFF,0xFC,0x00,0x00,0x00,0x07,0xFF,0xF0,
24
-0xFF,0xFC,0x00,0x00,0x00,0x03,0xFF,0xF0,
25
-0xFF,0xF8,0x00,0x00,0x00,0x03,0xFF,0xF0,
26
-0xFF,0xF8,0x00,0x00,0x00,0x03,0xFF,0xF0,
27
-0xFF,0xF8,0x00,0x00,0x00,0x01,0xFF,0xF0,
28
-0xFF,0xF8,0x00,0x00,0x00,0x01,0xFF,0xF0,
29
-0xFF,0xF8,0x00,0x00,0x00,0x01,0xFF,0xF0,
30
-0xFF,0xF8,0x00,0x00,0x00,0x01,0xFF,0xF0,
31
-0xFF,0xF8,0x00,0x00,0x00,0x01,0xFF,0xF0,
32
-0xFF,0xF8,0x00,0x00,0x00,0x01,0xFF,0xF0,
33
-0xFF,0xF8,0x00,0x00,0x00,0x01,0xFF,0xF0,
34
-0xFF,0xF8,0x00,0x00,0x00,0x01,0xFF,0xF0,
35
-0xFF,0xF8,0x00,0x00,0x00,0x03,0xFF,0xF0,
36
-0xFF,0xF8,0x00,0x00,0x00,0x03,0xFF,0xF0,
37
-0xFF,0xFC,0x00,0x00,0x00,0x03,0xFF,0xF0,
38
-0xFF,0xFC,0x00,0x00,0x00,0x07,0xFF,0xF0,
39
-0xFF,0xFE,0x00,0x00,0x00,0x07,0xFF,0xF0,
40
-0xFF,0xFE,0x00,0x00,0x00,0x0F,0xFF,0xF0,
41
-0xFF,0xFF,0x00,0x00,0x00,0x1F,0xFF,0xF0,
42
-0xFF,0xFF,0x80,0x00,0x00,0x1F,0xFF,0xF0,
43
-0xFF,0xFF,0xC0,0x00,0x00,0x3F,0xFF,0xF0,
44
-0xFF,0xFF,0xE0,0x00,0x00,0x7F,0xFF,0xF0,
45
-0xFF,0xFF,0xF0,0x00,0x01,0xFF,0xFF,0xF0,
46
-0xFF,0xFF,0xFC,0x00,0x03,0xFF,0xFF,0xF0,
47
-0xFF,0xFF,0xFF,0x00,0x1F,0xFF,0xFF,0xF0,
48
-0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,
49
-0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,
50
-0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,
51
-0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,
52
-0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,
53
-0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,
54
-0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,
55
-0x83,0xFF,0xFF,0xFE,0x0F,0xFF,0xFF,0xF0,
56
-0x80,0xFF,0xFF,0xFE,0x03,0xFF,0xFF,0xF0,
57
-0x88,0x7F,0xFF,0xFE,0x23,0xFF,0xFF,0xF0,
58
-0x8C,0x70,0x38,0x0E,0x71,0x81,0xC0,0x70,
59
-0x8C,0x60,0x38,0x0E,0x63,0x80,0xC0,0x30,
60
-0x80,0xE3,0x19,0xC6,0x07,0xF8,0xC7,0x30,
61
-0x80,0xE0,0x19,0xC6,0x03,0x80,0xC7,0x10,
62
-0x8C,0x62,0x79,0xC6,0x63,0x9C,0xC7,0x30,
63
-0x8C,0x63,0xF8,0xC6,0x71,0x18,0xC6,0x30,
64
-0x8E,0x30,0x18,0x0E,0x71,0x80,0xC0,0x30,
65
-0x9E,0x38,0x39,0x1E,0x79,0xC4,0xC4,0xF0,
66
-0xFF,0xFF,0xF9,0xFF,0xFF,0xFF,0xC7,0xF0,
67
-0xFF,0xFF,0xF9,0xFF,0xFF,0xFF,0xC7,0xF0,
68
-0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0
5
+0x1f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
6
+0x30,0x00,0x00,0x00,0x00,0x00,0x3f,0xff,
7
+0x40,0x00,0x00,0x00,0x00,0x00,0x1f,0xff,
8
+0xc0,0x00,0x00,0x00,0x00,0x00,0x0f,0xff,
9
+0x80,0x83,0x00,0x00,0x01,0x80,0x07,0xff,
10
+0x83,0xef,0xc0,0x00,0x01,0x8c,0x03,0xff,
11
+0x87,0xff,0xe0,0x00,0x01,0x8c,0x01,0xff,
12
+0x8e,0x38,0x60,0x00,0x01,0x80,0x00,0xff,
13
+0x8c,0x18,0x67,0xe0,0xf9,0x8c,0x7e,0x7f,
14
+0x8c,0x18,0x6f,0xf1,0xfd,0x8c,0xfe,0x3f,
15
+0x8c,0x18,0x6e,0x31,0x8d,0x8c,0xc7,0x1f,
16
+0x8c,0x18,0x6c,0x39,0x8d,0x8c,0xc3,0x1f,
17
+0x8c,0x18,0x6c,0x19,0x81,0x8c,0xc3,0x1f,
18
+0x8c,0x18,0x6e,0x19,0x81,0x8c,0xc3,0x1f,
19
+0x8c,0x18,0x6f,0x9f,0x81,0xef,0xc3,0x1f,
20
+0x8c,0x18,0x67,0xdf,0x80,0xef,0xc3,0x1f,
21
+0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,
22
+0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x2f,
23
+0x30,0x00,0x00,0x00,0x00,0x00,0x00,0xcf,
24
+0x1f,0xff,0xff,0xff,0xff,0xff,0xff,0x8f
69 25
 };
70 26
 
71 27
 // Here comes a compile-time operation to match the extruder symbols 

+ 1
- 16
Marlin/Marlin_main.cpp Datei anzeigen

@@ -376,7 +376,6 @@ const int sensitive_pins[] = SENSITIVE_PINS; // Sensitive pin list for M42
376 376
 
377 377
 //Inactivity shutdown variables
378 378
 static unsigned long previous_millis_cmd = 0;
379
-static unsigned long previous_millis_ok = 0;
380 379
 static unsigned long max_inactive_time = 0;
381 380
 static unsigned long stepper_inactive_time = DEFAULT_STEPPER_DEACTIVE_TIME*1000l;
382 381
 
@@ -646,7 +645,6 @@ void loop()
646 645
           else
647 646
           {
648 647
             SERIAL_PROTOCOLLNPGM(MSG_OK);
649
-						previous_millis_ok = millis();
650 648
           }
651 649
         }
652 650
         else
@@ -3161,13 +3159,12 @@ Sigma_Exit:
3161 3159
           }
3162 3160
         }
3163 3161
         else if (servo_index >= 0) {
3164
-					SERIAL_PROTOCOL(MSG_OK);
3162
+          SERIAL_PROTOCOL(MSG_OK);
3165 3163
           SERIAL_PROTOCOL(" Servo ");
3166 3164
           SERIAL_PROTOCOL(servo_index);
3167 3165
           SERIAL_PROTOCOL(": ");
3168 3166
           SERIAL_PROTOCOL(servos[servo_index].read());
3169 3167
           SERIAL_PROTOCOLLN("");
3170
-					previous_millis_ok = millis();
3171 3168
         }
3172 3169
       }
3173 3170
       break;
@@ -3242,7 +3239,6 @@ Sigma_Exit:
3242 3239
         SERIAL_PROTOCOL(" d:");
3243 3240
         SERIAL_PROTOCOL(unscalePID_d(bedKd));
3244 3241
         SERIAL_PROTOCOLLN("");
3245
-				previous_millis_ok = millis();
3246 3242
       }
3247 3243
       break;
3248 3244
     #endif //PIDTEMP
@@ -3533,7 +3529,6 @@ case 404:  //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
3533 3529
           SERIAL_ECHO_START;
3534 3530
           SERIAL_ECHOLNPGM(MSG_ZPROBE_ZOFFSET " " MSG_OK);
3535 3531
           SERIAL_PROTOCOLLN("");
3536
-					previous_millis_ok = millis();
3537 3532
         }
3538 3533
         else
3539 3534
         {
@@ -3920,7 +3915,6 @@ case 404:  //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
3920 3915
   ClearToSend();
3921 3916
 }
3922 3917
 
3923
-
3924 3918
 void FlushSerialRequestResend()
3925 3919
 {
3926 3920
   //char cmdbuffer[bufindr][100]="Resend:";
@@ -3938,7 +3932,6 @@ void ClearToSend()
3938 3932
     return;
3939 3933
   #endif //SDSUPPORT
3940 3934
   SERIAL_PROTOCOLLNPGM(MSG_OK);
3941
-	previous_millis_ok = millis();
3942 3935
 }
3943 3936
 
3944 3937
 void get_coordinates()
@@ -4363,14 +4356,6 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument s
4363 4356
   if( (millis() - previous_millis_cmd) >  max_inactive_time )
4364 4357
     if(max_inactive_time)
4365 4358
       kill();
4366
-
4367
-	// If 'OK' is garbled on sending PC won't receive it.  Both machines will wait on each other forever.
4368
-	// This resends OK if nothing is heard from PC for a while to avoid this bad case.
4369
-  if( (millis() - previous_millis_ok) >  max_inactive_time/4 ) {
4370
-		SERIAL_PROTOCOL(MSG_OK);
4371
-		previous_millis_ok=millis();
4372
-  }
4373
-
4374 4359
   if(stepper_inactive_time)  {
4375 4360
     if( (millis() - previous_millis_cmd) >  stepper_inactive_time )
4376 4361
     {

+ 6
- 14
Marlin/dogm_lcd_implementation.h Datei anzeigen

@@ -121,22 +121,14 @@ static void lcd_implementation_init()
121 121
 	u8g.firstPage();
122 122
 	do {
123 123
 			// RepRap init bmp
124
-			u8g.drawBitmapP(0,0,START_BMPBYTEWIDTH,START_BMPHEIGHT,start_bmp);
124
+			u8g.drawBitmapP(7,7,START_BMPBYTEWIDTH,START_BMPHEIGHT,start_bmp);
125 125
 			// Welcome message
126
-			u8g.setFont(u8g_font_6x10_marlin);
127
-			u8g.drawStr(62,10,"MARLIN"); 
126
+			
127
+			
128
+			
128 129
 			u8g.setFont(u8g_font_5x8);
129
-			u8g.drawStr(62,19,"V1.0.0 RC2-mm");
130
-			u8g.setFont(u8g_font_6x10_marlin);
131
-			u8g.drawStr(62,28,"by ErikZalm");
132
-			u8g.drawStr(62,41,"DOGM128 LCD");
133
-			u8g.setFont(u8g_font_5x8);
134
-			u8g.drawStr(62,48,"enhancements");
135
-			u8g.setFont(u8g_font_5x8);
136
-			u8g.drawStr(62,55,"by STB, MM");
137
-			u8g.drawStr(62,61,"uses u");
138
-			u8g.drawStr90(92,57,"8");
139
-			u8g.drawStr(100,61,"glib");
130
+			u8g.drawStr(7,51,"V1.0.2 - marlin.reprap.org");
131
+			
140 132
 	   } while( u8g.nextPage() );
141 133
 }
142 134
 

+ 3
- 3
Marlin/language.h Datei anzeigen

@@ -37,13 +37,13 @@
37 37
   #define FIRMWARE_URL "http://firmware.ultimaker.com"
38 38
 #elif MB(RUMBA)
39 39
   #define MACHINE_NAME "Rumba"
40
-  #define FIRMWARE_URL "https://github.com/ErikZalm/Marlin/"
40
+  #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
41 41
 #elif MB(3DRAG)
42 42
   #define MACHINE_NAME "3Drag"
43 43
   #define FIRMWARE_URL "http://3dprint.elettronicain.it/"
44 44
 #elif MB(5DPRINT)
45 45
   #define MACHINE_NAME "Makibox"
46
-  #define FIRMWARE_URL "https://github.com/ErikZalm/Marlin/"
46
+  #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
47 47
 #elif MB(SAV_MKI)
48 48
   #define MACHINE_NAME "SAV MkI"
49 49
   #define FIRMWARE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
@@ -55,7 +55,7 @@
55 55
   #endif
56 56
 
57 57
 // Default firmware set to Mendel
58
-  #define FIRMWARE_URL "https://github.com/ErikZalm/Marlin/"
58
+  #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
59 59
 #endif
60 60
 
61 61
 

+ 39
- 402
README.md Datei anzeigen

@@ -1,423 +1,60 @@
1
-Current Status: Bug Fixing
2
-===================
1
+# Marlin 3D Printer Firmware
2
+<img align="right" src="Documentation/Logo/Marlin%20Logo%20GitHub.png" />
3 3
 
4
-What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201
4
+  * [Configuration & Compilation](/Documentation/Compilation.md)
5
+  * Supported
6
+    * [Features](/Documentation/Features.md)
7
+    * [Hardware](/Documentation/Hardware.md)
8
+    * [GCodes](/Documentation/GCodes.md)
9
+  * Notes
10
+    * [Auto Bed Leveling](/Documentation/BedLeveling.md)
11
+    * [Filament Sensor](/Documentation/FilamentSensor.md)
5 12
 
6
-IRC channel on freenode: #marlin-firmware
13
+##### [RepRap.org Wiki Page](http://reprap.org/wiki/Marlin)
7 14
 
8
-(baaaah, #marlin was taken)
15
+## Quick Information
9 16
 
10
-Developer Notes
11
-===================
17
+This is a firmware for reprap single-processor electronics setups.
18
+It also works on the Ultimaker PCB. It supports printing from SD card+Folders, and look-ahead trajectory planning.
19
+This firmware is a mashup between [Sprinter](https://github.com/kliment/Sprinter), [grbl](https://github.com/simen/grbl) and many original parts.
12 20
 
13
-- There are now 2 branches: The __development__ branch is where new features and code changes will be sorted out. This branch may have untested code in it, so please let us know if you find any bugs. When the __development__ branch has reached a state where it is stable, it will be moved to the __stable__ branch.
21
+## Current Status: Bug Fixing
14 22
 
15
-- We are doing a kind of cleanup in the list of Issues and Pull Requests, the aim is to get to a state where we can certify the code as stable. To get the code tested as widely as possible we require several volunteers with a wide variety of hardware configurations willing to test the firmware and help us to certify it as stable. If you want to help out testing go to this issue and let us know: https://github.com/MarlinFirmware/Marlin/issues/1209
23
+The Marlin development is currently revived. There's a long list of reported issues and pull requests, which we are working on currently.
24
+We are actively looking for testers. So please try the current development version and report new issues and feedback.
16 25
 
17
-- Before you submit any pull request, we ask that you _PLEASE_ test your code before submission, even if the change seems innocuous. When creating the pull request, please include the hardware you used for testing and a short synopsis of your testing procedure. Untested pull requests are less likely to be merged, as even slight changes create the risk of breaking the main branch.
18
-
19
-- If you have a fix don't open an issue telling about it, but test the code and submit a pull request. Use the __development__ branch when you submit.
20
-
21
-==========================
22
-Marlin 3D Printer Firmware
23
-==========================
24 26
 [![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224)
25 27
 [![Travis Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg)](https://travis-ci.org/MarlinFirmware/Marlin)
26 28
 
27
-Marlin has a GPL license because I believe in open development.
28
-Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent.
29
-
30
-[![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/MarlinFirmware/Marlin&title=Marlin&language=&tags=github&category=software)
31
-
32
-Quick Information
33
-===================
34
-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.
35
-
36
-Derived from Sprinter and Grbl by Erik van der Zalm.
37
-Sprinters lead developers are Kliment and caru.
38
-Grbls lead developer is Simen Svale Skogsrud. Sonney Jeon (Chamnit) improved some parts of grbl
39
-A fork by bkubicek for the Ultimaker was merged, and further development was aided by him.
40
-Some features have been added by:
41
-Lampmaker, Bradley Feldman, and others...
42
-
43
-
44
-Features:
45
-=========
46
-
47
-*   Interrupt based movement with real linear acceleration
48
-*   High steprate
49
-*   Look ahead (Keep the speed high when possible. High cornering speed)
50
-*   Interrupt based temperature protection
51
-*   preliminary support for Matthew Roberts advance algorithm
52
-    For more info see: http://reprap.org/pipermail/reprap-dev/2011-May/003323.html
53
-*   Full endstop support
54
-*   SD Card support
55
-*   SD Card folders (works in pronterface)
56
-*   SD Card autostart support
57
-*   LCD support (ideally 20x4)
58
-*   LCD menu system for autonomous SD card printing, controlled by an click-encoder.
59
-*   EEPROM storage of e.g. max-velocity, max-acceleration, and similar variables
60
-*   many small but handy things originating from bkubicek's fork.
61
-*   Arc support
62
-*   Temperature oversampling
63
-*   Dynamic Temperature setpointing aka "AutoTemp"
64
-*   Support for QTMarlin, a very beta GUI for PID-tuning and velocity-acceleration testing. https://github.com/bkubicek/QTMarlin
65
-*   Endstop trigger reporting to the host software.
66
-*   Updated sdcardlib
67
-*   Heater power reporting. Useful for PID monitoring.
68
-*   PID tuning
69
-*   CoreXY kinematics (www.corexy.com/theory.html)
70
-*   Delta kinematics
71
-*   SCARA kinematics
72
-*   Dual X-carriage support for multiple extruder systems
73
-*   Configurable serial port to support connection of wireless adaptors.
74
-*   Automatic operation of extruder/cold-end cooling fans based on nozzle temperature
75
-*   RC Servo Support, specify angle or duration for continuous rotation servos.
76
-*   Bed Auto Leveling.
77
-*   Support for a filament diameter sensor, which adjusts extrusion volume
78
-
79
-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.
80
-
81
-
82
-Differences and additions to the already good Sprinter firmware:
83
-================================================================
84
-
85
-Look-ahead:
86
------------
87
-
88
-Marlin has look-ahead. While sprinter has to break and re-accelerate at each corner,
89
-lookahead will only decelerate and accelerate to a velocity,
90
-so that the change in vectorial velocity magnitude is less than the xy_jerk_velocity.
91
-This is only possible, if some future moves are already processed, hence the name.
92
-It leads to less over-deposition at corners, especially at flat angles.
93
-
94
-Arc support:
95
-------------
96
-
97
-Slic3r can find curves that, although broken into segments, were ment to describe an arc.
98
-Marlin is able to print those arcs. The advantage is the firmware can choose the resolution,
99
-and can perform the arc with nearly constant velocity, resulting in a nice finish.
100
-Also, less serial communication is needed.
101
-
102
-Temperature Oversampling:
103
--------------------------
104
-
105
-To reduce noise and make the PID-differential term more useful, 16 ADC conversion results are averaged.
106
-
107
-AutoTemp:
108
----------
109
-
110
-If your gcode contains a wide spread of extruder velocities, or you realtime change the building speed, the temperature should be changed accordingly.
111
-Usually, higher speed requires higher temperature.
112
-This can now be performed by the AutoTemp function
113
-By calling M109 S<mintemp> B<maxtemp> F<factor> you enter the autotemp mode.
114
-
115
-You can leave it by calling M109 without any F.
116
-If active, the maximal extruder stepper rate of all buffered moves will be calculated, and named "maxerate" [steps/sec].
117
-The wanted temperature then will be set to t=tempmin+factor*maxerate, while being limited between tempmin and tempmax.
118
-If the target temperature is set manually or by gcode to a value less then tempmin, it will be kept without change.
119
-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.
120
-
121
-EEPROM:
122
--------
123
-
124
-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.
125
-After each reboot, it will magically load them from EEPROM, independent what your Configuration.h says.
126
-
127
-LCD Menu:
128
----------
129
-
130
-If your hardware supports it, you can build yourself a LCD-CardReader+Click+encoder combination. It will enable you to realtime tune temperatures,
131
-accelerations, velocities, flow rates, select and print files from the SD card, preheat, disable the steppers, and do other fancy stuff.
132
-One working hardware is documented here: http://www.thingiverse.com/thing:12663
133
-Also, with just a 20x4 or 16x2 display, useful data is shown.
134
-
135
-SD card folders:
136
-----------------
137
-
138
-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".
139
-You can write to file in a subfolder by specifying a similar text using small letters in the path.
140
-Also, backup copies of various operating systems are hidden, as well as files not ending with ".g".
141
-
142
-SD card folders:
143
-----------------
144
-
145
-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.
146
-First *0 will be performed, than *1 and so on. That way, you can heat up or even print automatically without user interaction.
147
-
148
-Endstop trigger reporting:
149
---------------------------
150
-
151
-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.
152
-This is useful, because the user gets a warning message.
153
-However, also tools like QTMarlin can use this for finding acceptable combinations of velocity+acceleration.
154
-
155
-Coding paradigm:
156
-----------------
157
-
158
-Not relevant from a user side, but Marlin was split into thematic junks, and has tried to partially enforced private variables.
159
-This is intended to make it clearer, what interacts which what, and leads to a higher level of modularization.
160
-We think that this is a useful prestep for porting this firmware to e.g. an ARM platform in the future.
161
-A lot of RAM (with enabled LCD ~2200 bytes) was saved by storing char []="some message" in Program memory.
162
-In the serial communication, a #define based level of abstraction was enforced, so that it is clear that
163
-some transfer is information (usually beginning with "echo:"), an error "error:", or just normal protocol,
164
-necessary for backwards compatibility.
165
-
166
-Interrupt based temperature measurements:
167
------------------------------------------
168
-
169
-An interrupt is used to manage ADC conversions, and enforce checking for critical temperatures.
170
-This leads to less blocking in the heater management routine.
171
-
172
-Implemented G Codes:
173
-====================
174
-
175
-*  G0  -> G1
176
-*  G1  - Coordinated Movement X Y Z E
177
-*  G2  - CW ARC
178
-*  G3  - CCW ARC
179
-*  G4  - Dwell S<seconds> or P<milliseconds>
180
-*  G10 - retract filament according to settings of M207
181
-*  G11 - retract recover filament according to settings of M208
182
-*  G28 - Home all Axis
183
-*  G29 - Detailed Z-Probe, probes the bed at 3 points.  You must de at the home position for this to work correctly.
184
-*  G30 - Single Z Probe, probes bed at current XY location.
185
-*  G31 - Dock Z Probe sled (if enabled)
186
-*  G32 - Undock Z Probe sled (if enabled)
187
-*  G90 - Use Absolute Coordinates
188
-*  G91 - Use Relative Coordinates
189
-*  G92 - Set current position to cordinates given
29
+What bugs are we working on: [Bug Fixing Round 2](https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%202)
190 30
 
191
-M Codes
192
-*  M0   - Unconditional stop - Wait for user to press a button on the LCD (Only if ULTRA_LCD is enabled)
193
-*  M1   - Same as M0
194
-*  M17  - Enable/Power all stepper motors
195
-*  M18  - Disable all stepper motors; same as M84
196
-*  M20  - List SD card
197
-*  M21  - Init SD card
198
-*  M22  - Release SD card
199
-*  M23  - Select SD file (M23 filename.g)
200
-*  M24  - Start/resume SD print
201
-*  M25  - Pause SD print
202
-*  M26  - Set SD position in bytes (M26 S12345)
203
-*  M27  - Report SD print status
204
-*  M28  - Start SD write (M28 filename.g)
205
-*  M29  - Stop SD write
206
-*  M30  - Delete file from SD (M30 filename.g)
207
-*  M31  - Output time since last M109 or SD card start to serial
208
-*  M32  - Select file and start SD print (Can be used when printing from SD card)
209
-*  M42  - Change pin status via gcode Use M42 Px Sy to set pin x to value y, when omitting Px the onboard led will be used.
210
-*  M80  - Turn on Power Supply
211
-*  M81  - Turn off Power Supply
212
-*  M82  - Set E codes absolute (default)
213
-*  M83  - Set E codes relative while in Absolute Coordinates (G90) mode
214
-*  M84  - Disable steppers until next move, or use S<seconds> to specify an inactivity timeout, after which the steppers will be disabled.  S0 to disable the timeout.
215
-*  M85  - Set inactivity shutdown timer with parameter S<seconds>. To disable set zero (default)
216
-*  M92  - Set axis_steps_per_unit - same syntax as G92
217
-*  M104 - Set extruder target temp
218
-*  M105 - Read current temp
219
-*  M106 - Fan on
220
-*  M107 - Fan off
221
-*  M109 - Sxxx Wait for extruder current temp to reach target temp. Waits only when heating
222
-*         Rxxx Wait for extruder current temp to reach target temp. Waits when heating and cooling
223
-*  M112 - Emergency stop
224
-*  M114 - Output current position to serial port
225
-*  M115 - Capabilities string
226
-*  M117 - display message
227
-*  M119 - Output Endstop status to serial port
228
-*  M126 - Solenoid Air Valve Open (BariCUDA support by jmil)
229
-*  M127 - Solenoid Air Valve Closed (BariCUDA vent to atmospheric pressure by jmil)
230
-*  M128 - EtoP Open (BariCUDA EtoP = electricity to air pressure transducer by jmil)
231
-*  M129 - EtoP Closed (BariCUDA EtoP = electricity to air pressure transducer by jmil)
232
-*  M140 - Set bed target temp
233
-*  M190 - Sxxx Wait for bed current temp to reach target temp. Waits only when heating
234
-*         Rxxx Wait for bed current temp to reach target temp. Waits when heating and cooling
235
-*  M200 D<millimeters>- set filament diameter and set E axis units to cubic millimeters (use S0 to set back to millimeters).
236
-*  M201 - Set max acceleration in units/s^2 for print moves (M201 X1000 Y1000)
237
-*  M202 - Set max acceleration in units/s^2 for travel moves (M202 X1000 Y1000) Unused in Marlin!!
238
-*  M203 - Set maximum feedrate that your machine can sustain (M203 X200 Y200 Z300 E10000) in mm/sec
239
-*  M204 - Set default acceleration: S normal moves T filament only moves (M204 S3000 T7000) im mm/sec^2  also sets minimum segment time in ms (B20000) to prevent buffer underruns and M20 minimum feedrate
240
-*  M205 -  advanced settings:  minimum travel speed S=while printing T=travel only,  B=minimum segment time X= maximum xy jerk, Z=maximum Z jerk, E=maximum E jerk
241
-*  M206 - set additional homeing offset
242
-*  M207 - set retract length S[positive mm] F[feedrate mm/min] Z[additional zlift/hop], stays in mm regardless of M200 setting
243
-*  M208 - set recover=unretract length S[positive mm surplus to the M207 S*] F[feedrate mm/min]
244
-*  M209 - S<1=true/0=false> enable automatic retract detect if the slicer did not support G10/11: every normal extrude-only move will be classified as retract depending on the direction.
245
-*  M218 - set hotend offset (in mm): T<extruder_number> X<offset_on_X> Y<offset_on_Y>
246
-*  M220 S<factor in percent>- set speed factor override percentage
247
-*  M221 S<factor in percent>- set extrude factor override percentage
248
-*  M240 - Trigger a camera to take a photograph
249
-*  M280 - Position an RC Servo P<index> S<angle/microseconds>, ommit S to report back current angle
250
-*  M300 - Play beepsound S<frequency Hz> P<duration ms>
251
-*  M301 - Set PID parameters P I and D
252
-*  M302 - Allow cold extrudes
253
-*  M303 - PID relay autotune S<temperature> sets the target temperature. (default target temperature = 150C)
254
-*  M304 - Set bed PID parameters P I and D
255
-*  M400 - Finish all moves
256
-*  M401 - Lower z-probe if present
257
-*  M402 - Raise z-probe if present
258
-*  M404 - N<dia in mm> Enter the nominal filament width (3mm, 1.75mm ) or will display nominal filament width without parameters
259
-*  M405 - Turn on Filament Sensor extrusion control.  Optional D<delay in cm> to set delay in centimeters between sensor and extruder
260
-*  M406 - Turn off Filament Sensor extrusion control
261
-*  M407 - Displays measured filament diameter
262
-*  M500 - stores paramters in EEPROM
263
-*  M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
264
-*  M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
265
-*  M503 - print the current settings (from memory not from eeprom)
266
-*  M540 - Use S[0|1] to enable or disable the stop SD card print on endstop hit (requires ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
267
-*  M600 - Pause for filament change X[pos] Y[pos] Z[relative lift] E[initial retract] L[later retract distance for removal]
268
-*  M907 - Set digital trimpot motor current using axis codes.
269
-*  M908 - Control digital trimpot directly.
270
-*  M350 - Set microstepping mode.
271
-*  M351 - Toggle MS1 MS2 pins directly.
272
-*  M928 - Start SD logging (M928 filename.g) - ended by M29
273
-*  M999 - Restart after being stopped by error
31
+## Contact
274 32
 
33
+__IRC:__ #marlin-firmware @freenode
275 34
 
276
-Configuring and compilation:
277
-============================
35
+__Google Hangouts:__ https://plus.google.com/hangouts/_/event/cps5d0ru0iruhl6ebqbk9dpqpa4?authuser=0&hl=da
278 36
 
279
-Install the latest non-beta arduino software IDE/toolset
280
-   http://www.arduino.cc/en/Main/Software
37
+## Credits
281 38
 
282
-Download the Marlin firmware
283
-   https://github.com/MarlinFirmware/Marlin/tree/development
284
-   
285
-   For the latest development, or 
286
-   
287
-   
288
-   
289
-   For the latest stable release
290
-   
291
-   In both cases use the "Download Zip" button on the right.
39
+The current Marlin dev team consists of:
292 40
 
293
-For some spec. boards a spec. dir in the ArduinoAddons directory in the Marlin dir needs to be copied to the arduino environment. <arduino home>\hardware\
41
+ - Erik van der Zalm ([@ErikZalm](https://github.com/ErikZalm))
42
+ - [@daid](https://github.com/daid)
43
+ - Bo Herrmannsen ([@boelle](https://github.com/boelle))
294 44
 
295
-Start the arduino IDE.
296
-Select Tools -> Board -> Arduino Mega 2560    or your microcontroller
297
-Select the correct serial port in Tools ->Serial Port
298
-Open Marlin.pde or .ino
299
-
300
-Click the Verify/Compile button
301
-
302
-Click the Upload button
303
-If all goes well the firmware is uploading
304
-
305
-That's ok.  Enjoy Silky Smooth Printing.
306
-
307
-===============================================
308
-Instructions for configuring Bed Auto Leveling
309
-===============================================
310
-There are two options for this feature. You may choose to use a servo mounted on the X carriage or you may use a sled that mounts on the X axis and can be docked when not in use.
311
-See the section for each option below for specifics about installation and configuration. Also included are instructions that apply to both options.
312
-
313
-Instructions for Both Options
314
------------------------------
315
-
316
-Uncomment the "ENABLE_AUTO_BED_LEVELING" define (commented by default)
317
-
318
-The following options define the probing positions. These are good starting values.
319
-I recommend to keep a better clearance from borders in the first run and then make the probes as close as possible to borders:
320
-
321
-* \#define LEFT_PROBE_BED_POSITION 30
322
-* \#define RIGHT_PROBE_BED_POSITION 140
323
-* \#define BACK_PROBE_BED_POSITION 140
324
-* \#define FRONT_PROBE_BED_POSITION 30
325
-
326
-A few more options:
327
-
328
-* \#define XY_TRAVEL_SPEED 6000
329
-
330
-X and Y axis travel speed between probes, in mm/min.
331
-Bear in mind that really fast moves may render step skipping. 6000 mm/min (100mm/s) is a good value.
332
-
333
-* \#define Z_RAISE_BEFORE_PROBING 10
334
-* \#define Z_RAISE_BETWEEN_PROBINGS 10
335
-
336
-The Z axis is lifted when traveling to the first probe point by Z_RAISE_BEFORE_PROBING value
337
-and then lifted when traveling from first to second and second to third point by Z_RAISE_BETWEEN_PROBINGS.
338
-All values are in mm as usual.
339
-
340
-Servo Option Notes
341
-------------------
342
-You will probably need a swivel Z-MIN endstop in the extruder. A rc servo do a great job.
343
-Check the system working here: http://www.youtube.com/watch?v=3IKMeOYz-1Q (Enable English subtitles)
344
-Teasing ;-) video: http://www.youtube.com/watch?v=x8eqSQNAyro
345
-
346
-In order to get the servo working, you need to enable:
347
-
348
-* \#define NUM_SERVOS 1 // Servo index starts with 0 for M280 command
349
-
350
-* \#define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1
351
-
352
-* \#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 165,60} // X,Y,Z Axis Extend and Retract angles
353
-
354
-The first define tells firmware how many servos you have.
355
-The second tells what axis this servo will be attached to. In the example above, we have a servo in Z axis.
356
-The third one tells the angle in 2 situations: Probing (165º) and resting (60º). Check this with command M280 P0 S{angle} (example: M280 P0 S60 moves the servo to 60º)
357
-
358
-Next you need to define the Z endstop (probe) offset from hotend.
359
-My preferred method:
360
-
361
-* a) Make a small mark in the bed with a marker/felt-tip pen.
362
-* b) Place the hotend tip as *exactly* as possible on the mark, touching the bed. Raise the hotend 0.1mm (a regular paper thickness) and zero all axis (G92 X0 Y0 Z0);
363
-* d) Raise the hotend 10mm (or more) for probe clearance, lower the Z probe (Z-Endstop) with M401 and place it just on that mark by moving X, Y and Z;
364
-* e) Lower the Z in 0.1mm steps, with the probe always touching the mark (it may be necessary to adjust X and Y as well) until you hear the "click" meaning the mechanical endstop was trigged. You can confirm with M119;
365
-* f) Now you have the probe in the same place as your hotend tip was before. Perform a M114 and write down the values, for example: X:24.3 Y:-31.4 Z:5.1;
366
-* g) You can raise the z probe with M402 command;
367
-* h) Fill the defines bellow multiplying the values by "-1" (just change the signal)
368
-
369
-
370
-* \#define X_PROBE_OFFSET_FROM_EXTRUDER -24.3
371
-* \#define Y_PROBE_OFFSET_FROM_EXTRUDER 31.4
372
-* \#define Z_PROBE_OFFSET_FROM_EXTRUDER -5.1
373
-
374
-
375
-Sled Option Notes
376
------------------
377
-The sled option uses an electromagnet to attach and detach to/from the X carriage. See http://www.thingiverse.com/thing:396692 for more details on how to print and install this feature. It uses the same connections as the servo option.
378
-
379
-To use the sled option, you must define two additional things in Configuration.h:
380
-
381
-* \#define Z_PROBE_SLED
382
-* \#define SLED_DOCKING_OFFSET 5
383
-
384
-Uncomment the Z_PROBE_SLED to define to enable the sled (commented out by default).
385
-
386
-Uncomment the SLED_DOCKING_OFFSET to set the extra distance the X axis must travel to dock the sled. This value can be found by moving the X axis to its maximum position then measure the distance to the right X end and subtract the width of the sled (23mm if you printed the sled from Thingiverse).
387
-
388
-Next you need to define the Z endstop (probe) offset from hotend.
389
-My preferred method:
390
-
391
-* a) Home the X and Y axes.
392
-* b) Move the X axis to about the center of the print bed. Make a mark on the print bed.
393
-* c) Move the Y axis to the maximum position. Make another mark.
394
-* d) Home the X axis and use a straight edge to make a line between the two points.
395
-* e) Repeat (b)-(d) reversing the X and Y. When you are done you will have two lines on the print bed. We will use these to measure the offset for the Z probe endstop.
396
-* f) Move the nozzle so that it is positioned on the center point of the two lines. You can use fine movement of 0.1mm to get it as close as possible. Note the position of X and Y.
397
-* g) Zero the Z axis with the G92 Z0 command.
398
-* h) Raise the Z axis about 20mmm.
399
-* i) Use the G32 command to retrieve the sled.
400
-* j) Now more the X and Y axis to the position recorded in (f).
401
-* k) Lower the Z axis in 0.1mm steps until you hear the "click" meaning the mechanical endstop was trigged. You can confirm with the M119 command. Note the position of the Z axis.
402
-* l) Make a mark on the print bed where the endstop lever has touched the print bed. Raise the Z-axis about 30mm to give yourself some room.
403
-* m) Now measure the distance from the center point to the endstop impact site along the X and Y axis using the lines drawn previously.
404
-* n) Fill in the values below. If the endstop mark is in front of the line running left-to-right, use positive values. If it is behind, use negative values. For the Z axis use the value from (k) and subtract 0.1mm.
405
-
406
-For example, suppose you measured the endstop position and it was 20mm to the right of the line running front-to-back, 10mm toward the front of the line running left-to-right, and the value from (k) was 2.85. The values for the defines would be:
407
-
408
-* \#define X_PROBE_OFFSET_FROM_EXTRUDER 20
409
-* \#define Y_PROBE_OFFSET_FROM_EXTRUDER 10
410
-* \#define Z_PROBE_OFFSET_FROM_EXTRUDER 2.75
411
-
412
-That's it.. enjoy never having to calibrate your Z endstop neither leveling your bed by hand anymore ;-)
413
-
414
-Filament Sensor
415
----------------
416
-Supports the use of a real time filament diameter sensor that measures the diameter of the filament going into the extruder and then adjusts the extrusion rate to compensate for filament that does not match what is defined in the g-code.  The diameter can also be displayed on the LCD screen. This potentially eliminates the need to measure filament diameter when changing spools of filament. Gcode becomes independent of the filament diameter. Can also compensate for changing diameter.
45
+Sprinters lead developers are Kliment and caru.
46
+Grbls lead developer is Simen Svale Skogsrud.
47
+Sonney Jeon (Chamnit) improved some parts of grbl
48
+A fork by bkubicek for the Ultimaker was merged.
417 49
 
418
-For examples of these sensors, see: http://www.thingiverse.com/thing:454584, https://www.youmagine.com/designs/filament-diameter-sensor, http://diy3dprinting.blogspot.com/2014/01/diy-filament-diameter-sensor.html. Any sensor which produces a voltage equivalent to the diameter in mm (i.e. 1v = 1mm) can be used. This provides a very simple interface and may encourage more innovation in this area.
50
+More features have been added by:
51
+  - Lampmaker,
52
+  - Bradley Feldman,
53
+  - and others...
419 54
 
420
-4 new Mcodes are defined to set relevant parameters: M404, M405, M406, M407 - see above.
55
+## Licence
421 56
 
422
- Implements a delay buffer to handle the transit delay between where the filament is measured and when it gets to the extruder.
57
+Marlin is published unde the [GPL license](/Documentation/COPYING.md) because I believe in open development.
58
+Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent.
423 59
 
60
+[![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/MarlinFirmware/Marlin&title=Marlin&language=&tags=github&category=software)

Laden…
Abbrechen
Speichern