Arduino Tachometer tutorial:
This tutorial will guide you through the process of building a tachometer around an Arduino. Tachometers are used to measure rotation rate in Revolutions Per Minute (RPM). You don’t need much in the way of hardware, this version uses an Infrared beam to measure fan speed. As with last year’s PIC-based tutorial, [Chris] is using a character LCD to output the reading. Wiring and driving the LCD ends up being the hardest part.
An IR transmitter/receiver pair are positioned on either side of the fan. When the blade passes in between then, the receiver shuts off a transistor connected to one of the Arduino’s external interrupt pins. He shows how to use this interrupt to measure the amount of time between the passing of each fan blade. If you divide for the number of blades, and average the reading for greater accuracy, you can easily calculate RPM.
Another alternative would have been to use a reflectance sensor which allows to for the transmitter and receiver to both be on the same side of the fan.
Filed under: arduino hacks
No comments:
Post a Comment