/RaspberryPiAutoFanControl

Python script for Raspberry Pi to automatically control a PWM Fan

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

RaspberryPiAutoFanControl

Python script for Raspberry Pi to automatically control a PWM Fan

I bought these: https://amzn.eu/d/7JYcTCE

  1. Connect the Fans PWM cable to Pin 18

  2. Open the terminal and type

sudo crontab -e
  1. It will ask you what editor you want to use. Just press 1 to use Nano

  2. add this lime at the bottom ("path" is the path to the file):

@reboot python3 path/autoFanControl.py
  1. DONE!