Skip to content

Commit 6c25560

Browse files
committed
🚸 Up to 3 MAX Thermocouples
MarlinFirmware/Marlin#24898
1 parent 4a9dff3 commit 6c25560

File tree

621 files changed

+1907
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

621 files changed

+1907
-16
lines changed

‎config/default/Configuration.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,10 @@
566566
#define MAX31865_SENSOR_OHMS_1 100
567567
#define MAX31865_CALIBRATION_OHMS_1 430
568568
#endif
569+
#if TEMP_SENSOR_IS_MAX_TC(2)
570+
#define MAX31865_SENSOR_OHMS_2 100
571+
#define MAX31865_CALIBRATION_OHMS_2 430
572+
#endif
569573

570574
#if HAS_E_TEMP_SENSOR
571575
#define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109

‎config/default/Configuration_adv.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
176176
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
177177
//#define MAX31865_SENSOR_WIRES_1 2
178+
//#define MAX31865_SENSOR_WIRES_2 2
178179

179180
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
180181
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -185,6 +186,7 @@
185186

186187
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
187188
//#define MAX31865_WIRE_OHMS_1 0.0f
189+
//#define MAX31865_WIRE_OHMS_2 0.0f
188190

189191
/**
190192
* Hephestos 2 24V heated bed upgrade kit.

‎config/examples/3DFabXYZ/Migbot/Configuration.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,10 @@
567567
#define MAX31865_SENSOR_OHMS_1 100
568568
#define MAX31865_CALIBRATION_OHMS_1 430
569569
#endif
570+
#if TEMP_SENSOR_IS_MAX_TC(2)
571+
#define MAX31865_SENSOR_OHMS_2 100
572+
#define MAX31865_CALIBRATION_OHMS_2 430
573+
#endif
570574

571575
#if HAS_E_TEMP_SENSOR
572576
#define TEMP_RESIDENCY_TIME 5 // (seconds) Time to wait for hotend to "settle" in M109

‎config/examples/3DFabXYZ/Migbot/Configuration_adv.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
176176
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
177177
//#define MAX31865_SENSOR_WIRES_1 2
178+
//#define MAX31865_SENSOR_WIRES_2 2
178179

179180
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
180181
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -185,6 +186,7 @@
185186

186187
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
187188
//#define MAX31865_WIRE_OHMS_1 0.0f
189+
//#define MAX31865_WIRE_OHMS_2 0.0f
188190

189191
/**
190192
* Hephestos 2 24V heated bed upgrade kit.

‎config/examples/ADIMLab/Gantry v1/Configuration.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,10 @@
566566
#define MAX31865_SENSOR_OHMS_1 100
567567
#define MAX31865_CALIBRATION_OHMS_1 430
568568
#endif
569+
#if TEMP_SENSOR_IS_MAX_TC(2)
570+
#define MAX31865_SENSOR_OHMS_2 100
571+
#define MAX31865_CALIBRATION_OHMS_2 430
572+
#endif
569573

570574
#if HAS_E_TEMP_SENSOR
571575
#define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109

‎config/examples/ADIMLab/Gantry v1/Configuration_adv.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
176176
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
177177
//#define MAX31865_SENSOR_WIRES_1 2
178+
//#define MAX31865_SENSOR_WIRES_2 2
178179

179180
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
180181
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -185,6 +186,7 @@
185186

186187
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
187188
//#define MAX31865_WIRE_OHMS_1 0.0f
189+
//#define MAX31865_WIRE_OHMS_2 0.0f
188190

189191
/**
190192
* Hephestos 2 24V heated bed upgrade kit.

‎config/examples/ADIMLab/Gantry v2/Configuration.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,10 @@
566566
#define MAX31865_SENSOR_OHMS_1 100
567567
#define MAX31865_CALIBRATION_OHMS_1 430
568568
#endif
569+
#if TEMP_SENSOR_IS_MAX_TC(2)
570+
#define MAX31865_SENSOR_OHMS_2 100
571+
#define MAX31865_CALIBRATION_OHMS_2 430
572+
#endif
569573

570574
#if HAS_E_TEMP_SENSOR
571575
#define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109

‎config/examples/ADIMLab/Gantry v2/Configuration_adv.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
176176
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
177177
//#define MAX31865_SENSOR_WIRES_1 2
178+
//#define MAX31865_SENSOR_WIRES_2 2
178179

179180
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
180181
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -185,6 +186,7 @@
185186

186187
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
187188
//#define MAX31865_WIRE_OHMS_1 0.0f
189+
//#define MAX31865_WIRE_OHMS_2 0.0f
188190

189191
/**
190192
* Hephestos 2 24V heated bed upgrade kit.

‎config/examples/Alfawise/U20-bltouch/Configuration.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,10 @@
621621
#define MAX31865_SENSOR_OHMS_1 100
622622
#define MAX31865_CALIBRATION_OHMS_1 430
623623
#endif
624+
#if TEMP_SENSOR_IS_MAX_TC(2)
625+
#define MAX31865_SENSOR_OHMS_2 100
626+
#define MAX31865_CALIBRATION_OHMS_2 430
627+
#endif
624628

625629
#if HAS_E_TEMP_SENSOR
626630
#define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109

‎config/examples/Alfawise/U20-bltouch/Configuration_adv.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
176176
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
177177
//#define MAX31865_SENSOR_WIRES_1 2
178+
//#define MAX31865_SENSOR_WIRES_2 2
178179

179180
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
180181
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -185,6 +186,7 @@
185186

186187
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
187188
//#define MAX31865_WIRE_OHMS_1 0.0f
189+
//#define MAX31865_WIRE_OHMS_2 0.0f
188190

189191
/**
190192
* Hephestos 2 24V heated bed upgrade kit.

0 commit comments

Comments
 (0)