TEMP_SENSOR_SOC

MarlinFirmware/Marlin#25642
This commit is contained in:
Scott Lahteine 2023-04-24 21:08:56 -05:00
parent ccfdb80c1b
commit bb03895ff8
650 changed files with 29146 additions and 23304 deletions

View file

@ -447,78 +447,67 @@
// @section temperature
/**
* --NORMAL IS 4.7 PULLUP!-- 1 pullup can be used on hotend sensor, using correct resistor and table
* Temperature Sensors:
*
* Temperature sensors available:
*
* SPI RTD/Thermocouple Boards - IMPORTANT: Read the NOTE below!
* -------
* -5 : MAX31865 with Pt100/Pt1000, 2, 3, or 4-wire (only for sensors 0-1)
* NOTE: You must uncomment/set the MAX31865_*_OHMS_n defines below.
* -3 : MAX31855 with Thermocouple, -200°C to +700°C (only for sensors 0-1)
* -2 : MAX6675 with Thermocouple, 0°C to +700°C (only for sensors 0-1)
*
* NOTE: Ensure TEMP_n_CS_PIN is set in your pins file for each TEMP_SENSOR_n using an SPI Thermocouple. By default,
* Hardware SPI on the default serial bus is used. If you have also set TEMP_n_SCK_PIN and TEMP_n_MISO_PIN,
* Software SPI will be used on those ports instead. You can force Hardware SPI on the default bus in the
* Configuration_adv.h file. At this time, separate Hardware SPI buses for sensors are not supported.
*
* Analog Themocouple Boards
* -------
* -4 : AD8495 with Thermocouple
* -1 : AD595 with Thermocouple
* NORMAL IS 4.7 PULLUP! Hotend sensors can use 1 pullup with correct resistor and table.
*
* ================================================================
* Analog Thermistors - 4.7 pullup - Normal
* -------
* 1 : 100 EPCOS - Best choice for EPCOS thermistors
* 331 : 100 Same as #1, but 3.3V scaled for MEGA
* 332 : 100 Same as #1, but 3.3V scaled for DUE
* 2 : 200 ATC Semitec 204GT-2
* 202 : 200 Copymaster 3D
* 3 : ???Ω Mendel-parts thermistor
* 4 : 10 Generic Thermistor !! DO NOT use for a hotend - it gives bad resolution at high temp. !!
* 5 : 100 ATC Semitec 104GT-2/104NT-4-R025H42G - Used in ParCan, J-Head, and E3D, SliceEngineering 300°C
* 501 : 100 Zonestar - Tronxy X3A
* 502 : 100 Zonestar - used by hot bed in Zonestar Průša P802M
* 503 : 100 Zonestar (Z8XM2) Heated Bed thermistor
* 504 : 100 Zonestar P802QR2 (Part# QWG-104F-B3950) Hotend Thermistor
* 505 : 100 Zonestar P802QR2 (Part# QWG-104F-3950) Bed Thermistor
* 512 : 100 RPW-Ultra hotend
* 6 : 100 EPCOS - Not as accurate as table #1 (created using a fluke thermocouple)
* 7 : 100 Honeywell 135-104LAG-J01
* 71 : 100 Honeywell 135-104LAF-J01
* 8 : 100 Vishay 0603 SMD NTCS0603E3104FXT
* 9 : 100 GE Sensing AL03006-58.2K-97-G1
* 10 : 100 RS PRO 198-961
* 11 : 100 Keenovo AC silicone mats, most Wanhao i3 machines - beta 3950, 1%
* 12 : 100 Vishay 0603 SMD NTCS0603E3104FXT (#8) - calibrated for Makibox hot bed
* 13 : 100 Hisens up to 300°C - for "Simple ONE" & "All In ONE" hotend - beta 3950, 1%
* 15 : 100 Calibrated for JGAurora A5 hotend
* 18 : 200 ATC Semitec 204GT-2 Dagoma.Fr - MKS_Base_DKU001327
* 22 : 100 GTM32 Pro vB - hotend - 4.7 pullup to 3.3V and 220Ω to analog input
* 23 : 100 GTM32 Pro vB - bed - 4.7 pullup to 3.3v and 220Ω to analog input
* 30 : 100 Kis3d Silicone heating mat 200W/300W with 6mm precision cast plate (EN AW 5083) NTC100K - beta 3950
* 60 : 100 Maker's Tool Works Kapton Bed Thermistor - beta 3950
* 61 : 100 Formbot/Vivedino 350°C Thermistor - beta 3950
* 66 : 4.7 Dyze Design / Trianglelab T-D500 500°C High Temperature Thermistor
* 67 : 500 SliceEngineering 450°C Thermistor
* 68 : PT100 amplifier board from Dyze Design
* 70 : 100 bq Hephestos 2
* 75 : 100 Generic Silicon Heat Pad with NTC100K MGB18-104F39050L32
* 2000 : 100 Ultimachine Rambo TDK NTCG104LH104KT1 NTC100K motherboard Thermistor
* ================================================================
* 1 : 100 EPCOS - Best choice for EPCOS thermistors
* 331 : 100 Same as #1, but 3.3V scaled for MEGA
* 332 : 100 Same as #1, but 3.3V scaled for DUE
* 2 : 200 ATC Semitec 204GT-2
* 202 : 200 Copymaster 3D
* 3 : ???Ω Mendel-parts thermistor
* 4 : 10 Generic Thermistor !! DO NOT use for a hotend - it gives bad resolution at high temp. !!
* 5 : 100 ATC Semitec 104GT-2/104NT-4-R025H42G - Used in ParCan, J-Head, and E3D, SliceEngineering 300°C
* 501 : 100 Zonestar - Tronxy X3A
* 502 : 100 Zonestar - used by hot bed in Zonestar Průša P802M
* 503 : 100 Zonestar (Z8XM2) Heated Bed thermistor
* 504 : 100 Zonestar P802QR2 (Part# QWG-104F-B3950) Hotend Thermistor
* 505 : 100 Zonestar P802QR2 (Part# QWG-104F-3950) Bed Thermistor
* 512 : 100 RPW-Ultra hotend
* 6 : 100 EPCOS - Not as accurate as table #1 (created using a fluke thermocouple)
* 7 : 100 Honeywell 135-104LAG-J01
* 71 : 100 Honeywell 135-104LAF-J01
* 8 : 100 Vishay 0603 SMD NTCS0603E3104FXT
* 9 : 100 GE Sensing AL03006-58.2K-97-G1
* 10 : 100 RS PRO 198-961
* 11 : 100 Keenovo AC silicone mats, most Wanhao i3 machines - beta 3950, 1%
* 12 : 100 Vishay 0603 SMD NTCS0603E3104FXT (#8) - calibrated for Makibox hot bed
* 13 : 100 Hisens up to 300°C - for "Simple ONE" & "All In ONE" hotend - beta 3950, 1%
* 15 : 100 Calibrated for JGAurora A5 hotend
* 18 : 200 ATC Semitec 204GT-2 Dagoma.Fr - MKS_Base_DKU001327
* 22 : 100 GTM32 Pro vB - hotend - 4.7 pullup to 3.3V and 220Ω to analog input
* 23 : 100 GTM32 Pro vB - bed - 4.7 pullup to 3.3v and 220Ω to analog input
* 30 : 100 Kis3d Silicone heating mat 200W/300W with 6mm precision cast plate (EN AW 5083) NTC100K - beta 3950
* 60 : 100 Maker's Tool Works Kapton Bed Thermistor - beta 3950
* 61 : 100 Formbot/Vivedino 350°C Thermistor - beta 3950
* 66 : 4.7 Dyze Design / Trianglelab T-D500 500°C High Temperature Thermistor
* 67 : 500 SliceEngineering 450°C Thermistor
* 68 : PT100 Smplifier board from Dyze Design
* 70 : 100 bq Hephestos 2
* 75 : 100 Generic Silicon Heat Pad with NTC100K MGB18-104F39050L32
* 2000 : 100 Ultimachine Rambo TDK NTCG104LH104KT1 NTC100K motherboard Thermistor
*
* Analog Thermistors - 1 pullup - Atypical, and requires changing out the 4.7 pullup for 1.
* ------- (but gives greater accuracy and more stable PID)
* 51 : 100 EPCOS (1 pullup)
* 52 : 200 ATC Semitec 204GT-2 (1 pullup)
* 55 : 100 ATC Semitec 104GT-2 - Used in ParCan & J-Head (1 pullup)
* ================================================================
* Analog Thermistors - 1 pullup
* Atypical, and requires changing out the 4.7 pullup for 1.
* (but gives greater accuracy and more stable PID)
* ================================================================
* 51 : 100 EPCOS (1 pullup)
* 52 : 200 ATC Semitec 204GT-2 (1 pullup)
* 55 : 100 ATC Semitec 104GT-2 - Used in ParCan & J-Head (1 pullup)
*
* ================================================================
* Analog Thermistors - 10 pullup - Atypical
* -------
* 99 : 100 Found on some Wanhao i3 machines with a 10 pull-up resistor
* ================================================================
* 99 : 100 Found on some Wanhao i3 machines with a 10 pull-up resistor
*
* ================================================================
* Analog RTDs (Pt100/Pt1000)
* -------
* ================================================================
* 110 : Pt100 with 1 pullup (atypical)
* 147 : Pt100 with 4.7 pullup
* 1010 : Pt1000 with 1 pullup (atypical)
@ -530,15 +519,34 @@
* NOTE: ADC pins are not 5V tolerant. Not recommended because it's possible to damage the CPU by going over 500°C.
* 201 : Pt100 with circuit in Overlord, similar to Ultimainboard V2.x
*
* ================================================================
* SPI RTD/Thermocouple Boards
* ================================================================
* -5 : MAX31865 with Pt100/Pt1000, 2, 3, or 4-wire (only for sensors 0-1)
* NOTE: You must uncomment/set the MAX31865_*_OHMS_n defines below.
* -3 : MAX31855 with Thermocouple, -200°C to +700°C (only for sensors 0-1)
* -2 : MAX6675 with Thermocouple, 0°C to +700°C (only for sensors 0-1)
*
* NOTE: Ensure TEMP_n_CS_PIN is set in your pins file for each TEMP_SENSOR_n using an SPI Thermocouple. By default,
* Hardware SPI on the default serial bus is used. If you have also set TEMP_n_SCK_PIN and TEMP_n_MISO_PIN,
* Software SPI will be used on those ports instead. You can force Hardware SPI on the default bus in the
* Configuration_adv.h file. At this time, separate Hardware SPI buses for sensors are not supported.
*
* ================================================================
* Analog Thermocouple Boards
* ================================================================
* -4 : AD8495 with Thermocouple
* -1 : AD595 with Thermocouple
*
* ================================================================
* Custom/Dummy/Other Thermal Sensors
* ------
* ================================================================
* 0 : not used
* 1000 : Custom - Specify parameters in Configuration_adv.h
*
* !!! Use these for Testing or Development purposes. NEVER for production machine. !!!
* 998 : Dummy Table that ALWAYS reads 25°C or the temperature defined below.
* 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below.
*
*/
#define TEMP_SENSOR_0 -1
#define TEMP_SENSOR_1 0
@ -553,6 +561,7 @@
#define TEMP_SENSOR_CHAMBER 0
#define TEMP_SENSOR_COOLER 0
#define TEMP_SENSOR_BOARD 0
#define TEMP_SENSOR_SOC 0
#define TEMP_SENSOR_REDUNDANT 0
// Dummy thermistor constant temperature readings, for use with 998 and 999