MAX31856 Thermocouple Temperature Sensor¶
The MAX31856
temperature sensor allows you to use your MAX31856 Thermocouple
temperature sensor (datasheet) with ESPHome.
Although the chip supports multiple thermocouple types, this component only implements the K
type.
As the communication with the MAX31856 is done using SPI, you need to have an spi bus in your configuration with both miso_pin and mosi_pin set.
VIN
connects to 5V (3V3
will output 3.3V), or directly connect3V3
to 3.3V3Vo
not used by ESPHomeGND
connects to groundCLK
connects to the SPI clk_pinSDO
connects to the SPI miso_pinSDI
connects to the SPI mosi_pinCS
connects to a free GPIO pinFLT
not used by ESPHomeDRDY
not used by ESPHome
# Example configuration entry
sensor:
- platform: max31856
name: BBQ Temperature
icon: mdi:hamburger
cs_pin: GPIOXX
Configuration variables:¶
cs_pin (Required, Pin Schema): The Chip Select pin of the SPI interface.
update_interval (Optional, Time): The interval to check the sensor. Defaults to
60s
.mains_filter (Optional, string): The mains power frequency to reject (
50 Hz
or60 Hz
). Defaults to60 Hz
.thermocouple_type (Optional, string): The type of thermocouple used. MAX31856 supports: B, E, J, K, N, R, S, and T . Defaults to
K
.spi_id (Optional, ID): Manually specify the ID of the SPI Component if you want to use multiple SPI buses.
All other options from Sensor.