Skip to content

Commit 6e2a97d

Browse files
thinkyheadellensp
andcommitted
✨ MAX31865 Bed settings
MarlinFirmware/Marlin#27611 Co-Authored-By: ellensp <530024+ellensp@users.noreply.github.com>
1 parent 2bc53e0 commit 6e2a97d

File tree

754 files changed

+3393
-1131
lines changed

Some content is hidden

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

754 files changed

+3393
-1131
lines changed

config/default/Configuration.h

+4
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,10 @@
604604
#define MAX31865_SENSOR_OHMS_2 100
605605
#define MAX31865_CALIBRATION_OHMS_2 430
606606
#endif
607+
#if TEMP_SENSOR_IS_MAX_TC(BED)
608+
#define MAX31865_SENSOR_OHMS_BED 100
609+
#define MAX31865_CALIBRATION_OHMS_BED 430
610+
#endif
607611

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

config/default/Configuration_adv.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

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

+4
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,10 @@
605605
#define MAX31865_SENSOR_OHMS_2 100
606606
#define MAX31865_CALIBRATION_OHMS_2 430
607607
#endif
608+
#if TEMP_SENSOR_IS_MAX_TC(BED)
609+
#define MAX31865_SENSOR_OHMS_BED 100
610+
#define MAX31865_CALIBRATION_OHMS_BED 430
611+
#endif
608612

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

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

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

config/examples/3DMatik/XL/Configuration.h

+4
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,10 @@
604604
#define MAX31865_SENSOR_OHMS_2 100
605605
#define MAX31865_CALIBRATION_OHMS_2 430
606606
#endif
607+
#if TEMP_SENSOR_IS_MAX_TC(BED)
608+
#define MAX31865_SENSOR_OHMS_BED 100
609+
#define MAX31865_CALIBRATION_OHMS_BED 430
610+
#endif
607611

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

config/examples/3DMatik/XL/Configuration_adv.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

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

+4
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,10 @@
604604
#define MAX31865_SENSOR_OHMS_2 100
605605
#define MAX31865_CALIBRATION_OHMS_2 430
606606
#endif
607+
#if TEMP_SENSOR_IS_MAX_TC(BED)
608+
#define MAX31865_SENSOR_OHMS_BED 100
609+
#define MAX31865_CALIBRATION_OHMS_BED 430
610+
#endif
607611

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

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

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

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

+4
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,10 @@
604604
#define MAX31865_SENSOR_OHMS_2 100
605605
#define MAX31865_CALIBRATION_OHMS_2 430
606606
#endif
607+
#if TEMP_SENSOR_IS_MAX_TC(BED)
608+
#define MAX31865_SENSOR_OHMS_BED 100
609+
#define MAX31865_CALIBRATION_OHMS_BED 430
610+
#endif
607611

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

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

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

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

+4
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,10 @@
659659
#define MAX31865_SENSOR_OHMS_2 100
660660
#define MAX31865_CALIBRATION_OHMS_2 430
661661
#endif
662+
#if TEMP_SENSOR_IS_MAX_TC(BED)
663+
#define MAX31865_SENSOR_OHMS_BED 100
664+
#define MAX31865_CALIBRATION_OHMS_BED 430
665+
#endif
662666

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

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

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

config/examples/Alfawise/U20/Configuration.h

+4
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,10 @@
659659
#define MAX31865_SENSOR_OHMS_2 100
660660
#define MAX31865_CALIBRATION_OHMS_2 430
661661
#endif
662+
#if TEMP_SENSOR_IS_MAX_TC(BED)
663+
#define MAX31865_SENSOR_OHMS_BED 100
664+
#define MAX31865_CALIBRATION_OHMS_BED 430
665+
#endif
662666

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

config/examples/Alfawise/U20/Configuration_adv.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

config/examples/AliExpress/CL-260/Configuration.h

