FAN Control - Raspberry Pi 4 Model B Rev 1.2

All about WTware on Raspberry. WTware works with Raspberry Pi 4, Raspberry Pi 3B+, Pi 3 and Pi 2 devices
http://www.winterminal.com
Post Reply
enko_gmbh
Posts: 1
Joined: Mon Jul 29, 2024 10:52 am

FAN Control - Raspberry Pi 4 Model B Rev 1.2

Post 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)
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 1112 times
log.txt
(144.86 KiB) Downloaded 39 times
RaspberryGPIO__BLOG_3-750x428.jpg
RaspberryGPIO__BLOG_3-750x428.jpg (67.31 KiB) Viewed 1112 times
aka
SUPPORT
SUPPORT
Posts: 945
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

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

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