Concept

The idea of the project is to use the ultrasonic sensor to measure the distance of an object in inches. The servo meter will point towards the corresponding inch number when the object is placed at a particular distance from the ultrasonic sensor. At the same time, when the object is placed at 1 inch distance from the ultrasonic sensor, out of 6, only 5 LED lights will light up and 1 will remain unlit. This indicates that the object is at 1 inch distance from the ultrasonic sensor. As the object moves to 2 inch distance from the sensor, out of the 6 LED lights, 2 will remain unlit, indicating that the object is at 2 inch distance and so on for the other distances.

 

Visual Explanation

Components Used

Assembly

Step 1

Step 2

Step 3

Step 4

Final Assembly

Images of the Prototype

Code

Video