element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum Reading BeagleBone AI Temperatures
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 19 replies
  • Subscribers 108 subscribers
  • Views 7561 views
  • Users 0 members are here
  • bbb
Related

Reading BeagleBone AI Temperatures

gdstew
gdstew over 6 years ago

I finally brought up my BeagleBone AI with a 25mm x 7mm fan firmly screwed into the heat sink using M2 or

M3 (they were salvaged so I don't know for sure) machine screws. It was a lot quieter than I was expecting

although I don't believe it is running at the advertised 10K RPM. Attempting to update the software with

apt-get upgrade (after doing apt-get update) died with the message "FATAL -> failed to fork" which turned out

to be a low memory problem. The Getting Started program from the desktop was running the cloud9 IDE in

the Chromium browser so I shut that down and did the upgrade again and it worked. I had no problems with

any of the other updates after that.

 

The next thing I did was go look for where the SoC temperatures could be read and I think I found them several

sub-directories deep in the /sys directory. I do wish that there was a standard directory to put these in as

everybody puts them in very different places in the /sys directory. There are 5 different thermal zones and

each one has a directory in the /sys/devices/virtual/thermal/ directory named thermal_zone0 -  thermal_zone4.

To display the temperature for thermal zone 0 use this command:

 

debian@beaglebone:~$ cat /sys/devices/virtual/thermal/thermal_zone0/temp

47000

debian@beaglebone:~$

 

The response, 47000 (your mileages WILL vary) is 47.0 deg. C.

 

At the time the AI was mostly idle with me on a terminal inside an LXDE window. The temperatures I was

reading were within a couple of degrees C across all the zones. There are many thermal management

configuration files in the thermal_zoneX directories and it would be great to get documentation on what/where

the thermal zones are as well as the thermal management settings used for them.

 

While the idle temperatures were OK for checking out and doing light work on the AI I'm going to have to

come up with some serious thermal solutions. A 40mm fan is the biggest you can get between the GPIO

headers and I don't know if that will be big enough when you start loading up several of the more interesting

cores.

  • Sign in to reply
  • Cancel

Top Replies

  • 14rhb
    14rhb over 6 years ago +4
    I would have imagined all these BB-AI were the same, however very cautiously I too ran the sudo apt update and upgrade from the Loud9 IDE and it did work. No errors! I'm connected via Ethernet from a router…
  • 14rhb
    14rhb over 6 years ago +2
    Thanks gdstew This is just the information I'll need soon. In a few days I'm expecting my USB-C cable and then I'll be powering up my BB-AI for the first time - having followed the various threads I'm…
  • gdstew
    gdstew over 6 years ago +2
    I just attached a bash shell script I wrote to read one or all temperature zones on a BeagleBone AI. There is a bin directory in the debian users home directory directory and I copied the script from a…
Parents
  • clem57
    clem57 over 6 years ago

    Attempting to update the software with

    apt-get upgrade (after doing apt-get update) died with the message "FATAL -> failed to fork" which turned out

    to be a low memory problem.

    I too have noticed this. I think they got over zealous using TEMP in RAM... I plan to dial it back some. Also add external storage. The 16 G eMMC is a bit small. I will blog the results of tuning this over the weekend.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 6 years ago in reply to clem57

    Without a fan, my temp0 was 67C. Too toasty for me... Thanks gdstew for finding how.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • clem57
    clem57 over 6 years ago in reply to clem57

    Without a fan, my temp0 was 67C. Too toasty for me... Thanks gdstew for finding how.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube