

CPU FANCONTROL HOW TO
Core Electronics has a nice guide on how to do this, which I’ve used to verify my setup. If you’d like to test things out, you could go “brute force” with a hairdryer or similar, but a better and more convenient way would be to perform a processor stress test. It then asks you if you want to reboot, and once that is done, the fan is temperature activated. Select the GPIO pin, and select at which temperature it should come on (between 60 and 120✬, which is the same on the GUI interface). Select Performance Options > Fan, and follow the prompts to enable temperature control.

Restart and you’re good to go!Īlternatively, you can set things up via the terminal. Below this you can select the GPIO pin that you’d like to use, as well as the temperature at which it should come on. Click on the Performance tab, then select the Fan Enable radio button. The EZ Fan2 board, that I designed, works for this purpose as a plug-and-play transistor unit, including a flyback diode and current-limiting resistor.įrom the Raspberry Pi OS GUI, click on the Raspberry button, then select Preferences > Raspberry Pi Configuration. For simpler fans with only a power and ground input, you’ll need to add a transistor to control current from the 5V source. Raspberry Pi Fan Control Hardware SetupĪs outlined in the video below, if you’re using a PWM fan, all you have to do for control is connect its power lead to one of the Pi’s 5V pins, ground to ground, and the PWM lead to the appropriate GPIO pin. This article covers simple on/off fan control, and variable speed fan PWM fan control is outlined in this separate post. 2-wire fans, or more advanced coolers like the ICE Tower, will need a transistor for control, but PWM fans, such as this 5V Noctua NF-A8, have the necessary components built-in. Raspberry Pi OS has functionality built-in to switch the fan on and off based on temperature. Either is slightly wasteful power-wise, and potentially annoying. To run a simple 2-wire fan continuously, connect it to the 5V and ground pins, or you can instead hook it up to 3.3V for lower speed and noise. The Raspberry Pi’s GPIO pins don’t supply enough current to power even a small fan, but there are several ways to power and control a fan with the Pi. While passive cooling options are often good enough to avoid overheating and thermal throttling, at some point you’ll need to think about using a cooling fan. As you probably know, Raspberry Pi single-board computers, especially Pi 4 models, can get quite hot.
