Distance Measurement Using Ultrasonic Sensor and Arduino
Distance Measurement Using Ultrasonic Sensor and Arduino
Nowadays, we have some difficulties in obtaining the distance that we want to measure. Even though, measuring tape is
an easy option, but this kind of tool will have a limitation of manual error. Before this, engineers have produced a range
finder module but in the end, they find out the module have many disadvantages like limitation for distance, different
result for different coloured obstacles, and need a calibration for every time before starts using it. Manual distance
measuring is always done at the expense of human error. Precise and fix measurement of low range distance, is the main
objective for this project. This device can measure distance in the range of 0.5m to 4m with the accuracy of1cm.This
project is used to measure the distance by using ultrasonic sensors. It works by transmitting ultrasonic waves at 40 kHz.
Then, the transducers will measure the amount of time taken for a pulse of sound travel to a particular surfaces and
return as the reflected echo. After that, the circuit that have been programmed with AT mega microcontroller will
calculate the distance based on the speed of sound at 25C which an ambient temperature and also the time taken. The
distance then will be display on a LCD module. The importance of the project is calculating accurate distance from any
obstacle that we want to measure. The device can be used in many different fields and categories like distance
calculation in construction field, robots, car sensor to avoid obstacles and many other applications. The building process
of the device was based on using as much as possible from the courses taken in
the university, like Micro Processor, Basic Electrical Engineering, Multimedia and systems and Electronics Devices and
also practical work in the laboratories.
INTRODUCTION
An ultrasonic sensor houses a transducer that emits high-frequency, inaudible acoustic waves in one direction when the
transducer element vibrates. If the waves strike and bounce off an object, the transducer receives the echoed signal.
The sensor then determines its distance from the object based on the length of time between the initial sound burst and
the echo's return. Ultrasonic sensors require fairly accurate timing circuitry, so acoustic sensors really require a
processor of some sort to drive them. Ultrasonic sensors should be a first choice for detecting clear objects, liquids,
dense materials of any surface type (rough, smooth, shiny) and irregular shaped objects. This makes them one of the
most ideal choices for measuring the height of containers which could be of different shapes, sizes, color and material.
The transmitter transmits the ultra sonic waves towards the object and according to the time taken by echo from the
transmitter to object and object to receiver, the distance is calculated. If the obstacle is in the designated range the
comparator sends the signal to microcontroller which in turn sends output signal as an output signal as shown through
block diagram
BLOCK DIAGRAM
1. This sensor is not affected due to atmospheric dust, rain, snow etc.
2. It has sensing capability to sense all the material types.
DEMERITS
The importance of the project is calculating accurate distance from any obstacle that we
want to measure. The device can be used in many different fields and categories like
distance calculation in construction field, robots, car sensor to avoid obstacles and many
other applications. The building process of the device was based on using as much as
possible from the courses taken in the university, like Micro Processor, Basic Electrical
Engineering, Multimedia and systems and Electronics Devices and also practical work in
the laboratories.
THANK YOU