Page 1 of 1
Does the NanoPi NEO-Air have an embedded CPU temp sensor ?
Posted: Mon Dec 07, 2020 3:30 pm
by pbuyle
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.
Re: Does the NanoPi NEO-Air have an embedded CPU temp sensor ?
Posted: Wed Jan 27, 2021 9:36 am
by claramax600
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.
Re: Does the NanoPi NEO-Air have an embedded CPU temp sensor ?
Posted: Wed Jan 27, 2021 11:02 am
by Raymond Day
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
Re: Does the NanoPi NEO-Air have an embedded CPU temp sensor ?
Posted: Wed Jan 27, 2021 11:19 am
by Raymond Day
You can see the CPU with this one command:
cpu_freqIt 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