Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

HATs and other add-ons • Re: Integrated Fan Controller

$
0
0
I already used the correct pwm fan, since it came off a laptop that could change the speed of the fan. It also worked with the raspi config in the performance options. For the config .txt, how should I put

Code:

Name:   pwm-gpio-fanInfo:   Configure a GPIO connected PWM cooling fan controlled by the        software-based GPIO PWM kernel moduleLoad:   dtoverlay=pwm-gpio-fan,<param>=<val>Params: fan_gpio                BCM number of the pin driving the fan,                                default 18 (GPIO 18)        fan_temp0               CPU temperature at which fan is started with                                low speed in millicelsius,                                default 55000 (55 °C)        fan_temp1               CPU temperature at which fan is switched                                to medium speed in millicelsius,                                default 60000 (60 °C)        fan_temp2               CPU temperature at which fan is switched                                to high speed in millicelsius,                                default 67500 (67.5 °C)        fan_temp3               CPU temperature at which fan is switched                                to max speed in millicelsius,                                default 75000 (75 °C)        fan_temp0_hyst          Temperature hysteris at which fan is stopped                                in millicelsius,default 5000 (resulting                                in 50 °C)        fan_temp1_hyst          Temperature hysteris at which fan is switched                                back to low speed in millicelsius,                                default 5000 (resulting in 55 °C)        fan_temp2_hyst          Temperature hysteris at which fan is switched                                back to medium speed in millicelsius,                                default 5000 (resulting in 62.5 °C)        fan_temp3_hyst          Temperature hysteris at which fan is switched                                back to high speed in millicelsius,                                default 5000 (resulting in 70 °C)        fan_temp0_speed         Fan speed for low cooling state in range                                0 to 255, default 114 (45% PWM duty cycle)        fan_temp1_speed         Fan speed for medium cooling state in range                                0 to 255, default 152 (60% PWM duty cycle)        fan_temp2_speed         Fan speed for high cooling state in range                                0 to 255, default 204 (80% PWM duty cycle)        fan_temp3_speed         Fan speed for max cooling state in range                                0 to 255, default 255 (100% PWM duty cycle)
into the config?

The fan model is also KSB05105HC
was under the impression that this is explained quite well in the readme...
Here are the settings which I'm using on one of my Pi's. They are more for good cooling performance, rather a quite result. Anyhow, gives you an idea how to use.

Code:

# PWM GPIO fan via SW PWM dtoverlay=pwm-gpio-fan,fan_gpio=18# change the cooling mapdtparam=fan_temp0=36000,fan_temp0_hyst=2000,fan_temp0_speed=90dtparam=fan_temp1=40000,fan_temp1_hyst=3000,fan_temp1_speed=150dtparam=fan_temp2=52000,fan_temp2_hyst=4000,fan_temp2_speed=200dtparam=fan_temp3=58000,fan_temp3_hyst=5000,fan_temp3_speed=255

Statistics: Posted by aBUGSworstnightmare — Sat Apr 19, 2025 6:14 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles