Power & Source of Big Ideas

Does the NanoPi NEO-Air have an embedded CPU temp sensor ?

Moderators: chensy, FATechsupport

Is there an embedded temperature sensors in the NanoPi NEO-Air's H# CPU/SoC ? If yes, how does one gets its value. I installed the `lm-sensors `and `lm-sensors-detect` packages in FriendlyWrt but the `sensors-detect` command did not found any sensor.
Yeah, I am using thermistors, It really works well on NanoPi NEO-Air, I got it from reecoupons, 6 months ago, and there are many others are available too, if you wanna buy or need more options check once on there.
When you log in it auto gets at least the CPU temperature. Here is how mine looks.

Code: Select all

Ubuntu 16.04.7 LTS NanoPi-NEO ttyS0

NanoPi-NEO login: root
Password:
Last login: Tue Jan 26 11:24:43 EST 2021 on ttyS0
 _____     _                _ _       _____ _     _____ ____
|  ___| __(_) ___ _ __   __| | |_   _| ____| |   | ____/ ___|
| |_ | '__| |/ _ \ '_ \ / _` | | | | |  _| | |   |  _|| |
|  _|| |  | |  __/ | | | (_| | | |_| | |___| |___| |__| |___
|_|  |_|  |_|\___|_| |_|\__,_|_|\__, |_____|_____|_____\____|
                                |___/

Welcome to Ubuntu 16.04.7 LTS 4.14.111
System load:   0.00             Up time:       1 day
Memory usage:  30 % of 491Mb    Swap usage:    38 % of 511Mb    IP:            192.168.86.105
CPU temp:      44°C
Usage of /:    9% of 28G

 * Documentation: http://wiki.friendlyarm.com/Ubuntu
 * Forum: http://www.friendlyarm.com/Forum/

root@NanoPi-NEO:~#


So can get something like "phpSysInfo" to see that CPU temperature too? How would you do that. It has a /usr/share/phpsysinfo/phpsysinfo.ini file that I am sure can set it up in there somehow?

-Raymond Day
You can see the CPU with this one command:

cpu_freq

It does show the temperature of the CPU too in that commend.

Code: Select all

root@NanoPi-NEO:~# cpu_freq
Aavailable frequency(KHz):
        480000 624000 816000 1008000
Current frequency(KHz):
        CPU0 online=1 temp=45790C governor=ondemand freq=480000KHz
        CPU1 online=1 temp=45790C governor=ondemand freq=480000KHz
        CPU2 online=1 temp=45790C governor=ondemand freq=480000KHz
        CPU3 online=1 temp=45790C governor=ondemand freq=480000KHz
Current voltage(uV, vdd-cpux):
        1100000uV
root@NanoPi-NEO:~#


So shows the temperature of all 4 CPU's 45.7 celsius on my NanoPi NEO.

-Raymond Day

Who is online

In total there are 34 users online :: 0 registered, 0 hidden and 34 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 34 guests