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)
FAN Control - Raspberry Pi 4 Model B Rev 1.2
FAN Control - Raspberry Pi 4 Model B Rev 1.2
- Attachments
-
- WhatsApp Image 2024-07-29 at 12.23.18.jpg (146.53 KiB) Viewed 1113 times
-
- log.txt
- (144.86 KiB) Downloaded 39 times
-
- RaspberryGPIO__BLOG_3-750x428.jpg (67.31 KiB) Viewed 1113 times
Re: FAN Control - Raspberry Pi 4 Model B Rev 1.2
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:
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.
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
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.