|
@@ -113,6 +113,12 @@
|
|
|
#define CHAMBER_BETA 3950 // Beta value
|
|
|
#endif
|
|
|
|
|
|
+#if TEMP_SENSOR_COOLER == 1000
|
|
|
+ #define COOLER_PULLUP_RESISTOR_OHMS 4700 // Pullup resistor
|
|
|
+ #define COOLER_RESISTANCE_25C_OHMS 100000 // Resistance at 25C
|
|
|
+ #define COOLER_BETA 3950 // Beta value
|
|
|
+#endif
|
|
|
+
|
|
|
#if TEMP_SENSOR_PROBE == 1000
|
|
|
#define PROBE_PULLUP_RESISTOR_OHMS 4700 // Pullup resistor
|
|
|
#define PROBE_RESISTANCE_25C_OHMS 100000 // Resistance at 25C
|
|
@@ -179,6 +185,25 @@
|
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
+//
|
|
|
+// Laser Cooler options
|
|
|
+//
|
|
|
+#if TEMP_SENSOR_COOLER
|
|
|
+ #define COOLER_MINTEMP 8 // (°C)
|
|
|
+ #define COOLER_MAXTEMP 26 // (°C)
|
|
|
+ #define COOLER_DEFAULT_TEMP 16 // (°C)
|
|
|
+ #define TEMP_COOLER_HYSTERESIS 1 // (°C) Temperature proximity considered "close enough" to the target
|
|
|
+ #define COOLER_PIN 8 // Laser cooler on/off pin used to control power to the cooling element e.g. TEC, External chiller via relay
|
|
|
+ #define COOLER_INVERTING false
|
|
|
+ #define TEMP_COOLER_PIN 15 // Laser/Cooler temperature sensor pin. ADC is required.
|
|
|
+ #define COOLER_FAN // Enable a fan on the cooler, Fan# 0,1,2,3 etc.
|
|
|
+ #define COOLER_FAN_INDEX 0 // FAN number 0, 1, 2 etc. e.g.
|
|
|
+ #if ENABLED(COOLER_FAN)
|
|
|
+ #define COOLER_FAN_BASE 100 // Base Cooler fan PWM (0-255); turns on when Cooler temperature is above the target
|
|
|
+ #define COOLER_FAN_FACTOR 25 // PWM increase per °C above target
|
|
|
+ #endif
|
|
|
+#endif
|
|
|
+
|
|
|
/**
|
|
|
* Thermal Protection provides additional protection to your printer from damage
|
|
|
* and fire. Marlin always includes safe min and max temperature ranges which
|
|
@@ -248,6 +273,20 @@
|
|
|
#define WATCH_CHAMBER_TEMP_INCREASE 2 // Degrees Celsius
|
|
|
#endif
|
|
|
|
|
|
+/**
|
|
|
+ * Thermal Protection parameters for the laser cooler.
|
|
|
+ */
|
|
|
+#if ENABLED(THERMAL_PROTECTION_COOLER)
|
|
|
+ #define THERMAL_PROTECTION_COOLER_PERIOD 10 // Seconds
|
|
|
+ #define THERMAL_PROTECTION_COOLER_HYSTERESIS 3 // Degrees Celsius
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Laser cooling watch settings (M143/M193).
|
|
|
+ */
|
|
|
+ #define WATCH_COOLER_TEMP_PERIOD 60 // Seconds
|
|
|
+ #define WATCH_COOLER_TEMP_INCREASE 3 // Degrees Celsius
|
|
|
+#endif
|
|
|
+
|
|
|
#if ENABLED(PIDTEMP)
|
|
|
// Add an experimental additional term to the heater power, proportional to the extrusion speed.
|
|
|
// A well-chosen Kc value should add just enough power to melt the increased material volume.
|
|
@@ -493,11 +532,15 @@
|
|
|
#define E6_AUTO_FAN_PIN -1
|
|
|
#define E7_AUTO_FAN_PIN -1
|
|
|
#define CHAMBER_AUTO_FAN_PIN -1
|
|
|
+#define COOLER_AUTO_FAN_PIN -1
|
|
|
+#define COOLER_FAN_PIN -1
|
|
|
|
|
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
|
|
#define EXTRUDER_AUTO_FAN_SPEED 255 // 255 == full speed
|
|
|
#define CHAMBER_AUTO_FAN_TEMPERATURE 30
|
|
|
#define CHAMBER_AUTO_FAN_SPEED 255
|
|
|
+#define COOLER_AUTO_FAN_TEMPERATURE 18
|
|
|
+#define COOLER_AUTO_FAN_SPEED 255
|
|
|
|
|
|
/**
|
|
|
* Part-Cooling Fan Multiplexer
|
|
@@ -1495,6 +1538,7 @@
|
|
|
#define STATUS_BED_ANIM // Use a second bitmap to indicate bed heating
|
|
|
#define STATUS_CHAMBER_ANIM // Use a second bitmap to indicate chamber heating
|
|
|
//#define STATUS_CUTTER_ANIM // Use a second bitmap to indicate spindle / laser active
|
|
|
+ //#define STATUS_COOLER_ANIM // Use a second bitmap to indicate laser cooling
|
|
|
//#define STATUS_ALT_BED_BITMAP // Use the alternative bed bitmap
|
|
|
//#define STATUS_ALT_FAN_BITMAP // Use the alternative fan bitmap
|
|
|
//#define STATUS_FAN_FRAMES 3 // :[0,1,2,3,4] Number of fan animation frames
|