Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

ULTRASONIC DISTANCE MEASUREMENT

BRIEF DESCRIPTION

This project will be able to use in measuring distances from any object by only using an
ultrasonic sensor/transducer specifically, Y401 Ultrasonic. It can not only measure distances but also has
the capability to measure length of objects (or heights) with a proper set-up. The sensor used can only
measure distances ranging from 2.70 cm to 11.34 m with an accuracy of ±0.5 cm. The indicator used is a
16x2 Liquid Crystal Display. It will display the distance in meters and in centimeters.

BILL OF MATERIALS

 Acrylic (used for casing)


 Y401 Ultrasonic Sensor [1]
 16 x 2 Liquid Crystal Display [1]
 Arduino Mega [1]
 10kΩ potentiometer
 Powerbank (for 5V supply to Arduino)

DISCUSSION

Using the Ultrasonic Sensor, it will measure any distances only ranging from 2.7 cm to 11.34 m
beyond that, the sensor would not be able to detect it. The 10kΩ potentiometer is only for adjusting the
contrast of the Liquid Crystal Display (LCD). By Arduino Mega, the group was able to program the device
to display the measurement once the ultrasonic sensor has detected an obstruction. It is continuously
reading as you move the sensor closer or farther from the object. The sensor is outside the casing to be
able to move it at any desired position. The display on the LCD indicates the distance on meter and
centimeter.

To be able to test if the device works properly or is being used on how it was supposed to be
used, the group made an improvised ruler to check if the measurements to be displayed are correct. The
object to be measured from is to be placed at the starting point which is at zero position. When the
sensor is too close to the object, meaning that it is lower from the minimum range, the display is not the
correct output. When the object is beyond the maximum range, it will only display the maximum value.

The object is needed to be placed at the position in line with the sensor to be able to measure
distances since an ultrasonic sensor is needed to be triggered by the module and then once an
obstruction has been detected, the module will wait for a received echo and then display the result at
the LCD.
NOTE : MAG LEAVE KA NG SPACE NA 2.5 INCH PARA SA PICTURE

LCD ,serves as the indicator, displays the measurement in centimeter and in meters

Wirings inside the casing


(3 INCH HEIGHT NETO)

TEST MEASUREMENTS:

Object at 0 position and the sensor at 26 cm the display shows 26.26 cm and 0.26 m

Object at 0 position and the sensor at 12 cm the display shows 11.85 cm and 0.12 m
GROUP PICTURE WITH FINAL PROTOTYPE
FUNCTIONAL BLOCK DIAGRAM

START

STAND BY

NO
OBJECT?

YES

MEASURE THE

DISTANCE FROM

OBJECT AND
SENSOR

DISPLAY
DISTANCE

YES
CONTINUE

MEASURING?

NO

END

You might also like