Skip to content

Commit a32125e

Browse files
committed
Anycubic Mega Zero configuration files
- Anycubic custom screens - Enabled individual homing menu - Enabled turbo-back menu item - Enabled support for M73 (Current percentage/Remaining time) - Enabled Mesh Bed Leveling (including LCD leveling sub-menu) - To save space: - Disabled Arc support - Disabled Volumetric extrusion options - Enabled slim LCD menus
1 parent 5701100 commit a32125e

File tree

4 files changed

+182
-67
lines changed

4 files changed

+182
-67
lines changed

Marlin/Configuration.h

Lines changed: 59 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
// @section info
7171

7272
// 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.
7474
//#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes)
7575

7676
/**
@@ -88,10 +88,10 @@
8888
#define SHOW_BOOTSCREEN
8989

9090
// Show the bitmap in Marlin/_Bootscreen.h on startup.
91-
//#define SHOW_CUSTOM_BOOTSCREEN
91+
#define SHOW_CUSTOM_BOOTSCREEN
9292

9393
// Show the bitmap in Marlin/_Statusscreen.h on the status screen.
94-
//#define CUSTOM_STATUS_SCREEN_IMAGE
94+
#define CUSTOM_STATUS_SCREEN_IMAGE
9595

9696
// @section machine
9797

@@ -120,22 +120,23 @@
120120
*
121121
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
122122
*/
123-
#define BAUDRATE 250000
123+
#define BAUDRATE 115200
124124

125125
// Enable the Bluetooth serial interface on AT90USB devices
126126
//#define BLUETOOTH
127127

128128
// Choose the name from boards.h that matches your setup
129129
#ifndef MOTHERBOARD
130-
#define MOTHERBOARD BOARD_RAMPS_14_EFB
130+
#define MOTHERBOARD BOARD_MELZI_CREALITY
131131
#endif
132132

133133
// Name displayed in the LCD "Ready" message and Info menu
134-
//#define CUSTOM_MACHINE_NAME "3D Printer"
134+
#define CUSTOM_MACHINE_NAME "Mega Zero"
135135

136136
// Printer's unique ID, used by some programs to differentiate between machines.
137137
// Choose your own or use a service like https://www.uuidgenerator.net/version4
138138
//#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
139+
#define MACHINE_UUID "b330ff10-580e-4248-b12a-8d3a3f2ef9f0"
139140

140141
// @section extruder
141142

@@ -459,15 +460,15 @@
459460
// Above this temperature the heater will be switched off.
460461
// This can protect components from overheating, but NOT from shorts and failures.
461462
// (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
471472

472473
//===========================================================================
473474
//============================= PID Settings ================================
@@ -481,21 +482,22 @@
481482
#define PID_K1 0.95 // Smoothing factor within any PID loop
482483

483484
#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)
486487
//#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
487488
// Set/get with gcode: M301 E[extruder number, 0-2]
488489

490+
// Anycubic Mega Zero, generated with M303 C8 S190
489491
#if ENABLED(PID_PARAMS_PER_HOTEND)
490492
// Specify between 1 and HOTENDS values per array.
491493
// 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 }
495497
#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
499501
#endif
500502
#endif // PIDTEMP
501503

@@ -735,14 +737,14 @@
735737
* Override with M92
736738
* X, Y, Z, E0 [, E1[, E2...]]
737739
*/
738-
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 }
740+
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 385 }
739741

740742
/**
741743
* Default Max Feed Rate (mm/s)
742744
* Override with M203
743745
* X, Y, Z, E0 [, E1[, E2...]]
744746
*/
745-
#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
747+
#define DEFAULT_MAX_FEEDRATE { 500, 500, 5, 25 }
746748

747749
//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
748750
#if ENABLED(LIMITED_MAX_FR_EDITING)
@@ -755,7 +757,7 @@
755757
* Override with M201
756758
* X, Y, Z, E0 [, E1[, E2...]]
757759
*/
758-
#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 }
760+
#define DEFAULT_MAX_ACCELERATION { 500, 500, 100, 5000 }
759761

760762
//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
761763
#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
@@ -770,9 +772,9 @@
770772
* M204 R Retract Acceleration
771773
* M204 T Travel Acceleration
772774
*/
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
776778

777779
/**
778780
* Default Jerk limits (mm/s)
@@ -806,7 +808,7 @@
806808
* https://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
807809
*/
808810
#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
810812
#define JD_HANDLE_SMALL_SEGMENTS // Use curvature estimation instead of just the junction angle
811813
// for small segments (< 1mm) with large junction angles (> 135°).
812814
#endif
@@ -819,7 +821,7 @@
819821
*
820822
* See https://github.com/synthetos/TinyG/wiki/Jerk-Controlled-Motion-Explained
821823
*/
822-
//#define S_CURVE_ACCELERATION
824+
#define S_CURVE_ACCELERATION
823825

824826
//===========================================================================
825827
//============================= Z Probe Options =============================
@@ -980,7 +982,7 @@
980982
* | [-] |
981983
* O-- FRONT --+
982984
*/
983-
#define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 }
985+
#define NOZZLE_TO_PROBE_OFFSET { -40, -10, 2 }
984986

985987
// Most probes should stay away from the edges of the bed, but
986988
// with NOZZLE_AS_PROBE this can be negative for a wider probing area.
@@ -1080,7 +1082,7 @@
10801082
// @section machine
10811083

