Enhancing the CH32V003 MCU with Temperature Sensor Capability
Originally Published 2 years ago — by Hackaday

A low-cost CH32V003 MCU, lacking temperature measurement functionality, can be improvised to include a temperature sensor by measuring the drift between two internal clocks and using it to calibrate a temperature graph. By utilizing the automatic wake-up unit (AWU) and accessing the LSI clock source indirectly, a temperature plot was obtained, although the absolute accuracy of this method may vary per MCU. This crude temperature measurement solution could be sufficient for basic applications.