====== Marlin RC2 Oct2012 Bukobot Firmware Changes ====== This version of the firmware was forked from the main Marlin Github repository (https://github.com/ErikZalm/Marlin) on 10 Oct 2012. The git head id of the repository is: [[https://github.com/ErikZalm/Marlin/tree/bc27d809fb4232abd33c85f33ec2bb78d7ce3444|bc27d809fb4232abd33c85f33ec2bb78d7ce3444]]. The sections below list each of the file differences between each of the Bukobot firmware releases and the github head at that time. The difference was generated by using the following steps: - Create a local clone of the Marlin github repository (using the github client). - Open a github command window (using the github client). - Checkout the repository at the time it was branched using the following command: git checkout -f bc27d809fb4232abd33c85f33ec2bb78d7ce3444 - Copy the released bukobot firmware into the directory where you have done the checkout. - Display configuration file differences using the following commands: git diff Marlin/Configuration.h git diff Marlin/Configuration_adv.h (The file changes are also visible from the github client). Configuration.h and Configuration_adv.h were the only two files which were changed in all versions. ===== Azteeg X1 Marlin Firmware Changes ===== ==== Bukobot Vanilla/Green/Mini Green ==== == Configuration.h == diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 06eea46..73193d2 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -8,8 +8,8 @@ //User specified version info of THIS file to display in [Pronterface, etc] terminal window during startup. //Implementation of an idea by Prof Braino to inform user that any changes made //to THIS file by the user have been successfully uploaded into firmware. -#define STRING_VERSION_CONFIG_H "2012-05-02" //Personal revision number for changes to THIS file. -#define STRING_CONFIG_H_AUTHOR "erik" //Who made the changes. +#define STRING_VERSION_CONFIG_H "2012-10-11" //Personal revision number for changes to THIS file. +#define STRING_CONFIG_H_AUTHOR "Deezmaker" //Who made the changes. // This determines the communication speed of the printer #define BAUDRATE 250000 @@ -32,7 +32,7 @@ // Gen3+ =9 #ifndef MOTHERBOARD -#define MOTHERBOARD 7 +#define MOTHERBOARD 62 #endif @@ -61,10 +61,10 @@ // 52 is 200k thermistor - ATC Semitec 204GT-2 (1k pullup) // 55 is 100k thermistor - ATC Semitec 104GT-2 (Used in ParCan) (1k pullup) -#define TEMP_SENSOR_0 -1 -#define TEMP_SENSOR_1 0 +#define TEMP_SENSOR_0 7 +#define TEMP_SENSOR_1 7 #define TEMP_SENSOR_2 0 -#define TEMP_SENSOR_BED 0 +#define TEMP_SENSOR_BED 1 // Actual temperature must be close to target for this long before M109 returns success #define TEMP_RESIDENCY_TIME 10 // (seconds) @@ -104,10 +104,15 @@ #define PID_dT ((16.0 * 8.0)/(F_CPU / 64.0 / 256.0)) //sampling period of the // If you are using a preconfigured hotend then you can use one of the value sets by uncommenting it +// Bukobot + #define DEFAULT_Kp 87.89 + #define DEFAULT_Ki 3.88 + #define DEFAULT_Kd 664.28 + // Ultimaker - #define DEFAULT_Kp 22.2 - #define DEFAULT_Ki 1.08 - #define DEFAULT_Kd 114 +// #define DEFAULT_Kp 22.2 +// #define DEFAULT_Ki 1.08 +// #define DEFAULT_Kd 114 // Makergear // #define DEFAULT_Kp 7.0 @@ -164,7 +169,7 @@ //if PREVENT_DANGEROUS_EXTRUDE is on, you can still disable (uncomment) very long bits of extrusion separately. #define PREVENT_LENGTHY_EXTRUDE -#define EXTRUDE_MINTEMP 170 +#define EXTRUDE_MINTEMP 160 #define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances. //=========================================================================== @@ -230,11 +235,11 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th #define min_software_endstops true //If true, axis won't move to coordinates less than HOME_POS. #define max_software_endstops true //If true, axis won't move to coordinates greater than the defined lengths below. // Travel limits after homing -#define X_MAX_POS 205 +#define X_MAX_POS 355 #define X_MIN_POS 0 #define Y_MAX_POS 205 #define Y_MIN_POS 0 -#define Z_MAX_POS 200 +#define Z_MAX_POS 210 #define Z_MIN_POS 0 #define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS) @@ -252,19 +257,19 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th //// MOVEMENT SETTINGS #define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E -#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0} // set the homing speeds (mm/min) +#define HOMING_FEEDRATE {50*60, 50*60, 3.5*60, 0} // set the homing speeds (mm/min) // default settings -#define DEFAULT_AXIS_STEPS_PER_UNIT {78.7402,78.7402,200*8/3,760*1.1} // default steps per unit for ultimaker -#define DEFAULT_MAX_FEEDRATE {500, 500, 5, 45} // (mm/sec) -#define DEFAULT_MAX_ACCELERATION {9000,9000,100,10000} // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot. +#define DEFAULT_AXIS_STEPS_PER_UNIT {55.99,55.99,3200,1260} // default steps per unit for Bukobot +#define DEFAULT_MAX_FEEDRATE {500, 500, 3.5, 45} // (mm/sec) +#define DEFAULT_MAX_ACCELERATION {800,800,100,10000} // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot. #define DEFAULT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for printing moves #define DEFAULT_RETRACT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for r retracts // -#define DEFAULT_XYJERK 20.0 // (mm/sec) +#define DEFAULT_XYJERK 15.0 // (mm/sec) #define DEFAULT_ZJERK 0.4 // (mm/sec) #define DEFAULT_EJERK 5.0 // (mm/sec) @@ -278,10 +283,10 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th // 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. //define this to enable eeprom support -//#define EEPROM_SETTINGS +#define EEPROM_SETTINGS //to disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out: // please keep turned on if you can. -//#define EEPROM_CHITCHAT +#define EEPROM_CHITCHAT //LCD and SD support //#define ULTRA_LCD //general lcd support, also 16x2 @@ -305,12 +310,12 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th #define LCD_HEIGHT 4 // Preheat Constants - #define PLA_PREHEAT_HOTEND_TEMP 180 - #define PLA_PREHEAT_HPB_TEMP 70 + #define PLA_PREHEAT_HOTEND_TEMP 170 + #define PLA_PREHEAT_HPB_TEMP 60 #define PLA_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255 - #define ABS_PREHEAT_HOTEND_TEMP 240 - #define ABS_PREHEAT_HPB_TEMP 100 + #define ABS_PREHEAT_HOTEND_TEMP 210 + #define ABS_PREHEAT_HPB_TEMP 110 #define ABS_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255 #else //no panel but just lcd @@ -321,7 +326,7 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th #endif // Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino -//#define FAST_PWM_FAN +#define FAST_PWM_FAN // M240 Triggers a camera by emulating a Canon RC-1 Remote // Data from: http://www.doc-diy.net/photo/rc-1_hacked/ == Configuration_adv.h == diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index ecdc833..40885a4 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -46,8 +46,8 @@ // extruder run-out prevention. //if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded -//#define EXTRUDER_RUNOUT_PREVENT -#define EXTRUDER_RUNOUT_MINTEMP 190 +#define EXTRUDER_RUNOUT_PREVENT +#define EXTRUDER_RUNOUT_MINTEMP 180 #define EXTRUDER_RUNOUT_SECONDS 30. #define EXTRUDER_RUNOUT_ESTEPS 14. //mm filament #define EXTRUDER_RUNOUT_SPEED 1500. //extrusion speed ===== Azteeg X3 Marlin Firmware Changes ===== ==== Bukobot Vanilla/Green/Mini Green with Azteeg X3 upgrade ==== The changes are the same as the //Bukobot Vanilla (Azteeg X1)// except that you should change #define MOTHERBOARD 62 to #define MOTHERBOARD 34 as well as //#define SDSUPPORT // Enable SD Card Support in Hardware Console to #define SDSUPPORT // Enable SD Card Support in Hardware Console in Configuration.h ==== Bukobot Duo ==== The changes are the same as the //Bukobot Vanilla/Green/Mini Green with Azteeg X3 upgrade// except that you should also change #define EXTRUDERS 1 to #define EXTRUDERS 2 in Configuration_adv.h