10821084
// 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
10841086
#define INVERT_Y_DIR true
10851087
#define INVERT_Z_DIR false
10861088

@@ -1116,16 +1118,16 @@
11161118
// @section machine
11171119

11181120
// 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
11211123

11221124
// Travel limits (mm) after homing, corresponding to endstop positions.
1123-
#define X_MIN_POS 0
1125+
#define X_MIN_POS -9
11241126
#define Y_MIN_POS 0
11251127
#define Z_MIN_POS 0
11261128
#define X_MAX_POS X_BED_SIZE
11271129
#define Y_MAX_POS Y_BED_SIZE
1128-
#define Z_MAX_POS 200
1130+
#define Z_MAX_POS 250
11291131

11301132
/**
11311133
* Software Endstops
@@ -1230,13 +1232,13 @@
12301232
//#define AUTO_BED_LEVELING_LINEAR
12311233
//#define AUTO_BED_LEVELING_BILINEAR
12321234
//#define AUTO_BED_LEVELING_UBL
1233-
//#define MESH_BED_LEVELING
1235+
#define MESH_BED_LEVELING
12341236

12351237
/**
12361238
* Normally G28 leaves leveling disabled on completion. Enable
12371239
* this option to have G28 restore the prior leveling state.
12381240
*/
1239-
//#define RESTORE_LEVELING_AFTER_G28
1241+
#define RESTORE_LEVELING_AFTER_G28
12401242

12411243
/**
12421244
* Enable detailed logging of G28, G29, M48, etc.
@@ -1335,16 +1337,16 @@
13351337
* Add a bed leveling sub-menu for ABL or MBL.
13361338
* Include a guided procedure if manual probing is enabled.
13371339
*/
1338-
//#define LCD_BED_LEVELING
1340+
#define LCD_BED_LEVELING
13391341

13401342
#if ENABLED(LCD_BED_LEVELING)
13411343
#define MESH_EDIT_Z_STEP 0.025 // (mm) Step size while manually probing Z axis.
13421344
#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
13441346
#endif
13451347

13461348
// Add a menu item to move between bed corners for manual bed adjustment
1347-
//#define LEVEL_BED_CORNERS
1349+
#define LEVEL_BED_CORNERS
13481350

13491351
#if ENABLED(LEVEL_BED_CORNERS)
13501352
#define LEVEL_CORNERS_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets
@@ -1465,7 +1467,7 @@
14651467
* M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
14661468
* M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
14671469
*/
1468-
//#define EEPROM_SETTINGS // Persistent storage with M500 and M501
1470+
#define EEPROM_SETTINGS // Persistent storage with M500 and M501
14691471
//#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
14701472
#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
14711473
#define EEPROM_BOOT_SILENT // Keep M503 quiet and only give errors during first load
@@ -1497,12 +1499,12 @@
14971499

14981500
// Preheat Constants
14991501
#define PREHEAT_1_LABEL "PLA"
1500-
#define PREHEAT_1_TEMP_HOTEND 180
1502+
#define PREHEAT_1_TEMP_HOTEND 190
15011503
#define PREHEAT_1_TEMP_BED 70
15021504
#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
15031505

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
15061508
#define PREHEAT_2_TEMP_BED 110
15071509
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
15081510

@@ -1703,7 +1705,7 @@
17031705
*
17041706
* :['JAPANESE', 'WESTERN', 'CYRILLIC']
17051707
*/
1706-
#define DISPLAY_CHARSET_HD44780 JAPANESE
1708+
#define DISPLAY_CHARSET_HD44780 WESTERN
17071709

17081710
/**
17091711
* Info Screen Style (0:Classic, 1:Průša)
@@ -1718,7 +1720,7 @@
17181720
* SD Card support is disabled by default. If your controller has an SD slot,
17191721
* you must uncomment the following option or it won't work.
17201722
*/
1721-
//#define SDSUPPORT
1723+
#define SDSUPPORT
17221724

17231725
/**
17241726
* SD CARD: SPI SPEED
@@ -1744,7 +1746,7 @@
17441746
* just remove some extraneous menu items to recover space.
17451747
*/
17461748
//#define NO_LCD_MENUS
1747-
//#define SLIM_LCD_MENUS
1749+
#define SLIM_LCD_MENUS
17481750

17491751
//
17501752
// ENCODER SETTINGS
@@ -1798,7 +1800,7 @@
17981800
//
17991801
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
18001802
//
1801-
//#define INDIVIDUAL_AXIS_HOMING_MENU
1803+
#define INDIVIDUAL_AXIS_HOMING_MENU
18021804

18031805
//
18041806
// SPEAKER/BUZZER
@@ -1979,7 +1981,7 @@
19791981
// RepRapDiscount FULL GRAPHIC Smart Controller
19801982
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
19811983
//
1982-
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
1984+
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
19831985

19841986
//
19851987
// ReprapWorld Graphical LCD
@@ -2245,6 +2247,12 @@
22452247
//
22462248
//#define DWIN_CREALITY_LCD
22472249

2250+
//
2251+
// MarlinUI for Creality's DWIN display (and others)
2252+
//
2253+
//#define DWIN_MARLINUI_PORTRAIT
2254+
//#define DWIN_MARLINUI_LANDSCAPE
2255+
22482256
//
22492257
// ADS7843/XPT2046 ADC Touchscreen such as ILI9341 2.8
22502258
//

0 commit comments

Comments
 (0)