|
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 |
|
|
465 | 466 | // Above this temperature the heater will be switched off. |
466 | 467 | // This can protect components from overheating, but NOT from shorts and failures. |
467 | 468 | // (Use MINTEMP for thermistor short/failure protection.) |
468 | | -#define HEATER_0_MAXTEMP 275 |
469 | | -#define HEATER_1_MAXTEMP 275 |
470 | | -#define HEATER_2_MAXTEMP 275 |
471 | | -#define HEATER_3_MAXTEMP 275 |
472 | | -#define HEATER_4_MAXTEMP 275 |
473 | | -#define HEATER_5_MAXTEMP 275 |
474 | | -#define HEATER_6_MAXTEMP 275 |
475 | | -#define HEATER_7_MAXTEMP 275 |
476 | | -#define BED_MAXTEMP 150 |
| 469 | +#define HEATER_0_MAXTEMP 260 |
| 470 | +#define HEATER_1_MAXTEMP 260 |
| 471 | +#define HEATER_2_MAXTEMP 260 |
| 472 | +#define HEATER_3_MAXTEMP 260 |
| 473 | +#define HEATER_4_MAXTEMP 260 |
| 474 | +#define HEATER_5_MAXTEMP 260 |
| 475 | +#define HEATER_6_MAXTEMP 260 |
| 476 | +#define HEATER_7_MAXTEMP 260 |
| 477 | +#define BED_MAXTEMP 125 |
477 | 478 |
|
478 | 479 | //=========================================================================== |
479 | 480 | //============================= PID Settings ================================ |
|
487 | 488 | #define PID_K1 0.95 // Smoothing factor within any PID loop |
488 | 489 |
|
489 | 490 | #if ENABLED(PIDTEMP) |
490 | | - //#define PID_EDIT_MENU // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM) |
491 | | - //#define PID_AUTOTUNE_MENU // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM) |
| 491 | + #define PID_EDIT_MENU // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM) |
| 492 | + #define PID_AUTOTUNE_MENU // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM) |
492 | 493 | //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders) |
493 | 494 | // Set/get with gcode: M301 E[extruder number, 0-2] |
494 | 495 |
|
| 496 | + // Anycubic Mega Zero, generated with M303 C8 S190 |
495 | 497 | #if ENABLED(PID_PARAMS_PER_HOTEND) |
496 | 498 | // Specify between 1 and HOTENDS values per array. |
497 | 499 | // If fewer than EXTRUDER values are provided, the last element will be repeated. |
498 | | - #define DEFAULT_Kp_LIST { 22.20, 22.20 } |
499 | | - #define DEFAULT_Ki_LIST { 1.08, 1.08 } |
500 | | - #define DEFAULT_Kd_LIST { 114.00, 114.00 } |
| 500 | + #define DEFAULT_Kp_LIST { 17.72, 17.72 } |
| 501 | + #define DEFAULT_Ki_LIST { 1.18, 1.18 } |
| 502 | + #define DEFAULT_Kd_LIST { 66.76, 66.76 } |
501 | 503 | #else |
502 | | - #define DEFAULT_Kp 22.20 |
503 | | - #define DEFAULT_Ki 1.08 |
504 | | - #define DEFAULT_Kd 114.00 |
| 504 | + #define DEFAULT_Kp 17.72 |
| 505 | + #define DEFAULT_Ki 1.18 |
| 506 | + #define DEFAULT_Kd 66.76 |
505 | 507 | #endif |
506 | 508 | #endif // PIDTEMP |
507 | 509 |
|
|
741 | 743 | * Override with M92 |
742 | 744 | * X, Y, Z, E0 [, E1[, E2...]] |
743 | 745 | */ |
744 | | -#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 } |
| 746 | +#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 385 } |
745 | 747 |
|
746 | 748 | /** |
747 | 749 | * Default Max Feed Rate (mm/s) |
748 | 750 | * Override with M203 |
749 | 751 | * X, Y, Z, E0 [, E1[, E2...]] |
750 | 752 | */ |
751 | | -#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 } |
| 753 | +#define DEFAULT_MAX_FEEDRATE { 500, 500, 5, 25 } |
752 | 754 |
|
753 | 755 | //#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2 |
754 | 756 | #if ENABLED(LIMITED_MAX_FR_EDITING) |
|
761 | 763 | * Override with M201 |
762 | 764 | * X, Y, Z, E0 [, E1[, E2...]] |
763 | 765 | */ |
764 | | -#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 } |
| 766 | +#define DEFAULT_MAX_ACCELERATION { 500, 500, 100, 5000 } |
765 | 767 |
|
766 | 768 | //#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2 |
767 | 769 | #if ENABLED(LIMITED_MAX_ACCEL_EDITING) |
|
776 | 778 | * M204 R Retract Acceleration |
777 | 779 | * M204 T Travel Acceleration |
778 | 780 | */ |
779 | | -#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves |
780 | | -#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts |
781 | | -#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves |
| 781 | +#define DEFAULT_ACCELERATION 500 // X, Y, Z and E acceleration for printing moves |
| 782 | +#define DEFAULT_RETRACT_ACCELERATION 500 // E acceleration for retracts |
| 783 | +#define DEFAULT_TRAVEL_ACCELERATION 500 // X, Y, Z acceleration for travel (non printing) moves |
782 | 784 |
|
783 | 785 | /** |
784 | 786 | * Default Jerk limits (mm/s) |
|
812 | 814 | * https://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html |
813 | 815 | */ |
814 | 816 | #if DISABLED(CLASSIC_JERK) |
815 | | - #define JUNCTION_DEVIATION_MM 0.013 // (mm) Distance from real junction edge |
| 817 | + #define JUNCTION_DEVIATION_MM 0.08 // (mm) Distance from real junction edge |
816 | 818 | #define JD_HANDLE_SMALL_SEGMENTS // Use curvature estimation instead of just the junction angle |
817 | 819 | // for small segments (< 1mm) with large junction angles (> 135°). |
818 | 820 | #endif |
|
825 | 827 | * |
826 | 828 | * See https://github.com/synthetos/TinyG/wiki/Jerk-Controlled-Motion-Explained |
827 | 829 | */ |
828 | | -//#define S_CURVE_ACCELERATION |
| 830 | +#define S_CURVE_ACCELERATION |
829 | 831 |
|
830 | 832 | //=========================================================================== |
831 | 833 | //============================= Z Probe Options ============================= |
|
986 | 988 | * | [-] | |
987 | 989 | * O-- FRONT --+ |
988 | 990 | */ |
989 | | -#define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 } |
| 991 | +#define NOZZLE_TO_PROBE_OFFSET { -40, -10, 2 } |
990 | 992 |
|
991 | 993 | // Most probes should stay away from the edges of the bed, but |
992 | 994 | // with NOZZLE_AS_PROBE this can be negative for a wider probing area. |
|
1086 | 1088 | // @section machine |
1087 | 1089 |
|
1088 | 1090 | // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way. |
1089 | | -#define INVERT_X_DIR false |
| 1091 | +#define INVERT_X_DIR true |
1090 | 1092 | #define INVERT_Y_DIR true |
1091 | 1093 | #define INVERT_Z_DIR false |
1092 | 1094 |
|
|
1122 | 1124 | // @section machine |
1123 | 1125 |
|
1124 | 1126 | // The size of the print bed |
1125 | | -#define X_BED_SIZE 200 |
1126 | | -#define Y_BED_SIZE 200 |
| 1127 | +#define X_BED_SIZE 220 |
| 1128 | +#define Y_BED_SIZE 220 |
1127 | 1129 |
|
1128 | 1130 | // Travel limits (mm) after homing, corresponding to endstop positions. |
1129 | | -#define X_MIN_POS 0 |
| 1131 | +#define X_MIN_POS -9 |
1130 | 1132 | #define Y_MIN_POS 0 |
1131 | 1133 | #define Z_MIN_POS 0 |
1132 | 1134 | #define X_MAX_POS X_BED_SIZE |
1133 | 1135 | #define Y_MAX_POS Y_BED_SIZE |
1134 | | -#define Z_MAX_POS 200 |
| 1136 | +#define Z_MAX_POS 250 |
1135 | 1137 |
|
1136 | 1138 | /** |
1137 | 1139 | * Software Endstops |
|
1236 | 1238 | //#define AUTO_BED_LEVELING_LINEAR |
1237 | 1239 | //#define AUTO_BED_LEVELING_BILINEAR |
1238 | 1240 | //#define AUTO_BED_LEVELING_UBL |
1239 | | -//#define MESH_BED_LEVELING |
| 1241 | +#define MESH_BED_LEVELING |
1240 | 1242 |
|
1241 | 1243 | /** |
1242 | 1244 | * Normally G28 leaves leveling disabled on completion. Enable |
1243 | 1245 | * this option to have G28 restore the prior leveling state. |
1244 | 1246 | */ |
1245 | | -//#define RESTORE_LEVELING_AFTER_G28 |
| 1247 | +#define RESTORE_LEVELING_AFTER_G28 |
1246 | 1248 |
|
1247 | 1249 | /** |
1248 | 1250 | * Enable detailed logging of G28, G29, M48, etc. |
|
1341 | 1343 | * Add a bed leveling sub-menu for ABL or MBL. |
1342 | 1344 | * Include a guided procedure if manual probing is enabled. |
1343 | 1345 | */ |
1344 | | -//#define LCD_BED_LEVELING |
| 1346 | +#define LCD_BED_LEVELING |
1345 | 1347 |
|
1346 | 1348 | #if ENABLED(LCD_BED_LEVELING) |
1347 | 1349 | #define MESH_EDIT_Z_STEP 0.025 // (mm) Step size while manually probing Z axis. |
1348 | 1350 | #define LCD_PROBE_Z_RANGE 4 // (mm) Z Range centered on Z_MIN_POS for LCD Z adjustment |
1349 | | - //#define MESH_EDIT_MENU // Add a menu to edit mesh points |
| 1351 | + #define MESH_EDIT_MENU // Add a menu to edit mesh points |
1350 | 1352 | #endif |
1351 | 1353 |
|
1352 | 1354 | // Add a menu item to move between bed corners for manual bed adjustment |
1353 | | -//#define LEVEL_BED_CORNERS |
| 1355 | +#define LEVEL_BED_CORNERS |
1354 | 1356 |
|
1355 | 1357 | #if ENABLED(LEVEL_BED_CORNERS) |
1356 | 1358 | #define LEVEL_CORNERS_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets |
|
1471 | 1473 | * M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes) |
1472 | 1474 | * M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.) |
1473 | 1475 | */ |
1474 | | -//#define EEPROM_SETTINGS // Persistent storage with M500 and M501 |
| 1476 | +#define EEPROM_SETTINGS // Persistent storage with M500 and M501 |
1475 | 1477 | //#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release! |
1476 | 1478 | #define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM. |
1477 | 1479 | #define EEPROM_BOOT_SILENT // Keep M503 quiet and only give errors during first load |
|
1503 | 1505 |
|
1504 | 1506 | // Preheat Constants |
1505 | 1507 | #define PREHEAT_1_LABEL "PLA" |
1506 | | -#define PREHEAT_1_TEMP_HOTEND 180 |
| 1508 | +#define PREHEAT_1_TEMP_HOTEND 190 |
1507 | 1509 | #define PREHEAT_1_TEMP_BED 70 |
1508 | 1510 | #define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255 |
1509 | 1511 |
|
1510 | | -#define PREHEAT_2_LABEL "ABS" |
1511 | | -#define PREHEAT_2_TEMP_HOTEND 240 |
| 1512 | +#define PREHEAT_2_LABEL "PETG" |
| 1513 | +#define PREHEAT_2_TEMP_HOTEND 230 |
1512 | 1514 | #define PREHEAT_2_TEMP_BED 110 |
1513 | 1515 | #define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255 |
1514 | 1516 |
|
|
1709 | 1711 | * |
1710 | 1712 | * :['JAPANESE', 'WESTERN', 'CYRILLIC'] |
1711 | 1713 | */ |
1712 | | -#define DISPLAY_CHARSET_HD44780 JAPANESE |
| 1714 | +#define DISPLAY_CHARSET_HD44780 WESTERN |
1713 | 1715 |
|
1714 | 1716 | /** |
1715 | 1717 | * Info Screen Style (0:Classic, 1:Průša) |
|
1724 | 1726 | * SD Card support is disabled by default. If your controller has an SD slot, |
1725 | 1727 | * you must uncomment the following option or it won't work. |
1726 | 1728 | */ |
1727 | | -//#define SDSUPPORT |
| 1729 | +#define SDSUPPORT |
1728 | 1730 |
|
1729 | 1731 | /** |
1730 | 1732 | * SD CARD: SPI SPEED |
|
1750 | 1752 | * just remove some extraneous menu items to recover space. |
1751 | 1753 | */ |
1752 | 1754 | //#define NO_LCD_MENUS |
1753 | | -//#define SLIM_LCD_MENUS |
| 1755 | +#define SLIM_LCD_MENUS |
1754 | 1756 |
|
1755 | 1757 | // |
1756 | 1758 | // ENCODER SETTINGS |
|
1804 | 1806 | // |
1805 | 1807 | // Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu. |
1806 | 1808 | // |
1807 | | -//#define INDIVIDUAL_AXIS_HOMING_MENU |
| 1809 | +#define INDIVIDUAL_AXIS_HOMING_MENU |
1808 | 1810 |
|
1809 | 1811 | // |
1810 | 1812 | // SPEAKER/BUZZER |
|
1985 | 1987 | // RepRapDiscount FULL GRAPHIC Smart Controller |
1986 | 1988 | // https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller |
1987 | 1989 | // |
1988 | | -//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER |
| 1990 | +#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER |
1989 | 1991 |
|
1990 | 1992 | // |
1991 | 1993 | // ReprapWorld Graphical LCD |
|
2255 | 2257 | // |
2256 | 2258 | //#define DWIN_CREALITY_LCD |
2257 | 2259 |
|
| 2260 | +// |
| 2261 | +// MarlinUI for Creality's DWIN display (and others) |
| 2262 | +// |
| 2263 | +//#define DWIN_MARLINUI_PORTRAIT |
| 2264 | +//#define DWIN_MARLINUI_LANDSCAPE |
| 2265 | + |
2258 | 2266 | // |
2259 | 2267 | // ADS7843/XPT2046 ADC Touchscreen such as ILI9341 2.8 |
2260 | 2268 | // |
|
0 commit comments