> -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of MCH > Sent: 04 February 2010 17:02 > To: Microcontroller discussion list - Public. > Subject: Re: [PIC] Fan speed check > > Good info, but I won't be controlling the fan speed - I'm just looking > for when it slows down or stops (due to age or what have you). > > IOW, I need to make sure the fan is running and close to rated speed for > the (nearly constant) voltage provided. If it's normal RPM is 1300 RPM, > I want to sound an alert when it drops below 1000 or 800 RPM. In that case you don't really need to calculate RPM, just measure period and compare against the period for 800RPM. A bit of filtering may be a good idea to eliminate any duff readings you may get back. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist