ThermocoupleSensor#
- class ThermocoupleSensor( )[source]#
Bases:
ScalerThermocouple voltage → °C with cold-junction compensation.
>>> ThermocoupleSensor(TC_TYPE.K, cjc_temp=25.0) # Type K, 25 °C reference junctionInitialize the thermocouple sensor.
- Parameters:
type
Thermocouple type (B/E/J/K/N/R/S/T).
cjc_temp
Cold-junction reference temperature in °C.
Attributes
Physical units of the scaled output (e.g.
"V","degC","psi").Methods
Voltage (volts or millivolts per the
thermocoupleslibrary) → temperature (°C).