Main Content

PWM Regulated Fan Based on CPU Temperature for Raspberry Pi

Many cases for Raspberry Pi come with a little 5V fan in order to help cooling the CPU. However, these fans are usually pretty noisy and many people plug it on the 3V3 pin to reduce the noise. These fans are usually rated for 200mA which is pretty high for the 3V3 regulator on the RPi. This project will teach you how to regulate the fan speed based on CPU temperature. Unlike most of tutorials covering this subject, we won’t only turn on or off the fan, but will control its speed like it’s done on mainstream PC, using Python.”

Link to article