|
74 | 74 | // User-specified version info of this build to display in [Pronterface, etc] terminal window during |
75 | 75 | // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this |
76 | 76 | // build by the user have been successfully uploaded into firmware. |
77 | | -#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes. |
| 77 | +#define STRING_CONFIG_H_AUTHOR "(Terje, Wanhao Duplicator i3 config)" // Who made the changes. |
78 | 78 | #define SHOW_BOOTSCREEN |
79 | 79 | #define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1 |
80 | 80 | #define STRING_SPLASH_LINE2 WEBSITE_URL // will be shown during bootup in line 2 |
|
119 | 119 | // The following define selects which electronics board you have. |
120 | 120 | // Please choose the name from boards.h that matches your setup |
121 | 121 | #ifndef MOTHERBOARD |
122 | | - #define MOTHERBOARD BOARD_RAMPS_14_EFB |
| 122 | + #define MOTHERBOARD BOARD_MELZI |
123 | 123 | #endif |
124 | 124 |
|
125 | 125 | // Optional custom name for your RepStrap or other custom machine |
126 | 126 | // Displayed in the LCD "Ready" message |
127 | | -//#define CUSTOM_MACHINE_NAME "3D Printer" |
| 127 | +#define CUSTOM_MACHINE_NAME "Wanhao i3" |
128 | 128 |
|
129 | 129 | // Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines) |
130 | 130 | // You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4) |
|
137 | 137 | #define EXTRUDERS 1 |
138 | 138 |
|
139 | 139 | // Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc. |
140 | | -#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0 |
| 140 | +#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75 |
141 | 141 |
|
142 | 142 | // For Cyclops or any "multi-extruder" that shares a single nozzle. |
143 | 143 | //#define SINGLENOZZLE |
|
286 | 286 | * |
287 | 287 | * :{ '0': "Not used", '1':"100k / 4.7k - EPCOS", '2':"200k / 4.7k - ATC Semitec 204GT-2", '3':"Mendel-parts / 4.7k", '4':"10k !! do not use for a hotend. Bad resolution at high temp. !!", '5':"100K / 4.7k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '6':"100k / 4.7k EPCOS - Not as accurate as Table 1", '7':"100k / 4.7k Honeywell 135-104LAG-J01", '8':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT", '9':"100k / 4.7k GE Sensing AL03006-58.2K-97-G1", '10':"100k / 4.7k RS 198-961", '11':"100k / 4.7k beta 3950 1%", '12':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT (calibrated for Makibox hot bed)", '13':"100k Hisens 3950 1% up to 300°C for hotend 'Simple ONE ' & hotend 'All In ONE'", '20':"PT100 (Ultimainboard V2.x)", '51':"100k / 1k - EPCOS", '52':"200k / 1k - ATC Semitec 204GT-2", '55':"100k / 1k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '60':"100k Maker's Tool Works Kapton Bed Thermistor beta=3950", '66':"Dyze Design 4.7M High Temperature thermistor", '70':"the 100K thermistor found in the bq Hephestos 2", '71':"100k / 4.7k Honeywell 135-104LAF-J01", '147':"Pt100 / 4.7k", '1047':"Pt1000 / 4.7k", '110':"Pt100 / 1k (non-standard)", '1010':"Pt1000 / 1k (non standard)", '-3':"Thermocouple + MAX31855 (only for sensor 0)", '-2':"Thermocouple + MAX6675 (only for sensor 0)", '-1':"Thermocouple + AD595",'998':"Dummy 1", '999':"Dummy 2" } |
288 | 288 | */ |
289 | | -#define TEMP_SENSOR_0 1 |
| 289 | +#define TEMP_SENSOR_0 13 |
290 | 290 | #define TEMP_SENSOR_1 0 |
291 | 291 | #define TEMP_SENSOR_2 0 |
292 | 292 | #define TEMP_SENSOR_3 0 |
293 | 293 | #define TEMP_SENSOR_4 0 |
294 | | -#define TEMP_SENSOR_BED 0 |
| 294 | +#define TEMP_SENSOR_BED 5 |
295 | 295 |
|
296 | 296 | // Dummy thermistor constant temperature readings, for use with 998 and 999 |
297 | 297 | #define DUMMY_THERMISTOR_998_VALUE 25 |
|
355 | 355 | // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it |
356 | 356 |
|
357 | 357 | // Ultimaker |
358 | | - #define DEFAULT_Kp 22.2 |
359 | | - #define DEFAULT_Ki 1.08 |
360 | | - #define DEFAULT_Kd 114 |
| 358 | + #define DEFAULT_Kp 17.45 |
| 359 | + #define DEFAULT_Ki 0.84 |
| 360 | + #define DEFAULT_Kd 90.41 |
361 | 361 |
|
362 | 362 | // MakerGear |
363 | 363 | //#define DEFAULT_Kp 7.0 |
|
383 | 383 | // If your configuration is significantly different than this and you don't understand the issues involved, you probably |
384 | 384 | // shouldn't use bed PID until someone else verifies your hardware works. |
385 | 385 | // If this is enabled, find your own PID constants below. |
386 | | -//#define PIDTEMPBED |
| 386 | +#define PIDTEMPBED |
387 | 387 |
|
388 | 388 | //#define BED_LIMIT_SWITCHING |
389 | 389 |
|
|
399 | 399 |
|
400 | 400 | //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) |
401 | 401 | //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10) |
402 | | - #define DEFAULT_bedKp 10.00 |
403 | | - #define DEFAULT_bedKi .023 |
404 | | - #define DEFAULT_bedKd 305.4 |
| 402 | + #define DEFAULT_bedKp 602.82 |
| 403 | + #define DEFAULT_bedKi 114.98 |
| 404 | + #define DEFAULT_bedKd 790.15 |
405 | 405 |
|
406 | 406 | //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) |
407 | 407 | //from pidautotune |
|
492 | 492 | #endif |
493 | 493 |
|
494 | 494 | // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). |
495 | | -#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
496 | | -#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
497 | | -#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
| 495 | +#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. |
| 496 | +#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. |
| 497 | +#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. |
498 | 498 | #define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
499 | 499 | #define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
500 | 500 | #define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
|
529 | 529 | * Override with M92 |
530 | 530 | * X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
531 | 531 | */ |
532 | | -#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 } |
| 532 | +#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 104 } |
533 | 533 |
|
534 | 534 | /** |
535 | 535 | * Default Max Feed Rate (mm/s) |
536 | 536 | * Override with M203 |
537 | 537 | * X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
538 | 538 | */ |
539 | | -#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 } |
| 539 | +#define DEFAULT_MAX_FEEDRATE { 300, 300, 20, 50 } |
540 | 540 |
|
541 | 541 | /** |
542 | 542 | * Default Max Acceleration (change/s) change = mm/s |
|
749 | 749 |
|
750 | 750 | // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way. |
751 | 751 | #define INVERT_X_DIR false |
752 | | -#define INVERT_Y_DIR true |
753 | | -#define INVERT_Z_DIR false |
| 752 | +#define INVERT_Y_DIR false |
| 753 | +#define INVERT_Z_DIR true |
754 | 754 |
|
755 | 755 | // Enable this option for Toshiba stepper drivers |
756 | 756 | //#define CONFIG_STEPPERS_TOSHIBA |
757 | 757 |
|
758 | 758 | // @section extruder |
759 | 759 |
|
760 | 760 | // For direct drive extruder v9 set to true, for geared extruder set to false. |
761 | | -#define INVERT_E0_DIR false |
| 761 | +#define INVERT_E0_DIR true |
762 | 762 | #define INVERT_E1_DIR false |
763 | 763 | #define INVERT_E2_DIR false |
764 | 764 | #define INVERT_E3_DIR false |
|
789 | 789 | #define Z_MIN_POS 0 |
790 | 790 | #define X_MAX_POS X_BED_SIZE |
791 | 791 | #define Y_MAX_POS Y_BED_SIZE |
792 | | -#define Z_MAX_POS 200 |
| 792 | +#define Z_MAX_POS 150 |
793 | 793 |
|
794 | 794 | /** |
795 | 795 | * Software Endstops |
|
1113 | 1113 | // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily). |
1114 | 1114 | // M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to. |
1115 | 1115 | // |
1116 | | -//#define EEPROM_SETTINGS // Enable for M500 and M501 commands |
| 1116 | +#define EEPROM_SETTINGS // Enable for M500 and M501 commands |
1117 | 1117 | //#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release! |
1118 | 1118 | #define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM. |
1119 | 1119 |
|
|
1145 | 1145 | // @section temperature |
1146 | 1146 |
|
1147 | 1147 | // Preheat Constants |
1148 | | -#define PREHEAT_1_TEMP_HOTEND 180 |
1149 | | -#define PREHEAT_1_TEMP_BED 70 |
| 1148 | +#define PREHEAT_1_TEMP_HOTEND 220 |
| 1149 | +#define PREHEAT_1_TEMP_BED 60 |
1150 | 1150 | #define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255 |
1151 | 1151 |
|
1152 | | -#define PREHEAT_2_TEMP_HOTEND 240 |
1153 | | -#define PREHEAT_2_TEMP_BED 110 |
| 1152 | +#define PREHEAT_2_TEMP_HOTEND 250 |
| 1153 | +#define PREHEAT_2_TEMP_BED 80 |
1154 | 1154 | #define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255 |
1155 | 1155 |
|
1156 | 1156 | /** |
|
1329 | 1329 | * you must uncomment the following option or it won't work. |
1330 | 1330 | * |
1331 | 1331 | */ |
1332 | | -//#define SDSUPPORT |
| 1332 | +#define SDSUPPORT |
1333 | 1333 |
|
1334 | 1334 | /** |
1335 | 1335 | * SD CARD: SPI SPEED |
|
1346 | 1346 | * |
1347 | 1347 | * Use CRC checks and retries on the SD communication. |
1348 | 1348 | */ |
1349 | | -//#define SD_CHECK_AND_RETRY |
| 1349 | +#define SD_CHECK_AND_RETRY |
1350 | 1350 |
|
1351 | 1351 | // |
1352 | 1352 | // ENCODER SETTINGS |
|
1377 | 1377 | // |
1378 | 1378 | // Set this option if CLOCKWISE causes values to DECREASE |
1379 | 1379 | // |
1380 | | -//#define REVERSE_ENCODER_DIRECTION |
| 1380 | +#define REVERSE_ENCODER_DIRECTION |
1381 | 1381 |
|
1382 | 1382 | // |
1383 | 1383 | // This option reverses the encoder direction for navigating LCD menus. |
|
1532 | 1532 | // |
1533 | 1533 | // LCD for Melzi Card with Graphical LCD |
1534 | 1534 | // |
1535 | | -//#define LCD_FOR_MELZI |
| 1535 | +#define LCD_FOR_MELZI |
1536 | 1536 |
|
1537 | 1537 | // |
1538 | 1538 | // CONTROLLER TYPE: I2C |
|
0 commit comments