Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 18, 2024, 08:05:39 20:05


Login with username, password and session length


Pages: [1]
Print
Author Topic: Reading fan speed with 16F877A  (Read 2486 times)
0 Members and 1 Guest are viewing this topic.
Van.Helsing
Guest
« on: December 01, 2007, 11:41:07 11:41 »

Hi!

  Anyone know how can read the pulses of a three pin fan using the 16F877A ?

  I know how to calculate and find something in ASM, but i need in C.

  []'s
  Ismael
Logged
frasenci
Translator
Active Member
***
Offline Offline

Posts: 171

Thank You
-Given: 142
-Receive: 84


« Reply #1 on: December 01, 2007, 12:01:56 12:01 »

Ismael , I have succesfully done it using an Infrared - Reflective Sensor .
Only need an distinctive ( white over black ... ) line once on the rotating part. Maths are simple.
Sensor must get close to moving part ( about 2 mm )
I have used Protons Pulsein command but that you can do in ASM also.
Good results , I used in a Glow Engine speed control for an R/c Helicopter. ( Governor )

Tell me if this direction is usefull for you
greetings


 
Logged
hemlig
Translator
Active Member
***
Offline Offline

Posts: 168

Thank You
-Given: 26
-Receive: 50



« Reply #2 on: December 01, 2007, 12:32:13 12:32 »

You might get some ideas on how to read the pwm from various types of fans
and then adapt it to a PIC by reading this appnote at this website:

http://www.maxim-ic.com/appnotes.cfm/appnote_number/1784/
Logged

If it work don't fix it!
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC