< Jetson
Revision as of 20:17, 8 August 2014 by Shervin.emami (talk | contribs) (Created the Thermal page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

There are various temperature sensors on the Jetson TK1 board and inside the Tegra K1 chip.

Thermal Zones

Each temperature sensor is in a different "thermal zone", or location where that temperature was measured.

To see the names of the thermal zones, run this:

cat /sys/devices/virtual/thermal/thermal_zone*/type
  • "Tboard_tegra" measures the temperature of the Jetson TK1 board (though I'm not sure of the exact location).
  • "Tdiode_tegra" measures the temperature at the edge of the Jetson TK1 board.
  • The zones with "-therm" in their name are for sensors inside the Tegra SOC.

Reading the current temperatures

To see the current temperatures of the thermal zones mentioned above, simply run this:

cat /sys/devices/virtual/thermal/thermal_zone*/temp

To repeatedly display the temperature in a GUI App

Instead of just displaying it once, you can easily build a GUI app to display the current temperature. First install perl/tk:

sudo apt-get install perl-tk

Then save the following script as the file "" in your home folder:

#!/usr/bin/perl -w
# By ""

use Tk;
$main->resizable (0,0);

$myframe=$main->Frame ();
$myframe->Label (-text => 'Temperature:')->pack ();
$temp_label=$myframe->Label (-text => "$temp")->pack ();


sub update_temp_label {
    $temp=`cat /sys/devices/virtual/thermal/thermal_zone0/temp`;
    $temp_label->configure('-text' => $temp);

Now make the Perl script executable:

chmod +x ~/

To execute it:


(Finally, hit Ctrl-C to close it)