1.PWM Fan Not Working
The PWM fan on the Pironman 5 is controlled by the Raspberry Pi system. The operation of the PWM fan is based on the temperature of the Raspberry Pi 5:
Below 50°C: The PWM fan remains off (0% speed).
At 50°C: The fan starts at low speed (30% speed).
At 60°C: The fan increases to medium speed (50% speed).
At 67.5°C: The fan accelerates to high speed (70% speed).
Above 75°C: The fan operates at full speed (100%).
Please refer to our tutorial: https ://docs.sunfounder.com/projects/pironman5/en/latest/advanced/fans.html#pwm-fan
If you want the PWM fan to work, enter the following commands into /boot/firmware/config.txt:
dtparam=fan_temp0=40000
dtparam=fan_temp0_hyst=10000
dtparam=fan_temp0_speed=125
Explanation:
The first command sets the high temperature limit; if you want to set the maximum temperature to 25 or 30°C, use 25000 or 30000.
The second command sets the time for the fan to stop.
The third command sets the fan speed: 0 = off, 255 = 100%.