##Raspberry Fan
Automatic fan control with hardware PWM for Raspberry Pi
###Dependencies:
It is tested under Python 3.4
You can install dependencies from Python Package Index (PyPI):
$ sudo pip3 install daemonize wiringpi
###Usage:
usage: raspberry_fan.py [-h] [-H N] [-r N] [-m N] [-d N] [-v] [-D]
optional arguments:
[ -h ] - show this help message and exit
[ -H ] - hysteresis, default: 3°C ( 1 < n < 10)
[ -r ] - refresh rate, default: 10 sec ( 1 < n < 30)
[ -m ] - maximum temperature threshold, default: 60°C (60 < n < 80)
[ -d ] - turn off fan at, default: 45°C ( 40 < n < 55)
[ -v ] - print output in stdout (of /var/log/r_fan.log in daemon-mode)
[ -D ] - run as daemon
PWM out will use GPIO18
###Fan Connection: Fan must be connected via Logic N-Channel MOSFET Transistor ONLY (IRL... for example)! More information on http://elinux.org/RPi_GPIO_Interface_Circuits#Using_a_FET