Best quick/easy way to control case fan speed?
#1
Heart 
Hello!

I have this case: https://kksb-cases.com/products/kksb-roc...8bfc&_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.
  Reply
#2
(09-19-2020, 07:18 PM)idillicah Wrote: Hello!

I have this case: https://kksb-cases.com/products/kksb-roc...8bfc&_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/Tempe...ol-Scripts

https://github.com/Matei-Ciobotaru/Rock64-R64.GPIO
  Reply
#3
https://github.com/mrfixit2001/Rock64-R64.GPIO

https://github.com/tuxd3v/ats
  Reply
#4
(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...
  Reply
#5
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.

Occasional Linux Kernel Contributor, Avid Wiki Updater, Ask Me About Quartz64
Open Hardware Quartz64 Model A TOSLink Adapter
Pi-bus GPIO Extender For ROCKPro64 And Quartz64 Model A
Plebian GNU/Linux
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Case for the rock64 that supports the POE hat. o1CRiMSON1o 0 862 03-21-2023, 03:48 PM
Last Post: o1CRiMSON1o
Brick Rock64 usb2.0 Power Control Floating GPIO Tutorial Files & Notes MarkHaysHarris777 6 14,499 01-15-2023, 10:36 AM
Last Post: ds00
  3D-Printable Button Pegs for the ROCK64 Aluminium Case CounterPillow 2 4,057 08-04-2022, 01:31 AM
Last Post: Vicky Weimann PhD
Smile wooden case for ROCK64 killor 13 18,395 03-04-2022, 06:56 AM
Last Post: killor
  Assembling the premium aluminum case mlefevre 14 17,797 07-07-2021, 05:50 AM
Last Post: Rocklobster
  Configuring Python GPIO Pin Control Rock64 www139 3 8,363 06-22-2021, 06:57 AM
Last Post: Mrfixit2001
  What thermal compound will fit better to the aluminum case? m.bakhterev 1 3,231 01-26-2020, 12:56 PM
Last Post: clach04
Information Brushless Fan (5v) for Rock64 Clear Case Soft PWM Drive 2N2222 MarkHaysHarris777 7 17,384 07-09-2019, 06:15 AM
Last Post: merwone
  Rock64's temperature while being in aluminium case _zernok 3 6,539 06-23-2019, 08:00 AM
Last Post: rasputin
  low speed wifi pas059 4 5,938 05-13-2019, 12:09 PM
Last Post: pas059

Forum Jump:


Users browsing this thread: 1 Guest(s)