Skip to content

ESP-C3 internal temp sensor readings are incorrect with core 2.0 #5460

Closed
@Jason2866

Description

@Jason2866

It seems to be an issue between the ardiuino core and the idf code. On first access it reports fine. Next calls mess with a reinit of the sensor resulting in bad readings and this message: E (312868) tsens: Do not configure the temp sensor when it's running!
E (312872) tsens: Temperature sensor is already running or not be configured

What you are trying to do?
Get the temperature from internal temp sensor

Describe your system( Hardware, computer, O/S, core version, environment).
Windows 10 (latest), VSC/Platformio (latest), ESP32-C3 devkit running Tasmota

Describe what is failing.
Temp readings are fluctuating and wrong

Hardware:

Board: ESP32-C3 dev module
Core Installation version: actual master
IDE name: Platform.io 5.1
Flash Frequency: 80 Mhz
PSRAM enabled: no
Upload Speed: 115200
Computer OS: Windows 10

Description:

Temp readings are wrong from internal sensor. Worked with 2.0.0 alpha

Metadata

Metadata

Assignees

Labels

Chip: ESP32-C3Issue is related to support of ESP32-C3 Chip

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions