Measure Raspberry Pi Undervoltage + True Clock Speeds

I uploaded a quick gist that will measure your Raspberry Pi’s true clock speeds using the vcgencmd. Don’t believe what other tools like cpufreq tell you that your Raspberry Pi is running at because they are lying to you!  Raspberry Pi Undervoltage is also a very big issue and this script will detect it and notify you.

The true clock speeds of the Raspberry Pi are controlled by the firmware.  The vcgencmd is the official way to interact with the Raspberry Pi’s firmware and are the only readings you can really trust!  Available at https://gist.github.com/TheRemote/10bda1ac790f959210db5789f5241436 or click read more to view it directly.

Measure Raspberry Pi Undervoltage – Script Code

Raspberry Pi Undervoltage Prevention

When I wrote this script I noticed when I was trying to overclock using cpufreq-utils it was reporting totally different numbers than what vcgencmd was giving me. That’s when I did some research and learned that the true speeds are controlled by the firmware. That is why the best way to overclock your Pi is definitely by using /boot/config.txt and putting the parameters there.

I also learned writing this that my Raspberry Pi was undervolted and throttled.  This was despite the fact that it was connected to a powered USB hub.  After that I bought a better power supply and have not have any problems since.  The cheap but very reliable Canakit Raspberry Pi power supply on Amazon is the one I chose.

Comments 1

Leave a Reply

Your email address will not be published.