From fdf9dbb6fe4be03ad9835dfdac72ee047d5997b4 Mon Sep 17 00:00:00 2001 From: Bo Herrmannsen Date: Wed, 7 Jan 2015 21:05:28 +0100 Subject: [PATCH 01/20] added link to google hangout --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4fdc50c19..97d016184 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,12 @@ IRC channel on freenode: #marlin-firmware (baaaah, #marlin was taken) +If a google hangout is needed then use this link: + +https://plus.google.com/hangouts/_/event/cps5d0ru0iruhl6ebqbk9dpqpa4?authuser=0&hl=da + +It's valid for the next 10 years, must remember to renew then :-P + Developer Notes =================== From 489b4fd3a5cf6bb813f979314e805f2d00f55546 Mon Sep 17 00:00:00 2001 From: andrewsil1 Date: Wed, 7 Jan 2015 12:41:09 -0800 Subject: [PATCH 02/20] Fix grammar/typos in new Configuration.h option (For the SLOW_PWM_HEATERS option) --- Marlin/Configuration.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 6a8fd3678..aacd69295 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -148,7 +148,7 @@ #ifdef PIDTEMP //#define PID_DEBUG // Sends debug data to the serial port. //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX - //#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 + //#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 #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature // is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max. #define PID_INTEGRAL_DRIVE_MAX PID_MAX //limit for the integral term From a06700a14b1e49c19206d67c9b2bbb7ac237e390 Mon Sep 17 00:00:00 2001 From: Erik van der Zalm Date: Wed, 7 Jan 2015 23:40:17 +0100 Subject: [PATCH 03/20] Revert "issue 968 for dev branch" --- Marlin/Marlin_main.cpp | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index b8ab94fa8..e3e5ef358 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -376,7 +376,6 @@ const int sensitive_pins[] = SENSITIVE_PINS; // Sensitive pin list for M42 //Inactivity shutdown variables static unsigned long previous_millis_cmd = 0; -static unsigned long previous_millis_ok = 0; static unsigned long max_inactive_time = 0; static unsigned long stepper_inactive_time = DEFAULT_STEPPER_DEACTIVE_TIME*1000l; @@ -646,7 +645,6 @@ void loop() else { SERIAL_PROTOCOLLNPGM(MSG_OK); - previous_millis_ok = millis(); } } else @@ -3157,13 +3155,12 @@ Sigma_Exit: } } else if (servo_index >= 0) { - SERIAL_PROTOCOL(MSG_OK); + SERIAL_PROTOCOL(MSG_OK); SERIAL_PROTOCOL(" Servo "); SERIAL_PROTOCOL(servo_index); SERIAL_PROTOCOL(": "); SERIAL_PROTOCOL(servos[servo_index].read()); SERIAL_PROTOCOLLN(""); - previous_millis_ok = millis(); } } break; @@ -3238,7 +3235,6 @@ Sigma_Exit: SERIAL_PROTOCOL(" d:"); SERIAL_PROTOCOL(unscalePID_d(bedKd)); SERIAL_PROTOCOLLN(""); - previous_millis_ok = millis(); } break; #endif //PIDTEMP @@ -3529,7 +3525,6 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp SERIAL_ECHO_START; SERIAL_ECHOLNPGM(MSG_ZPROBE_ZOFFSET " " MSG_OK); SERIAL_PROTOCOLLN(""); - previous_millis_ok = millis(); } else { @@ -3916,7 +3911,6 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp ClearToSend(); } - void FlushSerialRequestResend() { //char cmdbuffer[bufindr][100]="Resend:"; @@ -3934,7 +3928,6 @@ void ClearToSend() return; #endif //SDSUPPORT SERIAL_PROTOCOLLNPGM(MSG_OK); - previous_millis_ok = millis(); } void get_coordinates() @@ -4359,14 +4352,6 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument s if( (millis() - previous_millis_cmd) > max_inactive_time ) if(max_inactive_time) kill(); - - // If 'OK' is garbled on sending PC won't receive it. Both machines will wait on each other forever. - // This resends OK if nothing is heard from PC for a while to avoid this bad case. - if( (millis() - previous_millis_ok) > max_inactive_time/4 ) { - SERIAL_PROTOCOL(MSG_OK); - previous_millis_ok=millis(); - } - if(stepper_inactive_time) { if( (millis() - previous_millis_cmd) > stepper_inactive_time ) { From 04eafe3d04fdad80383d654617049fe2a809b2a9 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 18:08:25 +0100 Subject: [PATCH 04/20] splitted huge README.md in several sections and moved them to the Documentation directory --- Documentation/BedLeveling.md | 105 ++++++++ Documentation/Compilation.md | 29 +++ Documentation/Contributing.md | 10 + Documentation/Features.md | 128 ++++++++++ Documentation/FilamentSensor.md | 9 + Documentation/GCodes.md | 0 README.md | 431 ++------------------------------ 7 files changed, 302 insertions(+), 410 deletions(-) create mode 100644 Documentation/BedLeveling.md create mode 100644 Documentation/Compilation.md create mode 100644 Documentation/Contributing.md create mode 100644 Documentation/Features.md create mode 100644 Documentation/FilamentSensor.md create mode 100644 Documentation/GCodes.md diff --git a/Documentation/BedLeveling.md b/Documentation/BedLeveling.md new file mode 100644 index 000000000..62566ac7b --- /dev/null +++ b/Documentation/BedLeveling.md @@ -0,0 +1,105 @@ +=============================================== +Instructions for configuring Bed Auto Leveling +=============================================== +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. +See the section for each option below for specifics about installation and configuration. Also included are instructions that apply to both options. + +Instructions for Both Options +----------------------------- + +Uncomment the "ENABLE_AUTO_BED_LEVELING" define (commented by default) + +The following options define the probing positions. These are good starting values. +I recommend to keep a better clearance from borders in the first run and then make the probes as close as possible to borders: + +* \#define LEFT_PROBE_BED_POSITION 30 +* \#define RIGHT_PROBE_BED_POSITION 140 +* \#define BACK_PROBE_BED_POSITION 140 +* \#define FRONT_PROBE_BED_POSITION 30 + +A few more options: + +* \#define XY_TRAVEL_SPEED 6000 + +X and Y axis travel speed between probes, in mm/min. +Bear in mind that really fast moves may render step skipping. 6000 mm/min (100mm/s) is a good value. + +* \#define Z_RAISE_BEFORE_PROBING 10 +* \#define Z_RAISE_BETWEEN_PROBINGS 10 + +The Z axis is lifted when traveling to the first probe point by Z_RAISE_BEFORE_PROBING value +and then lifted when traveling from first to second and second to third point by Z_RAISE_BETWEEN_PROBINGS. +All values are in mm as usual. + +Servo Option Notes +------------------ +You will probably need a swivel Z-MIN endstop in the extruder. A rc servo do a great job. +Check the system working here: http://www.youtube.com/watch?v=3IKMeOYz-1Q (Enable English subtitles) +Teasing ;-) video: http://www.youtube.com/watch?v=x8eqSQNAyro + +In order to get the servo working, you need to enable: + +* \#define NUM_SERVOS 1 // Servo index starts with 0 for M280 command + +* \#define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1 + +* \#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 165,60} // X,Y,Z Axis Extend and Retract angles + +The first define tells firmware how many servos you have. +The second tells what axis this servo will be attached to. In the example above, we have a servo in Z axis. +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º) + +Next you need to define the Z endstop (probe) offset from hotend. +My preferred method: + +* a) Make a small mark in the bed with a marker/felt-tip pen. +* 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); +* 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; +* 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; +* 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; +* g) You can raise the z probe with M402 command; +* h) Fill the defines bellow multiplying the values by "-1" (just change the signal) + + +* \#define X_PROBE_OFFSET_FROM_EXTRUDER -24.3 +* \#define Y_PROBE_OFFSET_FROM_EXTRUDER 31.4 +* \#define Z_PROBE_OFFSET_FROM_EXTRUDER -5.1 + +Sled Option Notes +----------------- +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. + +To use the sled option, you must define two additional things in Configuration.h: + +* \#define Z_PROBE_SLED +* \#define SLED_DOCKING_OFFSET 5 + +Uncomment the Z_PROBE_SLED to define to enable the sled (commented out by default). + +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). + +Next you need to define the Z endstop (probe) offset from hotend. +My preferred method: + +* a) Home the X and Y axes. +* b) Move the X axis to about the center of the print bed. Make a mark on the print bed. +* c) Move the Y axis to the maximum position. Make another mark. +* d) Home the X axis and use a straight edge to make a line between the two points. +* 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. +* 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. +* g) Zero the Z axis with the G92 Z0 command. +* h) Raise the Z axis about 20mmm. +* i) Use the G32 command to retrieve the sled. +* j) Now more the X and Y axis to the position recorded in (f). +* 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. +* 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. +* 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. +* 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. + +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: + +* \#define X_PROBE_OFFSET_FROM_EXTRUDER 20 +* \#define Y_PROBE_OFFSET_FROM_EXTRUDER 10 +* \#define Z_PROBE_OFFSET_FROM_EXTRUDER 2.75 + +That's it.. enjoy never having to calibrate your Z endstop neither leveling your bed by hand anymore ;-) diff --git a/Documentation/Compilation.md b/Documentation/Compilation.md new file mode 100644 index 000000000..f36c7d88f --- /dev/null +++ b/Documentation/Compilation.md @@ -0,0 +1,29 @@ +Configuring and compilation: + +Install the latest non-beta arduino software IDE/toolset + http://www.arduino.cc/en/Main/Software + +Download the Marlin firmware + https://github.com/MarlinFirmware/Marlin/tree/development + + For the latest development, or + + + + For the latest stable release + + In both cases use the "Download Zip" button on the right. + +For some spec. boards a spec. dir in the ArduinoAddons directory in the Marlin dir needs to be copied to the arduino environment. \hardware\ + +Start the arduino IDE. +Select Tools -> Board -> Arduino Mega 2560 or your microcontroller +Select the correct serial port in Tools ->Serial Port +Open Marlin.pde or .ino + +Click the Verify/Compile button + +Click the Upload button +If all goes well the firmware is uploading + +That's ok. Enjoy Silky Smooth Printing. \ No newline at end of file diff --git a/Documentation/Contributing.md b/Documentation/Contributing.md new file mode 100644 index 000000000..2caa96442 --- /dev/null +++ b/Documentation/Contributing.md @@ -0,0 +1,10 @@ +Developer Notes +=================== + +- 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. + +- 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 + +- 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. + +- 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. \ No newline at end of file diff --git a/Documentation/Features.md b/Documentation/Features.md new file mode 100644 index 000000000..304c638f9 --- /dev/null +++ b/Documentation/Features.md @@ -0,0 +1,128 @@ + +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) +* Delta kinematics +* SCARA kinematics +* Dual X-carriage support for multiple extruder systems +* 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. +* Bed Auto Leveling. +* Support for a filament diameter sensor, which adjusts extrusion volume + +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 B F 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. diff --git a/Documentation/FilamentSensor.md b/Documentation/FilamentSensor.md new file mode 100644 index 000000000..46e4251c1 --- /dev/null +++ b/Documentation/FilamentSensor.md @@ -0,0 +1,9 @@ +Filament Sensor +--------------- +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. + +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. + +4 new Mcodes are defined to set relevant parameters: M404, M405, M406, M407 - see above. + + Implements a delay buffer to handle the transit delay between where the filament is measured and when it gets to the extruder. \ No newline at end of file diff --git a/Documentation/GCodes.md b/Documentation/GCodes.md new file mode 100644 index 000000000..e69de29bb diff --git a/README.md b/README.md index 97d016184..07ec0de3e 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,16 @@ -Current Status: Bug Fixing -=================== +# Marlin 3D Printer Firmware -What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201 + * [Configuration & Compilation](/MarlinFirmware/Marlin/blob/Development/Documentation/Compilation.md) + * Supported + * [Features](/MarlinFirmware/Marlin/blob/Development/Documentation/Features.md) + * [Hardware](/MarlinFirmware/Marlin/blob/Development/Documentation/Hardware.md) + * [GCodes](/MarlinFirmware/Marlin/blob/Development/Documentation/GCodes.md) + * Notes + * [Auto Bed Leveling](/MarlinFirmware/Marlin/blob/Development/Documentation/BedLeveling.md) + * [Filament Sensor](/MarlinFirmware/Marlin/blob/Development/Documentation/FilamentSensor.md) -IRC channel on freenode: #marlin-firmware +## Quick Information -(baaaah, #marlin was taken) - -If a google hangout is needed then use this link: - -https://plus.google.com/hangouts/_/event/cps5d0ru0iruhl6ebqbk9dpqpa4?authuser=0&hl=da - -It's valid for the next 10 years, must remember to renew then :-P - -Developer Notes -=================== - -- 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. - -- 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 - -- 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. - -- 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. - -========================== -Marlin 3D Printer Firmware -========================== -[![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224) -[![Travis Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg)](https://travis-ci.org/MarlinFirmware/Marlin) - -Marlin has a GPL license because I believe in open development. -Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent. - -[![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) - -Quick Information -=================== This RepRap firmware is a mashup between Sprinter, grbl and many original parts. Derived from Sprinter and Grbl by Erik van der Zalm. @@ -46,384 +20,21 @@ A fork by bkubicek for the Ultimaker was merged, and further development was aid Some features have been added by: Lampmaker, Bradley Feldman, and others... +## Current Status: Bug Fixing -Features: -========= +[![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224) +[![Travis Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg)](https://travis-ci.org/MarlinFirmware/Marlin) -* 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) -* Delta kinematics -* SCARA kinematics -* Dual X-carriage support for multiple extruder systems -* 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. -* Bed Auto Leveling. -* Support for a filament diameter sensor, which adjusts extrusion volume +What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201 -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. +## Contact +__IRC:__ #marlin-firmware @freenode +__Google Hangouts:__ https://plus.google.com/hangouts/_/event/cps5d0ru0iruhl6ebqbk9dpqpa4?authuser=0&hl=da -Differences and additions to the already good Sprinter firmware: -================================================================ +## Licence -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 B F 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 or P -* G10 - retract filament according to settings of M207 -* G11 - retract recover filament according to settings of M208 -* G28 - Home all Axis -* G29 - Detailed Z-Probe, probes the bed at 3 points. You must de at the home position for this to work correctly. -* G30 - Single Z Probe, probes bed at current XY location. -* G31 - Dock Z Probe sled (if enabled) -* G32 - Undock Z Probe sled (if enabled) -* G90 - Use Absolute Coordinates -* G91 - Use Relative Coordinates -* G92 - Set current position to cordinates given - -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 -* M17 - Enable/Power all stepper motors -* M18 - Disable all stepper motors; same as M84 -* M20 - List SD card -* M21 - Init SD card -* M22 - Release SD card -* M23 - Select SD file (M23 filename.g) -* M24 - Start/resume SD print -* M25 - Pause SD print -* M26 - Set SD position in bytes (M26 S12345) -* M27 - Report SD print status -* M28 - Start SD write (M28 filename.g) -* M29 - Stop SD write -* M30 - Delete file from SD (M30 filename.g) -* M31 - Output time since last M109 or SD card start to serial -* M32 - Select file and start SD print (Can be used when printing from SD card) -* 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. -* M80 - Turn on Power Supply -* M81 - Turn off Power Supply -* M82 - Set E codes absolute (default) -* M83 - Set E codes relative while in Absolute Coordinates (G90) mode -* M84 - Disable steppers until next move, or use S to specify an inactivity timeout, after which the steppers will be disabled. S0 to disable the timeout. -* M85 - Set inactivity shutdown timer with parameter S. To disable set zero (default) -* M92 - Set axis_steps_per_unit - same syntax as G92 -* M104 - Set extruder target temp -* M105 - Read current temp -* M106 - Fan on -* M107 - Fan off -* M109 - Sxxx Wait for extruder current temp to reach target temp. Waits only when heating -* Rxxx Wait for extruder current temp to reach target temp. Waits when heating and cooling -* M112 - Emergency stop -* M114 - Output current position to serial port -* M115 - Capabilities string -* M117 - display message -* M119 - Output Endstop status to serial port -* M126 - Solenoid Air Valve Open (BariCUDA support by jmil) -* M127 - Solenoid Air Valve Closed (BariCUDA vent to atmospheric pressure by jmil) -* M128 - EtoP Open (BariCUDA EtoP = electricity to air pressure transducer by jmil) -* M129 - EtoP Closed (BariCUDA EtoP = electricity to air pressure transducer by jmil) -* M140 - Set bed target temp -* M190 - Sxxx Wait for bed current temp to reach target temp. Waits only when heating -* Rxxx Wait for bed current temp to reach target temp. Waits when heating and cooling -* M200 D- set filament diameter and set E axis units to cubic millimeters (use S0 to set back to millimeters). -* M201 - Set max acceleration in units/s^2 for print moves (M201 X1000 Y1000) -* M202 - Set max acceleration in units/s^2 for travel moves (M202 X1000 Y1000) Unused in Marlin!! -* M203 - Set maximum feedrate that your machine can sustain (M203 X200 Y200 Z300 E10000) in mm/sec -* 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 -* 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 -* M206 - set additional homeing offset -* M207 - set retract length S[positive mm] F[feedrate mm/min] Z[additional zlift/hop], stays in mm regardless of M200 setting -* M208 - set recover=unretract length S[positive mm surplus to the M207 S*] F[feedrate mm/min] -* 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. -* M218 - set hotend offset (in mm): T X Y -* M220 S- set speed factor override percentage -* M221 S- set extrude factor override percentage -* M240 - Trigger a camera to take a photograph -* M280 - Position an RC Servo P S, ommit S to report back current angle -* M300 - Play beepsound S P -* M301 - Set PID parameters P I and D -* M302 - Allow cold extrudes -* M303 - PID relay autotune S sets the target temperature. (default target temperature = 150C) -* M304 - Set bed PID parameters P I and D -* M400 - Finish all moves -* M401 - Lower z-probe if present -* M402 - Raise z-probe if present -* M404 - N Enter the nominal filament width (3mm, 1.75mm ) or will display nominal filament width without parameters -* M405 - Turn on Filament Sensor extrusion control. Optional D to set delay in centimeters between sensor and extruder -* M406 - Turn off Filament Sensor extrusion control -* M407 - Displays measured filament diameter -* M500 - stores paramters in EEPROM -* M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily). -* M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to. -* M503 - print the current settings (from memory not from eeprom) -* M540 - Use S[0|1] to enable or disable the stop SD card print on endstop hit (requires ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED) -* M600 - Pause for filament change X[pos] Y[pos] Z[relative lift] E[initial retract] L[later retract distance for removal] -* M907 - Set digital trimpot motor current using axis codes. -* M908 - Control digital trimpot directly. -* M350 - Set microstepping mode. -* M351 - Toggle MS1 MS2 pins directly. -* M928 - Start SD logging (M928 filename.g) - ended by M29 -* M999 - Restart after being stopped by error - - -Configuring and compilation: -============================ - -Install the latest non-beta arduino software IDE/toolset - http://www.arduino.cc/en/Main/Software - -Download the Marlin firmware - https://github.com/MarlinFirmware/Marlin/tree/development - - For the latest development, or - - - - For the latest stable release - - In both cases use the "Download Zip" button on the right. - -For some spec. boards a spec. dir in the ArduinoAddons directory in the Marlin dir needs to be copied to the arduino environment. \hardware\ - -Start the arduino IDE. -Select Tools -> Board -> Arduino Mega 2560 or your microcontroller -Select the correct serial port in Tools ->Serial Port -Open Marlin.pde or .ino - -Click the Verify/Compile button - -Click the Upload button -If all goes well the firmware is uploading - -That's ok. Enjoy Silky Smooth Printing. - -=============================================== -Instructions for configuring Bed Auto Leveling -=============================================== -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. -See the section for each option below for specifics about installation and configuration. Also included are instructions that apply to both options. - -Instructions for Both Options ------------------------------ - -Uncomment the "ENABLE_AUTO_BED_LEVELING" define (commented by default) - -The following options define the probing positions. These are good starting values. -I recommend to keep a better clearance from borders in the first run and then make the probes as close as possible to borders: - -* \#define LEFT_PROBE_BED_POSITION 30 -* \#define RIGHT_PROBE_BED_POSITION 140 -* \#define BACK_PROBE_BED_POSITION 140 -* \#define FRONT_PROBE_BED_POSITION 30 - -A few more options: - -* \#define XY_TRAVEL_SPEED 6000 - -X and Y axis travel speed between probes, in mm/min. -Bear in mind that really fast moves may render step skipping. 6000 mm/min (100mm/s) is a good value. - -* \#define Z_RAISE_BEFORE_PROBING 10 -* \#define Z_RAISE_BETWEEN_PROBINGS 10 - -The Z axis is lifted when traveling to the first probe point by Z_RAISE_BEFORE_PROBING value -and then lifted when traveling from first to second and second to third point by Z_RAISE_BETWEEN_PROBINGS. -All values are in mm as usual. - -Servo Option Notes ------------------- -You will probably need a swivel Z-MIN endstop in the extruder. A rc servo do a great job. -Check the system working here: http://www.youtube.com/watch?v=3IKMeOYz-1Q (Enable English subtitles) -Teasing ;-) video: http://www.youtube.com/watch?v=x8eqSQNAyro - -In order to get the servo working, you need to enable: - -* \#define NUM_SERVOS 1 // Servo index starts with 0 for M280 command - -* \#define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1 - -* \#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 165,60} // X,Y,Z Axis Extend and Retract angles - -The first define tells firmware how many servos you have. -The second tells what axis this servo will be attached to. In the example above, we have a servo in Z axis. -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º) - -Next you need to define the Z endstop (probe) offset from hotend. -My preferred method: - -* a) Make a small mark in the bed with a marker/felt-tip pen. -* 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); -* 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; -* 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; -* 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; -* g) You can raise the z probe with M402 command; -* h) Fill the defines bellow multiplying the values by "-1" (just change the signal) - - -* \#define X_PROBE_OFFSET_FROM_EXTRUDER -24.3 -* \#define Y_PROBE_OFFSET_FROM_EXTRUDER 31.4 -* \#define Z_PROBE_OFFSET_FROM_EXTRUDER -5.1 - - -Sled Option Notes ------------------ -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. - -To use the sled option, you must define two additional things in Configuration.h: - -* \#define Z_PROBE_SLED -* \#define SLED_DOCKING_OFFSET 5 - -Uncomment the Z_PROBE_SLED to define to enable the sled (commented out by default). - -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). - -Next you need to define the Z endstop (probe) offset from hotend. -My preferred method: - -* a) Home the X and Y axes. -* b) Move the X axis to about the center of the print bed. Make a mark on the print bed. -* c) Move the Y axis to the maximum position. Make another mark. -* d) Home the X axis and use a straight edge to make a line between the two points. -* 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. -* 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. -* g) Zero the Z axis with the G92 Z0 command. -* h) Raise the Z axis about 20mmm. -* i) Use the G32 command to retrieve the sled. -* j) Now more the X and Y axis to the position recorded in (f). -* 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. -* 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. -* 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. -* 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. - -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: - -* \#define X_PROBE_OFFSET_FROM_EXTRUDER 20 -* \#define Y_PROBE_OFFSET_FROM_EXTRUDER 10 -* \#define Z_PROBE_OFFSET_FROM_EXTRUDER 2.75 - -That's it.. enjoy never having to calibrate your Z endstop neither leveling your bed by hand anymore ;-) - -Filament Sensor ---------------- -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. - -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. - -4 new Mcodes are defined to set relevant parameters: M404, M405, M406, M407 - see above. - - Implements a delay buffer to handle the transit delay between where the filament is measured and when it gets to the extruder. +Marlin has a GPL license because I believe in open development. +Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent. +[![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) From abea094f9087f48272eeacb46f5cd34baf9aab23 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 18:13:23 +0100 Subject: [PATCH 05/20] fixed hyperlinks --- README.md | 81 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 41 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 07ec0de3e..7738596c1 100644 --- a/README.md +++ b/README.md @@ -1,40 +1,41 @@ -# Marlin 3D Printer Firmware - - * [Configuration & Compilation](/MarlinFirmware/Marlin/blob/Development/Documentation/Compilation.md) - * Supported - * [Features](/MarlinFirmware/Marlin/blob/Development/Documentation/Features.md) - * [Hardware](/MarlinFirmware/Marlin/blob/Development/Documentation/Hardware.md) - * [GCodes](/MarlinFirmware/Marlin/blob/Development/Documentation/GCodes.md) - * Notes - * [Auto Bed Leveling](/MarlinFirmware/Marlin/blob/Development/Documentation/BedLeveling.md) - * [Filament Sensor](/MarlinFirmware/Marlin/blob/Development/Documentation/FilamentSensor.md) - -## Quick Information - -This RepRap firmware is a mashup between Sprinter, grbl 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... - -## Current Status: Bug Fixing - -[![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224) -[![Travis Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg)](https://travis-ci.org/MarlinFirmware/Marlin) - -What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201 - -## Contact - -__IRC:__ #marlin-firmware @freenode -__Google Hangouts:__ https://plus.google.com/hangouts/_/event/cps5d0ru0iruhl6ebqbk9dpqpa4?authuser=0&hl=da - -## Licence - -Marlin has a GPL license because I believe in open development. -Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent. - -[![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) +# Marlin 3D Printer Firmware + + * [Configuration & Compilation](/Documentation/Compilation.md) + * Supported + * [Features](/Documentation/Features.md) + * [Hardware](/Documentation/Hardware.md) + * [GCodes](/Documentation/GCodes.md) + * Notes + * [Auto Bed Leveling](/Documentation/BedLeveling.md) + * [Filament Sensor](/Documentation/FilamentSensor.md) + +## Quick Information + +This RepRap firmware is a mashup between Sprinter, grbl 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... + +## Current Status: Bug Fixing + +[![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224) +[![Travis Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg)](https://travis-ci.org/MarlinFirmware/Marlin) + +What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201 + +## Contact + +__IRC:__ #marlin-firmware @freenode +__Google Hangouts:__ https://plus.google.com/hangouts/_/event/cps5d0ru0iruhl6ebqbk9dpqpa4?authuser=0&hl=da + +## Licence + +Marlin has a GPL license because I believe in open development. +Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent. + +[![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) + From 5db6ffc03e59ed5f421870cbb7f3c1231c92d3de Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 18:14:57 +0100 Subject: [PATCH 06/20] fixed line endings --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7738596c1..c438889dc 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,11 @@ Lampmaker, Bradley Feldman, and others... [![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224) [![Travis Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg)](https://travis-ci.org/MarlinFirmware/Marlin) +<<<<<<< HEAD What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201 +======= +What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201 +>>>>>>> fixed line endings ## Contact @@ -38,4 +42,3 @@ Marlin has a GPL license because I believe in open development. Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent. [![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) - From 6f137bbe3e809e4b45fbe87035cc8796063130e4 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 18:21:54 +0100 Subject: [PATCH 07/20] updated compilation/configuring instructions --- Documentation/Compilation.md | 39 ++++++++++++------------------------ 1 file changed, 13 insertions(+), 26 deletions(-) diff --git a/Documentation/Compilation.md b/Documentation/Compilation.md index f36c7d88f..56b4f356c 100644 --- a/Documentation/Compilation.md +++ b/Documentation/Compilation.md @@ -1,29 +1,16 @@ -Configuring and compilation: +# Configuring and compilation -Install the latest non-beta arduino software IDE/toolset - http://www.arduino.cc/en/Main/Software - -Download the Marlin firmware - https://github.com/MarlinFirmware/Marlin/tree/development - - For the latest development, or - - - - For the latest stable release - - In both cases use the "Download Zip" button on the right. - -For some spec. boards a spec. dir in the ArduinoAddons directory in the Marlin dir needs to be copied to the arduino environment. \hardware\ - -Start the arduino IDE. -Select Tools -> Board -> Arduino Mega 2560 or your microcontroller -Select the correct serial port in Tools ->Serial Port -Open Marlin.pde or .ino - -Click the Verify/Compile button - -Click the Upload button -If all goes well the firmware is uploading + 1. Install the latest non-beta arduino software IDE/toolset: http://www.arduino.cc/en/Main/Software + 2. Download the Marlin firmware + - [Latest developement version](https://github.com/MarlinFirmware/Marlin/tree/Development) + - [Stable version](https://github.com/MarlinFirmware/Marlin/tree/Development) + 3. In both cases use the "Download Zip" button on the right. + 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. + 5. Start the arduino IDE. + 6. Select Tools -> Board -> Arduino Mega 2560 or your microcontroller + 7. Select the correct serial port in Tools ->Serial Port + 8. Open Marlin.pde or .ino + 9. Click the Verify/Compile button + 10. Click the Upload button. If all goes well the firmware is uploading That's ok. Enjoy Silky Smooth Printing. \ No newline at end of file From e351eec169d58165be103cde39952df6e9b9dd5c Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 18:32:35 +0100 Subject: [PATCH 08/20] added logo for GitHub Readme --- Documentation/Logo/Marlin Logo GitHub.png | Bin 0 -> 11017 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 Documentation/Logo/Marlin Logo GitHub.png diff --git a/Documentation/Logo/Marlin Logo GitHub.png b/Documentation/Logo/Marlin Logo GitHub.png new file mode 100644 index 0000000000000000000000000000000000000000..40cd19b6c6bdc8aa74a86900a3c895772de47469 GIT binary patch literal 11017 zcmW++1yoes79M)&E=4*80cnx$kdg-J4(aZWp;3|UpH@n`q+385q`SN89o}LFSX1}j zbN2pfPo%P{f_D*rD=wZ7EEgLVfS7RUQebgcboXmZz+4hc7 zVepgE-!ipUa2W<&o3@Jl@?AI7iUS1sumeu&f*x8JsZ?YNo1Ai&lX0x>`hQuzM6)VG z`=;c&U90J;v;DSjuOd9W!{TX-yQI62NIxkSMA%1ZampqS5uWHe+H!=aU_oHCwdj0h z9=K@{$z9l3F1RO75QqGFHoi@CB8Mu(Rq=-WeDkvg#}oKQR{1zP>(9g4-cB4}_}~L` zgui_2Td&?>W$G{fpw9z|vUp@6b^N@OORbx#qpR~Gl{CdqrRb^gnwReIfVu_k`X6V+ z)K&OF`TfUTh~W^-x_S>=cgPRIUkgv^{)C;jNd=*m^tEX_>Grf-^^7Eje*7FA!^z1R zQ%{zZP@mnl=g)tS>3bqbbK=(aJ^XMW(hThjqKo5#7LzQKn2@00xBk^p%qM}aC%)tI zGp!eWksHVF1XLu7EC=eF`Ba)bZGQ%&b>umFJ{3nkvF|JCq}wDgUSvVI2cR+w+3@RI zLIJrraCn}||1Os9HiNN|R?~6C;W-IBiq6w`Cx&1LmFkXYJ)l& z0HK8=>_Z^ThI0v|Vn@*UO~eP!TLFI^Xo!O~1y2-#(jS1$A<8;~fhK}GgLD}rr;M;G zN@EG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BdPraqwPL>3MN^l#(J ziBjb%;9+ZQrtcRS|6@d>rlB$7N!zPgwyR5{s%motM11!{;7FD>v+au+DIp;t5MGmB z&2Na%%QTpE^MCjkTcr;U|#5u6XJrWDA{i z;WLx)wz$Hqfiy`0jyJu)3RYmHRc($5CKTQpKk}$Fl5aJ*%c9JRs5q=C%M>1mGF@L; zD2(vrFDSMJv^gSr`C+D*_}=BL9)sao5D34OPvmSC8o7mSXDYB~f|)gcnr2m3R|`v; zMfwv$b|#AP8vuDUd9gr6ub&_#C3to73Z~lh04vY=5itX9CsdVu<)B7MP`|DS+-MQt z^!4vLDIOg@CYh-dNPbjS4w#rw1GN*Xes=eUA3ON?31Pd&|0^eG6%r8M<%jNmdbqt< z!^gv;cOonF(spcnxYSjOJ-u6cdb~mm2-fGor=U{y52dg(Nd>9v+R|`MRSg7QM!E)z~#Cgn)>Mnun*hiXxkX z?Ya8uJx+2pyH9`p`o#lg1@C!nXGQ~YR*5848aI@d1rW}Ia6;Y_ZX?N5u>juzbR(C7 zDwOIYn4-ohfq=6IOn>hPdmT$At-G5&&)A*TWo+kbG2?)`^nX8B`}rlLLgEz~h_!iQ z!Nk)a1%pHcQdDQ#4F;~SN6udKI==38)Tuz4e>J0)xy7Bir5?NXRkyyBj-EcTShet{ z4~Q(9ckBFaHoik%<8R$}94<7?Zh>dKeCvRlI0kb652=91aU}}5M*sv2OptUd7EUlB z4Offa{WNg`PV0GbLONAGH>WcGWAKm?+L)V*M$DHy7|*togOjs`)rl(Pn5@?b*qMU9 zzP@#^=0abyvW`Bgb2C~Xt;8Z^Zq;00d*~S(uLgqf=(EpmaiMJpPHd`Uae_545|DtP zAb4O0i{0Si0+>__fXILS3ij^ZI~g!yH {Yud5tBO|muS)Rs0Hx>e0vL=+shg^eMpUuPY6PzoY Date: Thu, 8 Jan 2015 18:36:40 +0100 Subject: [PATCH 09/20] added logo to README --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index c438889dc..a4e6f93c2 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,7 @@ Lampmaker, Bradley Feldman, and others... [![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224) [![Travis Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg)](https://travis-ci.org/MarlinFirmware/Marlin) -<<<<<<< HEAD -What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201 -======= What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201 ->>>>>>> fixed line endings ## Contact @@ -42,3 +38,4 @@ Marlin has a GPL license because I believe in open development. Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent. [![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) + From cf88d61c206ab8015089aadb9ec64b2186f49a41 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 18:40:57 +0100 Subject: [PATCH 10/20] added links to reprap.org and the license --- README.md | 85 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 44 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index a4e6f93c2..e8cf8bb00 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,44 @@ -# Marlin 3D Printer Firmware - - * [Configuration & Compilation](/Documentation/Compilation.md) - * Supported - * [Features](/Documentation/Features.md) - * [Hardware](/Documentation/Hardware.md) - * [GCodes](/Documentation/GCodes.md) - * Notes - * [Auto Bed Leveling](/Documentation/BedLeveling.md) - * [Filament Sensor](/Documentation/FilamentSensor.md) - -## Quick Information - -This RepRap firmware is a mashup between Sprinter, grbl 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... - -## Current Status: Bug Fixing - -[![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224) -[![Travis Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg)](https://travis-ci.org/MarlinFirmware/Marlin) - -What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201 - -## Contact - -__IRC:__ #marlin-firmware @freenode -__Google Hangouts:__ https://plus.google.com/hangouts/_/event/cps5d0ru0iruhl6ebqbk9dpqpa4?authuser=0&hl=da - -## Licence - -Marlin has a GPL license because I believe in open development. -Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent. - -[![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) - +# Marlin 3D Printer Firmware + + + * [Configuration & Compilation](/Documentation/Compilation.md) + * Supported + * [Features](/Documentation/Features.md) + * [Hardware](/Documentation/Hardware.md) + * [GCodes](/Documentation/GCodes.md) + * Notes + * [Auto Bed Leveling](/Documentation/BedLeveling.md) + * [Filament Sensor](/Documentation/FilamentSensor.md) + +##### [RepRap.org Wiki Page](http://reprap.org/wiki/Marlin) + +## Quick Information + +This RepRap firmware is a mashup between Sprinter, grbl 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... + +## Current Status: Bug Fixing + +[![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224) +[![Travis Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg)](https://travis-ci.org/MarlinFirmware/Marlin) + +What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201 + +## Contact + +__IRC:__ #marlin-firmware @freenode + +__Google Hangouts:__ https://plus.google.com/hangouts/_/event/cps5d0ru0iruhl6ebqbk9dpqpa4?authuser=0&hl=da + +## Licence + +Marlin is published unde the [GPL license](/Documentation/COPYING.md) because I believe in open development. +Please do not use this code in products (3D printers, CNC etc) that are closed source or are crippled by a patent. + +[![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) From fd68d0074b689c00786bf4d55e46b3054c36f098 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 18:44:20 +0100 Subject: [PATCH 11/20] added missing gcodes description --- Documentation/GCodes.md | 103 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) diff --git a/Documentation/GCodes.md b/Documentation/GCodes.md index e69de29bb..dd582946e 100644 --- a/Documentation/GCodes.md +++ b/Documentation/GCodes.md @@ -0,0 +1,103 @@ +# Implemented G Codes + +## G Codes + +* G0 -> G1 +* G1 - Coordinated Movement X Y Z E +* G2 - CW ARC +* G3 - CCW ARC +* G4 - Dwell S or P +* G10 - retract filament according to settings of M207 +* G11 - retract recover filament according to settings of M208 +* G28 - Home all Axis +* G29 - Detailed Z-Probe, probes the bed at 3 points. You must de at the home position for this to work correctly. +* G30 - Single Z Probe, probes bed at current XY location. +* G31 - Dock Z Probe sled (if enabled) +* G32 - Undock Z Probe sled (if enabled) +* G90 - Use Absolute Coordinates +* G91 - Use Relative Coordinates +* G92 - Set current position to cordinates given + +## 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 +* M17 - Enable/Power all stepper motors +* M18 - Disable all stepper motors; same as M84 +* M20 - List SD card +* M21 - Init SD card +* M22 - Release SD card +* M23 - Select SD file (M23 filename.g) +* M24 - Start/resume SD print +* M25 - Pause SD print +* M26 - Set SD position in bytes (M26 S12345) +* M27 - Report SD print status +* M28 - Start SD write (M28 filename.g) +* M29 - Stop SD write +* M30 - Delete file from SD (M30 filename.g) +* M31 - Output time since last M109 or SD card start to serial +* M32 - Select file and start SD print (Can be used when printing from SD card) +* 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. +* M80 - Turn on Power Supply +* M81 - Turn off Power Supply +* M82 - Set E codes absolute (default) +* M83 - Set E codes relative while in Absolute Coordinates (G90) mode +* M84 - Disable steppers until next move, or use S to specify an inactivity timeout, after which the steppers will be disabled. S0 to disable the timeout. +* M85 - Set inactivity shutdown timer with parameter S. To disable set zero (default) +* M92 - Set axis_steps_per_unit - same syntax as G92 +* M104 - Set extruder target temp +* M105 - Read current temp +* M106 - Fan on +* M107 - Fan off +* M109 - Sxxx Wait for extruder current temp to reach target temp. Waits only when heating +* Rxxx Wait for extruder current temp to reach target temp. Waits when heating and cooling +* M112 - Emergency stop +* M114 - Output current position to serial port +* M115 - Capabilities string +* M117 - display message +* M119 - Output Endstop status to serial port +* M126 - Solenoid Air Valve Open (BariCUDA support by jmil) +* M127 - Solenoid Air Valve Closed (BariCUDA vent to atmospheric pressure by jmil) +* M128 - EtoP Open (BariCUDA EtoP = electricity to air pressure transducer by jmil) +* M129 - EtoP Closed (BariCUDA EtoP = electricity to air pressure transducer by jmil) +* M140 - Set bed target temp +* M190 - Sxxx Wait for bed current temp to reach target temp. Waits only when heating +* Rxxx Wait for bed current temp to reach target temp. Waits when heating and cooling +* M200 D- set filament diameter and set E axis units to cubic millimeters (use S0 to set back to millimeters). +* M201 - Set max acceleration in units/s^2 for print moves (M201 X1000 Y1000) +* M202 - Set max acceleration in units/s^2 for travel moves (M202 X1000 Y1000) Unused in Marlin!! +* M203 - Set maximum feedrate that your machine can sustain (M203 X200 Y200 Z300 E10000) in mm/sec +* 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 +* 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 +* M206 - set additional homeing offset +* M207 - set retract length S[positive mm] F[feedrate mm/min] Z[additional zlift/hop], stays in mm regardless of M200 setting +* M208 - set recover=unretract length S[positive mm surplus to the M207 S*] F[feedrate mm/min] +* 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. +* M218 - set hotend offset (in mm): T X Y +* M220 S- set speed factor override percentage +* M221 S- set extrude factor override percentage +* M240 - Trigger a camera to take a photograph +* M280 - Position an RC Servo P S, ommit S to report back current angle +* M300 - Play beepsound S P +* M301 - Set PID parameters P I and D +* M302 - Allow cold extrudes +* M303 - PID relay autotune S sets the target temperature. (default target temperature = 150C) +* M304 - Set bed PID parameters P I and D +* M400 - Finish all moves +* M401 - Lower z-probe if present +* M402 - Raise z-probe if present +* M404 - N Enter the nominal filament width (3mm, 1.75mm ) or will display nominal filament width without parameters +* M405 - Turn on Filament Sensor extrusion control. Optional D to set delay in centimeters between sensor and extruder +* M406 - Turn off Filament Sensor extrusion control +* M407 - Displays measured filament diameter +* M500 - stores paramters in EEPROM +* M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily). +* M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to. +* M503 - print the current settings (from memory not from eeprom) +* M540 - Use S[0|1] to enable or disable the stop SD card print on endstop hit (requires ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED) +* M600 - Pause for filament change X[pos] Y[pos] Z[relative lift] E[initial retract] L[later retract distance for removal] +* M907 - Set digital trimpot motor current using axis codes. +* M908 - Control digital trimpot directly. +* M350 - Set microstepping mode. +* M351 - Toggle MS1 MS2 pins directly. +* M928 - Start SD logging (M928 filename.g) - ended by M29 +* M999 - Restart after being stopped by error From bc91167363df8b74d8e380a39e4db5a98dc68639 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 18:45:41 +0100 Subject: [PATCH 12/20] moved licence to Documentation (its linked from the frontpage) to get a cleaner top level dir --- COPYING.md => Documentation/COPYING.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename COPYING.md => Documentation/COPYING.md (100%) diff --git a/COPYING.md b/Documentation/COPYING.md similarity index 100% rename from COPYING.md rename to Documentation/COPYING.md From d19ef561997e8f7cd21a323e460e1832ed1441da Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 19:21:57 +0100 Subject: [PATCH 13/20] started hardware list --- Documentation/Hardware.md | 120 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 Documentation/Hardware.md diff --git a/Documentation/Hardware.md b/Documentation/Hardware.md new file mode 100644 index 000000000..c26ab5570 --- /dev/null +++ b/Documentation/Hardware.md @@ -0,0 +1,120 @@ +# Supported Hardware + +__Please note:__ We need more feedback from users weather their board is actually working! + +Supported boards are listed under: [/Marlin/boards.h](/Marlin/boards.h) + + + + +##### RAMPS + +http://reprap.org/wiki/RAMPS + +``` +#define BOARD_RAMPS_OLD 3 // MEGA/RAMPS up to 1.2 +#define BOARD_RAMPS_13_EFB 33 // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Bed) +#define BOARD_RAMPS_13_EEB 34 // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed) +#define BOARD_RAMPS_13_EFF 35 // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan) +#define BOARD_RAMPS_13_EEF 36 // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan) +``` + +#define BOARD_DUEMILANOVE_328P 4 // Duemilanove w/ ATMega328P pin assignment + +##### Generation 3 Electronics + +http://reprap.org/wiki/Generation_3_Electronics + +``` +#define BOARD_GEN3_PLUS 9 // Gen3+ +#define BOARD_GEN3_MONOLITHIC 22 // Gen3 Monolithic Electronics +``` + +##### Generation 6 Electronics + +http://reprap.org/wiki/Generation_6_Electronics + +``` +#define BOARD_GEN6 5 // Gen6 +#define BOARD_GEN6_DELUXE 51 // Gen6 deluxe +``` + +##### Generation 7 Electronics + +http://reprap.org/wiki/Generation_7_Electronics + +``` +#define BOARD_GEN7_CUSTOM 10 // Gen7 custom (Alfons3 Version) "https://github.com/Alfons3/Generation_7_Electronics" +#define BOARD_GEN7_12 11 // Gen7 v1.1, v1.2 +#define BOARD_GEN7_13 12 // Gen7 v1.3 +#define BOARD_GEN7_14 13 // Gen7 v1.4 +``` + + +``` +#define BOARD_CHEAPTRONIC 2 // Cheaptronic v1.0 +#define BOARD_SETHI 20 // Sethi 3D_1 +``` + +##### Sanguinololu + +http://reprap.org/wiki/Sanguinololu + +``` +#define BOARD_SANGUINOLOLU_11 6 // Sanguinololu < 1.2 +#define BOARD_SANGUINOLOLU_12 62 // Sanguinololu 1.2 and above + +``` + +##### Melzi + +http://reprap.org/wiki/Melzi + +``` +#define BOARD_MELZI 63 // Melzi +#define BOARD_MELZI_1284 66 // Melzi with ATmega1284 (MaKr3d version) +``` + +##### RUMBA + +http://reprap.org/wiki/RUMBA + +``` +#define BOARD_RUMBA 80 // Rumba +``` + +##### Azteeg + + - http://reprap.org/wiki/Azteeg_X1 + - http://reprap.org/wiki/Azteeg_X3 + + +``` +#define BOARD_AZTEEG_X1 65 // Azteeg X1 +#define BOARD_AZTEEG_X3 67 // Azteeg X3 +#define BOARD_AZTEEG_X3_PRO 68 // Azteeg X3 Pro +``` + +#### Others + +``` +#define BOARD_STB_11 64 // STB V1.1 +#define BOARD_ULTIMAKER 7 // Ultimaker +#define BOARD_ULTIMAKER_OLD 71 // Ultimaker (Older electronics. Pre 1.5.4. This is rare) +#define BOARD_ULTIMAIN_2 72 // Ultimainboard 2.x (Uses TEMP_SENSOR 20) +#define BOARD_3DRAG 77 // 3Drag Controller +#define BOARD_TEENSYLU 8 // Teensylu +#define BOARD_PRINTRBOARD 81 // Printrboard (AT90USB1286) +#define BOARD_BRAINWAVE 82 // Brainwave (AT90USB646) +#define BOARD_SAV_MKI 83 // SAV Mk-I (AT90USB1286) +#define BOARD_TEENSY2 84 // Teensy++2.0 (AT90USB1286) - CLI compile: DEFINES=AT90USBxx_TEENSYPP_ASSIGNMENTS HARDWARE_MOTHERBOARD=84 make +#define BOARD_MEGATRONICS 70 // Megatronics +#define BOARD_MEGATRONICS_2 701 // Megatronics v2.0 +#define BOARD_MEGATRONICS_1 702 // Minitronics v1.0 +#define BOARD_OMCA_A 90 // Alpha OMCA board +#define BOARD_OMCA 91 // Final OMCA board +#define BOARD_RAMBO 301 // Rambo +#define BOARD_ELEFU_3 21 // Elefu Ra Board (v3) +#define BOARD_5DPRINT 88 // 5DPrint D8 Driver Board +#define BOARD_LEAPFROG 999 // Leapfrog +``` \ No newline at end of file From 11a42c32150da22ec3721f2ae222d71c60e573a6 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 19:26:23 +0100 Subject: [PATCH 14/20] fixed formatting issue --- Documentation/Hardware.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/Hardware.md b/Documentation/Hardware.md index c26ab5570..26b03ae3f 100644 --- a/Documentation/Hardware.md +++ b/Documentation/Hardware.md @@ -19,8 +19,6 @@ http://reprap.org/wiki/RAMPS #define BOARD_RAMPS_13_EEF 36 // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan) ``` -#define BOARD_DUEMILANOVE_328P 4 // Duemilanove w/ ATMega328P pin assignment - ##### Generation 3 Electronics http://reprap.org/wiki/Generation_3_Electronics @@ -98,6 +96,7 @@ http://reprap.org/wiki/RUMBA #### Others ``` +#define BOARD_DUEMILANOVE_328P 4 // Duemilanove w/ ATMega328P pin assignment #define BOARD_STB_11 64 // STB V1.1 #define BOARD_ULTIMAKER 7 // Ultimaker #define BOARD_ULTIMAKER_OLD 71 // Ultimaker (Older electronics. Pre 1.5.4. This is rare) @@ -117,4 +116,4 @@ http://reprap.org/wiki/RUMBA #define BOARD_ELEFU_3 21 // Elefu Ra Board (v3) #define BOARD_5DPRINT 88 // 5DPrint D8 Driver Board #define BOARD_LEAPFROG 999 // Leapfrog -``` \ No newline at end of file +``` From c98d87935a3f754691a3468ee98d9478f7543683 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 19:37:36 +0100 Subject: [PATCH 15/20] reformatting --- Documentation/Features.md | 45 +++++++++++++-------------------------- 1 file changed, 15 insertions(+), 30 deletions(-) diff --git a/Documentation/Features.md b/Documentation/Features.md index 304c638f9..99fd7bbbb 100644 --- a/Documentation/Features.md +++ b/Documentation/Features.md @@ -1,6 +1,4 @@ - -Features: -========= +# Features * Interrupt based movement with real linear acceleration * High steprate @@ -19,12 +17,12 @@ Features: * 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 +* Support for [QTMarlin](https://github.com/bkubicek/QTMarlin), a very beta GUI for PID-tuning and velocity-acceleration testing. * 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) +* [CoreXY kinematics](www.corexy.com/theory.html) * Delta kinematics * SCARA kinematics * Dual X-carriage support for multiple extruder systems @@ -36,12 +34,9 @@ Features: 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 -Differences and additions to the already good Sprinter firmware: -================================================================ - -Look-ahead: ------------ +### 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, @@ -49,21 +44,18 @@ so that the change in vectorial velocity magnitude is less than the xy_jerk_velo 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: ------------- +### 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: -------------------------- +### Temperature Oversampling To reduce noise and make the PID-differential term more useful, 16 ADC conversion results are averaged. -AutoTemp: ---------- +### 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. @@ -76,42 +68,36 @@ The wanted temperature then will be set to t=tempmin+factor*maxerate, while bein 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: -------- +### 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: ---------- +### 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: ----------------- +### SD card directories 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: ----------------- +### Autostart 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: --------------------------- +### 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: ----------------- +### 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. @@ -121,8 +107,7 @@ In the serial communication, a #define based level of abstraction was enforced, some transfer is information (usually beginning with "echo:"), an error "error:", or just normal protocol, necessary for backwards compatibility. -Interrupt based temperature measurements: ------------------------------------------ +### 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. From 6388be07310338f8cfdc46dac571fa2c830bbfea Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 19:38:52 +0100 Subject: [PATCH 16/20] reformatting --- Documentation/Features.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/Features.md b/Documentation/Features.md index 99fd7bbbb..b306741e8 100644 --- a/Documentation/Features.md +++ b/Documentation/Features.md @@ -4,8 +4,7 @@ * 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 +* Preliminary support for [Matthew Roberts Advance Algorithm](http://reprap.org/pipermail/reprap-dev/2011-May/003323.html) * Full endstop support * SD Card support * SD Card folders (works in pronterface) From 49b759b804c5f77ed5cccbf270a38d20ba2bf3bd Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 19:48:56 +0100 Subject: [PATCH 17/20] added credits --- README.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e8cf8bb00..7b9cf5287 100644 --- a/README.md +++ b/README.md @@ -14,17 +14,15 @@ ## Quick Information -This RepRap firmware is a mashup between Sprinter, grbl 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... +This is a firmware for reprap single-processor electronics setups. +It also works on the Ultimaker PCB. It supports printing from SD card+Folders, and look-ahead trajectory planning. +This firmware is a mashup between [Sprinter](https://github.com/kliment/Sprinter), [grbl](https://github.com/simen/grbl) and many original parts. ## Current Status: Bug Fixing +The Marlin development is currently revived. There's a long list of reported issues and pull requests, which we are working on currently. +We are actively looking for testers. So please try the current development version and report new issues and feedback. + [![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224) [![Travis Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg)](https://travis-ci.org/MarlinFirmware/Marlin) @@ -36,6 +34,14 @@ __IRC:__ #marlin-firmware @freenode __Google Hangouts:__ https://plus.google.com/hangouts/_/event/cps5d0ru0iruhl6ebqbk9dpqpa4?authuser=0&hl=da +## Credits + +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... + ## Licence Marlin is published unde the [GPL license](/Documentation/COPYING.md) because I believe in open development. From 38669a56cba9f9374d7c290730e344c3994f3493 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 19:54:46 +0100 Subject: [PATCH 18/20] updated credits --- README.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7b9cf5287..d51482cae 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,21 @@ __Google Hangouts:__ https://plus.google.com/hangouts/_/event/cps5d0ru0iruhl6ebq ## Credits +The current Marlin dev team consists of: + + - Erik van der Zalm ([@ErikZalm](https://github.com/ErikZalm) + - [@daid](https://github.com/daid) + - Bo Herrmannsen ([@boelle](https://github.com/boelle)) + 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... +Grbls lead developer is Simen Svale Skogsrud. +Sonney Jeon (Chamnit) improved some parts of grbl +A fork by bkubicek for the Ultimaker was merged. + +More features have been added by: + - Lampmaker, + - Bradley Feldman, + - and others... ## Licence From 6dc9e87b689fe049ab75d137b3cdd27bf57432e5 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 19:55:33 +0100 Subject: [PATCH 19/20] added missing bracket --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d51482cae..d82cc4ddc 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ __Google Hangouts:__ https://plus.google.com/hangouts/_/event/cps5d0ru0iruhl6ebq The current Marlin dev team consists of: - - Erik van der Zalm ([@ErikZalm](https://github.com/ErikZalm) + - Erik van der Zalm ([@ErikZalm](https://github.com/ErikZalm)) - [@daid](https://github.com/daid) - Bo Herrmannsen ([@boelle](https://github.com/boelle)) From 67121795029b7347c718447e071c577b57875268 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 8 Jan 2015 19:57:09 +0100 Subject: [PATCH 20/20] updated milestone link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d82cc4ddc..4118ffc7a 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ We are actively looking for testers. So please try the current development versi [![Coverity Scan Build Status](https://scan.coverity.com/projects/2224/badge.svg)](https://scan.coverity.com/projects/2224) [![Travis Build Status](https://travis-ci.org/MarlinFirmware/Marlin.svg)](https://travis-ci.org/MarlinFirmware/Marlin) -What bugs are we working on: https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%201 +What bugs are we working on: [Bug Fixing Round 2](https://github.com/MarlinFirmware/Marlin/milestones/Bug%20Fixing%20Round%202) ## Contact