GithubHelp home page GithubHelp logo

faustle / raspberry_fan Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 16 KB

Some information about this (russian)

Home Page: http://rm-rfv.blogspot.ru/2016/09/raspberry-pi-3-pwm.html

License: The Unlicense

Python 100.00%

raspberry_fan's Introduction

##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

raspberry_fan's People

Contributors

faustle avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.