-
Notifications
You must be signed in to change notification settings - Fork 0
mikepaxton/RPi_CPU_Fan
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Using a PNP 2222 i've added a cpu fan to my Raspberry Pi servers. The cpufan.py python script reads the cpu temp every 10 seconds (configurable) and if has exceeded the MAX temp (also configurable) turns the fan on. The fan used is a 5 volt cpu fan purchased from Amazon which can run directly off of the 5 volt GPIO pins of the Raspberry Pi. By using a PNP 2222 transistor I'm able to turn the fan on and off using Pin 18 (configurable) with the python script. I'm using /etc/rc.local to execute the script at system boot.
About
Raspberry Pi CPU fan controll
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published