Skip to content

simple python script to aid in cooling the new pi4

Notifications You must be signed in to change notification settings

jasharrar/pi4-cooling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pi4-cooling


simple python script to aid in cooling the new pi4.
Much of the script has been borrowed from other users online to help me cobble this together.


To power the 5v fan from the raspberry pi and use the GPIO to switch it on and off connect as below (lots more examples online).
Im using a 40mm 2 wire 5v fan (cheapest one on ebay).
I have a 2N2222A NPN Transistor connected between the 5v pin out, ground and GPIO 18 (changeable in the script).
Pin (1) collector to PI GND.
Pin (2) base to GPIO 18.
Pin (3) Emitter to Fan ground.
Fan live to GPIO live.

fan

About

simple python script to aid in cooling the new pi4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages