Retrieving temperature from integrated sensor on ESP32-S2

I am using the SparkFun Thing Plus - ESP32-S2 WROOM, https://www.sparkfun.com/products/17743

I can program using Arduino IDE and have gotten it to connect on Wi-fi, so module is working.

This board spec says it has an integrated temperature sensor, but I have not been able to find any documentation how to access the temp reading. Where can I find information on this?

The only thing it mentions in the datasheet is:

"3.3.3 Temperature Sensor

The temperature sensor generates a voltage that varies with temperature. The voltage is internally converted via

an ADC into a digital value.

The temperature sensor has a range of –20 °C to 110 °C. It is designed primarily to sense the temperature

changes inside the chip. The temperature value depends on factors like microcontroller clock frequency or I/O

load. Generally, the chip’s internal temperature is higher than the ambient temperature."

And I managed to find this https://github.com/espressif/arduino-es … p_sensor.h in the https://raw.githubusercontent.com/espre … index.json

Hope this helps!

Thanks for the quick response. I misunderstood the product description on Sparkfun as I thought the integrated temp sensor was an environmental temp sensor. It might be good to clarify this is meant to monitor the chip internal temp to help people avoid this mistake in the future.