If you d like your fan to only run when needed based on pi temperature check out our raspberry pi fan controller guide.
Raspberry pi 3 fan gpio.
Temp is the minimum temperature in millicelsius at which the gpio pin activates default 55000.
Dtoverlay gpio fan dtparam gpiopin dtparam temp millicelsius gpiopin is the gpio pin bcm value used as the output signal default 12.
The raspberry pi has two i2c connections at gpio 2 and 3 sda and scl are for i2c0 master and physical pins 27 and 28 are i2c pins that enable the pi to talk to compatible hat hardware.
Any of the gpio pins can be designated in software as an input or output pin and used for a wide range of purposes.
How to install raspberry pi fan for raspberry pi 2 and 3 model b.
This gpio pinout is an interactive reference to the raspberry pi gpio pins and a guide to the raspberry pi s gpio interfaces.
Place in your case or even better on top of your pi s cpu to give it extra air flow.
Connect the fan s red wire to gpio pin 4 5v and the black wire to gpio pin 6 ground.
The easiest way to make a hole for the fan is to use a 1 1 8 hole saw drilling slowly.
If you love pinout please help me fund new features and improvements.
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.
Pinout also includes dozens of pinouts for raspberry pi add on boards hats and phats.
The raspberry pi gpio pinout guide.
When using a raspberry pi 3 model b i just have to add the following lines in boot config txt.
It plugs directly into the pi s gpio pins and needs no modifications.
A 40 pin gpio header is found on all current raspberry pi boards unpopulated on pi zero and pi zero w.
Cooling your raspberry pi keep performance constant and drops temperature significantly.
Prior to the pi 1 model b 2014 boards comprised a shorter 26 pin header.