|
111 | 111 | * |
112 | 112 | * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] |
113 | 113 | */ |
114 | | -#define BAUDRATE 250000 |
| 114 | +#define BAUDRATE 115200 |
115 | 115 |
|
116 | 116 | // Enable the Bluetooth serial interface on AT90USB devices |
117 | 117 | //#define BLUETOOTH |
118 | 118 |
|
119 | 119 | // The following define selects which electronics board you have. |
120 | 120 | // Please choose the name from boards.h that matches your setup |
121 | 121 | #ifndef MOTHERBOARD |
122 | | - #define MOTHERBOARD BOARD_RAMPS_14_EFB |
| 122 | + #define MOTHERBOARD BOARD_MELZI_MAKR3D |
123 | 123 | #endif |
| 124 | +#define IS_WANHAO_DI3 |
124 | 125 |
|
125 | 126 | // Optional custom name for your RepStrap or other custom machine |
126 | 127 | // Displayed in the LCD "Ready" message |
127 | | -//#define CUSTOM_MACHINE_NAME "3D Printer" |
| 128 | +#define CUSTOM_MACHINE_NAME "Wanhao Di3" |
128 | 129 |
|
129 | 130 | // Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines) |
130 | 131 | // You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4) |
|
137 | 138 | #define EXTRUDERS 1 |
138 | 139 |
|
139 | 140 | // Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc. |
140 | | -#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0 |
| 141 | +#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75 |
141 | 142 |
|
142 | 143 | // For Cyclops or any "multi-extruder" that shares a single nozzle. |
143 | 144 | //#define SINGLENOZZLE |
|
291 | 292 | #define TEMP_SENSOR_2 0 |
292 | 293 | #define TEMP_SENSOR_3 0 |
293 | 294 | #define TEMP_SENSOR_4 0 |
294 | | -#define TEMP_SENSOR_BED 0 |
| 295 | +#define TEMP_SENSOR_BED 1 |
295 | 296 |
|
296 | 297 | // Dummy thermistor constant temperature readings, for use with 998 and 999 |
297 | 298 | #define DUMMY_THERMISTOR_998_VALUE 25 |
|
343 | 344 | #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current |
344 | 345 | #define PID_K1 0.95 // Smoothing factor within the PID |
345 | 346 | #if ENABLED(PIDTEMP) |
346 | | - //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result. |
| 347 | + #define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result. |
347 | 348 | //#define PID_DEBUG // Sends debug data to the serial port. |
348 | 349 | //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX |
349 | 350 | //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay |
|
492 | 493 | #endif |
493 | 494 |
|
494 | 495 | // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). |
495 | | -#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
496 | | -#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
497 | | -#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
| 496 | +#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. |
| 497 | +#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. |
| 498 | +#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. |
498 | 499 | #define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
499 | 500 | #define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
500 | 501 | #define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. |
|
529 | 530 | * Override with M92 |
530 | 531 | * X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
531 | 532 | */ |
532 | | -#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 } |
| 533 | +#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 100 } |
533 | 534 |
|
534 | 535 | /** |
535 | 536 | * Default Max Feed Rate (mm/s) |
|
544 | 545 | * Override with M201 |
545 | 546 | * X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
546 | 547 | */ |
547 | | -#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 } |
| 548 | +#define DEFAULT_MAX_ACCELERATION { 700, 700, 100, 10000 } |
548 | 549 |
|
549 | 550 | /** |
550 | 551 | * Default Acceleration (change/s) change = mm/s |
|
554 | 555 | * M204 R Retract Acceleration |
555 | 556 | * M204 T Travel Acceleration |
556 | 557 | */ |
557 | | -#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves |
| 558 | +#define DEFAULT_ACCELERATION 700 // X, Y, Z and E acceleration for printing moves |
558 | 559 | #define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts |
559 | | -#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves |
| 560 | +#define DEFAULT_TRAVEL_ACCELERATION 700 // X, Y, Z acceleration for travel (non printing) moves |
560 | 561 |
|
561 | 562 | /** |
562 | 563 | * Default Jerk (mm/s) |
|
566 | 567 | * When changing speed and direction, if the difference is less than the |
567 | 568 | * value set here, it may happen instantaneously. |
568 | 569 | */ |
569 | | -#define DEFAULT_XJERK 10.0 |
570 | | -#define DEFAULT_YJERK 10.0 |
| 570 | +#define DEFAULT_XJERK 8.0 |
| 571 | +#define DEFAULT_YJERK 8.0 |
571 | 572 | #define DEFAULT_ZJERK 0.3 |
572 | 573 | #define DEFAULT_EJERK 5.0 |
573 | 574 |
|
|
620 | 621 | * Use G29 repeatedly, adjusting the Z height at each point with movement commands |
621 | 622 | * or (with LCD_BED_LEVELING) the LCD controller. |
622 | 623 | */ |
623 | | -//#define PROBE_MANUALLY |
| 624 | +#define PROBE_MANUALLY |
624 | 625 |
|
625 | 626 | /** |
626 | 627 | * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. |
|
688 | 689 | #define Z_PROBE_OFFSET_FROM_EXTRUDER 0 // Z offset: -below +above [the nozzle] |
689 | 690 |
|
690 | 691 | // X and Y axis travel speed (mm/m) between probes |
691 | | -#define XY_PROBE_SPEED 8000 |
| 692 | +#define XY_PROBE_SPEED 3000 |
692 | 693 |
|
693 | 694 | // Speed for the first approach when double-probing (MULTIPLE_PROBING == 2) |
694 | 695 | #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z |
|
749 | 750 |
|
750 | 751 | // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way. |
751 | 752 | #define INVERT_X_DIR false |
752 | | -#define INVERT_Y_DIR true |
753 | | -#define INVERT_Z_DIR false |
| 753 | +#define INVERT_Y_DIR false |
| 754 | +#define INVERT_Z_DIR true |
754 | 755 |
|
755 | 756 | // Enable this option for Toshiba stepper drivers |
756 | 757 | //#define CONFIG_STEPPERS_TOSHIBA |
757 | 758 |
|
758 | 759 | // @section extruder |
759 | 760 |
|
760 | 761 | // For direct drive extruder v9 set to true, for geared extruder set to false. |
761 | | -#define INVERT_E0_DIR false |
| 762 | +#define INVERT_E0_DIR true |
762 | 763 | #define INVERT_E1_DIR false |
763 | 764 | #define INVERT_E2_DIR false |
764 | 765 | #define INVERT_E3_DIR false |
|
789 | 790 | #define Z_MIN_POS 0 |
790 | 791 | #define X_MAX_POS X_BED_SIZE |
791 | 792 | #define Y_MAX_POS Y_BED_SIZE |
792 | | -#define Z_MAX_POS 200 |
| 793 | +#define Z_MAX_POS 180 |
793 | 794 |
|
794 | 795 | /** |
795 | 796 | * Software Endstops |
|
873 | 874 | //#define AUTO_BED_LEVELING_LINEAR |
874 | 875 | //#define AUTO_BED_LEVELING_BILINEAR |
875 | 876 | //#define AUTO_BED_LEVELING_UBL |
876 | | -//#define MESH_BED_LEVELING |
| 877 | +#define MESH_BED_LEVELING |
877 | 878 |
|
878 | 879 | /** |
879 | 880 | * Enable detailed logging of G28, G29, M48, etc. |
|
897 | 898 | /** |
898 | 899 | * Enable the G26 Mesh Validation Pattern tool. |
899 | 900 | */ |
900 | | - #define G26_MESH_VALIDATION // Enable G26 mesh validation |
| 901 | + //#define G26_MESH_VALIDATION // Enable G26 mesh validation |
901 | 902 | #if ENABLED(G26_MESH_VALIDATION) |
902 | 903 | #define MESH_TEST_NOZZLE_SIZE 0.4 // (mm) Diameter of primary nozzle. |
903 | 904 | #define MESH_TEST_LAYER_HEIGHT 0.2 // (mm) Default layer height for the G26 Mesh Validation Tool. |
|
994 | 995 | * Use the LCD controller for bed leveling |
995 | 996 | * Requires MESH_BED_LEVELING or PROBE_MANUALLY |
996 | 997 | */ |
997 | | -//#define LCD_BED_LEVELING |
| 998 | +#define LCD_BED_LEVELING |
998 | 999 |
|
999 | 1000 | #if ENABLED(LCD_BED_LEVELING) |
1000 | 1001 | #define MBL_Z_STEP 0.025 // Step size while manually probing Z axis. |
|
1113 | 1114 | // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily). |
1114 | 1115 | // M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to. |
1115 | 1116 | // |
1116 | | -//#define EEPROM_SETTINGS // Enable for M500 and M501 commands |
| 1117 | +#define EEPROM_SETTINGS // Enable for M500 and M501 commands |
1117 | 1118 | //#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release! |
1118 | 1119 | #define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM. |
1119 | 1120 |
|
|
1329 | 1330 | * you must uncomment the following option or it won't work. |
1330 | 1331 | * |
1331 | 1332 | */ |
1332 | | -//#define SDSUPPORT |
| 1333 | +#define SDSUPPORT |
1333 | 1334 |
|
1334 | 1335 | /** |
1335 | 1336 | * SD CARD: SPI SPEED |
|
1532 | 1533 | // |
1533 | 1534 | // LCD for Melzi Card with Graphical LCD |
1534 | 1535 | // |
1535 | | -//#define LCD_FOR_MELZI |
| 1536 | +#define LCD_FOR_MELZI |
1536 | 1537 |
|
1537 | 1538 | // |
1538 | 1539 | // CONTROLLER TYPE: I2C |
|
0 commit comments