Open pgzh opened 5 years ago
How is the fan wired, can I use a PWM on control pin? But anyway, configurable thresholds would be nice to have.
Ok, if I am right, the fan is connected to rpi pin 35 and there is no pwm.
Correct, you can probably use a 1k potentiometer in line with VCC of the fan and adjust to suit speed.
The temperatures for fan on and off are hard-coded to 60°C/55°. It would be nice to have this as a user-configurable setting somewhere. Maybe also only allow reasonable settings here, e.g. on temperature max 70/75°C and off temperature must be below on temperature at least 5°C.