User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

PSU Monitor

Thu Mar 12, 2015 4:35 pm

For android we have an app called Ampere https://play.google.com/store/apps/deta ... pere&hl=en and Charging Monitor https://play.google.com/store/apps/deta ... ar.example used to monitor usb charger quality/health basically by monitoring its current draw, is something like this possible on the pi??
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

User avatar
DougieLawson
Posts: 39099
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: PSU Monitor

Thu Mar 12, 2015 4:47 pm

Not possible.

The power management (the small under voltage rainbow square and winking power light) stuff is all done in GPU code and not externalised on any userland interface. Since the RPi isn't designed to run from a rechargable battery it's not needed anyway.

Of course, there are lots of folks running them from LiPo batteries, solar arrays, etc. and there's even Dr. Stanford-Clark with his HyPi that runs from a hydrogen fuel cell.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

hampi
Posts: 223
Joined: Fri May 31, 2013 11:29 am
Contact: Website

Re: PSU Monitor

Thu Mar 12, 2015 6:03 pm

With the modern lightweight and high capacity battery technology you do not have other possibility than to closely monitor the battery charge state. Otherwise the battery life might be very short or it might even explode. The measured voltage does not tell you practically anything about the charge state.

Yes it is possible to build similar microcontroller supervised charger/monitor for Raspberry Pi too. Weather that is a good hobby project is then an other question. Personally I am using only sealed lead acid batteries, which are an exception to the rule above and you can tell their charge state from the measured voltage. This is the PIC project in my github with a daemonized monitoring service running in the Raspberry Pi.

rahlquist
Posts: 149
Joined: Tue Jan 21, 2014 1:02 pm

Re: PSU Monitor

Fri Mar 13, 2015 11:06 am

DougieLawson wrote:Not possible.

The power management (the small under voltage rainbow square and winking power light) stuff is all done in GPU code and not externalised on any userland interface.
It is such a shame that this could not be made available in some manner in software. So many of us, myself included run headless and it would be helpful to be able to monitor this information remotely.

As it is, with all the voltage issues I am having I am considering installing an ADC with my pi and trying to monitor that way. Maybe something like https://www.abelectronics.co.uk/product ... -converter to simply the dev cycle.

Return to “General discussion”