rpiswag
Posts: 804
Joined: Mon May 19, 2014 10:04 pm

Raspberry Pi power consumption

Thu Jun 12, 2014 9:40 pm

In lxterminal how can I measure the amount of ma my rpi is receiving. I would like to know this because I just bought a 5v mobile device battery. It's packaging did not state it's ma out put so I would like to see if any one can tell me how to get a reading from the lxterminal on the rpi.
A computer's power can't be just measured Gigahertz. It is the same thing with us humans.

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Raspberry Pi power consumption

Thu Jun 12, 2014 9:52 pm

Hi,
rpiswag wrote:I would like to see if any one can tell me how to get a reading from the lxterminal on the rpi.
http://www.raspberrypi.org/forums/viewt ... 71#p562971

Additionally (if not readable from the message from the link): RasPi does not have embedded self current consumption feature.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13092
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Raspberry Pi power consumption

Thu Jun 12, 2014 11:40 pm

rpiswag wrote:In lxterminal how can I measure the amount of ma my rpi is receiving. I would like to know this because I just bought a 5v mobile device battery. It's packaging did not state it's ma out put so I would like to see if any one can tell me how to get a reading from the lxterminal on the rpi.
you cannot measure the current consumption the PI uses (not "receives", thats just the wrong terminology) without adding complex hardware designed explicitly for that purpose, the software that reads out that hardware is largely irrelevant, but must be written nevertheless.
Its easier to simply use a multimeter.

User avatar
Douglas6
Posts: 4860
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Raspberry Pi power consumption

Sat Jun 14, 2014 2:49 am

I thought this was a slick little item from Adafruit; an inline USB power meter with serial output. It won't get any easier than this. Granted, the accuracy is not stellar.

To the OP: something like this will tell you what the Pi is currently using/consuming, not what your battery is rated at.

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

Re: Raspberry Pi power consumption

Sat Jun 14, 2014 7:26 am

I guess an average lazy Rpi programmer just measures the current once with a multimeter and writes a typical value to a configuration file.

User avatar
Jessie
Posts: 1754
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA

Re: Raspberry Pi power consumption

Sat Jun 14, 2014 5:36 pm

If you want constant on the fly power readings through terminal or ssh you will need to add some components to your pi.

From my measurements 4.3W was max with several items being powered off the USB ports, 1.1W while running but idle, and 0.5W while linux was halted. I would like to point out that I measured from the wall PSU and all and that my device is somewhat inacurate under 1W.

Return to “General discussion”