“Microcontroller Based Ultrasonic Distance Meter”
SUBMITTED IN THE PARTIAL FULFILLMENT
FOR THE AWARD OF THE
BACHELOR OF TECHNOLOGY
ELECTRONICS AND COMMUNICATION ENGINEERING
Gurmeet Singh 1809252
Under the guidance of
Haryana Engineering College
(Kurukshetra University,Kurukshetra) CONTENTS
Requirement Analysis and Specifications
System Design (Block Diagrams)
ULTRASONIC DISTANCE METER
The ultrasonic range finder is designed to measure the distance between two objects. In early days distance between the objects is measured by physically or by using tape. But this is not possible for long distance. This limited only for short distance. Because the cost will expensive or difficult find the end position. The long distance objects like Radar and any other place where person cannot go physically this project is very effective. It takes less time to measure distance of the objects. Measured distance displays in LCD. The displayed values is in digital which can everybody understand. This is cost effective compare to other methods.
Ultrasonic distance meter embedded system project explains about developing new application using microcontroller for calculating distance between two objects accurately using ultrasonic sound. This system uses ultrasonic sound pulses to calculate distance between objects. From source point user will send ultrasonic pulses to other end using transmitter and then receiver will catch reflected pulses and time is calculated for transmitting and receiving of pluses based on this time distance is calculated and displayed on LED. Output is displayed in digital format which can be easily understood by any one. In existing system it is hard to calculate distance between objects, present system uses manual method where tape is used to calculate distance but this procedure is not possible in calculating long distance. In this cases ultrasonic distance meter can be used. Using this application can save time and cost and usage of man power. This paper covers introduction to new concept, block diagram description and working principle with components required for implementing this project.
❖ Power Supply: 12V/1A DC
❖ µcontroller: AT89S52
❖ Buzzer: Frequency range between 1Hz to 18 KHz [5V-12V] ❖ Relay : 12V
❖ LCD: 16 characters * 2 lines
❖ Sensor: ultrasonic transducer (transmitter and receiver). ❖ Memory : external EEPROM memory (2/4/8/256bytes).
❖ RTC: Real time clock(RTC-1307)
❖ Embedded C.
❖ KEIL Micro vision 3.0
During the transmission micro controller encodes the signal and transmits through the Ultrasonic transmitter. The Ultrasonic transmitter converts the electrical signal to pulse. During this time the time set is zero. Ultrasonic transducer emits a burst of 12 pulses at a frequency, which is roughly identical with resonance frequency of the two transducers. After the burst has been emitted the unit is switched to reception. The sensitivity of the receiver is a function of time. When these pulses hits any object they are reflected back and are received by ultrasonic receiver. The number of clock pulses counted between onsets of the emission the burst and the sensing...