Skip to content

Commit 6a2ad0a

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 a07ee80 commit 6a2ad0a

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

@@ -465,15 +466,15 @@
465466
// Above this temperature the heater will be switched off.
466467
// This can protect components from overheating, but NOT from shorts and failures.
467468
// (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
477478

478479
//===========================================================================
479480
//============================= PID Settings ================================
@@ -487,21 +488,22 @@
487488
#define PID_K1 0.95 // Smoothing factor within any PID loop
488489

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

496+
// Anycubic Mega Zero, generated with M303 C8 S190
495497
#if ENABLED(PID_PARAMS_PER_HOTEND)
496498
// Specify between 1 and HOTENDS values per array.
497499
// 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 }
501503
#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
505507
#endif
506508
#endif // PIDTEMP
507509

@@ -741,14 +743,14 @@
741743
* Override with M92
742744
* X, Y, Z, E0 [, E1[, E2...]]
743745
*/
744-
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 }
746+
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 385 }
745747

746748
/**
747749
* Default Max Feed Rate (mm/s)
748750
* Override with M203
749751
* X, Y, Z, E0 [, E1[, E2...]]
750752
*/
751-
#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
753+
#define DEFAULT_MAX_FEEDRATE { 500, 500, 5, 25 }
752754

753755
//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
754756
#if ENABLED(LIMITED_MAX_FR_EDITING)
@@ -761,7 +763,7 @@
761763
* Override with M201
762764
* X, Y, Z, E0 [, E1[, E2...]]
763765
*/
764-
#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 }
766+
#define DEFAULT_MAX_ACCELERATION { 500, 500, 100, 5000 }
765767

766768
//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
767769
#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
@@ -776,9 +778,9 @@
776778
* M204 R Retract Acceleration
777779
* M204 T Travel Acceleration
778780
*/
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
782784

783785
/**
784786
* Default Jerk limits (mm/s)
@@ -812,7 +814,7 @@
812814
* https://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
813815
*/
814816
#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
816818
#define JD_HANDLE_SMALL_SEGMENTS // Use curvature estimation instead of just the junction angle
817819
// for small segments (< 1mm) with large junction angles (> 135°).
818820
#endif
@@ -825,7 +827,7 @@
825827
*
826828
* See https://github.com/synthetos/TinyG/wiki/Jerk-Controlled-Motion-Explained
827829
*/
828-
//#define S_CURVE_ACCELERATION
830+
#define S_CURVE_ACCELERATION
829831

830832
//===========================================================================
831833
//============================= Z Probe Options =============================
@@ -986,7 +988,7 @@
986988
* | [-] |
987989
* O-- FRONT --+
988990
*/
989-
#define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 }
991+
#define NOZZLE_TO_PROBE_OFFSET { -40, -10, 2 }
990992

991993
// Most probes should stay away from the edges of the bed, but
992994
// with NOZZLE_AS_PROBE this can be negative for a wider probing area.
@@ -1086,7 +1088,7 @@
10861088
// @section machine
10871089

10881090
// 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
10901092
#define INVERT_Y_DIR true
10911093
#define INVERT_Z_DIR false
10921094

@@ -1122,16 +1124,16 @@
11221124
// @section machine
11231125

11241126
// 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
11271129

11281130
// Travel limits (mm) after homing, corresponding to endstop positions.
1129-
#define X_MIN_POS 0
1131+
#define X_MIN_POS -9
11301132
#define Y_MIN_POS 0
11311133
#define Z_MIN_POS 0
11321134
#define X_MAX_POS X_BED_SIZE
11331135
#define Y_MAX_POS Y_BED_SIZE
1134-
#define Z_MAX_POS 200
1136+
#define Z_MAX_POS 250
11351137

11361138
/**
11371139
* Software Endstops
@@ -1236,13 +1238,13 @@
12361238
//#define AUTO_BED_LEVELING_LINEAR
12371239
//#define AUTO_BED_LEVELING_BILINEAR
12381240
//#define AUTO_BED_LEVELING_UBL
1239-
//#define MESH_BED_LEVELING
1241+
#define MESH_BED_LEVELING
12401242

12411243
/**
12421244
* Normally G28 leaves leveling disabled on completion. Enable
12431245
* this option to have G28 restore the prior leveling state.
12441246
*/
1245-
//#define RESTORE_LEVELING_AFTER_G28
1247+
#define RESTORE_LEVELING_AFTER_G28
12461248

