3

I am looking to find a way to monitor the under-voltage warning over a longer period of time, preferably also what it currently reads as the voltage. The reason being I would like to fuse the data from it and a couple of other sensors so that I can work a little bit harder to determine exactly what is causing the voltage to drop.

Is there a way I can do any of this?

4

You can not monitor voltage, because the Pi has no analog capability. (You could, of course, add an ADC to monitor the voltage.)

The under-voltage warning is produced by a chip, and is ON or OFF. SeeRaspberry Pi Power Limitations for details.

vcgencmd get_throttled will show the current state. You may be able to write something to monitor this, but AFAIK there is nothing currently available. See the following for detail https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=147781&start=50#p972790

  • I feel like the parenthetical in your first paragraph was actually the answer to the question, not a footnote. "Is there any way I can do this?" Yes! Add an ADC chip and use that. – Brick Sep 14 '17 at 13:12
  • vcgencmd get_throttled sounds pretty good to me. Knowing when it is throttled should be enough. A simple python script that polls this command's results will be very helpful. Thanks – user173724 Sep 15 '17 at 3:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.