During heavy load, it's common that the Raspberry Pi throttles its CPU and GPU due to too high temperatures being reached. Therefore, it can be of interest to monitor the temperatures of these components. Due to the low specs of the Raspberry, the extra load of running code to monitor these temperatures can unfortunately cause a rise in the temperatures of the components. In this post, I briefly present an application written in Python by expanding on four main points, which are:
- How to read the temperatures of the CPU and GPU.
- How to re-read the temperatures at a given interval.
- How to stop the re-reading.
- What module to use in order to create the GUI.