PINE64
Best quick/easy way to control case fan speed? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Rock64 Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=89)
+--- Thread: Best quick/easy way to control case fan speed? (/showthread.php?tid=11547)



Best quick/easy way to control case fan speed? - idillicah - 09-19-2020

Hello!

I have this case: https://kksb-cases.com/products/kksb-rock64-case-steel?_pos=1&_sid=1f3178bfc&_ss=r

It includes a little fan (which is quite noisy, haha), and it works fine just by using the pins on the board.

But it goes at full blast all the time. I was wondering if you guys could help me figure out a way to have a voltage control setup tied to CPU temp?

I remember seeing something for the RPi with Python, but I can't seem to find it.

any help is appreciated.


RE: Best quick/easy way to control case fan speed? - kidfrostbite - 12-15-2020

(09-19-2020, 07:18 PM)idillicah Wrote: Hello!

I have this case: https://kksb-cases.com/products/kksb-rock64-case-steel?_pos=1&_sid=1f3178bfc&_ss=r

It includes a little fan (which is quite noisy, haha), and it works fine just by using the pins on the board.

But it goes at full blast all the time. I was wondering if you guys could help me figure out a way to have a voltage control setup tied to CPU temp?

I remember seeing something for the RPi with Python, but I can't seem to find it.

any help is appreciated.

I've not tried these yet because I can't get my fan to respond at all (which GPIO pins did you use?) but they seem well-worth a look.

https://github.com/Matei-Ciobotaru/Temperature-Control-Scripts

https://github.com/Matei-Ciobotaru/Rock64-R64.GPIO


RE: Best quick/easy way to control case fan speed? - Mrfixit2001 - 06-22-2021

https://github.com/mrfixit2001/Rock64-R64.GPIO

https://github.com/tuxd3v/ats


RE: Best quick/easy way to control case fan speed? - hyc - 06-23-2021

(06-22-2021, 07:00 AM)Mrfixit2001 Wrote: https://github.com/mrfixit2001/Rock64-R64.GPIO

https://github.com/tuxd3v/ats

I use ats to control the case fan in my RockPro64, it works fine. I've also just manually set the fan speed with e.g.
   echo 50 > /sys/devices/platform/pwm-fan/hwmon/hwmon3/pwm1

(You must be root of course)

edit: just realized this thread is about Rock64, not RockPro64...


RE: Best quick/easy way to control case fan speed? - CounterPillow - 06-24-2021

If you don't want to spend CPU cycles soft-PWMing in userspace, you can use a microcontroller and gpio-fan in the dts to get the same thing done with no userspace daemons or python scripts.