12471249
/**
12481250
* Enable detailed logging of G28, G29, M48, etc.
@@ -1341,16 +1343,16 @@
13411343
* Add a bed leveling sub-menu for ABL or MBL.
13421344
* Include a guided procedure if manual probing is enabled.
13431345
*/
1344-
//#define LCD_BED_LEVELING
1346+
#define LCD_BED_LEVELING
13451347

13461348
#if ENABLED(LCD_BED_LEVELING)
13471349
#define MESH_EDIT_Z_STEP 0.025 // (mm) Step size while manually probing Z axis.
13481350
#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
13501352
#endif
13511353

13521354
// Add a menu item to move between bed corners for manual bed adjustment
1353-
//#define LEVEL_BED_CORNERS
1355+
#define LEVEL_BED_CORNERS
13541356

13551357
#if ENABLED(LEVEL_BED_CORNERS)
13561358
#define LEVEL_CORNERS_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets
@@ -1471,7 +1473,7 @@
14711473
* M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
14721474
* M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
14731475
*/
1474-
//#define EEPROM_SETTINGS // Persistent storage with M500 and M501
1476+
#define EEPROM_SETTINGS // Persistent storage with M500 and M501
14751477
//#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
14761478
#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
14771479
#define EEPROM_BOOT_SILENT // Keep M503 quiet and only give errors during first load
@@ -1503,12 +1505,12 @@
15031505

15041506
// Preheat Constants
15051507
#define PREHEAT_1_LABEL "PLA"
1506-
#define PREHEAT_1_TEMP_HOTEND 180
1508+
#define PREHEAT_1_TEMP_HOTEND 190
15071509
#define PREHEAT_1_TEMP_BED 70
15081510
#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
15091511

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
15121514
#define PREHEAT_2_TEMP_BED 110
15131515
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
15141516

@@ -1709,7 +1711,7 @@
17091711
*
17101712
* :['JAPANESE', 'WESTERN', 'CYRILLIC']
17111713
*/
1712-
#define DISPLAY_CHARSET_HD44780 JAPANESE
1714+
#define DISPLAY_CHARSET_HD44780 WESTERN
17131715

17141716
/**
17151717
* Info Screen Style (0:Classic, 1:Průša)
@@ -1724,7 +1726,7 @@
17241726
* SD Card support is disabled by default. If your controller has an SD slot,
17251727
* you must uncomment the following option or it won't work.
17261728
*/
1727-
//#define SDSUPPORT
1729+
#define SDSUPPORT
17281730

17291731
/**
17301732
* SD CARD: SPI SPEED
@@ -1750,7 +1752,7 @@
17501752
* just remove some extraneous menu items to recover space.
17511753
*/
17521754
//#define NO_LCD_MENUS
1753-
//#define SLIM_LCD_MENUS
1755+
#define SLIM_LCD_MENUS
17541756

17551757
//
17561758
// ENCODER SETTINGS
@@ -1804,7 +1806,7 @@
18041806
//
18051807
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
18061808
//
1807-
//#define INDIVIDUAL_AXIS_HOMING_MENU
1809+
#define INDIVIDUAL_AXIS_HOMING_MENU
18081810

18091811
//
18101812
// SPEAKER/BUZZER
@@ -1985,7 +1987,7 @@
19851987
// RepRapDiscount FULL GRAPHIC Smart Controller
19861988
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
19871989
//
1988-
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
1990+
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
19891991

19901992
//
19911993
// ReprapWorld Graphical LCD
@@ -2255,6 +2257,12 @@
22552257
//
22562258
//#define DWIN_CREALITY_LCD
22572259

2260+
//
2261+
// MarlinUI for Creality's DWIN display (and others)
2262+
//
2263+
//#define DWIN_MARLINUI_PORTRAIT
2264+
//#define DWIN_MARLINUI_LANDSCAPE
2265+
22582266
//
22592267
// ADS7843/XPT2046 ADC Touchscreen such as ILI9341 2.8
22602268
//

0 commit comments

Comments
 (0)