2ko
Posts: 20
Joined: Thu Nov 22, 2012 9:55 am
Location: Israel

RPi Measurement ability ?

Mon Dec 03, 2012 3:00 pm

Hi all ,
Does anyone knows if RPi has some built in Measurement capabilities like ability to measure temperature,it's input voltage,it's input current or something like that .
I know the question sounds a bit strange but this is what we are looking after right now in our college project -->built in measurement capabilities.

I want to add that I am not interested (at least for now) in EXTERNAL Devices or sensors that can be added to the RPi ,my question is about the bare naked RPi itself with no extra hardware.

Thanks.
2ko.

User avatar
Dweeber
Posts: 606
Joined: Fri Aug 17, 2012 3:35 am
Location: Mesa, AZ
Contact: Website

Re: RPi Measurement ability ?

Mon Dec 03, 2012 3:14 pm

You can get the Temp of the CPU... but that is about it.

$ /opt/vc/bin/vcgencmd measure_temp
temp=43.3'C
Dweeber A.K.A. Kevin...
My RPI Info Pages including Current Setup - http://rpi.tnet.com

2ko
Posts: 20
Joined: Thu Nov 22, 2012 9:55 am
Location: Israel

Re: RPi Measurement ability ?

Mon Dec 03, 2012 3:34 pm

Dweeber wrote:You can get the Temp of the CPU... but that is about it.

$ /opt/vc/bin/vcgencmd measure_temp
temp=43.3'C
OK thanks a lot Dweeber .
After your hint I also found the

Code: Select all

vcgencmd measure_volts
which returned me 1.2 V .

Ravenous
Posts: 1956
Joined: Fri Feb 24, 2012 1:01 pm
Location: UK

Re: RPi Measurement ability ?

Mon Dec 03, 2012 4:06 pm

Oh that's an interesting thought (well interesting to me anyway) - the 1.2V measurement might come from the core voltage, which I gather the raspi's chip generates internally.

Anyway I believe changing the clock speed is also regulated internally, by a clock multiplier, and wonder if it also has a measurement method you'd be interested in. In other words, is the clock speed actively controlled by a circuit somewhere, or is it just set by some fixed clock divider? (No idea, just suggesting it might be worth looking for.)

Return to “Automation, sensing and robotics”