This page is under construction and may not have complete or up-to-date information.

MarlinFirmware

Temperature

Description

Basic Temperature settings

hardware, temperature

Marlin monitors and controls the temperature of various components using a combination of PWM current, PID stabilization, and temperature sensors.

#define TEMP_SENSOR_0 int

Thermistor or thermocouple ID for extruder index 0. Choose the number from the list in the configuration file that best fits your sensor.

Example
#define TEMP_SENSOR_0 -4 // AD8495 with Thermocouple

#define HOTEND0_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_0 1000) Pullup resistor.

#define HOTEND0_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_0 1000) Resistance at 25C.

#define HOTEND0_BETA int

(For TEMP_SENSOR_0 1000) Beta value.

#define HOTEND0_SH_C_COEFF int

(For TEMP_SENSOR_0 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_1 int

Thermistor or thermocouple ID for extruder index 1.

#define HOTEND1_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_1 1000) Pullup resistor.

#define HOTEND1_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_1 1000) Resistance at 25C.

#define HOTEND1_BETA int

(For TEMP_SENSOR_1 1000) Beta value.

#define HOTEND1_SH_C_COEFF int

(For TEMP_SENSOR_1 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_2 int

Thermistor or thermocouple ID for extruder index 2.

#define HOTEND2_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_2 1000) Pullup resistor.

#define HOTEND2_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_2 1000) Resistance at 25C.

#define HOTEND2_BETA int

(For TEMP_SENSOR_2 1000) Beta value.

#define HOTEND2_SH_C_COEFF int

(For TEMP_SENSOR_2 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_3 int

Thermistor or thermocouple ID for extruder index 3.

#define HOTEND3_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_3 1000) Pullup resistor.

#define HOTEND3_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_3 1000) Resistance at 25C.

#define HOTEND3_BETA int

(For TEMP_SENSOR_3 1000) Beta value.

#define HOTEND3_SH_C_COEFF int

(For TEMP_SENSOR_3 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_4 int

Thermistor or thermocouple ID for extruder index 4.

#define HOTEND4_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_4 1000) Pullup resistor.

#define HOTEND4_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_4 1000) Resistance at 25C.

#define HOTEND4_BETA int

(For TEMP_SENSOR_4 1000) Beta value.

#define HOTEND4_SH_C_COEFF int

(For TEMP_SENSOR_4 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_5 int

Thermistor or thermocouple ID for extruder index 5.

#define HOTEND5_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_5 1000) Pullup resistor.

#define HOTEND5_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_5 1000) Resistance at 25C.

#define HOTEND5_BETA int

(For TEMP_SENSOR_5 1000) Beta value.

#define HOTEND5_SH_C_COEFF int

(For TEMP_SENSOR_5 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_6 int

Thermistor or thermocouple ID for extruder index 6.

#define HOTEND6_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_6 1000) Pullup resistor.

#define HOTEND6_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_6 1000) Resistance at 25C.

#define HOTEND6_BETA int

(For TEMP_SENSOR_6 1000) Beta value.

#define HOTEND6_SH_C_COEFF int

(For TEMP_SENSOR_6 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_7 int

Thermistor or thermocouple ID for extruder index 7.

#define HOTEND7_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_7 1000) Pullup resistor.

#define HOTEND7_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_7 1000) Resistance at 25C.

#define HOTEND7_BETA int

(For TEMP_SENSOR_7 1000) Beta value.

#define HOTEND7_SH_C_COEFF int

(For TEMP_SENSOR_7 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_BED int

Thermistor or thermocouple ID for the heated bed.

#define BED_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_BED 1000) Pullup resistor.

#define BED_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_BED 1000) Resistance at 25C.

#define BED_BETA int

(For TEMP_SENSOR_BED 1000) Beta value.

#define BED_SH_C_COEFF int

(For TEMP_SENSOR_BED 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_PROBE int

Thermistor or thermocouple ID for the probe.

#define PROBE_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_PROBE 1000) Pullup resistor.

#define PROBE_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_PROBE 1000) Resistance at 25C.

#define PROBE_BETA int

(For TEMP_SENSOR_PROBE 1000) Beta value.

#define PROBE_SH_C_COEFF int

(For TEMP_SENSOR_PROBE 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_CHAMBER int

Thermistor or thermocouple ID for the heated chamber.

#define CHAMBER_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_CHAMBER 1000) Pullup resistor.

#define CHAMBER_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_CHAMBER 1000) Resistance at 25C.

#define CHAMBER_BETA int

(For TEMP_SENSOR_CHAMBER 1000) Beta value.

#define CHAMBER_SH_C_COEFF int

(For TEMP_SENSOR_CHAMBER 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_COOLER int

Thermistor or thermocouple ID for the (laser) cooler.

#define COOLER_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_COOLER 1000) Pullup resistor.

#define COOLER_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_COOLER 1000) Resistance at 25C.

#define COOLER_BETA int

(For TEMP_SENSOR_COOLER 1000) Beta value.

#define COOLER_SH_C_COEFF int

(For TEMP_SENSOR_COOLER 1000) Steinhart-Hart C coefficient.

#define TEMP_SENSOR_BOARD int

Thermistor or thermocouple ID for the board.

#define BOARD_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_BOARD 1000) Pullup resistor.

#define BOARD_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_BOARD 1000) Resistance at 25C.

#define BOARD_BETA int

(For TEMP_SENSOR_BOARD 1000) Beta value.

#define BOARD_SH_C_COEFF int

(For TEMP_SENSOR_BOARD 1000) Steinhart-Hart C coefficient.

2.2.0

#define TEMP_SENSOR_SOC int

Thermistor or thermocouple ID for the MCU.

Example
#define TEMP_SENSOR_SOC 100 // SoC internal sensor

#define TEMP_SENSOR_REDUNDANT int

Thermistor or thermocouple ID used for redundancy.

#define TEMP_SENSOR_REDUNDANT_SOURCE E#

The sensor that will provide the redundant reading.

Example
#define TEMP_SENSOR_REDUNDANT_SOURCE E1

#define TEMP_SENSOR_REDUNDANT_TARGET E#

The sensor that we are providing a redundant reading for.

Example
#define TEMP_SENSOR_REDUNDANT_TARGET E0

#define TEMP_SENSOR_REDUNDANT_MAX_DIFF

(°C) Temperature difference that will trigger a print abort.

#define REDUNDANT_PULLUP_RESISTOR_OHMS ohms

(For TEMP_SENSOR_REDUNDANT 1000) Pullup resistor.

#define REDUNDANT_RESISTANCE_25C_OHMS ohms

(For TEMP_SENSOR_REDUNDANT 1000) Resistance at 25C.

#define REDUNDANT_BETA int

(For TEMP_SENSOR_REDUNDANT 1000) Beta value.

#define REDUNDANT_SH_C_COEFF int

(For TEMP_SENSOR_REDUNDANT 1000) Steinhart-Hart C coefficient.

2.2.0

#define BED_ANNEALING_GCODE

Enable gradual bed cooling via M190 R<temp> T<seconds>.