Does the ESP32C3 have a built-in temp sensor?

Sunbelt57
Posts: 24
Joined: Wed Feb 12, 2025 5:41 pm
Location: Eastern Wyoming

Does the ESP32C3 have a built-in temp sensor?

Postby Sunbelt57 » Fri Jun 06, 2025 2:55 am

In the esp-idf/examples/peripherals/temperature_sensor/temp_sensor directory the README.md says:

Code: Select all

| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |

# Temperature Sensor Example

The ESP32-S2/C3/S3/C2 has a built-in temperature sensor. The temperature sensor module contains an 8-bit Sigma-Delta ADC and a temperature offset DAC.

The conversion relationship is the first two columns of the table below. Among them, `offset = 0`(default) is the main measurement option, and other values are extended measurement options.

| DAC level | offset | measure range(℃) | measure error(℃) |
| :-------: | :----: | :--------------: | :--------------: |
|     0     |   -2   |     50 ~ 125     |       < 3        |
|     1     |   -1   |     20 ~ 100     |       < 2        |
|     2     |   0    |     -10 ~ 80     |       < 1        |
|     3     |   1    |     -30 ~ 50     |       < 2        |
|     4     |   2    |     -40 ~ 20     |       < 3        |

### Hardware Required

* A development board with ESP32-S2/C3/S3/C2 SoC (e.g., ESP32-S2-Saola-1, ESP32-S2-DevKitM-1, ESP32-C3-DevKitM-1, ESP32-S3-WROOM-1, etc.)
I am using the XIAO ESP32C3 from Seeed Studio. Is it on the chip or part of one of the above dev. boards?

User avatar
krzychb
Espressif staff
Espressif staff
Posts: 424
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Does the ESP32C3 have a built-in temp sensor?

Postby krzychb » Fri Jun 06, 2025 6:28 am

XIAO ESP32C3 from Seeed Studio is using ESP32-C3 chip. The chip has a built-in temperature sensor referred to in the README.md that you posted.

uC_Jon
Posts: 27
Joined: Fri Jan 05, 2024 7:03 pm

Re: Does the ESP32C3 have a built-in temp sensor?

Postby uC_Jon » Fri Jun 06, 2025 7:51 am

Yes it does. But it should be noted that its the temp of the chip its self, not an ambient/air temp sensor.

Who is online

Users browsing this forum: Barkrowler and 2 guests