Yes, the overlay is using HW PWM_0 from GPIO18If one needs to change that or want's to use PWM_1 he/she can easily change that in the source file and compile it.
You can change the PWM frequency if your fan makes 'strange noise'.I'm using these settings with 40x40x20mm fan which is quite capable.
![Image]()
shows it on a Pi5
![Image]()
a Cm4 based setup with a waveshare board
Figuring out a resonable fan curve is up to you as you are in controll of the fan speed/temp map!
Depends on your aim and some other parameters, i.e. what is the max temp you want your Pi to run at, ambient temperature, fan used
Fully up to you now that you can configure an overlay via config.txt
Code:
pwm_pins: pwm_pins {brcm,pins = <18>;brcm,function = <BCM2835_FSEL_ALT5>;brcm,pull = <0>;};You can change the PWM frequency if your fan makes 'strange noise'.
Code:
pwms = <&pwm 0 20000000 0>;shows it on a Pi5
a Cm4 based setup with a waveshare board
Figuring out a resonable fan curve is up to you as you are in controll of the fan speed/temp map!
Depends on your aim and some other parameters, i.e. what is the max temp you want your Pi to run at, ambient temperature, fan used
Fully up to you now that you can configure an overlay via config.txt
Statistics: Posted by aBUGSworstnightmare — Sat Feb 03, 2024 6:13 am