|
61 | 61 | // @section info |
62 | 62 |
|
63 | 63 | // Author info of this build printed to the host during boot and M115 |
64 | | -#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Original author or contributor. |
| 64 | +#define STRING_CONFIG_H_AUTHOR "(thisiskeithb, Wanhao i3 Mini)" // Original author or contributor. |
65 | 65 | //#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes) |
66 | 66 |
|
67 | 67 | // @section machine |
68 | 68 |
|
69 | 69 | // Choose the name from boards.h that matches your setup |
70 | 70 | #ifndef MOTHERBOARD |
71 | | - #define MOTHERBOARD BOARD_RAMPS_14_EFB |
| 71 | + #define MOTHERBOARD BOARD_WANHAO_ONEPLUS |
72 | 72 | #endif |
73 | 73 |
|
74 | 74 | // @section serial |
|
128 | 128 | //#define BLUETOOTH |
129 | 129 |
|
130 | 130 | // Name displayed in the LCD "Ready" message and Info menu |
131 | | -//#define CUSTOM_MACHINE_NAME "3D Printer" |
| 131 | +#define CUSTOM_MACHINE_NAME "i3 Mini" |
132 | 132 | //#define CONFIGURABLE_MACHINE_NAME // Add G-code M550 to set/report the machine name |
133 | 133 |
|
134 | 134 | // Printer's unique ID, used by some programs to differentiate between machines. |
|
567 | 567 | * 998 : Dummy Table that ALWAYS reads 25°C or the temperature defined below. |
568 | 568 | * 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below. |
569 | 569 | */ |
570 | | -#define TEMP_SENSOR_0 1 |
| 570 | +#define TEMP_SENSOR_0 5 |
571 | 571 | #define TEMP_SENSOR_1 0 |
572 | 572 | #define TEMP_SENSOR_2 0 |
573 | 573 | #define TEMP_SENSOR_3 0 |
574 | 574 | #define TEMP_SENSOR_4 0 |
575 | 575 | #define TEMP_SENSOR_5 0 |
576 | 576 | #define TEMP_SENSOR_6 0 |
577 | 577 | #define TEMP_SENSOR_7 0 |
578 | | -#define TEMP_SENSOR_BED 1 |
| 578 | +#define TEMP_SENSOR_BED 11 |
579 | 579 | #define TEMP_SENSOR_PROBE 0 |
580 | 580 | #define TEMP_SENSOR_CHAMBER 0 |
581 | 581 | #define TEMP_SENSOR_COOLER 0 |
|
655 | 655 | // Above this temperature the heater will be switched off. |
656 | 656 | // This can protect components from overheating, but NOT from shorts and failures. |
657 | 657 | // (Use MINTEMP for thermistor short/failure protection.) |
658 | | -#define HEATER_0_MAXTEMP 275 |
| 658 | +#define HEATER_0_MAXTEMP 305 // E3D V6 with all-metal heatbreak |
659 | 659 | #define HEATER_1_MAXTEMP 275 |
660 | 660 | #define HEATER_2_MAXTEMP 275 |
661 | 661 | #define HEATER_3_MAXTEMP 275 |
662 | 662 | #define HEATER_4_MAXTEMP 275 |
663 | 663 | #define HEATER_5_MAXTEMP 275 |
664 | 664 | #define HEATER_6_MAXTEMP 275 |
665 | 665 | #define HEATER_7_MAXTEMP 275 |
666 | | -#define BED_MAXTEMP 150 |
| 666 | +#define BED_MAXTEMP 130 |
667 | 667 | #define CHAMBER_MAXTEMP 60 |
668 | 668 |
|
669 | 669 | /** |
|
902 | 902 | #define PID_FUNCTIONAL_RANGE 20 // If the temperature difference between the target temperature and the actual temperature |
903 | 903 | // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max. |
904 | 904 |
|
905 | | - //#define PID_EDIT_MENU // Add PID editing to the "Advanced Settings" menu. (~700 bytes of flash) |
906 | | - //#define PID_AUTOTUNE_MENU // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of flash) |
| 905 | + #define PID_EDIT_MENU // Add PID editing to the "Advanced Settings" menu. (~700 bytes of flash) |
| 906 | + #define PID_AUTOTUNE_MENU // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of flash) |
907 | 907 | #endif |
908 | 908 |
|
909 | 909 | // @section safety |
|
1228 | 1228 | * Set to the state (HIGH or LOW) that applies to each endstop. |
1229 | 1229 | */ |
1230 | 1230 | #define X_MIN_ENDSTOP_HIT_STATE HIGH |
1231 | | -#define X_MAX_ENDSTOP_HIT_STATE HIGH |
1232 | | -#define Y_MIN_ENDSTOP_HIT_STATE HIGH |
| 1231 | +#define X_MAX_ENDSTOP_HIT_STATE LOW |
| 1232 | +#define Y_MIN_ENDSTOP_HIT_STATE LOW |
1233 | 1233 | #define Y_MAX_ENDSTOP_HIT_STATE HIGH |
1234 | | -#define Z_MIN_ENDSTOP_HIT_STATE HIGH |
| 1234 | +#define Z_MIN_ENDSTOP_HIT_STATE LOW |
1235 | 1235 | #define Z_MAX_ENDSTOP_HIT_STATE HIGH |
1236 | 1236 | #define I_MIN_ENDSTOP_HIT_STATE HIGH |
1237 | 1237 | #define I_MAX_ENDSTOP_HIT_STATE HIGH |
|
1245 | 1245 | #define V_MAX_ENDSTOP_HIT_STATE HIGH |
1246 | 1246 | #define W_MIN_ENDSTOP_HIT_STATE HIGH |
1247 | 1247 | #define W_MAX_ENDSTOP_HIT_STATE HIGH |
1248 | | -#define Z_MIN_PROBE_ENDSTOP_HIT_STATE HIGH |
| 1248 | +#define Z_MIN_PROBE_ENDSTOP_HIT_STATE LOW |
1249 | 1249 |
|
1250 | 1250 | // Enable this feature if all enabled endstop pins are interrupt-capable. |
1251 | 1251 | // This will remove the need to poll the interrupt pins, saving many CPU cycles. |
|
1293 | 1293 | * Override with M92 (when enabled below) |
1294 | 1294 | * X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]] |
1295 | 1295 | */ |
1296 | | -#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 500 } |
| 1296 | +#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 94 } |
1297 | 1297 |
|
1298 | 1298 | /** |
1299 | 1299 | * Enable support for M92. Disable to save at least ~530 bytes of flash. |
|
1305 | 1305 | * Override with M203 |
1306 | 1306 | * X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]] |
1307 | 1307 | */ |
1308 | | -#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 } |
| 1308 | +#define DEFAULT_MAX_FEEDRATE { 400, 400, 15, 50 } |
1309 | 1309 |
|
1310 | 1310 | //#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2 |
1311 | 1311 | #if ENABLED(LIMITED_MAX_FR_EDITING) |
|
1318 | 1318 | * Override with M201 |
1319 | 1319 | * X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]] |
1320 | 1320 | */ |
1321 | | -#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 } |
| 1321 | +#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 3000 } |
1322 | 1322 |
|
1323 | 1323 | //#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2 |
1324 | 1324 | #if ENABLED(LIMITED_MAX_ACCEL_EDITING) |
|
1333 | 1333 | * M204 R Retract Acceleration |
1334 | 1334 | * M204 T Travel Acceleration |
1335 | 1335 | */ |
1336 | | -#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves |
1337 | | -#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts |
1338 | | -#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves |
| 1336 | +#define DEFAULT_ACCELERATION 800 // X, Y, Z and E acceleration for printing moves |
| 1337 | +#define DEFAULT_RETRACT_ACCELERATION 800 // E acceleration for retracts |
| 1338 | +#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves |
1339 | 1339 |
|
1340 | 1340 | /** |
1341 | 1341 | * Default Jerk limits (mm/s) |
|
1374 | 1374 | * https://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html |
1375 | 1375 | */ |
1376 | 1376 | #if DISABLED(CLASSIC_JERK) |
1377 | | - #define JUNCTION_DEVIATION_MM 0.013 // (mm) Distance from real junction edge |
| 1377 | + #define JUNCTION_DEVIATION_MM 0.05 // (mm) Distance from real junction edge |
1378 | 1378 | #define JD_HANDLE_SMALL_SEGMENTS // Use curvature estimation instead of just the junction angle |
1379 | 1379 | // for small segments (< 1mm) with large junction angles (> 135°). |
1380 | 1380 | #endif |
|
1387 | 1387 | * |
1388 | 1388 | * See https://github.com/synthetos/TinyG/wiki/Jerk-Controlled-Motion-Explained |
1389 | 1389 | */ |
1390 | | -//#define S_CURVE_ACCELERATION |
| 1390 | +#define S_CURVE_ACCELERATION |
1391 | 1391 |
|
1392 | 1392 | //=========================================================================== |
1393 | 1393 | //============================= Z Probe Options ============================= |
|
1824 | 1824 | // @section motion |
1825 | 1825 |
|
1826 | 1826 | // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way. |
1827 | | -#define INVERT_X_DIR false |
1828 | | -#define INVERT_Y_DIR true |
| 1827 | +#define INVERT_X_DIR true |
| 1828 | +#define INVERT_Y_DIR false |
1829 | 1829 | #define INVERT_Z_DIR false |
1830 | 1830 | //#define INVERT_I_DIR false |
1831 | 1831 | //#define INVERT_J_DIR false |
|
1868 | 1868 |
|
1869 | 1869 | // Direction of endstops when homing; 1=MAX, -1=MIN |
1870 | 1870 | // :[-1,1] |
1871 | | -#define X_HOME_DIR -1 |
| 1871 | +#define X_HOME_DIR 1 |
1872 | 1872 | #define Y_HOME_DIR -1 |
1873 | 1873 | #define Z_HOME_DIR -1 |
1874 | 1874 | //#define I_HOME_DIR -1 |
|
1896 | 1896 | // @section geometry |
1897 | 1897 |
|
1898 | 1898 | // The size of the printable area |
1899 | | -#define X_BED_SIZE 200 |
1900 | | -#define Y_BED_SIZE 200 |
| 1899 | +#define X_BED_SIZE 125 |
| 1900 | +#define Y_BED_SIZE 140 |
1901 | 1901 |
|
1902 | 1902 | // Travel limits (linear=mm, rotational=°) after homing, corresponding to endstop positions. |
1903 | 1903 | #define X_MIN_POS 0 |
1904 | 1904 | #define Y_MIN_POS 0 |
1905 | 1905 | #define Z_MIN_POS 0 |
1906 | 1906 | #define X_MAX_POS X_BED_SIZE |
1907 | 1907 | #define Y_MAX_POS Y_BED_SIZE |
1908 | | -#define Z_MAX_POS 200 |
| 1908 | +#define Z_MAX_POS 100 |
1909 | 1909 | //#define I_MIN_POS 0 |
1910 | 1910 | //#define I_MAX_POS 50 |
1911 | 1911 | //#define J_MIN_POS 0 |
|
1957 | 1957 | #endif |
1958 | 1958 |
|
1959 | 1959 | #if ANY(MIN_SOFTWARE_ENDSTOPS, MAX_SOFTWARE_ENDSTOPS) |
1960 | | - //#define SOFT_ENDSTOPS_MENU_ITEM // Enable/Disable software endstops from the LCD |
| 1960 | + #define SOFT_ENDSTOPS_MENU_ITEM // Enable/Disable software endstops from the LCD |
1961 | 1961 | #endif |
1962 | 1962 |
|
1963 | 1963 | /** |
|
2120 | 2120 | //#define AUTO_BED_LEVELING_LINEAR |
2121 | 2121 | //#define AUTO_BED_LEVELING_BILINEAR |
2122 | 2122 | //#define AUTO_BED_LEVELING_UBL |
2123 | | -//#define MESH_BED_LEVELING |
| 2123 | +#define MESH_BED_LEVELING |
2124 | 2124 |
|
2125 | 2125 | /** |
2126 | 2126 | * Commands to execute at the start of G29 probing, |
|
2287 | 2287 | * Add a bed leveling sub-menu for ABL or MBL. |
2288 | 2288 | * Include a guided procedure if manual probing is enabled. |
2289 | 2289 | */ |
2290 | | -//#define LCD_BED_LEVELING |
| 2290 | +#define LCD_BED_LEVELING |
2291 | 2291 |
|
2292 | 2292 | #if ENABLED(LCD_BED_LEVELING) |
2293 | 2293 | #define MESH_EDIT_Z_STEP 0.025 // (mm) Step size while manually probing Z axis. |
2294 | 2294 | #define LCD_PROBE_Z_RANGE 4 // (mm) Z Range centered on Z_MIN_POS for LCD Z adjustment |
2295 | | - //#define MESH_EDIT_MENU // Add a menu to edit mesh points |
| 2295 | + #define MESH_EDIT_MENU // Add a menu to edit mesh points |
2296 | 2296 | #endif |
2297 | 2297 |
|
2298 | 2298 | // Add a menu item to move between bed corners for manual bed adjustment |
2299 | | -//#define LCD_BED_TRAMMING |
| 2299 | +#define LCD_BED_TRAMMING |
2300 | 2300 |
|
2301 | 2301 | #if ENABLED(LCD_BED_TRAMMING) |
2302 | 2302 | #define BED_TRAMMING_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets |
|
2444 | 2444 | * M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes) |
2445 | 2445 | * M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.) |
2446 | 2446 | */ |
2447 | | -//#define EEPROM_SETTINGS // Persistent storage with M500 and M501 |
| 2447 | +#define EEPROM_SETTINGS // Persistent storage with M500 and M501 |
2448 | 2448 | //#define DISABLE_M503 // Saves ~2700 bytes of flash. Disable for release! |
2449 | 2449 | #define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save flash. |
2450 | 2450 | #define EEPROM_BOOT_SILENT // Keep M503 quiet and only give errors during first load |
2451 | 2451 | #if ENABLED(EEPROM_SETTINGS) |
2452 | | - //#define EEPROM_AUTO_INIT // Init EEPROM automatically on any errors. |
2453 | | - //#define EEPROM_INIT_NOW // Init EEPROM on first boot after a new build. |
| 2452 | + #define EEPROM_AUTO_INIT // Init EEPROM automatically on any errors. |
| 2453 | + #define EEPROM_INIT_NOW // Init EEPROM on first boot after a new build. |
2454 | 2454 | #endif |
2455 | 2455 |
|
2456 | 2456 | // @section host |
|
2488 | 2488 | #define PREHEAT_1_TEMP_CHAMBER 35 |
2489 | 2489 | #define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255 |
2490 | 2490 |
|
2491 | | -#define PREHEAT_2_LABEL "ABS" |
| 2491 | +#define PREHEAT_2_LABEL "PETG" |
2492 | 2492 | #define PREHEAT_2_TEMP_HOTEND 240 |
2493 | | -#define PREHEAT_2_TEMP_BED 110 |
| 2493 | +#define PREHEAT_2_TEMP_BED 80 |
2494 | 2494 | #define PREHEAT_2_TEMP_CHAMBER 35 |
2495 | 2495 | #define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255 |
2496 | 2496 |
|
|
2507 | 2507 | * P1 Raise the nozzle always to Z-park height. |
2508 | 2508 | * P2 Raise the nozzle by Z-park amount, limited to Z_MAX_POS. |
2509 | 2509 | */ |
2510 | | -//#define NOZZLE_PARK_FEATURE |
| 2510 | +#define NOZZLE_PARK_FEATURE |
2511 | 2511 |
|
2512 | 2512 | #if ENABLED(NOZZLE_PARK_FEATURE) |
2513 | 2513 | // Specify a park position as { X, Y, Z_raise } |
2514 | | - #define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 } |
| 2514 | + #define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MIN_POS + 10), 20 } |
2515 | 2515 | #define NOZZLE_PARK_MOVE 0 // Park motion: 0 = XY Move, 1 = X Only, 2 = Y Only, 3 = X before Y, 4 = Y before X |
2516 | 2516 | #define NOZZLE_PARK_Z_RAISE_MIN 2 // (mm) Always raise Z by at least this distance |
2517 | 2517 | #define NOZZLE_PARK_XY_FEEDRATE 100 // (mm/s) X and Y axes feedrate (also used for delta Z axis) |
|
2643 | 2643 | * |
2644 | 2644 | * View the current statistics with M78. |
2645 | 2645 | */ |
2646 | | -//#define PRINTCOUNTER |
| 2646 | +#define PRINTCOUNTER |
2647 | 2647 | #if ENABLED(PRINTCOUNTER) |
2648 | 2648 | #define PRINTCOUNTER_SAVE_INTERVAL 60 // (minutes) EEPROM save interval during print. A value of 0 will save stats at end of print. |
2649 | 2649 | #endif |
|
2689 | 2689 | * SD Card support is disabled by default. If your controller has an SD slot, |
2690 | 2690 | * you must uncomment the following option or it won't work. |
2691 | 2691 | */ |
2692 | | -//#define SDSUPPORT |
| 2692 | +#define SDSUPPORT |
2693 | 2693 |
|
2694 | 2694 | /** |
2695 | 2695 | * SD CARD: ENABLE CRC |
|
2760 | 2760 | // This option overrides the default number of encoder pulses needed to |
2761 | 2761 | // produce one step. Should be increased for high-resolution encoders. |
2762 | 2762 | // |
2763 | | -//#define ENCODER_PULSES_PER_STEP 4 |
| 2763 | +#define ENCODER_PULSES_PER_STEP 4 |
2764 | 2764 |
|
2765 | 2765 | // |
2766 | 2766 | // Use this option to override the number of step signals required to |
2767 | 2767 | // move between next/prev menu items. |
2768 | 2768 | // |
2769 | | -//#define ENCODER_STEPS_PER_MENU_ITEM 1 |
| 2769 | +#define ENCODER_STEPS_PER_MENU_ITEM 1 |
2770 | 2770 |
|
2771 | 2771 | /** |
2772 | 2772 | * Encoder Direction Options |
|
2816 | 2816 | // |
2817 | 2817 | // Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu. |
2818 | 2818 | // |
2819 | | -//#define INDIVIDUAL_AXIS_HOMING_MENU |
2820 | | -//#define INDIVIDUAL_AXIS_HOMING_SUBMENU |
| 2819 | +#define INDIVIDUAL_AXIS_HOMING_MENU |
| 2820 | +#define INDIVIDUAL_AXIS_HOMING_SUBMENU |
2821 | 2821 |
|
2822 | 2822 | // |
2823 | 2823 | // SPEAKER/BUZZER |
2824 | 2824 | // |
2825 | 2825 | // If you have a speaker that can produce tones, enable it here. |
2826 | 2826 | // By default Marlin assumes you have a buzzer with a fixed frequency. |
2827 | 2827 | // |
2828 | | -//#define SPEAKER |
| 2828 | +#define SPEAKER |
2829 | 2829 |
|
2830 | 2830 | // |
2831 | 2831 | // The duration and frequency for the UI feedback sound. |
|
3051 | 3051 | // MakerLab Mini Panel with graphic |
3052 | 3052 | // controller and SD support - https://reprap.org/wiki/Mini_panel |
3053 | 3053 | // |
3054 | | -//#define MINIPANEL |
| 3054 | +#define MINIPANEL |
3055 | 3055 |
|
3056 | 3056 | // |
3057 | 3057 | // MaKr3d Makr-Panel with graphic controller and SD support. |
|
3562 | 3562 | * which is not as annoying as with the hardware PWM. On the other hand, if this frequency |
3563 | 3563 | * is too low, you should also increment SOFT_PWM_SCALE. |
3564 | 3564 | */ |
3565 | | -//#define FAN_SOFT_PWM |
| 3565 | +#define FAN_SOFT_PWM |
3566 | 3566 |
|
3567 | 3567 | /** |
3568 | 3568 | * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and |
|
0 commit comments