Page 1 of 1

FAN Control - Raspberry Pi 4 Model B Rev 1.2

Posted: Mon Jul 29, 2024 1:28 pm
by enko_gmbh
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)

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

Posted: Sat Aug 10, 2024 6:58 pm
by aka
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.