We have a really simple fan service that will control the onboard fan. The reason we have it set up as a service instead of keeping the fan on all the time is so that it doesn't drain too much power from the Pi during the initial power on.

The fan service basically controls turning GPIO 4 on at startup, which is what the fan is connected to. Installing the fan service is really simple and we have a script for doing that.

To install, just type in the following commands.

cd ~
sudo pip3 install --upgrade adafruit-python-shell
wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/adafruit_fanservice.py
sudo python3 adafruit_fanservice.py

A message letting you know what the script does will come up.

When it asks you if you want to continue, select Yes.

That's it. You should hear the fan start up right after the script finishes running.

This guide was first published on Oct 06, 2020. It was last updated on Oct 06, 2020.

This page (Fan Service Setup) was last updated on Apr 13, 2021.

Text editor powered by tinymce.