Raspberry Pi 3 Fan Gpio
How to install raspberry pi fan for raspberry pi 2 and 3 model b.
Raspberry pi 3 fan gpio. If you d like your fan to only run when needed based on pi temperature check out our raspberry pi fan controller guide. The easiest way to make a hole for the fan is to use a 1 1 8 hole saw drilling slowly. Plug the fan directly into your raspberry pi s 5v gnd gpio power pins as shown for instant cooling. Dtoverlay gpio fan dtparam gpiopin dtparam temp millicelsius gpiopin is the gpio pin bcm value used as the output signal default 12.
If you love pinout please help me fund new features and improvements. Pinout also includes dozens of pinouts for raspberry pi add on boards hats and phats. This gpio pinout is an interactive reference to the raspberry pi gpio pins and a guide to the raspberry pi s gpio interfaces. A 40 pin gpio header is found on all current raspberry pi boards unpopulated on pi zero and pi zero w.
Any of the gpio pins can be designated in software as an input or output pin and used for a wide range of purposes. I purchased a pi fan came in a 2 pack from amazon since it fits nicely above the board and comes with the proper screws for mounting. The fan should receive power automatically when the pi is booted. Compatible with any and all raspberry pi computers but only the pi 3 runs hot enough to benefit from any cooling when doing intense computations.
When using a raspberry pi 3 model b i just have to add the following lines in boot config txt. Place in your case or even better on top of your pi s cpu to give it extra air flow. Temp is the minimum temperature in millicelsius at which the gpio pin activates default 55000. It plugs directly into the pi s gpio pins and needs no modifications.
Raspberry pi 4 fan iuniker raspberry pi cooling fan 30x30x7mm brushless cpu cooling fan for raspberry pi 4 model b 3 b pi 3 pi 2 pi 1 b retroflag nespi case 2 pack 4 5 out of 5 stars 276 7 99 7. Prior to the pi 1 model b 2014 boards comprised a shorter 26 pin header. Connect the fan s red wire to gpio pin 4 5v and the black wire to gpio pin 6 ground.