[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] RPi Temperature measurement - was Re: Garmin 18X-5Hz

From: George Sexton
Subject: Re: [gpsd-users] RPi Temperature measurement - was Re: Garmin 18X-5Hz
Date: Thu, 18 Aug 2016 08:43:26 -0600
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

I've done ambient temperature on a pi with a TMP 102:

and with a DS18B20

They'll give you a value for ambient temperature, but they're not going to be sensitive to workload on the CPU.

On 8/17/2016 6:09 PM, Bryan Christianson wrote:
I found this statement at

vcgencmd measure_temp

Shows core temperature of BCM2835 SoC.

address@hidden:~# vcgencmd measure_temp

So I would assume the sensor is located in the BCM2835 chip/board (or equiv for a given model if RPi)


On 18/08/2016, at 11:59 AM, Gary E. Miller <address@hidden> wrote:

Yo Bryan!

Do you know where the sensor is physically located?

On Thu, 18 Aug 2016 11:36:28 +1200
Bryan Christianson <address@hidden> wrote:

On 18/08/2016, at 11:27 AM, Gary E. Miller <address@hidden> wrote:

It is room temp, no way to get CPU temp on a RasPi.  I could on an
Intel, but I do not see this on an Intel.

I measure temperature on a pi with this script that produces mrtg data

cpuTemp0=$(cat /sys/class/thermal/thermal_zone0/temp)
cpuTempM=$(($cpuTemp2 % $cpuTemp1))

GPU=$(/opt/vc/bin/vcgencmd measure_temp|awk -F '=' '{print $2}' | awk
-F "\'" '{print $1}')

echo $CPU
echo $GPU
echo $(/home/mrtg/bin/up -t)
echo $(hostname)

Bryan Christianson

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	address@hidden  Tel:+1 541 382 8588
Bryan Christianson

George Sexton
MH Software, Inc.
Voice: 303 438 9585

reply via email to

[Prev in Thread] Current Thread [Next in Thread]