|
122 | 122 | * |
123 | 123 | * :[-1, 0, 1, 2, 3, 4, 5, 6, 7] |
124 | 124 | */ |
125 | | -#if ANY(SR_MKS, SR_BTT) |
126 | | - #define SERIAL_PORT -1 // -1 for communication with USB(1,=nok) |
127 | | - #define BAUDRATE 250000 |
128 | | -#else |
| 125 | +#if ANY(QQSP, Q5) |
129 | 126 | #define SERIAL_PORT 3 |
130 | 127 | #define BAUDRATE 115200 |
131 | 128 | #endif |
|
152 | 149 | //#define BAUDRATE_2 250000 // Enable to override BAUDRATE |
153 | 150 | #if ANY(SR_MKS, SR_BTT) |
154 | 151 | #ifdef SR_BTT |
155 | | - #define SERIAL_PORT_2 0 //BTT -1 |
| 152 | + #ifdef MOD_AUX |
| 153 | + #define SERIAL_PORT 3 // 3=ESP3Dv3.0 MKS-Wifi |
| 154 | + #define SERIAL_PORT_2 -1 // -1=USB Connection |
| 155 | + #define BAUDRATE 115200 |
| 156 | + #else |
| 157 | + #define SERIAL_PORT -1 // -1=USB Connection |
| 158 | + #define SERIAL_PORT_2 0 // 0=USB Connection |
| 159 | + #define BAUDRATE 115200 |
| 160 | + #endif |
156 | 161 | #endif |
157 | 162 | #ifdef SR_MKS |
158 | | - #define SERIAL_PORT_2 3 // 3 BTT-TFT(0,1=nok) |
159 | | - #define BAUDRATE_2 250000 |
160 | | - #ifdef MOD_AUX |
161 | | - #define SERIAL_PORT_3 1 // 1 MKS-Wifi(2=nok) |
162 | | - //#define BAUDRATE_3 115200 |
| 163 | + #define SERIAL_PORT -1 // -1 for communication with USB(1,=nok) |
| 164 | + #define BAUDRATE 250000 |
| 165 | + #ifdef ESP3D_30 |
| 166 | + #undef SERIAL_PORT_2 //1 // 1=ESP3Dv3.0 MKS-Wifi |
| 167 | + #elif ENABLED(MOD_AUX) |
| 168 | + #define SERIAL_PORT_2 1 // 1=ESP3Dv2.1 MKS-Wifi |
| 169 | + #define BAUDRATE_2 115200 // |
| 170 | + #define SERIAL_PORT_3 3 // 3=BTT-TFT(0,1=nok) |
| 171 | + #define BAUDRATE_3 250000 //115200 |
| 172 | + #else |
| 173 | + #define SERIAL_PORT_2 3 // 3=BTT-TFT(0,1=nok)TX3/RX3 |
| 174 | + #define BAUDRATE_2 250000 |
163 | 175 | #endif |
164 | 176 | #endif |
165 | 177 | #else |
|
188 | 200 |
|
189 | 201 | // Name displayed in the LCD "Ready" message and Info menu |
190 | 202 | #ifdef QQSP |
191 | | - #define CUSTOM_MACHINE_NAME "δDelta QQSP" |
| 203 | + #define CUSTOM_MACHINE_NAME "Delta QQSP" |
192 | 204 | #endif |
193 | 205 | #ifdef Q5 |
194 | | - #define CUSTOM_MACHINE_NAME "δDelta Q5" |
| 206 | + #define CUSTOM_MACHINE_NAME "Delta Q5" |
195 | 207 | #endif |
196 | 208 | #if ANY(SR_MKS, SR_BTT) |
197 | | - #define CUSTOM_MACHINE_NAME "ΔDelta SuperRacer" |
| 209 | + #define CUSTOM_MACHINE_NAME "Delta SuperRacer" |
198 | 210 | #endif |
199 | 211 |
|
200 | 212 | // Printer's unique ID, used by some programs to differentiate between machines. |
|
728 | 740 | #endif |
729 | 741 | //#define MPCTEMP // ** EXPERIMENTAL ** |
730 | 742 |
|
731 | | -#define BANG_MAX 200 // Limits current to nozzle while in bang-bang mode; 255=full current |
| 743 | +#define BANG_MAX 250 // Limits current to nozzle while in bang-bang mode; 255=full current |
732 | 744 | #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current |
733 | 745 | #define PID_K1 0.95 // Smoothing factor within any PID loop |
734 | 746 |
|
|
834 | 846 | * the issues involved, don't use bed PID until someone else verifies that your hardware works. |
835 | 847 | * @section bed temp |
836 | 848 | */ |
837 | | -#ifndef HX43 |
838 | | - #define PIDTEMPBED |
839 | | -#endif |
| 849 | +#define PIDTEMPBED |
840 | 850 |
|
841 | 851 | //#define BED_LIMIT_SWITCHING |
842 | 852 |
|
|
1282 | 1292 | // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). |
1283 | 1293 | #define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. |
1284 | 1294 | #define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. |
1285 | | -#if NONE(X_PROBE, N_PROBE) |
| 1295 | +#if NONE(X_PROBE, N_PROBE, B_PROBE) |
1286 | 1296 | #define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. |
1287 | 1297 | #else |
1288 | 1298 | #define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. |
|
1302 | 1312 | #define U_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. |
1303 | 1313 | #define V_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. |
1304 | 1314 | #define W_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. |
1305 | | -#if NONE(X_PROBE, N_PROBE) |
| 1315 | +#if NONE(X_PROBE, N_PROBE, B_PROBE) |
1306 | 1316 | #define Z_MIN_PROBE_ENDSTOP_INVERTING true // Set to true to invert the logic of the probe. |
1307 | 1317 | #else |
1308 | 1318 | #define Z_MIN_PROBE_ENDSTOP_INVERTING false // Set to true to invert the logic of the probe. |
|
1418 | 1428 | */ |
1419 | 1429 | #if ANY(SR_MKS, SR_BTT) |
1420 | 1430 | #define DEFAULT_ACCELERATION 2800 // X, Y, Z and E acceleration for printing moves |
1421 | | - #define DEFAULT_RETRACT_ACCELERATION 2800 // E acceleration for retracts |
| 1431 | + #define DEFAULT_RETRACT_ACCELERATION 1500 // E acceleration for retracts |
1422 | 1432 | #define DEFAULT_TRAVEL_ACCELERATION 2800 // X, Y, Z acceleration for travel (non printing) moves |
1423 | | -#elif ENABLED(NEMA14) |
1424 | | - #define DEFAULT_ACCELERATION 2000 // X, Y, Z and E acceleration for printing moves |
1425 | | - #define DEFAULT_RETRACT_ACCELERATION 1500 //3000/250 // E acceleration for retracts |
1426 | | - #define DEFAULT_TRAVEL_ACCELERATION 2000 // X, Y, Z acceleration for travel (non printing) moves |
1427 | 1433 | #else |
1428 | 1434 | #define DEFAULT_ACCELERATION 1500 // X, Y, Z and E acceleration for printing moves |
1429 | 1435 | #define DEFAULT_RETRACT_ACCELERATION 1500 // E acceleration for retracts |
|
1541 | 1547 | * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. |
1542 | 1548 | * (e.g., an inductive probe or a nozzle-based probe-switch.) |
1543 | 1549 | */ |
1544 | | -#if NONE(N_PROBE, P_PROBE) |
| 1550 | +#if NONE(N_PROBE, P_PROBE, B_PROBE) |
1545 | 1551 | #define FIX_MOUNTED_PROBE |
1546 | 1552 | #endif |
1547 | 1553 |
|
|
1727 | 1733 | // X and Y axis travel speed (mm/min) between probes |
1728 | 1734 | #define XY_PROBE_FEEDRATE (66*60) //3960 |
1729 | 1735 |
|
1730 | | -#if ANY(N_PROBE, P_PROBE) |
1731 | | - #define Z_PROBE_FEEDRATE_FAST (20*60) //1200 |
1732 | | - #define Z_PROBE_FEEDRATE_SLOW (20*60) |
| 1736 | +#if ANY(N_PROBE, P_PROBE, X_PROBE) |
| 1737 | + #define Z_PROBE_FEEDRATE_FAST (60*60) //3600 |
| 1738 | + #define Z_PROBE_FEEDRATE_SLOW (Z_PROBE_FEEDRATE_FAST / 6) //600 |
1733 | 1739 | #else |
1734 | 1740 | // Feedrate (mm/min) for the first approach when double-probing (MULTIPLE_PROBING == 2) |
1735 | 1741 | //FEEDRATE_Z |
|
1784 | 1790 | * A total of 2 does fast/slow probes with a weighted average. |
1785 | 1791 | * A total of 3 or more adds more slow probes, taking the average. |
1786 | 1792 | */ |
1787 | | -#if ANY(P_PROBE, N_PROBE, X_PROBE) |
| 1793 | +#if ANY(P_PROBE, N_PROBE) |
1788 | 1794 | #define MULTIPLE_PROBING 2 |
1789 | 1795 | #define EXTRA_PROBING 1 |
1790 | | -#elif ENABLED(N_PROBE) |
1791 | | - #define MULTIPLE_PROBING 2 |
| 1796 | +#else |
| 1797 | + //#define MULTIPLE_PROBING 2 |
1792 | 1798 | #endif |
1793 | 1799 |
|
1794 | 1800 | /** |
|
1820 | 1826 | #define Z_MIN_PROBE_REPEATABILITY_TEST |
1821 | 1827 |
|
1822 | 1828 | // Before deploy/stow pause for user confirmation |
1823 | | -#if NONE(X_PROBE, P_PROBE, N_PROBE) |
| 1829 | +#if NONE(X_PROBE, P_PROBE, N_PROBE, B_PROBE) |
1824 | 1830 | #define PAUSE_BEFORE_DEPLOY_STOW |
1825 | 1831 | #endif |
1826 | 1832 | #if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) |
|
2229 | 2235 | #define G26_XY_FEEDRATE 20 // (mm/s) Feedrate for G26 XY moves. |
2230 | 2236 | #define G26_XY_FEEDRATE_TRAVEL 100 // (mm/s) Feedrate for G26 XY travel moves. |
2231 | 2237 | #ifdef NEMA14 |
2232 | | - #define G26_RETRACT_MULTIPLIER 1.0 |
| 2238 | + #define G26_RETRACT_MULTIPLIER 0.4 |
2233 | 2239 | #else |
2234 | 2240 | #define G26_RETRACT_MULTIPLIER 4.0 // G26 Q (retraction) used by default between mesh test elements. |
2235 | 2241 | #endif |
|
2360 | 2366 | * Useful to retract or move the Z probe out of the way. |
2361 | 2367 | */ |
2362 | 2368 | //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" |
2363 | | -#if ANY(QQSP, Q5, SR_MKS, SR_BTT) |
2364 | | - #define Z_PROBE_END_SCRIPT "G28" |
2365 | | -#endif |
2366 | | -#ifdef HX43 |
2367 | | - #define Z_PROBE_END_HEIGHT 100 // MKS HX43 require this to work |
2368 | | -#endif |
| 2369 | +#define Z_PROBE_END_SCRIPT "G28" |
| 2370 | + |
2369 | 2371 |
|
2370 | 2372 | // @section homing |
2371 | 2373 |
|
|
2520 | 2522 | // Preheat Constants - Up to 6 are supported without changes |
2521 | 2523 | // |
2522 | 2524 | #define PREHEAT_1_LABEL "PLA" |
2523 | | -#define PREHEAT_1_TEMP_HOTEND 200 |
2524 | | -#define PREHEAT_1_TEMP_BED 60 |
| 2525 | +#define PREHEAT_1_TEMP_HOTEND 205 |
| 2526 | +#define PREHEAT_1_TEMP_BED 70 |
2525 | 2527 | #define PREHEAT_1_TEMP_CHAMBER 35 |
2526 | 2528 | #define PREHEAT_1_FAN_SPEED 200 // Value from 0 to 255 |
2527 | 2529 |
|
|
3546 | 3548 | // Use software PWM to drive the fan, as for the heaters. This uses a very low frequency |
3547 | 3549 | // which is not as annoying as with the hardware PWM. On the other hand, if this frequency |
3548 | 3550 | // is too low, you should also increment SOFT_PWM_SCALE. |
3549 | | -#define FAN_SOFT_PWM |
| 3551 | +#ifndef SR_BTT |
| 3552 | + #define FAN_SOFT_PWM |
| 3553 | +#endif |
3550 | 3554 |
|
3551 | 3555 | // Incrementing this by 1 will double the software PWM frequency, |
3552 | 3556 | // affecting heaters, and the fan if FAN_SOFT_PWM is enabled. |
3553 | 3557 | // However, control resolution will be halved for each increment; |
3554 | 3558 | // at zero value, there are 128 effective control positions. |
3555 | 3559 | // :[0,1,2,3,4,5,6,7] |
3556 | | -#ifdef SR_MKS |
| 3560 | +#if ANY(SR_MKS, SR_BTT) |
3557 | 3561 | #define SOFT_PWM_SCALE 0 |
3558 | 3562 | #else |
3559 | 3563 | #define SOFT_PWM_SCALE 1 |
|
3643 | 3647 | // Use some of the NeoPixel LEDs for static (background) lighting |
3644 | 3648 | //#define NEOPIXEL_BKGD_INDEX_FIRST 0 // Index of the first background LED |
3645 | 3649 | //#define NEOPIXEL_BKGD_INDEX_LAST 5 // Index of the last background LED |
3646 | | - #define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W |
| 3650 | + #define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 255 } // R, G, B, W |
3647 | 3651 | //#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off |
3648 | 3652 | #endif |
3649 | 3653 |
|
|
0 commit comments