+4
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,10 @@
604604
#define MAX31865_SENSOR_OHMS_2 100
605605
#define MAX31865_CALIBRATION_OHMS_2 430
606606
#endif
607+
#if TEMP_SENSOR_IS_MAX_TC(BED)
608+
#define MAX31865_SENSOR_OHMS_BED 100
609+
#define MAX31865_CALIBRATION_OHMS_BED 430
610+
#endif
607611

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

config/examples/AliExpress/CL-260/Configuration_adv.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

config/examples/AliExpress/UM2pExt/Configuration.h

+4
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,10 @@
604604
#define MAX31865_SENSOR_OHMS_2 100
605605
#define MAX31865_CALIBRATION_OHMS_2 430
606606
#endif
607+
#if TEMP_SENSOR_IS_MAX_TC(BED)
608+
#define MAX31865_SENSOR_OHMS_BED 100
609+
#define MAX31865_CALIBRATION_OHMS_BED 430
610+
#endif
607611

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

config/examples/AliExpress/UM2pExt/Configuration_adv.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

config/examples/Anet/A2/Configuration.h

+4
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,10 @@
604604
#define MAX31865_SENSOR_OHMS_2 100
605605
#define MAX31865_CALIBRATION_OHMS_2 430
606606
#endif
607+
#if TEMP_SENSOR_IS_MAX_TC(BED)
608+
#define MAX31865_SENSOR_OHMS_BED 100
609+
#define MAX31865_CALIBRATION_OHMS_BED 430
610+
#endif
607611

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

config/examples/Anet/A2/Configuration_adv.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

config/examples/Anet/A2plus/Configuration.h

+4
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,10 @@
604604
#define MAX31865_SENSOR_OHMS_2 100
605605
#define MAX31865_CALIBRATION_OHMS_2 430
606606
#endif
607+
#if TEMP_SENSOR_IS_MAX_TC(BED)
608+
#define MAX31865_SENSOR_OHMS_BED 100
609+
#define MAX31865_CALIBRATION_OHMS_BED 430
610+
#endif
607611

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

config/examples/Anet/A2plus/Configuration_adv.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

config/examples/Anet/A6/Configuration.h

+4
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,10 @@
604604
#define MAX31865_SENSOR_OHMS_2 100
605605
#define MAX31865_CALIBRATION_OHMS_2 430
606606
#endif
607+
#if TEMP_SENSOR_IS_MAX_TC(BED)
608+
#define MAX31865_SENSOR_OHMS_BED 100
609+
#define MAX31865_CALIBRATION_OHMS_BED 430
610+
#endif
607611

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

config/examples/Anet/A6/Configuration_adv.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@
174174
* Thermocouple Options — for MAX6675 (-2), MAX31855 (-3), and MAX31865 (-5).
175175
*/
176176
//#define TEMP_SENSOR_FORCE_HW_SPI // Ignore SCK/MOSI/MISO pins; use CS and the default SPI bus.
177-
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178-
//#define MAX31865_SENSOR_WIRES_1 2
179-
//#define MAX31865_SENSOR_WIRES_2 2
177+
//#define MAX31865_SENSOR_WIRES_0 2 // (2-4) Number of wires for the probe connected to a MAX31865 board.
178+
//#define MAX31865_SENSOR_WIRES_1 2
179+
//#define MAX31865_SENSOR_WIRES_2 2
180+
//#define MAX31865_SENSOR_WIRES_BED 2
180181

181182
//#define MAX31865_50HZ_FILTER // Use a 50Hz filter instead of the default 60Hz.
182183
//#define MAX31865_USE_READ_ERROR_DETECTION // Treat value spikes (20°C delta in under 1s) as read errors.
@@ -188,6 +189,7 @@
188189
//#define MAX31865_WIRE_OHMS_0 0.95f // For 2-wire, set the wire resistances for more accurate readings.
189190
//#define MAX31865_WIRE_OHMS_1 0.0f
190191
//#define MAX31865_WIRE_OHMS_2 0.0f
192+
//#define MAX31865_WIRE_OHMS_BED 0.0f
191193

192194
/**
193195
* Hephestos 2 24V heated bed upgrade kit.

0 commit comments

Comments
 (0)