This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

espressif,esp32-temp

Vendor: Espressif Systems

Description

ESP32 family temperature sensor node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

friendly-name

string

Human readable string describing the sensor. It can be used to
distinguish multiple instances of the same model (e.g., lid accelerometer
vs. base accelerometer in a laptop) to a host operating system.

This property is defined in the Generic Sensor Property Usages of the HID
Usage Tables specification
(https://usb.org/sites/default/files/hut1_3_0.pdf, section 22.5).

range

int

The temperature sensor is available on the ESP32-S2, ESP32-S3, ESP32-C3.
Note that it is unavailable on the ESP32 due to missing offset calibration.
Temperature range is defined by the temperature offset which is used during
calculation of the output temperature from the measured value.

Default value: 2

Legal values: 0, 1, 2, 3, 4