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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Assembling the premium aluminum case mlefevre 14 6,927 07-07-2021, 05:50 AM
Last Post: Rocklobster
  Configuring Python GPIO Pin Control Rock64 www139 3 4,177 06-22-2021, 06:57 AM
Last Post: Mrfixit2001
  3D-Printable Button Pegs for the ROCK64 Aluminium Case CounterPillow 1 824 05-21-2021, 05:44 PM
Last Post: tllim
  What thermal compound will fit better to the aluminum case? m.bakhterev 1 1,694 01-26-2020, 12:56 PM
Last Post: clach04
Information Brushless Fan (5v) for Rock64 Clear Case Soft PWM Drive 2N2222 MarkHaysHarris777 7 10,569 07-09-2019, 06:15 AM
Last Post: merwone
  Rock64's temperature while being in aluminium case _zernok 3 3,280 06-23-2019, 08:00 AM
Last Post: rasputin
  low speed wifi pas059 4 2,516 05-13-2019, 12:09 PM
Last Post: pas059
Smile wooden case for ROCK64 killor 12 7,565 05-05-2019, 07:45 AM
Last Post: killor
  HDMI resolution control S.I. 0 862 03-25-2019, 02:22 AM
Last Post: S.I.
  Fitting Rockpro64 inside Pinebook case made2hack 2 1,787 02-20-2019, 01:27 AM
Last Post: made2hack

Forum Jump:


Users browsing this thread: 1 Guest(s)