FAN Control - Raspberry Pi 4 Model B Rev 1.2

Post a reply

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: FAN Control - Raspberry Pi 4 Model B Rev 1.2

Re: FAN Control - Raspberry Pi 4 Model B Rev 1.2

by aka » Sat Aug 10, 2024 6:58 pm

No way with wtware 6.2.32 or earlier versions. We have neither overlays/gpio-fan.dtbo file nor corresponding gpio fan driver in kernel to control fan on gpio.

Please try this build:

http://wtware.com/testing/202408101838/ ... ry.img.zip

In Raspberry Pi Imager CHOOSE OS -> Use custom -> Choose downloaded zip file.

After writing SD add line to config.txt file on SD:

Code: Select all

dtoverlay=gpio-fan,gpiopin=14,temp=80000
Will it work as expected? Show me wtware log if not: http://wtware.com/logs.html

PS: on Raspberry 5 there are dedicated pins for fan. Fan should run at different speed depending on CPU temperature out of box without configuration.

FAN Control - Raspberry Pi 4 Model B Rev 1.2

by enko_gmbh » Mon Jul 29, 2024 1:28 pm

Hello,

How can I implement a fan controller for my Raspberry Pi 4 case fan?

Currently, the fan is running at 100%. I would like to start/stop it based on specific temperatures or run it at 50%, 20%, or 30% if the fan supports it.

The fan is currently connected to these pins: 4, 6, 8 (4: Plus, 6: Ground, 8: Control)
Attachments
WhatsApp Image 2024-07-29 at 12.23.18.jpg
WhatsApp Image 2024-07-29 at 12.23.18.jpg (146.53 KiB) Viewed 10861 times
log.txt
(144.86 KiB) Downloaded 303 times
RaspberryGPIO__BLOG_3-750x428.jpg
RaspberryGPIO__BLOG_3-750x428.jpg (67.31 KiB) Viewed 10861 times

Top