Digital Speedometer P.L.Ganesh
Digital Speedometer
P.L.Ganesh
Speedometer?
Analog Gauge
Digital Gauge
Setbacks of Analog counterpart
Susceptible to external Magnetic Fields which results in a error in the measurement.
Need additional devices to convert the output
Difficult to notice the value in low light conditions.
Aim of the Project
Detect the speed of rotation digitally.Convert the same into speed and display the same in the LCD.
Block Diagram
8051
MICROCONTROLLER
LCDDISPLAY
POWERSUPPLY
IRMODULE
Components used in the Project
1. AT89S52 Micro Controller2. IR Module3. LCD4. Power Supply
IR Module
IR represents Infra-Red light which is invincible to Human eyePrimarily consists Two Components
1. Transmitter [Infra-Red LED] 2. Receiver [Photo Detector]
IR LED
Photo Detector
Working of the IR Module
For every IR signal given by the LED a positive pulse is generated at the receiving
side by the Photo Detector as shown.
Micro Controller
AT89S52Low-Power, High Performance CMOS 8-bit MicrocontrollerBelongs to the Family of 8051
Internal Architecture
Pin Description
Pin Diagram of AT89S52
Oscillator Connections
External Clock Drive Configuration
Liquid Crystal Display
A general purpose alphanumeric LCD, with two lines of 16 characters
Interfacing LCD to 8051
Schematic of LCD and Interfacing with 8051
Regulated Power Supply Converts 230V AC supply to 5V DC
required for the Microcontroller
Components used for Regulation
1.Step Down Transformer2.Full Wave Rectifier3.Voltage Regulator[LM 7805]
Coding Coding for the Microcontroller is done in ‘Embedded C’ Dumping of code is done by using the software “Keil µVision”
Working
Speed = Number of pulses Time x No of holes
8051
MICRO CONTROLLER
POWER SUPPLY
WHEEL
IR LED
LCD DISPLAY
Applications
Determining the speed of the vehicles like bikes, car etc by attaching the device to the rotating spindles of wheels.
Finding the speed of the motors and similar rotating machines
in Industries.
With minor changes can also be used as a counter in the areas
like toll booths where number of vehicles passed through it per
hour can be calculated.
Future Scope By adding a speaker the customer can be warned of high
speeding by making different sounds for different speeds.
By using high capability IR sensors the maximum speed it
will handle can also be increased.
The speed at specific instants can be noted.
Queries?