Arduino Projects    |   Raspberry Pi  |     Electronic Circuits   |   Electronics Reference Design Library  |   AVR    |    PIC    |    8051    |    Electronic Projects

Tachometer using microcontroller

Description

Table of Contents:

  1. Tachometer using microcontroller
  2. OPERATION & PROGRAM STRUCTURE
  3. Video
Contributor: 
Dimpal Kalita

Here is a trial of building a tachometer using AT89S52 Microcontroller. This is a digital tachometer which works using infrared rays. The tachometer designed here can measure rotational speed up to 4200 rpm which is sufficient for small scale use. If the speed goes beyond 4200 rpm, it gives a message on the display screen as “OUT OF RANGE”.

 
COMPONENTS:
 
1.      AT89S52 Microcontroller
2.      11.0592 MHz Crystal
3.      16*2 Alphanumeric Display Screen
4.      5V Power Supply
5.      Speed Sensor Module
 
Speed sensor module:
 
The speed sensor module is a completely home-made module to detect speed of a rotational body. The picture of the module that I have made is shown below. The function of this module is that it converts the speed of a rotational body to pulses. These pulses are fed to a microcontroller. The microcontroller counts them and displays them with a unit of rpm.

 
The components required to make the module are:
1.      Wheel of an optical mouse
2.      Plywood
3.      Screw bearing
4.      Steel rod (1 mm diameter, 10 cm long)
5.      Infrared Transmitter LED
6.      Infrared Receiver (TSOP1738)
7.      Capacitor (47uF)
8.      Resistor (100R)
 
Take out the wheel of a damaged optical mouse and make a hole at the center of the wheel. Put the steel rod at the hole and glue it tightly so that the rod and the wheel rotate simultaneously. Make the plywood frame as shown in figure and screw the screw bearings on both sides so that the rod with the wheel can be mounted. After mounting the rod (with the wheel) on the screw bearings, try rotating the wheel with your finger. While rotating, the rod should have a minimum friction with the screw bearings. This will help measuring the exact speed. Then make the connections of the Infrared Transmitter and the Infrared Receiver as shown in the circuit diagram. Place the Infrared Transmitter on one side of the wheel and the Infrared Receiver on another side both facing each other. Here is a top view of the arrangement.
 
Don’t forget to make a hole on the wheel as shown in the picture below. It is extremely important. The hole will allow passing the infrared rays from the infrared transmitter to the infrared receiver.
 
Now you have your speed sensor module ready. This module should have four wires coming out of it. They are:- +5V Power Supply, Power Ground, wire connecting the  –ve terminal of the Infrared Transmitter and the wire connecting the output terminal of the TSOP1738 Infrared Receiver.
Let us now discuss how to connect this above made module to the microcontroller.
CIRCUIT DIAGRAM:
The circuit diagram should be connected as shown in the Circuit Diagram tab. The 5V Power and Ground of the speed sensor module should be connected to the Power supply to the circuit. The –ve terminal of the infrared transmitter and the output terminal of the infrared receiver should be connected to the specified pins of the microcontroller (see circuit diagram).
 

Circuit Diagram

Source Code

This Code is only visible to Registered users. Please Login/Register

 

Comments (8)

Great work! Worth a read! 

Great work! Worth a read! 

Very good

Very good

Plg upload for voltage

Plg upload for voltage analayser for us

plg upload for 12v  battery

plg upload for 12v  battery charing circuit wit  lowand high  voltage cut off  funtions

 

 Hello,Nice article indeedBut

 

Hello,
Nice article indeed
But There is a bit correction in the theory and eventually in the program.
When you touch the wheel to a rotating body then they will have same RPM only if their radius is same.
Remember HSC physics:
But mostly you will touch it to a rotating body which has larger radius, hence that rotating body will have less rpm but your wheel will rotate at higher rpm.
you have to include the formula for correction.
I don't remember what is it, but its something like:
V=rv/R
R= radius of rotating body
V= angular velocity of rotating body
r= radius of the wheel

v= ang. vel. of wheel

very good gadget. Only wish

very good gadget. Only wish if could show some mathematical parts,especially for the choice of components.thanx

anybody suggest a codings

anybody suggest a codings  for  tachometer in pic16f877a microcontroller.

 

thank you

thank you
You are here