# What is the maximum / minimum operational temperature?

As per the title, what are the maximum and minimum operational temperature ratings of the Pi before it stops reliably working? Could this also depend on the SD card in use?

• while sleep 1;do tput sc;tput cup 0 $(($(tput cols)-2));cat /sys/class/thermal/thermal_zone0/temp;tput rc;done & will display the cpu temp in the top right corner of the console. For monitoring. – NVRM Sep 30 at 19:49
• @NVRM using watch /opt/vc/bin/vcgencmd measure_temp (outputs new measure per each two seconds) sounds like an easier / cleaner way than your approach to constant temperature monitoring. But, I might be wrong. – trejder Oct 7 at 12:30
• Well, those are fairly similar, the cat approach works on all linux, while vcgencmd is specific to the pi. – NVRM Oct 7 at 16:27

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 temperatures, but we’re not qualifying the board itself to these extremes.

• Does anyone know what the "AP" is, ie, which chip/component? – Darryl Hein May 14 '13 at 20:28
• This is the Application Processor (Broadcom BCM2835), CPU of the board. – bayindirh Jun 15 '13 at 8:32
• And it stands to reason that as the device is powered, the heat produced could factor.. IE: Starting it at -40 deg C may fail, but if it's been left running, the components should be warmer than ambient and thus not at -40. The environment should factor. -40, here I come, I'm parking some Pis outside in Canada. :) – James T Snell Oct 31 '14 at 4:41
• @Doc Funny you should mention that eh. ;) I've parked one outdoors (within tupperwear, air/water tight, but no insulation) at -20 C for a few hours, and did not notice the actual core temp (from the built-in sensor) drop below + 20 C. – goldilocks Jul 9 '16 at 20:20
• is there any way to detect the LAN chip temp, since its dead temp is much lower than Soc Chip, I believe the /opt/vc/bin/vcgencmd measure_temp command can only report Soc Chip temp, correct? – Shawn Jul 1 '18 at 1:59

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

• Brilliant article that one is! :D Just need a steady supply of liquid nitrogen now :) – Piotr Kula Jan 10 '17 at 8:06
• Hmmm.. Overclocking, anyone? – SDsolar Apr 8 '18 at 2:13

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 take my word for it) cannot destroy the SoC by leaving it uncooled, the performance will be severely impacted. (Same goes for the power supply, BTW). In our lab, we started noticing frame drops and significant degradation of video processing capability, only to find out that 1) it got too hot without the heatsink 2) the voltage dropped below 4.6V due to 5V supply wires that were too long.

In any kind of extreme scenario, it is most likely that your processing power will decrease first, and other problems will appear much later, if ever. This can lead huge waste of time when trying to hunt down software bugs ("why is my program suddenly running so slowly?!?"), only to discover that the wires are too thin, or the heat sink is too small, so beware!

Regarding the low boundary, you should check all the components. I recently booted Raspi3 at -12C cold and the camera did not work (first time in weeks, but other times the temperatures over night were not so low). After 15 minutes of waiting I rebooted it and it started working normally.

Also, I think that the networking/USB chip on the board itself is not rated below 0 C. If you need such extremes, I suggest waiting for Compute Module 3, which will have range -20 to 80C, simply by not providing the problematic chip at all :)

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 causing any measurable harm in this regard.

The command to return the CPU temperature in stdout is vcgencmd measure_temp

I see in comments that uhoh mentions that if you want to use the temperature in a Python program, the command os.popen('vgencmd measure_temp').read() will return the textual version of the temperature number.

## ------------------------------------------------------

Here is the way I use Popen to get the temperature into an integer variable:

from subprocess import Popen, PIPE
.
.
.
cmd = 'vgencmd measure_temp'
p = Popen(cmd,stdout=PIPE, stderr=PIPE, shell=True)
stdout, stderr = p.communicate()

CPUtemp = int(stdout)
.
.
etc


The above is taken from this code:

Ping a website and have an output turn on if online/offline?

This post shows how to use fping in a few different ways even though the results come in as stderr

Also includes a cradle-to-grave example which makes use of the data and plots it live as it comes in. It shows Python and gnuplot. We don't see enough of these whole-system examples here.

• just make sure there is good air movement in environments with very high temps to begin with :) – stevieb Sep 16 '16 at 18:28
• Excellent point. My room temperature is 75F which is just under 24C, and the door is open to outside so there is good air flow. – SDsolar Sep 16 '16 at 18:48
• This is very helpful! (will up vote in 12 hours when my quota for the day expires). It seems that os.popen('vcgencmd measure_temp').read() makes the temperature (text) available within Python as well. as does commands.getstatusoutput('vcgencmd measure_temp')[1] – uhoh Mar 19 '18 at 12:24
• TNX for the Python commands. That approach to using os.popen and .read like that could come in very handy. Not to mention commands.getstatusoutput ... [1] I tend to use Python with external commands a lot but hadn't run across either of those. Well done. btw, the more questions you answer the more points you will get and the restrictions will get lifted pretty quickly. This particular SE is a tough crowd, but they definitely recognize valuable contributions to the database. – SDsolar Mar 19 '18 at 16:38
• I maxed out on up votes today; while I spent several hours looking for some things I kept running across (what I felt to be) helpful posts with zero votes. I haven't figured out what makes some SE sites more generous and others not as much. – uhoh Mar 19 '18 at 20:10

The following is a little outside of the question, but a general use case that might give some ideas.

This can be adapted to any kinds of inputs, gpio sensors, internet datas.

How to graph the CPU temperature overtime?

Install gnuplot

Gnuplot can graph datas in the terminal, does not require any X server and use very little ressources.

It works smooth even on the slowest raspberry pi's model 1/zero.

sudo apt install gnuplot


Script example to build a gnuplot file:

temperature script to store the data overtime.

#!/bin/sh
echo $(date +%s ; cat /sys/class/thermal/thermal_zone0/temp) | tee >> temperature.plot  Give execution rights to this script: chmod +x temperature  Detach and run in 1s loop till next reboot: nohup watch ./temperature &  Later, graph the datas: gnuplot -e "set terminal dumb$(tput cols) \$(tput lines);plot 'temperature.plot' using 0:2 with lines"


This is a barebone example, temperature in Celsius * 1000, and seconds since the start, to be extended in your own scripts suite.

To kill the watch loop, killall watch

Happy hacking ;)

## protected by goldilocks♦Jul 9 '16 at 20:16

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).