|
25 | 25 | */
|
26 | 26 | #pragma once
|
27 | 27 |
|
| 28 | +#define CONFIG_EXAMPLES_DIR "Anet/A8" |
| 29 | + |
28 | 30 | /**
|
29 | 31 | * Configuration.h
|
30 | 32 | *
|
|
119 | 121 | *
|
120 | 122 | * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
|
121 | 123 | */
|
122 |
| -#define BAUDRATE 250000 |
| 124 | +#define BAUDRATE 115200 |
123 | 125 | //#define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate
|
124 | 126 |
|
125 | 127 | /**
|
|
147 | 149 | #endif
|
148 | 150 |
|
149 | 151 | // Name displayed in the LCD "Ready" message and Info menu
|
150 |
| -//#define CUSTOM_MACHINE_NAME "3D Printer" |
| 152 | +//#define CUSTOM_MACHINE_NAME "PipetBot-A8" |
151 | 153 |
|
152 | 154 | // Printer's unique ID, used by some programs to differentiate between machines.
|
153 | 155 | // Choose your own or use a service like https://www.uuidgenerator.net/version4
|
|
491 | 493 | * 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below.
|
492 | 494 | *
|
493 | 495 | */
|
494 |
| -#define TEMP_SENSOR_0 1 |
| 496 | +#define TEMP_SENSOR_0 999 |
495 | 497 | #define TEMP_SENSOR_1 0
|
496 | 498 | #define TEMP_SENSOR_2 0
|
497 | 499 | #define TEMP_SENSOR_3 0
|
|
516 | 518 | //#define MAX31865_SENSOR_OHMS_1 100
|
517 | 519 | //#define MAX31865_CALIBRATION_OHMS_1 430
|
518 | 520 |
|
519 |
| -#define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109 |
| 521 | +#define TEMP_RESIDENCY_TIME 6 // (seconds) Time to wait for hotend to "settle" in M109 |
520 | 522 | #define TEMP_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
|
521 | 523 | #define TEMP_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
522 | 524 |
|
523 |
| -#define TEMP_BED_RESIDENCY_TIME 10 // (seconds) Time to wait for bed to "settle" in M190 |
| 525 | +#define TEMP_BED_RESIDENCY_TIME 6 // (seconds) Time to wait for bed to "settle" in M190 |
524 | 526 | #define TEMP_BED_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
|
525 | 527 | #define TEMP_BED_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
526 | 528 |
|
|
598 | 600 | //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
|
599 | 601 | // Set/get with gcode: M301 E[extruder number, 0-2]
|
600 | 602 |
|
| 603 | + // ANET A8 Standard Extruder at 210 Degree Celsius and 100% Fan |
| 604 | + // (measured after M106 S255 with M303 E0 S210 C8) |
601 | 605 | #if ENABLED(PID_PARAMS_PER_HOTEND)
|
602 | 606 | // Specify between 1 and HOTENDS values per array.
|
603 | 607 | // If fewer than EXTRUDER values are provided, the last element will be repeated.
|
604 |
| - #define DEFAULT_Kp_LIST { 22.20, 22.20 } |
605 |
| - #define DEFAULT_Ki_LIST { 1.08, 1.08 } |
606 |
| - #define DEFAULT_Kd_LIST { 114.00, 114.00 } |
| 608 | + #define DEFAULT_Kp_LIST { 21.00, 20.00 } |
| 609 | + #define DEFAULT_Ki_LIST { 1.25, 1.25 } |
| 610 | + #define DEFAULT_Kd_LIST { 86.00, 86.00 } |
607 | 611 | #else
|
608 | 612 | #define DEFAULT_Kp 21.00
|
609 | 613 | #define DEFAULT_Ki 1.25
|
610 |
| - #define DEFAULT_Kd 86.0 |
| 614 | + #define DEFAULT_Kd 86.00 |
611 | 615 | #endif
|
612 | 616 | #endif // PIDTEMP
|
613 | 617 |
|
|
644 | 648 | //#define MIN_BED_POWER 0
|
645 | 649 | //#define PID_BED_DEBUG // Sends debug data to the serial port.
|
646 | 650 |
|
647 |
| - // 120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) |
648 |
| - // from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10) |
649 |
| - #define DEFAULT_bedKp 10.00 |
650 |
| - #define DEFAULT_bedKi .023 |
651 |
| - #define DEFAULT_bedKd 305.4 |
| 651 | + // ANET A8 |
| 652 | + // original Bed + 0.3mm Heat conducting into 4mm borosilicate (PID-Autotune: M303 E-1 S60 C5): |
| 653 | + #define DEFAULT_bedKp 295.00 |
| 654 | + #define DEFAULT_bedKi 35.65 |
| 655 | + #define DEFAULT_bedKd 610.21 |
652 | 656 |
|
653 | 657 | // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
654 | 658 | #endif // PIDTEMPBED
|
|
701 | 705 | //#define PID_DEBUG // Sends debug data to the serial port. Use 'M303 D' to toggle activation.
|
702 | 706 | //#define PID_OPENLOOP // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
|
703 | 707 | //#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
|
704 |
| - #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature |
| 708 | + #define PID_FUNCTIONAL_RANGE 15 // If the temperature difference between the target temperature and the actual temperature |
705 | 709 | // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
|
706 | 710 | #endif
|
707 | 711 |
|
|
714 | 718 | *
|
715 | 719 | * *** IT IS HIGHLY RECOMMENDED TO LEAVE THIS OPTION ENABLED! ***
|
716 | 720 | */
|
717 |
| -#define PREVENT_COLD_EXTRUSION |
718 |
| -#define EXTRUDE_MINTEMP 170 |
| 721 | +//#define PREVENT_COLD_EXTRUSION |
| 722 | +#define EXTRUDE_MINTEMP 5 |
719 | 723 |
|
720 | 724 | /**
|
721 | 725 | * Prevent a single extrusion longer than EXTRUDE_MAXLENGTH.
|
|
762 | 766 | //#define COREZY
|
763 | 767 | //#define MARKFORGED_XY // MarkForged. See https://reprap.org/forum/read.php?152,504042
|
764 | 768 |
|
| 769 | +// Enable for a belt style printer with endless "Z" motion |
| 770 | +//#define BELTPRINTER |
| 771 | + |
765 | 772 | //===========================================================================
|
766 | 773 | //============================== Endstop Settings ===========================
|
767 | 774 | //===========================================================================
|
|
823 | 830 | #endif
|
824 | 831 |
|
825 | 832 | // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
826 |
| -#define X_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. |
827 |
| -#define Y_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. |
828 |
| -#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. |
829 |
| -#define I_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. |
| 833 | +#define X_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. |
| 834 | +#define Y_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. |
| 835 | +#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. |
| 836 | +#define I_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. |
830 | 837 | #define J_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
831 | 838 | #define K_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
832 | 839 | #define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
|
|
921 | 928 | * Override with M92
|
922 | 929 | * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]]
|
923 | 930 | */
|
924 |
| -#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 400 } |
| 931 | +#define DEFAULT_AXIS_STEPS_PER_UNIT { 100, 100, 400, 400 } |
925 | 932 |
|
926 | 933 | /**
|
927 | 934 | * Default Max Feed Rate (mm/s)
|
928 | 935 | * Override with M203
|
929 | 936 | * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]]
|
930 | 937 | */
|
931 |
| -#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 5 } |
| 938 | +#define DEFAULT_MAX_FEEDRATE { 400, 400, 8, 8 } |
932 | 939 |
|
933 | 940 | //#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
|
934 | 941 | #if ENABLED(LIMITED_MAX_FR_EDITING)
|
|
956 | 963 | * M204 R Retract Acceleration
|
957 | 964 | * M204 T Travel Acceleration
|
958 | 965 | */
|
959 |
| -#define DEFAULT_ACCELERATION 400 // X, Y, Z and E acceleration for printing moves |
| 966 | +#define DEFAULT_ACCELERATION 400 // X, Y, Z and E acceleration for printing moves |
960 | 967 | #define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration for retracts
|
961 | 968 | #define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves
|
962 | 969 |
|
|
995 | 1002 | * https://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
|
996 | 1003 | */
|
997 | 1004 | #if DISABLED(CLASSIC_JERK)
|
998 |
| - #define JUNCTION_DEVIATION_MM 0.013 // (mm) Distance from real junction edge |
| 1005 | + #define JUNCTION_DEVIATION_MM 0.10 // (mm) Distance from real junction edge |
999 | 1006 | #define JD_HANDLE_SMALL_SEGMENTS // Use curvature estimation instead of just the junction angle
|
1000 | 1007 | // for small segments (< 1mm) with large junction angles (> 135°).
|
1001 | 1008 | #endif
|
|
1180 | 1187 | #define PROBING_MARGIN 10
|
1181 | 1188 |
|
1182 | 1189 | // X and Y axis travel speed (mm/min) between probes
|
1183 |
| -#define XY_PROBE_FEEDRATE (133*60) |
| 1190 | +#define XY_PROBE_FEEDRATE (100*60) |
1184 | 1191 |
|
1185 | 1192 | // Feedrate (mm/min) for the first approach when double-probing (MULTIPLE_PROBING == 2)
|
1186 | 1193 | #define Z_PROBE_FEEDRATE_FAST (4*60)
|
|
1739 | 1746 | #endif
|
1740 | 1747 |
|
1741 | 1748 | // Homing speeds (mm/min)
|
1742 |
| -#define HOMING_FEEDRATE_MM_M { (50*60), (50*60), (4*60), (4*60) } |
| 1749 | +#define HOMING_FEEDRATE_MM_M { (100*60), (100*60), (4*60), (4*60) } |
1743 | 1750 |
|
1744 | 1751 | // Validate that endstops are triggered on homing moves
|
1745 | 1752 | #define VALIDATE_HOMING_ENDSTOPS
|
|
1816 | 1823 | * M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
|
1817 | 1824 | * M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
|
1818 | 1825 | */
|
1819 |
| -#define EEPROM_SETTINGS // Persistent storage with M500 and M501 |
| 1826 | +#define EEPROM_SETTINGS // Persistent storage with M500 and M501 |
1820 | 1827 | //#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
|
1821 |
| -#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM. |
| 1828 | +//#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM. |
1822 | 1829 | #define EEPROM_BOOT_SILENT // Keep M503 quiet and only give errors during first load
|
1823 | 1830 | #if ENABLED(EEPROM_SETTINGS)
|
1824 | 1831 | //#define EEPROM_AUTO_INIT // Init EEPROM automatically on any errors.
|
|
1832 | 1839 | //
|
1833 | 1840 | #define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages
|
1834 | 1841 | #define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
|
1835 |
| -#define BUSY_WHILE_HEATING // Some hosts require "busy" messages even during heating |
| 1842 | +//#define BUSY_WHILE_HEATING // Some hosts require "busy" messages even during heating |
1836 | 1843 |
|
1837 | 1844 | //
|
1838 | 1845 | // G20/G21 Inch mode support
|
|
1851 | 1858 | //
|
1852 | 1859 | #define PREHEAT_1_LABEL "PLA"
|
1853 | 1860 | #define PREHEAT_1_TEMP_HOTEND 110
|
1854 |
| -#define PREHEAT_1_TEMP_BED 70 |
| 1861 | +#define PREHEAT_1_TEMP_BED 60 |
| 1862 | +#define PREHEAT_1_TEMP_CHAMBER 35 |
1855 | 1863 | #define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
|
1856 | 1864 |
|
1857 | 1865 | #define PREHEAT_2_LABEL "ABS"
|
1858 | 1866 | #define PREHEAT_2_TEMP_HOTEND 110
|
1859 |
| -#define PREHEAT_2_TEMP_BED 110 |
| 1867 | +#define PREHEAT_2_TEMP_BED 90 |
1860 | 1868 | #define PREHEAT_2_TEMP_CHAMBER 35
|
1861 | 1869 | #define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
|
1862 | 1870 |
|
|
2347 | 2355 | // RepRapDiscount FULL GRAPHIC Smart Controller
|
2348 | 2356 | // https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
|
2349 | 2357 | //
|
| 2358 | +// Note: Details on connecting to the Anet V1.0 controller are in the file pins_ANET_10.h |
| 2359 | +// |
2350 | 2360 | //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
2351 | 2361 |
|
2352 | 2362 | //
|
|
2572 | 2582 | #define USE_MKS_GREEN_UI
|
2573 | 2583 | #endif
|
2574 | 2584 |
|
| 2585 | +// |
| 2586 | +// CR-6 OEM touch screen. A DWIN display with touch. |
| 2587 | +// |
| 2588 | +//#define DWIN_CREALITY_TOUCHLCD |
| 2589 | + |
2575 | 2590 | //
|
2576 | 2591 | // Touch-screen LCD for Malyan M200/M300 printers
|
2577 | 2592 | //
|
|
2604 | 2619 | #define LCD_SERIAL_PORT 1 // Default is 1 for Nextion
|
2605 | 2620 | #endif
|
2606 | 2621 |
|
| 2622 | +// |
| 2623 | +// PanelDue touch controller by Escher3D |
| 2624 | +// http://escher3d.com/pages/order/products/product2.php |
| 2625 | +// |
| 2626 | +//#define PANELDUE |
| 2627 | + |
2607 | 2628 | //
|
2608 | 2629 | // Third-party or vendor-customized controller interfaces.
|
2609 | 2630 | // Sources should be installed in 'src/lcd/extui'.
|
|
2710 | 2731 | //#define TFT_RES_320x240
|
2711 | 2732 | //#define TFT_RES_480x272
|
2712 | 2733 | //#define TFT_RES_480x320
|
| 2734 | + //#define TFT_RES_1024x600 |
2713 | 2735 | #endif
|
2714 | 2736 |
|
2715 | 2737 | /**
|
|
2870 | 2892 | //#define NEOPIXEL_LED
|
2871 | 2893 | #if ENABLED(NEOPIXEL_LED)
|
2872 | 2894 | #define NEOPIXEL_TYPE NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (defined in Adafruit_NeoPixel.h)
|
2873 |
| - #define NEOPIXEL_PIN 4 // LED driving pin |
| 2895 | + //#define NEOPIXEL_PIN 4 // LED driving pin |
2874 | 2896 | //#define NEOPIXEL2_TYPE NEOPIXEL_TYPE
|
2875 | 2897 | //#define NEOPIXEL2_PIN 5
|
2876 | 2898 | #define NEOPIXEL_PIXELS 30 // Number of LEDs in the strip. (Longest strip when NEOPIXEL2_SEPARATE is disabled.)
|
|
0 commit comments