Skip to content

System Monitor: the chip's temperature - #17

Merged
schikani merged 1 commit into
mainfrom
sysmon-chip-temp
Nov 2, 2026
Merged

schikani merged 1 commit into
mainfrom
sysmon-chip-temp

Conversation

@schikani

@schikani schikani commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

System Monitor now shows the chip's own temperature on the CPU line, for
example Tasks: 13 CPU: 240 MHz Chip: 47.7 °C.

Changes

  • New port hook: td_sysinfo_t gets an optional chip_temp(int *tenths_c):
    the die temperature in tenths of a degree Celsius, false when it can't be
    read.
  • ESP-IDF: the app reads the built-in sensor (esp_driver_tsens, started
    on the first reading) on chips that have one, the ESP32-S3 and ESP32-C6.
    The classic ESP32 has no sensor and leaves it unset, as do the PC programs.
  • System Monitor: adds the reading when there is one. Otherwise the line
    is unchanged.

Testing

  • On an ESP32-S3: 47.7 °C, and free RAM unchanged (190 KB internal,
    7357 KB PSRAM).
  • Firmware builds: ESP32-C6 and classic ESP32 build (the classic one
    without the code).
  • PC build: all tests pass.

Docs: tinydesk-project.github.io, branch sysmon-chip-temp.

td_sysinfo_t gets an optional chip_temp(): the chip's own temperature
(its die, not the room) in tenths of a degree Celsius, false when it
cannot be read. The ESP-IDF app reads it from the built-in sensor
(esp_driver_tsens, started on the first reading) on chips that have one,
the ESP32-S3 and ESP32-C6; the classic ESP32 has none and leaves it
unset, as do the PC programs.

System Monitor shows it on the CPU line when there is a reading, for
example "Tasks: 13  CPU: 240 MHz  Chip: 47.7 °C". Tested on the ESP32-S3
(47.7 °C, free RAM unchanged); the ESP32-C6 and classic ESP32 firmware
build.
@schikani
schikani merged commit fb07d1a into main Nov 2, 2026
14 checks passed
@schikani
schikani deleted the sysmon-chip-temp branch November 2, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant