strange-v / rpi-fan-pwm

A python script to monitor CPU temperature and to adjust a fan speed accordingly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Connection schematic

Resistor R2 is optional, though it's recommended to increase stability.

Automatic installation (only debian based distros)

  1. Clone this repository to some directory on the raspberry pi git clone https://github.com/strange-v/rpi-fan-pwm
  2. Go to the cloned repo cd ./rpi-fan-pwm
  3. Add execute permission for the installation script chmod +x ./install.sh
  4. Execute the script sudo ./install.sh

About

A python script to monitor CPU temperature and to adjust a fan speed accordingly.

License:MIT License


Languages

Language:Python 72.7%Language:Shell 27.3%