|
@@ -112,6 +112,7 @@
|
|
|
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
|
|
|
*/
|
|
|
#define BAUDRATE 250000
|
|
|
+
|
|
|
//#define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate
|
|
|
|
|
|
/**
|
|
@@ -120,7 +121,7 @@
|
|
|
* :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7]
|
|
|
*/
|
|
|
//#define SERIAL_PORT_2 -1
|
|
|
-//#define BAUDRATE_2 250000 // Enable to override BAUDRATE
|
|
|
+//#define BAUDRATE_2 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
|
|
|
|
|
|
/**
|
|
|
* Select a third serial port on the board to use for communication with the host.
|
|
@@ -128,7 +129,7 @@
|
|
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
|
|
|
*/
|
|
|
//#define SERIAL_PORT_3 1
|
|
|
-//#define BAUDRATE_3 250000 // Enable to override BAUDRATE
|
|
|
+//#define BAUDRATE_3 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
|
|
|
|
|
|
// Enable the Bluetooth serial interface on AT90USB devices
|
|
|
//#define BLUETOOTH
|
|
@@ -387,7 +388,7 @@
|
|
|
//#define HOTEND_OFFSET_Y { 0.0, 5.00 } // (mm) relative Y-offset for each nozzle
|
|
|
//#define HOTEND_OFFSET_Z { 0.0, 0.00 } // (mm) relative Z-offset for each nozzle
|
|
|
|
|
|
-// @section machine
|
|
|
+// @section psu control
|
|
|
|
|
|
/**
|
|
|
* Power Supply Control
|
|
@@ -549,22 +550,32 @@
|
|
|
#define DUMMY_THERMISTOR_999_VALUE 100
|
|
|
|
|
|
// Resistor values when using MAX31865 sensors (-5) on TEMP_SENSOR_0 / 1
|
|
|
-//#define MAX31865_SENSOR_OHMS_0 100 // (Ω) Typically 100 or 1000 (PT100 or PT1000)
|
|
|
-//#define MAX31865_CALIBRATION_OHMS_0 430 // (Ω) Typically 430 for Adafruit PT100; 4300 for Adafruit PT1000
|
|
|
-//#define MAX31865_SENSOR_OHMS_1 100
|
|
|
-//#define MAX31865_CALIBRATION_OHMS_1 430
|
|
|
+#if TEMP_SENSOR_IS_MAX_TC(0)
|
|
|
+ #define MAX31865_SENSOR_OHMS_0 100 // (Ω) Typically 100 or 1000 (PT100 or PT1000)
|
|
|
+ #define MAX31865_CALIBRATION_OHMS_0 430 // (Ω) Typically 430 for Adafruit PT100; 4300 for Adafruit PT1000
|
|
|
+#endif
|
|
|
+#if TEMP_SENSOR_IS_MAX_TC(1)
|
|
|
+ #define MAX31865_SENSOR_OHMS_1 100
|
|
|
+ #define MAX31865_CALIBRATION_OHMS_1 430
|
|
|
+#endif
|
|
|
|
|
|
-#define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109
|
|
|
-#define TEMP_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
|
|
|
-#define TEMP_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
|
|
+#if HAS_E_TEMP_SENSOR
|
|
|
+ #define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109
|
|
|
+ #define TEMP_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
|
|
|
+ #define TEMP_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
|
|
+#endif
|
|
|
|
|
|
-#define TEMP_BED_RESIDENCY_TIME 10 // (seconds) Time to wait for bed to "settle" in M190
|
|
|
-#define TEMP_BED_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
|
|
|
-#define TEMP_BED_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
|
|
+#if TEMP_SENSOR_BED
|
|
|
+ #define TEMP_BED_RESIDENCY_TIME 10 // (seconds) Time to wait for bed to "settle" in M190
|
|
|
+ #define TEMP_BED_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
|
|
|
+ #define TEMP_BED_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
|
|
+#endif
|
|
|
|
|
|
-#define TEMP_CHAMBER_RESIDENCY_TIME 10 // (seconds) Time to wait for chamber to "settle" in M191
|
|
|
-#define TEMP_CHAMBER_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
|
|
|
-#define TEMP_CHAMBER_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
|
|
+#if TEMP_SENSOR_CHAMBER
|
|
|
+ #define TEMP_CHAMBER_RESIDENCY_TIME 10 // (seconds) Time to wait for chamber to "settle" in M191
|
|
|
+ #define TEMP_CHAMBER_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
|
|
|
+ #define TEMP_CHAMBER_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
|
|
|
+#endif
|
|
|
|
|
|
/**
|
|
|
* Redundant Temperature Sensor (TEMP_SENSOR_REDUNDANT)
|
|
@@ -623,6 +634,8 @@
|
|
|
//============================= PID Settings ================================
|
|
|
//===========================================================================
|
|
|
|
|
|
+// @section hotend temp
|
|
|
+
|
|
|
// Enable PIDTEMP for PID control or MPCTEMP for Predictive Model.
|
|
|
// temperature control. Disable both for bang-bang heating.
|
|
|
#define PIDTEMP // See the PID Tuning Guide at https://reprap.org/wiki/PID_Tuning
|
|
@@ -633,7 +646,8 @@
|
|
|
#define PID_K1 0.95 // Smoothing factor within any PID loop
|
|
|
|
|
|
#if ENABLED(PIDTEMP)
|
|
|
- //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
|
|
|
+ //#define PID_DEBUG // Print PID debug data to the serial port. Use 'M303 D' to toggle activation.
|
|
|
+ //#define PID_PARAMS_PER_HOTEND // Use separate PID parameters for each extruder (useful for mismatched extruders)
|
|
|
// Set/get with G-code: M301 E[extruder number, 0-2]
|
|
|
|
|
|
#if ENABLED(PID_PARAMS_PER_HOTEND)
|
|
@@ -655,6 +669,7 @@
|
|
|
* Use a physical model of the hotend to control temperature. When configured correctly
|
|
|
* this gives better responsiveness and stability than PID and it also removes the need
|
|
|
* for PID_EXTRUSION_SCALING and PID_FAN_SCALING. Use M306 T to autotune the model.
|
|
|
+ * @section mpctemp
|
|
|
*/
|
|
|
#if ENABLED(MPCTEMP)
|
|
|
//#define MPC_EDIT_MENU // Add MPC editing to the "Advanced Settings" menu. (~1300 bytes of flash)
|
|
@@ -707,6 +722,7 @@
|
|
|
* impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W
|
|
|
* heater. If your configuration is significantly different than this and you don't understand
|
|
|
* the issues involved, don't use bed PID until someone else verifies that your hardware works.
|
|
|
+ * @section bed temp
|
|
|
*/
|
|
|
//#define PIDTEMPBED
|
|
|
|
|
@@ -722,7 +738,7 @@
|
|
|
|
|
|
#if ENABLED(PIDTEMPBED)
|
|
|
//#define MIN_BED_POWER 0
|
|
|
- //#define PID_BED_DEBUG // Sends debug data to the serial port.
|
|
|
+ //#define PID_BED_DEBUG // Print Bed PID debug data to the serial port.
|
|
|
|
|
|
// 120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
// from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
|
|
@@ -750,6 +766,7 @@
|
|
|
* impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 200W
|
|
|
* heater. If your configuration is significantly different than this and you don't understand
|
|
|
* the issues involved, don't use chamber PID until someone else verifies that your hardware works.
|
|
|
+ * @section chamber temp
|
|
|
*/
|
|
|
//#define PIDTEMPCHAMBER
|
|
|
//#define CHAMBER_LIMIT_SWITCHING
|
|
@@ -764,7 +781,7 @@
|
|
|
|
|
|
#if ENABLED(PIDTEMPCHAMBER)
|
|
|
#define MIN_CHAMBER_POWER 0
|
|
|
- //#define PID_CHAMBER_DEBUG // Sends debug data to the serial port.
|
|
|
+ //#define PID_CHAMBER_DEBUG // Print Chamber PID debug data to the serial port.
|
|
|
|
|
|
// Lasko "MyHeat Personal Heater" (200w) modified with a Fotek SSR-10DA to control only the heating element
|
|
|
// and placed inside the small Creality printer enclosure tent.
|
|
@@ -778,7 +795,6 @@
|
|
|
#endif // PIDTEMPCHAMBER
|
|
|
|
|
|
#if ANY(PIDTEMP, PIDTEMPBED, PIDTEMPCHAMBER)
|
|
|
- //#define PID_DEBUG // Sends debug data to the serial port. Use 'M303 D' to toggle activation.
|
|
|
//#define PID_OPENLOOP // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
|
|
|
//#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
|
|
|
#define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
|
|
@@ -788,7 +804,7 @@
|
|
|
//#define PID_AUTOTUNE_MENU // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of flash)
|
|
|
#endif
|
|
|
|
|
|
-// @section extruder
|
|
|
+// @section safety
|
|
|
|
|
|
/**
|
|
|
* Prevent extrusion if the temperature is below EXTRUDE_MINTEMP.
|
|
@@ -856,6 +872,8 @@
|
|
|
#define POLAR_SEGMENTS_PER_SECOND 5
|
|
|
#endif
|
|
|
|
|
|
+// @section delta
|
|
|
+
|
|
|
// Enable for DELTA kinematics and configure below
|
|
|
//#define DELTA
|
|
|
#if ENABLED(DELTA)
|
|
@@ -915,6 +933,8 @@
|
|
|
//#define DELTA_DIAGONAL_ROD_TRIM_TOWER { 0.0, 0.0, 0.0 }
|
|
|
#endif
|
|
|
|
|
|
+// @section scara
|
|
|
+
|
|
|
/**
|
|
|
* MORGAN_SCARA was developed by QHARLEY in South Africa in 2012-2013.
|
|
|
* Implemented and slightly reworked by JCERNY in June, 2014.
|
|
@@ -958,6 +978,8 @@
|
|
|
|
|
|
#endif
|
|
|
|
|
|
+// @section tpara
|
|
|
+
|
|
|
// Enable for TPARA kinematics and configure below
|
|
|
//#define AXEL_TPARA
|
|
|
#if ENABLED(AXEL_TPARA)
|
|
@@ -984,6 +1006,8 @@
|
|
|
#define PSI_HOMING_OFFSET 0
|
|
|
#endif
|
|
|
|
|
|
+// @section machine
|
|
|
+
|
|
|
// Articulated robot (arm). Joints are directly mapped to axes with no kinematics.
|
|
|
//#define ARTICULATED_ROBOT_ARM
|
|
|
|
|
@@ -995,7 +1019,7 @@
|
|
|
//============================== Endstop Settings ===========================
|
|
|
//===========================================================================
|
|
|
|
|
|
-// @section homing
|
|
|
+// @section endstops
|
|
|
|
|
|
// Specify here all the endstop connectors that are connected to any endstop or probe.
|
|
|
// Almost all printers will be using one per axis. Probes will use one or more of the
|
|
@@ -1659,7 +1683,7 @@
|
|
|
//#define V_HOME_DIR -1
|
|
|
//#define W_HOME_DIR -1
|
|
|
|
|
|
-// @section machine
|
|
|
+// @section geometry
|
|
|
|
|
|
// The size of the printable area
|
|
|
#define X_BED_SIZE 200
|
|
@@ -2119,7 +2143,7 @@
|
|
|
//============================= Additional Features ===========================
|
|
|
//=============================================================================
|
|
|
|
|
|
-// @section extras
|
|
|
+// @section eeprom
|
|
|
|
|
|
/**
|
|
|
* EEPROM
|
|
@@ -2139,6 +2163,8 @@
|
|
|
//#define EEPROM_INIT_NOW // Init EEPROM on first boot after a new build.
|
|
|
#endif
|
|
|
|
|
|
+// @section host
|
|
|
+
|
|
|
//
|
|
|
// Host Keepalive
|
|
|
//
|
|
@@ -2149,6 +2175,8 @@
|
|
|
#define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.
|
|
|
#define BUSY_WHILE_HEATING // Some hosts require "busy" messages even during heating
|
|
|
|
|
|
+// @section units
|
|
|
+
|
|
|
//
|
|
|
// G20/G21 Inch mode support
|
|
|
//
|
|
@@ -2176,6 +2204,8 @@
|
|
|
#define PREHEAT_2_TEMP_CHAMBER 35
|
|
|
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
|
|
|
|
|
|
+// @section motion
|
|
|
+
|
|
|
/**
|
|
|
* Nozzle Park
|
|
|
*
|
|
@@ -2274,6 +2304,8 @@
|
|
|
|
|
|
#endif
|
|
|
|
|
|
+// @section host
|
|
|
+
|
|
|
/**
|
|
|
* Print Job Timer
|
|
|
*
|
|
@@ -2300,6 +2332,8 @@
|
|
|
*/
|
|
|
#define PRINTJOB_TIMER_AUTOSTART
|
|
|
|
|
|
+// @section stats
|
|
|
+
|
|
|
/**
|
|
|
* Print Counter
|
|
|
*
|
|
@@ -2317,6 +2351,8 @@
|
|
|
#define PRINTCOUNTER_SAVE_INTERVAL 60 // (minutes) EEPROM save interval during print
|
|
|
#endif
|
|
|
|
|
|
+// @section security
|
|
|
+
|
|
|
/**
|
|
|
* Password
|
|
|
*
|
|
@@ -2352,7 +2388,7 @@
|
|
|
//============================= LCD and SD support ============================
|
|
|
//=============================================================================
|
|
|
|
|
|
-// @section lcd
|
|
|
+// @section interface
|
|
|
|
|
|
/**
|
|
|
* LCD LANGUAGE
|
|
@@ -2508,6 +2544,7 @@
|
|
|
//======================== LCD / Controller Selection =========================
|
|
|
//======================== (Character-based LCDs) =========================
|
|
|
//=============================================================================
|
|
|
+// @section lcd
|
|
|
|
|
|
//
|
|
|
// RepRapDiscount Smart Controller.
|
|
@@ -3142,7 +3179,7 @@
|
|
|
//=============================== Extra Features ==============================
|
|
|
//=============================================================================
|
|
|
|
|
|
-// @section extras
|
|
|
+// @section fans
|
|
|
|
|
|
// Set number of user-controlled fans. Disable to use all board-defined fans.
|
|
|
// :[1,2,3,4,5,6,7,8]
|
|
@@ -3166,14 +3203,18 @@
|
|
|
// duty cycle is attained.
|
|
|
//#define SOFT_PWM_DITHER
|
|
|
|
|
|
+// @section extras
|
|
|
+
|
|
|
+// Support for the BariCUDA Paste Extruder
|
|
|
+//#define BARICUDA
|
|
|
+
|
|
|
+// @section lights
|
|
|
+
|
|
|
// Temperature status LEDs that display the hotend and bed temperature.
|
|
|
// If all hotends, bed temperature, and target temperature are under 54C
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
-// Support for the BariCUDA Paste Extruder
|
|
|
-//#define BARICUDA
|
|
|
-
|
|
|
// Support for BlinkM/CyzRgb
|
|
|
//#define BLINKM
|
|
|
|
|
@@ -3259,6 +3300,8 @@
|
|
|
#define PRINTER_EVENT_LEDS
|
|
|
#endif
|
|
|
|
|
|
+// @section servos
|
|
|
+
|
|
|
/**
|
|
|
* Number of servos
|
|
|
*
|