rpi-fan-pwm
A python script to monitor CPU temperature and to adjust a fan speed accordingly.
To ensure that the python script is running continuously, the supervisor is used here (it monitors and restarts the script if needed).
Connection
Resistor R2 is optional, though it's recommended to increase stability.
Automatic installation (only debian based distros)
- Clone this repository to some directory on the raspberry pi
git clone https://github.com/strange-v/rpi-fan-pwm
- Go to the cloned repo
cd ./rpi-fan-pwm
- Add execute permission for the installation script
chmod +x ./install.sh
- Execute the script
sudo ./install.sh