Temperature-based fan control on Raspberry Pi
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
build-scripts Initial commit (rpi-fan-control v1.0.0) Jul 27, 2015
src Use bash style Nov 8, 2017
LICENSE Updated to use systemd instead of sysvinit Nov 1, 2016
Makefile Initial commit (rpi-fan-control v1.0.0) Jul 27, 2015
README.md Update README.md Nov 12, 2017



Temperature-based control of Raspberry Pi fan through GPIO port.

This package installs the rpi-fan-control daemon that checks temperature of the Raspberry Pi CPU and controls fan through one of the GPIO pins.

Installation (.deb package)


  • fakeroot

You can build .deb package using Makefile:

make deb

And then install it with dpkg:

sudo dpkg -i rpi-fan-control-*.deb


There is config file /etc/rpi-fan-control/rpi-fan-control.conf in which you can change

  • GPIO pin which will contol the fan
  • Upper and lower temperature triggers
  • Temperature refresh delay

On this picture you can see available GPIO pin numbers: