51

The ability to monitor the temperature of the GPU has been added to the firmware. /opt/vc/bin/vcgencmd measure_temp temp=48.7'C


40

Here's how to connect a MCP9804. You can use it like this: root@raspberrypi:~# modprobe i2c-dev root@raspberrypi:~# modprobe i2c-bcm2708 root@raspberrypi:~# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 1f 20: -- -- -- -- -- -- -- -- ...


38

From the RPi FAQ: What is the usable temperature range? The Raspberry Pi is built from commercial chips which are qualified to different temperature ranges; the LAN9512 is specified by the manufacturers being qualified from 0°C to 70°C, while the AP is qualified from -40°C to 85°C. You may well find that the board will work outside those ...


36

HackADay posted a link to an article (in Spanish - translated to English) with some thermal images, I'll summarise it: There are three main sources of heat - The input voltage regulator (bottom left). This regulates the input down from Vcc to 5V. Assuming this is a linear regulator, power dissipation will equal P=(Vcc-5)*I, where I is the current usage ...


28

Found it! sudo nano /boot/config.txt add : dtoverlay=w1-gpio this has to do with kernel update, find more info in this link


26

You can also type: cat /sys/class/thermal/thermal_zone0/temp Output will then be in milligrades!


18

Given that your sensor is a DS18B20, and it is a 1-wire circuit and that 1-wire is a protocol that can do multiple adressing on that same bus and that the 1-wire temperature kernel module can read as many as 10 temperature sensors on the same bus. (check line 49 of the driver source code). If you just connect 10 of your sensors to the same 3 pins (3v3, GND ...


16

The $ sounds like you might be trying to use jQuery. If this is the case, you may want to download and install it as well. Since you are on the Pi, I would also recommend trying to write your own web application using Tornado. It is written using Python (the Pi's favourite language), and I always find it very easy to create web applications using it. Just ...


15

Below are the results from an experiment examining some properties of the Pi in a rough and already mostly sealed enclosure. The ambient temperature was 30C, the blue dashed portion of the graph represents the time from power up of the Pi until it had reached thermal equilibrium whilst in idle mode. The second, red, portion of the graph is the temperature ...


15

I found an answer at http://www.raspberrypi.org forums. You can read the CPU temp via bash script. Save this script as getTemp.sh in /usr/local/bin folder and give execute permission with chmod +x /usr/local/bin/getTemp.sh command. Then run it, you will get temp values. #!/bin/bash cpuTemp0=$(cat /sys/class/thermal/thermal_zone0/temp) cpuTemp1=$(($cpuTemp0/...


14

It'll go way down to < -70°C according to the article: Raspberry Pi proven to be stable when submerged in liquid nitrogen.


14

I don't think that should be happening. There is an explanation of the thermometer icon here updated last month, and it says it comes on halfway at 80°C, when the CPU should begin throttling due to overheating. Then at 85°C it changes to a full thermometer. However, that is the maximum recommended operating temperature. The Pi should not be getting that ...


13

You can read the file /sys/class/thermal/thermal_zone0/temp, as specified in this answer. There it's about measuring from the command line, and the file is read with cat. But you should be able to just open the file in C. The temperature is returned in milli-degrees Centigrade and as ASCII numbers. Perhaps like this, not tested :) FILE *temperatureFile; ...


13

You may use the Raspberry Pi built in serial port, and connect it to a digital thermometer IC (e.g. DS1620) You can find out serial port interfacing of Raspberry Pi here P1 (LEFT BOTTOM) - 3.3V P6 - GND P8 GPIO14 - TX P10 GPIO15 - RX Important: Remember the RPi UART runs at TTL 3.3V - Be careful not to use High Voltage 5v/12volt Uart direct to the RPi. ...


12

No a heatsink is not required, The Pi3 has been reported to generate more heat than previous models, but the heatsink is not required. You can install it for some extra thermal protection, but the Pi will throttle the clock speed to maintain a safe temperature. Heatsinks are included in many of these kits to increase the perceived value.


11

Some time ago I wrote an article "Raspberry Pi :: Monitoring CPU temperature with RRDTOOL" about the same problem. My solution includes receiving temperature from CPU, saving it into the round-robin database and building a nice graph as .PNG file, that is quite easy to put on the web page -- just copy it wherever you want. I hope you'll find it useful.


10

In addition to gnibbler's answer: /opt/vc/bin/vcgencmd measure_temp| egrep "[0-9.]{4,}" -o 49.8


10

More information on this will be available as and when the units start arriving with purchasers and we get a clearer picture of overclocking capabilities and such. To the best of my knowledge the figures from the benchmarking done by the pimoroni.com blog are accurate: In terms of CPU temperature, the Raspberry Pi 3 runs significantly hotter than the Pi ...


9

As the answers state, no heatsinks are required. However, following on from Snowman's comment to Maxthon Chan's answer, and taking some examples from the Raspberry Pi site1, should you want to check/measure the temperature that your Pi is running at, you can use the command: /opt/vc/bin/vcgencmd measure_temp Should you find yourself using this command ...


8

Adafruit now even has a tutorial to connect the DHT22 to the pi. The example code works on most Pis, I had to tweak the C code a little like posted in the raspberrypi.org forums (increase a sleep timer). For other working sensors (including 1-wire and I²C) take a look at my blog. But e.g. the TMP102 is still missing in the list.


8

My experience with Raspberry Pi 3: The SoC will start to throttle down at approximately 80 degrees Celsius, and will, in my experience, never allow itself to be warmer than 85 degrees Celsius. This is of course the core temperature - the temperature outside the chip will have to be much lower to facilitate efficient heat exchange. While you (probably, don't ...


8

I have eight pi3s in a room which is 22-24°C. They range in temperature between ~45°C and ~50°C when idle, with each pi being fairly consistent in temperature +-2°C (sorry, not terribly accurate values, they are from squinting at a plot). Mine aren't in any kind of enclosure, but are mounted on the underside of a plate with reasonably free air flow. So your ...


7

I see the OP's question has been answered authoritatively, but here are my 2 cents worth of experience: With the basic clear plastic no-fan enclosure and heat sinks the ARM AP runs at about 50C (122F), and my Pi3 works fine. When I take off the top part of the plastic shell the temperature drops to 47-48. So my conclusion is that the enclosure is not ...


7

As discussed here What's the maximum / minimum running temperature? and taken right from the official FAQ: What is the usable temperature range? The Raspberry Pi is built from commercial chips which are qualified to different temperature ranges; the LAN9512 is specified by the manufacturers being qualified from 0°C to 70°C, while the AP is ...


6

There are no cooling requirements. I think one issue that comes to mind is the SD card, you would have to make sure that you are following steps to reduce the number of writes to extend it's lifespan. The only other thing I would add is that the Pi is slow. It will offer very little benefit to those organisations alone. Although it could be argued that if ...


6

You put the heatsinks directly on top of the CPU and the Ethernet/USB micro controller. Like this: RPi Heatsinks Usually, 99 times out of 100, you won't need heatsinks.


6

lrwxrwxrwx 1 root root 0 2016-02-19 22:24 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0 lrwxrwxrwx 1 root root 0 2016-02-25 17:31 /sys/class/thermal/thermal_zone0/subsystem/thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0


6

The following shell script uses the videocore utility vcgencmd measure_temp to get a line like temp=37.4'C. It then does some string magic to isolate the 37 from that string, which is then compared to 35. If it's smaller, it waits a second, then tests the temperature again. If it's 35 or more, $HOT_PID is killed. That PID was set to the program in question, ...


5

Adafruit has released a distro called occidentalis which has 1-wire support built in. One wire is most commonly used for DS18B20 temp sensors. The Pi does not have 'hardware' 1-wire support but it can bitbang it with some success. Connect a DS18B20 with VCC to 3V, ground to ground and Data to GPIO #4. Then connect a 4.7K resistor from Data to VCC. ...


5

I think using watch command is much easier, for example: watch {your command} In your case, it will be: watch vcgencmd measure_temp That will refresh by 2 seconds, if you want to define the interval by yourself (5 second maybe), you can type: watch -n 5 <your command> In your case, it will be: watch -n 5 vcgencmd measure_temp You can cancel ...


Only top voted, non community-wiki answers of a minimum length are eligible