anthonyjk
Posts: 2
Joined: Thu Aug 01, 2013 1:16 am

Reading Tach Wire Pulses from Fan

Thu Aug 01, 2013 6:38 pm

Hello, I recently purchased a fan to connect to my GPIO. I know everyone says that it isn't necessary, but I mostly want it just get some experience with the GPIO.

The particular fan I purchased has a 3rd wire for the tachometer, I was wondering if it was possible to read the pulses that this wire is sending through the GPIO and get a reading of the fan RPMs.

Also, is is possible to set the GPIO pins to low or high based on a temperature reading from the raspberry pi? Would a CRON job be the best way to accomplish this?

Thanks for the help.

Image
http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... 0646317347

Image

User avatar
Richard-TX
Posts: 1549
Joined: Tue May 28, 2013 3:24 pm
Location: North Texas

Re: Reading Tach Wire Pulses from Fan

Wed Aug 07, 2013 4:51 pm

As far as I am concerned, the best way to do fan control is with an off-the-shelf solution.

Here is one that looks easy and is the one I would try first.

http://www.analog.com/static/imported-f ... DT7470.pdf

That chip is low cost (about $5) and has many features.

There are other chips available. Google for "I2C fan controller".
Richard
Doing Unix since 1985.
The 9-25-2013 image of Wheezy can be found at:
http://downloads.raspberrypi.org/raspbian/images/raspbian-2013-09-27/2013-09-25-wheezy-raspbian.zip

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: Reading Tach Wire Pulses from Fan

Wed Aug 07, 2013 5:07 pm

This is currently under discussion here: http://www.raspberrypi.org/phpBB3/viewt ... 31&t=51501

Return to “Interfacing (DSI, CSI, I2C, etc.)”