|
70 | 70 | // @section info |
71 | 71 |
|
72 | 72 | // Author info of this build printed to the host during boot and M115 |
73 | | -#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes. |
| 73 | +#define STRING_CONFIG_H_AUTHOR "(kad, Anycubic Mega Zero)" // Who made the changes. |
74 | 74 | //#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes) |
75 | 75 |
|
76 | 76 | /** |
|
88 | 88 | #define SHOW_BOOTSCREEN |
89 | 89 |
|
90 | 90 | // Show the bitmap in Marlin/_Bootscreen.h on startup. |
91 | | -//#define SHOW_CUSTOM_BOOTSCREEN |
| 91 | +#define SHOW_CUSTOM_BOOTSCREEN |
92 | 92 |
|
93 | 93 | // Show the bitmap in Marlin/_Statusscreen.h on the status screen. |
94 | | -//#define CUSTOM_STATUS_SCREEN_IMAGE |
| 94 | +#define CUSTOM_STATUS_SCREEN_IMAGE |
95 | 95 |
|
96 | 96 | // @section machine |
97 | 97 |
|
|
120 | 120 | * |
121 | 121 | * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] |
122 | 122 | */ |
123 | | -#define BAUDRATE 250000 |
| 123 | +#define BAUDRATE 115200 |
124 | 124 |
|
125 | 125 | // Enable the Bluetooth serial interface on AT90USB devices |
126 | 126 | //#define BLUETOOTH |
127 | 127 |
|
128 | 128 | // Choose the name from boards.h that matches your setup |
129 | 129 | #ifndef MOTHERBOARD |
130 | | - #define MOTHERBOARD BOARD_RAMPS_14_EFB |
| 130 | + #define MOTHERBOARD BOARD_MELZI_CREALITY |
131 | 131 | #endif |
132 | 132 |
|
133 | 133 | // Name displayed in the LCD "Ready" message and Info menu |
134 | | -//#define CUSTOM_MACHINE_NAME "3D Printer" |
| 134 | +#define CUSTOM_MACHINE_NAME "Mega Zero" |
135 | 135 |
|
136 | 136 | // Printer's unique ID, used by some programs to differentiate between machines. |
137 | 137 | // Choose your own or use a service like https://www.uuidgenerator.net/version4 |
138 | 138 | //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000" |
| 139 | +#define MACHINE_UUID "b330ff10-580e-4248-b12a-8d3a3f2ef9f0" |
139 | 140 |
|
140 | 141 | // @section extruder |
141 | 142 |
|
|
459 | 460 | // Above this temperature the heater will be switched off. |
460 | 461 | // This can protect components from overheating, but NOT from shorts and failures. |
461 | 462 | // (Use MINTEMP for thermistor short/failure protection.) |
462 | | -#define HEATER_0_MAXTEMP 275 |
463 | | -#define HEATER_1_MAXTEMP 275 |
464 | | -#define HEATER_2_MAXTEMP 275 |
465 | | -#define HEATER_3_MAXTEMP 275 |
466 | | -#define HEATER_4_MAXTEMP 275 |
467 | | -#define HEATER_5_MAXTEMP 275 |
468 | | -#define HEATER_6_MAXTEMP 275 |
469 | | -#define HEATER_7_MAXTEMP 275 |
470 | | -#define BED_MAXTEMP 150 |
| 463 | +#define HEATER_0_MAXTEMP 260 |
| 464 | +#define HEATER_1_MAXTEMP 260 |
| 465 | +#define HEATER_2_MAXTEMP 260 |
| 466 | +#define HEATER_3_MAXTEMP 260 |
| 467 | +#define HEATER_4_MAXTEMP 260 |
| 468 | +#define HEATER_5_MAXTEMP 260 |
| 469 | +#define HEATER_6_MAXTEMP 260 |
| 470 | +#define HEATER_7_MAXTEMP 260 |
| 471 | +#define BED_MAXTEMP 125 |
471 | 472 |
|
472 | 473 | //=========================================================================== |
473 | 474 | //============================= PID Settings ================================ |
|
481 | 482 | #define PID_K1 0.95 // Smoothing factor within any PID loop |
482 | 483 |
|
483 | 484 | #if ENABLED(PIDTEMP) |
484 | | - //#define PID_EDIT_MENU // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM) |
485 | | - //#define PID_AUTOTUNE_MENU // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM) |
| 485 | + #define PID_EDIT_MENU // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM) |
| 486 | + #define PID_AUTOTUNE_MENU // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM) |
486 | 487 | //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders) |
487 | 488 | // Set/get with gcode: M301 E[extruder number, 0-2] |
488 | 489 |
|
| 490 | + // Anycubic Mega Zero, generated with M303 C8 S190 |
489 | 491 | #if ENABLED(PID_PARAMS_PER_HOTEND) |
490 | 492 | // Specify between 1 and HOTENDS values per array. |
491 | 493 | // If fewer than EXTRUDER values are provided, the last element will be repeated. |
492 | | - #define DEFAULT_Kp_LIST { 22.20, 22.20 } |
493 | | - #define DEFAULT_Ki_LIST { 1.08, 1.08 } |
494 | | - #define DEFAULT_Kd_LIST { 114.00, 114.00 } |
| 494 | + #define DEFAULT_Kp_LIST { 17.72, 17.72 } |
| 495 | + #define DEFAULT_Ki_LIST { 1.18, 1.18 } |
| 496 | + #define DEFAULT_Kd_LIST { 66.76, 66.76 } |
495 | 497 | #else |
496 | | - #define DEFAULT_Kp 22.20 |
497 | | - #define DEFAULT_Ki 1.08 |
498 | | - #define DEFAULT_Kd 114.00 |
| 498 | + #define DEFAULT_Kp 17.72 |
| 499 | + #define DEFAULT_Ki 1.18 |
| 500 | + #define DEFAULT_Kd 66.76 |
499 | 501 | #endif |
500 | 502 | #endif // PIDTEMP |
501 | 503 |
|
|
735 | 737 | * Override with M92 |
736 | 738 | * X, Y, Z, E0 [, E1[, E2...]] |
737 | 739 | */ |
738 | | -#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 } |
| 740 | +#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 385 } |
739 | 741 |
|
740 | 742 | /** |
741 | 743 | * Default Max Feed Rate (mm/s) |
742 | 744 | * Override with M203 |
743 | 745 | * X, Y, Z, E0 [, E1[, E2...]] |
744 | 746 | */ |
745 | | -#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 } |
| 747 | +#define DEFAULT_MAX_FEEDRATE { 500, 500, 5, 25 } |
746 | 748 |
|
747 | 749 | //#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2 |
748 | 750 | #if ENABLED(LIMITED_MAX_FR_EDITING) |
|
755 | 757 | * Override with M201 |
756 | 758 | * X, Y, Z, E0 [, E1[, E2...]] |
757 | 759 | */ |
758 | | -#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 } |
| 760 | +#define DEFAULT_MAX_ACCELERATION { 500, 500, 100, 5000 } |
759 | 761 |
|
760 | 762 | //#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2 |
761 | 763 | #if ENABLED(LIMITED_MAX_ACCEL_EDITING) |
|
770 | 772 | * M204 R Retract Acceleration |
771 | 773 | * M204 T Travel Acceleration |
772 | 774 | */ |
773 | | -#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves |
774 | | -#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts |
775 | | -#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves |
| 775 | +#define DEFAULT_ACCELERATION 500 // X, Y, Z and E acceleration for printing moves |
| 776 | +#define DEFAULT_RETRACT_ACCELERATION 500 // E acceleration for retracts |
| 777 | +#define DEFAULT_TRAVEL_ACCELERATION 500 // X, Y, Z acceleration for travel (non printing) moves |
776 | 778 |
|
777 | 779 | /** |
778 | 780 | * Default Jerk limits (mm/s) |
|
806 | 808 | * https://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html |
807 | 809 | */ |
808 | 810 | #if DISABLED(CLASSIC_JERK) |
809 | | - #define JUNCTION_DEVIATION_MM 0.013 // (mm) Distance from real junction edge |
| 811 | + #define JUNCTION_DEVIATION_MM 0.08 // (mm) Distance from real junction edge |
810 | 812 | #define JD_HANDLE_SMALL_SEGMENTS // Use curvature estimation instead of just the junction angle |
811 | 813 | // for small segments (< 1mm) with large junction angles (> 135°). |
812 | 814 | #endif |
|
819 | 821 | * |
820 | 822 | * See https://github.com/synthetos/TinyG/wiki/Jerk-Controlled-Motion-Explained |
821 | 823 | */ |
822 | | -//#define S_CURVE_ACCELERATION |
| 824 | +#define S_CURVE_ACCELERATION |
823 | 825 |
|
824 | 826 | //=========================================================================== |
825 | 827 | //============================= Z Probe Options ============================= |
|
980 | 982 | * | [-] | |
981 | 983 | * O-- FRONT --+ |
982 | 984 | */ |
983 | | -#define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 } |
| 985 | +#define NOZZLE_TO_PROBE_OFFSET { -40, -10, 2 } |
984 | 986 |
|
985 | 987 | // Most probes should stay away from the edges of the bed, but |
986 | 988 | // with NOZZLE_AS_PROBE this can be negative for a wider probing area. |
|
1080 | 1082 | // @section machine |
1081 | 1083 |
|
1082 | 1084 | // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way. |
1083 | | -#define INVERT_X_DIR false |
| 1085 | +#define INVERT_X_DIR true |
1084 | 1086 | #define INVERT_Y_DIR true |
1085 | 1087 | #define INVERT_Z_DIR false |
1086 | 1088 |
|
|
1116 | 1118 | // @section machine |
1117 | 1119 |
|
1118 | 1120 | // The size of the print bed |
1119 | | -#define X_BED_SIZE 200 |
1120 | | -#define Y_BED_SIZE 200 |
| 1121 | +#define X_BED_SIZE 220 |
| 1122 | +#define Y_BED_SIZE 220 |
1121 | 1123 |
|
1122 | 1124 | // Travel limits (mm) after homing, corresponding to endstop positions. |
1123 | | -#define X_MIN_POS 0 |
| 1125 | +#define X_MIN_POS -9 |
1124 | 1126 | #define Y_MIN_POS 0 |
1125 | 1127 | #define Z_MIN_POS 0 |
1126 | 1128 | #define X_MAX_POS X_BED_SIZE |
1127 | 1129 | #define Y_MAX_POS Y_BED_SIZE |
1128 | | -#define Z_MAX_POS 200 |
| 1130 | +#define Z_MAX_POS 250 |
1129 | 1131 |
|
1130 | 1132 | /** |
1131 | 1133 | * Software Endstops |
|
1230 | 1232 | //#define AUTO_BED_LEVELING_LINEAR |
1231 | 1233 | //#define AUTO_BED_LEVELING_BILINEAR |
1232 | 1234 | //#define AUTO_BED_LEVELING_UBL |
1233 | | -//#define MESH_BED_LEVELING |
| 1235 | +#define MESH_BED_LEVELING |
1234 | 1236 |
|
1235 | 1237 | /** |
1236 | 1238 | * Normally G28 leaves leveling disabled on completion. Enable |
1237 | 1239 | * this option to have G28 restore the prior leveling state. |
1238 | 1240 | */ |
1239 | | -//#define RESTORE_LEVELING_AFTER_G28 |
| 1241 | +#define RESTORE_LEVELING_AFTER_G28 |
1240 | 1242 |
|
1241 | 1243 | /** |
1242 | 1244 | * Enable detailed logging of G28, G29, M48, etc. |
|
1335 | 1337 | * Add a bed leveling sub-menu for ABL or MBL. |
1336 | 1338 | * Include a guided procedure if manual probing is enabled. |
1337 | 1339 | */ |
1338 | | -//#define LCD_BED_LEVELING |
| 1340 | +#define LCD_BED_LEVELING |
1339 | 1341 |
|
1340 | 1342 | #if ENABLED(LCD_BED_LEVELING) |
1341 | 1343 | #define MESH_EDIT_Z_STEP 0.025 // (mm) Step size while manually probing Z axis. |
1342 | 1344 | #define LCD_PROBE_Z_RANGE 4 // (mm) Z Range centered on Z_MIN_POS for LCD Z adjustment |
1343 | | - //#define MESH_EDIT_MENU // Add a menu to edit mesh points |
| 1345 | + #define MESH_EDIT_MENU // Add a menu to edit mesh points |
1344 | 1346 | #endif |
1345 | 1347 |
|
1346 | 1348 | // Add a menu item to move between bed corners for manual bed adjustment |
1347 | | -//#define LEVEL_BED_CORNERS |
| 1349 | +#define LEVEL_BED_CORNERS |
1348 | 1350 |
|
1349 | 1351 | #if ENABLED(LEVEL_BED_CORNERS) |
1350 | 1352 | #define LEVEL_CORNERS_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets |
|
1465 | 1467 | * M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes) |
1466 | 1468 | * M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.) |
1467 | 1469 | */ |
1468 | | -//#define EEPROM_SETTINGS // Persistent storage with M500 and M501 |
| 1470 | +#define EEPROM_SETTINGS // Persistent storage with M500 and M501 |
1469 | 1471 | //#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release! |
1470 | 1472 | #define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM. |
1471 | 1473 | #define EEPROM_BOOT_SILENT // Keep M503 quiet and only give errors during first load |
|
1497 | 1499 |
|
1498 | 1500 | // Preheat Constants |
1499 | 1501 | #define PREHEAT_1_LABEL "PLA" |
1500 | | -#define PREHEAT_1_TEMP_HOTEND 180 |
| 1502 | +#define PREHEAT_1_TEMP_HOTEND 190 |
1501 | 1503 | #define PREHEAT_1_TEMP_BED 70 |
1502 | 1504 | #define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255 |
1503 | 1505 |
|
1504 | | -#define PREHEAT_2_LABEL "ABS" |
1505 | | -#define PREHEAT_2_TEMP_HOTEND 240 |
| 1506 | +#define PREHEAT_2_LABEL "PETG" |
| 1507 | +#define PREHEAT_2_TEMP_HOTEND 230 |
1506 | 1508 | #define PREHEAT_2_TEMP_BED 110 |
1507 | 1509 | #define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255 |
1508 | 1510 |
|
|
1703 | 1705 | * |
1704 | 1706 | * :['JAPANESE', 'WESTERN', 'CYRILLIC'] |
1705 | 1707 | */ |
1706 | | -#define DISPLAY_CHARSET_HD44780 JAPANESE |
| 1708 | +#define DISPLAY_CHARSET_HD44780 WESTERN |
1707 | 1709 |
|
1708 | 1710 | /** |
1709 | 1711 | * Info Screen Style (0:Classic, 1:Průša) |
|
1718 | 1720 | * SD Card support is disabled by default. If your controller has an SD slot, |
1719 | 1721 | * you must uncomment the following option or it won't work. |
1720 | 1722 | */ |
1721 | | -//#define SDSUPPORT |
| 1723 | +#define SDSUPPORT |
1722 | 1724 |
|
1723 | 1725 | /** |
1724 | 1726 | * SD CARD: SPI SPEED |
|
1744 | 1746 | * just remove some extraneous menu items to recover space. |
1745 | 1747 | */ |
1746 | 1748 | //#define NO_LCD_MENUS |
1747 | | -//#define SLIM_LCD_MENUS |
| 1749 | +#define SLIM_LCD_MENUS |
1748 | 1750 |
|
1749 | 1751 | // |
1750 | 1752 | // ENCODER SETTINGS |
|
1798 | 1800 | // |
1799 | 1801 | // Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu. |
1800 | 1802 | // |
1801 | | -//#define INDIVIDUAL_AXIS_HOMING_MENU |
| 1803 | +#define INDIVIDUAL_AXIS_HOMING_MENU |
1802 | 1804 |
|
1803 | 1805 | // |
1804 | 1806 | // SPEAKER/BUZZER |
|
1979 | 1981 | // RepRapDiscount FULL GRAPHIC Smart Controller |
1980 | 1982 | // https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller |
1981 | 1983 | // |
1982 | | -//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER |
| 1984 | +#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER |
1983 | 1985 |
|
1984 | 1986 | // |
1985 | 1987 | // ReprapWorld Graphical LCD |
|
2245 | 2247 | // |
2246 | 2248 | //#define DWIN_CREALITY_LCD |
2247 | 2249 |
|
| 2250 | +// |
| 2251 | +// MarlinUI for Creality's DWIN display (and others) |
| 2252 | +// |
| 2253 | +//#define DWIN_MARLINUI_PORTRAIT |
| 2254 | +//#define DWIN_MARLINUI_LANDSCAPE |
| 2255 | + |
2248 | 2256 | // |
2249 | 2257 | // ADS7843/XPT2046 ADC Touchscreen such as ILI9341 2.8 |
2250 | 2258 | // |
|
0 commit comments