|
426 | 426 | // @section temperature |
427 | 427 |
|
428 | 428 | /** |
429 | | - * --NORMAL IS 4.7kohm PULLUP!-- 1kohm pullup can be used on hotend sensor, using correct resistor and table |
| 429 | + * --NORMAL IS 4.7kΩ PULLUP!-- 1kΩ pullup can be used on hotend sensor, using correct resistor and table |
430 | 430 | * |
431 | 431 | * Temperature sensors available: |
432 | 432 | * |
433 | | - * -5 : PT100 / PT1000 with MAX31865 (only for sensors 0-1) |
434 | | - * -3 : thermocouple with MAX31855 (only for sensors 0-1) |
435 | | - * -2 : thermocouple with MAX6675 (only for sensors 0-1) |
436 | | - * -4 : thermocouple with AD8495 |
437 | | - * -1 : thermocouple with AD595 |
| 433 | + * SPI RTD/Thermocouple Boards - IMPORTANT: Read the NOTE below! |
| 434 | + * ------- |
| 435 | + * -5 : MAX31865 with Pt100/Pt1000, 2, 3, or 4-wire (only for sensors 0-1) |
| 436 | + * NOTE: You must uncomment/set the MAX31865_*_OHMS_n defines below. |
| 437 | + * -3 : MAX31855 with Thermocouple, -200°C to +700°C (only for sensors 0-1) |
| 438 | + * -2 : MAX6675 with Thermocouple, 0°C to +700°C (only for sensors 0-1) |
| 439 | + * |
| 440 | + * NOTE: Ensure TEMP_n_CS_PIN is set in your pins file for each TEMP_SENSOR_n using an SPI Thermocouple. By default, |
| 441 | + * Hardware SPI on the default serial bus is used. If you have also set TEMP_n_SCK_PIN and TEMP_n_MISO_PIN, |
| 442 | + * Software SPI will be used on those ports instead. You can force Hardware SPI on the default bus in the |
| 443 | + * Configuration_adv.h file. At this time, separate Hardware SPI buses for sensors are not supported. |
| 444 | + * |
| 445 | + * Analog Themocouple Boards |
| 446 | + * ------- |
| 447 | + * -4 : AD8495 with Thermocouple |
| 448 | + * -1 : AD595 with Thermocouple |
| 449 | + * |
| 450 | + * Analog Thermistors - 4.7kΩ pullup - Normal |
| 451 | + * ------- |
| 452 | + * 1 : 100kΩ EPCOS - Best choice for EPCOS thermistors |
| 453 | + * 331 : 100kΩ Same as #1, but 3.3V scaled for MEGA |
| 454 | + * 332 : 100kΩ Same as #1, but 3.3V scaled for DUE |
| 455 | + * 2 : 200kΩ ATC Semitec 204GT-2 |
| 456 | + * 202 : 200kΩ Copymaster 3D |
| 457 | + * 3 : ???Ω Mendel-parts thermistor |
| 458 | + * 4 : 10kΩ Generic Thermistor !! DO NOT use for a hotend - it gives bad resolution at high temp. !! |
| 459 | + * 5 : 100kΩ ATC Semitec 104GT-2/104NT-4-R025H42G - Used in ParCan, J-Head, and E3D, SliceEngineering 300°C |
| 460 | + * 501 : 100kΩ Zonestar - Tronxy X3A |
| 461 | + * 502 : 100kΩ Zonestar - used by hot bed in Zonestar Průša P802M |
| 462 | + * 512 : 100kΩ RPW-Ultra hotend |
| 463 | + * 6 : 100kΩ EPCOS - Not as accurate as table #1 (created using a fluke thermocouple) |
| 464 | + * 7 : 100kΩ Honeywell 135-104LAG-J01 |
| 465 | + * 71 : 100kΩ Honeywell 135-104LAF-J01 |
| 466 | + * 8 : 100kΩ Vishay 0603 SMD NTCS0603E3104FXT |
| 467 | + * 9 : 100kΩ GE Sensing AL03006-58.2K-97-G1 |
| 468 | + * 10 : 100kΩ RS PRO 198-961 |
| 469 | + * 11 : 100kΩ Keenovo AC silicone mats, most Wanhao i3 machines - beta 3950, 1% |
| 470 | + * 12 : 100kΩ Vishay 0603 SMD NTCS0603E3104FXT (#8) - calibrated for Makibox hot bed |
| 471 | + * 13 : 100kΩ Hisens up to 300°C - for "Simple ONE" & "All In ONE" hotend - beta 3950, 1% |
| 472 | + * 15 : 100kΩ Calibrated for JGAurora A5 hotend |
| 473 | + * 18 : 200kΩ ATC Semitec 204GT-2 Dagoma.Fr - MKS_Base_DKU001327 |
| 474 | + * 22 : 100kΩ GTM32 Pro vB - hotend - 4.7kΩ pullup to 3.3V and 220Ω to analog input |
| 475 | + * 23 : 100kΩ GTM32 Pro vB - bed - 4.7kΩ pullup to 3.3v and 220Ω to analog input |
| 476 | + * 30 : 100kΩ Kis3d Silicone heating mat 200W/300W with 6mm precision cast plate (EN AW 5083) NTC100K - beta 3950 |
| 477 | + * 60 : 100kΩ Maker's Tool Works Kapton Bed Thermistor - beta 3950 |
| 478 | + * 61 : 100kΩ Formbot/Vivedino 350°C Thermistor - beta 3950 |
| 479 | + * 66 : 4.7MΩ Dyze Design High Temperature Thermistor |
| 480 | + * 67 : 500kΩ SliceEngineering 450°C Thermistor |
| 481 | + * 70 : 100kΩ bq Hephestos 2 |
| 482 | + * 75 : 100kΩ Generic Silicon Heat Pad with NTC100K MGB18-104F39050L32 |
| 483 | + * |
| 484 | + * Analog Thermistors - 1kΩ pullup - Atypical, and requires changing out the 4.7kΩ pullup for 1kΩ. |
| 485 | + * ------- (but gives greater accuracy and more stable PID) |
| 486 | + * 51 : 100kΩ EPCOS (1kΩ pullup) |
| 487 | + * 52 : 200kΩ ATC Semitec 204GT-2 (1kΩ pullup) |
| 488 | + * 55 : 100kΩ ATC Semitec 104GT-2 - Used in ParCan & J-Head (1kΩ pullup) |
| 489 | + * |
| 490 | + * Analog Thermistors - 10kΩ pullup - Atypical |
| 491 | + * ------- |
| 492 | + * 99 : 100kΩ Found on some Wanhao i3 machines with a 10kΩ pull-up resistor |
| 493 | + * |
| 494 | + * Analog RTDs (Pt100/Pt1000) |
| 495 | + * ------- |
| 496 | + * 110 : Pt100 with 1kΩ pullup (atypical) |
| 497 | + * 147 : Pt100 with 4.7kΩ pullup |
| 498 | + * 1010 : Pt1000 with 1kΩ pullup (atypical) |
| 499 | + * 1047 : Pt1000 with 4.7kΩ pullup (E3D) |
| 500 | + * 20 : Pt100 with circuit in the Ultimainboard V2.x with mainboard ADC reference voltage = INA826 amplifier-board supply voltage. |
| 501 | + * NOTE: (1) Must use an ADC input with no pullup. (2) Some INA826 amplifiers are unreliable at 3.3V so consider using sensor 147, 110, or 21. |
| 502 | + * 21 : Pt100 with circuit in the Ultimainboard V2.x with 3.3v ADC reference voltage (STM32, LPC176x....) and 5V INA826 amplifier board supply. |
| 503 | + * NOTE: ADC pins are not 5V tolerant. Not recommended because it's possible to damage the CPU by going over 500°C. |
| 504 | + * 201 : Pt100 with circuit in Overlord, similar to Ultimainboard V2.x |
| 505 | + * |
| 506 | + * Custom/Dummy/Other Thermos |
| 507 | + * ------ |
438 | 508 | * 0 : not used |
439 | | - * 1 : 100k thermistor - best choice for EPCOS 100k (4.7k pullup) |
440 | | - * 331 : (3.3V scaled thermistor 1 table for MEGA) |
441 | | - * 332 : (3.3V scaled thermistor 1 table for DUE) |
442 | | - * 2 : 200k thermistor - ATC Semitec 204GT-2 (4.7k pullup) |
443 | | - * 202 : 200k thermistor - Copymaster 3D |
444 | | - * 3 : Mendel-parts thermistor (4.7k pullup) |
445 | | - * 4 : 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !! |
446 | | - * 5 : 100K thermistor - ATC Semitec 104GT-2/104NT-4-R025H42G (Used in ParCan, J-Head, and E3D) (4.7k pullup) |
447 | | - * 501 : 100K Zonestar (Tronxy X3A) Thermistor |
448 | | - * 502 : 100K Zonestar Thermistor used by hot bed in Zonestar Průša P802M |
449 | | - * 512 : 100k RPW-Ultra hotend thermistor (4.7k pullup) |
450 | | - * 6 : 100k EPCOS - Not as accurate as table 1 (created using a fluke thermocouple) (4.7k pullup) |
451 | | - * 7 : 100k Honeywell thermistor 135-104LAG-J01 (4.7k pullup) |
452 | | - * 71 : 100k Honeywell thermistor 135-104LAF-J01 (4.7k pullup) |
453 | | - * 8 : 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) |
454 | | - * 9 : 100k GE Sensing AL03006-58.2K-97-G1 (4.7k pullup) |
455 | | - * 10 : 100k RS thermistor 198-961 (4.7k pullup) |
456 | | - * 11 : 100k beta 3950 1% thermistor (Used in Keenovo AC silicone mats and most Wanhao i3 machines) (4.7k pullup) |
457 | | - * 12 : 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) (calibrated for Makibox hot bed) |
458 | | - * 13 : 100k Hisens 3950 1% up to 300°C for hotend "Simple ONE " & "Hotend "All In ONE" |
459 | | - * 15 : 100k thermistor calibration for JGAurora A5 hotend |
460 | | - * 18 : ATC Semitec 204GT-2 (4.7k pullup) Dagoma.Fr - MKS_Base_DKU001327 |
461 | | - * 20 : Pt100 with circuit in the Ultimainboard V2.x with mainboard ADC reference voltage = INA826 amplifier-board supply voltage. |
462 | | - * NOTES: (1) Must use an ADC input with no pullup. (2) Some INA826 amplifiers are unreliable at 3.3V so consider using sensor 147, 110, or 21. |
463 | | - * 21 : Pt100 with circuit in the Ultimainboard V2.x with 3.3v ADC reference voltage (STM32, LPC176x....) and 5V INA826 amplifier board supply. |
464 | | - * NOTE: ADC pins are not 5V tolerant. Not recommended because it's possible to damage the CPU by going over 500°C. |
465 | | - * 22 : 100k (hotend) with 4.7k pullup to 3.3V and 220R to analog input (as in GTM32 Pro vB) |
466 | | - * 23 : 100k (bed) with 4.7k pullup to 3.3v and 220R to analog input (as in GTM32 Pro vB) |
467 | | - * 30 : Kis3d Silicone heating mat 200W/300W with 6mm precision cast plate (EN AW 5083) NTC100K / B3950 (4.7k pullup) |
468 | | - * 201 : Pt100 with circuit in Overlord, similar to Ultimainboard V2.x |
469 | | - * 60 : 100k Maker's Tool Works Kapton Bed Thermistor beta=3950 |
470 | | - * 61 : 100k Formbot / Vivedino 3950 350C thermistor 4.7k pullup |
471 | | - * 66 : 4.7M High Temperature thermistor from Dyze Design |
472 | | - * 67 : 450C thermistor from SliceEngineering |
473 | | - * 70 : the 100K thermistor found in the bq Hephestos 2 |
474 | | - * 75 : 100k Generic Silicon Heat Pad with NTC 100K MGB18-104F39050L32 thermistor |
475 | | - * 99 : 100k thermistor with a 10K pull-up resistor (found on some Wanhao i3 machines) |
476 | | - * |
477 | | - * 1k ohm pullup tables - This is atypical, and requires changing out the 4.7k pullup for 1k. |
478 | | - * (but gives greater accuracy and more stable PID) |
479 | | - * 51 : 100k thermistor - EPCOS (1k pullup) |
480 | | - * 52 : 200k thermistor - ATC Semitec 204GT-2 (1k pullup) |
481 | | - * 55 : 100k thermistor - ATC Semitec 104GT-2 (Used in ParCan & J-Head) (1k pullup) |
482 | | - * |
483 | | - * 1047 : Pt1000 with 4k7 pullup (E3D) |
484 | | - * 1010 : Pt1000 with 1k pullup (non standard) |
485 | | - * 147 : Pt100 with 4k7 pullup |
486 | | - * 110 : Pt100 with 1k pullup (non standard) |
487 | | - * |
488 | 509 | * 1000 : Custom - Specify parameters in Configuration_adv.h |
489 | 510 | * |
490 | | - * Use these for Testing or Development purposes. NEVER for production machine. |
| 511 | + * !!! Use these for Testing or Development purposes. NEVER for production machine. !!! |
491 | 512 | * 998 : Dummy Table that ALWAYS reads 25°C or the temperature defined below. |
492 | 513 | * 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below. |
| 514 | + * |
493 | 515 | */ |
494 | 516 | #define TEMP_SENSOR_0 -666 |
495 | 517 | #if EXTRUDERS > 1 |
|
521 | 543 |
|
522 | 544 | // Resistor values when using MAX31865 sensors (-5) on TEMP_SENSOR_0 / 1 |
523 | 545 | //#define MAX31865_SENSOR_OHMS_0 100 // (Ω) Typically 100 or 1000 (PT100 or PT1000) |
524 | | -//#define MAX31865_CALIBRATION_OHMS_0 430 // (Ω) Typically 430 for AdaFruit PT100; 4300 for AdaFruit PT1000 |
| 546 | +//#define MAX31865_CALIBRATION_OHMS_0 430 // (Ω) Typically 430 for Adafruit PT100; 4300 for Adafruit PT1000 |
525 | 547 | //#define MAX31865_SENSOR_OHMS_1 100 |
526 | 548 | //#define MAX31865_CALIBRATION_OHMS_1 430 |
527 | 549 |
|
|
1035 | 1057 | * |
1036 | 1058 | * See https://github.com/synthetos/TinyG/wiki/Jerk-Controlled-Motion-Explained |
1037 | 1059 | */ |
| 1060 | +#if DISABLED(LIN_ADVANCE) |
1038 | 1061 | #define S_CURVE_ACCELERATION |
| 1062 | +#endif |
1039 | 1063 |
|
1040 | 1064 | //=========================================================================== |
1041 | 1065 | //============================= Z Probe Options ============================= |
|
1493 | 1517 | * RAMPS-based boards use SERVO3_PIN for the first runout sensor. |
1494 | 1518 | * For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc. |
1495 | 1519 | */ |
1496 | | -//#define FILAMENT_RUNOUT_SENSOR |
| 1520 | +#if DISABLED( USE_MKS_UI ) |
| 1521 | +#define FILAMENT_RUNOUT_SENSOR |
| 1522 | +#endif |
1497 | 1523 | #if ENABLED(FILAMENT_RUNOUT_SENSOR) |
1498 | | - #define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500. |
| 1524 | + #define FIL_RUNOUT_ENABLED_DEFAULT false // Enable the sensor on startup. Override with M412 followed by M500. |
1499 | 1525 | #define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each. |
1500 | 1526 |
|
1501 | | - #define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present. |
1502 | | - #define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. |
| 1527 | + #define FIL_RUNOUT_STATE HIGH // Pin state indicating that filament is NOT present. |
| 1528 | + //#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. |
1503 | 1529 | //#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins. |
1504 | 1530 | //#define WATCH_ALL_RUNOUT_SENSORS // Execute runout script on any triggering sensor, not only for the active extruder. |
1505 | 1531 | // This is automatically enabled for MIXING_EXTRUDERs. |
|
1793 | 1819 | //#define MANUAL_J_HOME_POS 0 |
1794 | 1820 | //#define MANUAL_K_HOME_POS 0 |
1795 | 1821 |
|
1796 | | -// Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area. |
1797 | | -// |
1798 | | -// With this feature enabled: |
1799 | | -// |
1800 | | -// - Allow Z homing only after X and Y homing AND stepper drivers still enabled. |
1801 | | -// - If stepper drivers time out, it will need X and Y homing again before Z homing. |
1802 | | -// - Move the Z probe (or nozzle) to a defined XY point before Z Homing. |
1803 | | -// - Prevent Z homing when the Z probe is outside bed area. |
1804 | | -// |
| 1822 | +/** |
| 1823 | + * Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area. |
| 1824 | + * |
| 1825 | + * - Moves the Z probe (or nozzle) to a defined XY point before Z homing. |
| 1826 | + * - Allows Z homing only when XY positions are known and trusted. |
| 1827 | + * - If stepper drivers sleep, XY homing may be required again before Z homing. |
| 1828 | + */ |
1805 | 1829 | //#define Z_SAFE_HOMING |
1806 | 1830 |
|
1807 | 1831 | #if ENABLED(Z_SAFE_HOMING) |
|
2121 | 2145 | * |
2122 | 2146 | * :{ 'en':'English', 'an':'Aragonese', 'bg':'Bulgarian', 'ca':'Catalan', 'cz':'Czech', 'da':'Danish', 'de':'German', 'el':'Greek', 'el_gr':'Greek (Greece)', 'es':'Spanish', 'eu':'Basque-Euskera', 'fi':'Finnish', 'fr':'French', 'gl':'Galician', 'hr':'Croatian', 'hu':'Hungarian', 'it':'Italian', 'jp_kana':'Japanese', 'ko_KR':'Korean (South Korea)', 'nl':'Dutch', 'pl':'Polish', 'pt':'Portuguese', 'pt_br':'Portuguese (Brazilian)', 'ro':'Romanian', 'ru':'Russian', 'sk':'Slovak', 'sv':'Swedish', 'tr':'Turkish', 'uk':'Ukrainian', 'vi':'Vietnamese', 'zh_CN':'Chinese (Simplified)', 'zh_TW':'Chinese (Traditional)' } |
2123 | 2147 | */ |
2124 | | -#if ENABLED( USE_OLD_MARLIN_UI ) |
2125 | | -#define LCD_LANGUAGE ru |
2126 | | -#else |
2127 | 2148 | #define LCD_LANGUAGE en |
2128 | | -#endif |
2129 | 2149 |
|
2130 | 2150 | /** |
2131 | 2151 | * LCD Character Set |
|
2491 | 2511 | // |
2492 | 2512 | //#define MKS_MINI_12864 |
2493 | 2513 |
|
| 2514 | +// |
| 2515 | +// MKS MINI12864 V3 is an alias for FYSETC_MINI_12864_2_1. Type A/B. NeoPixel RGB Backlight. |
| 2516 | +// |
| 2517 | +//#define MKS_MINI_12864_V3 |
| 2518 | + |
2494 | 2519 | // |
2495 | 2520 | // MKS LCD12864A/B with graphic controller and SD support. Follows MKS_MINI_12864 pinout. |
2496 | 2521 | // https://www.aliexpress.com/item/33018110072.html |
|
2697 | 2722 | /* from FF firmware: ILI9488, OTM4802 */ |
2698 | 2723 | #define DELAYED_BACKLIGHT_INIT |
2699 | 2724 | #define USE_FLASHFORGE_TFT |
| 2725 | +/* allow FF bootloader to load TFT config */ |
| 2726 | +//#define USE_FLASHFORGE_BOOTLOADER_TFT |
2700 | 2727 | #define TFT_DRIVER AUTO |
2701 | 2728 |
|
2702 | 2729 | // |
|
0 commit comments