2022-11-30 21:27:30 +08:00
|
|
|
# Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
description: ESP32 family temperature sensor node
|
|
|
|
|
|
|
|
compatible: "espressif,esp32-temp"
|
|
|
|
|
|
|
|
include: sensor-device.yaml
|
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
range:
|
|
|
|
type: int
|
|
|
|
description: |
|
2023-10-24 21:30:13 +08:00
|
|
|
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.
|
2023-01-04 03:21:25 +08:00
|
|
|
default: 2
|
|
|
|
enum:
|
|
|
|
- 0 # measure range: 50°C ~ 125°C, error < 3°C
|
|
|
|
- 1 # measure range: 20°C ~ 100°C, error < 2°C
|
|
|
|
- 2 # measure range:-10°C ~ 80°C, error < 1°C
|
|
|
|
- 3 # measure range:-30°C ~ 50°C, error < 2°C
|
|
|
|
- 4 # measure range:-40°C ~ 20°C, error < 3°C
|