About the Project
This project measures length using an ultrasonic sensor.
The ultrasonic sensor is placed at the starting point.
The object/cardboard is placed at the ending point.
When the push button is pressed:
- 1st press → measurement starts
- 2nd press → measurement stops and final value is held
- 3rd press → measurement starts again
Formula:
Components Required
- Arduino Nano / Uno – 1
- Ultrasonic Sensor HC-SR04 – 1
- Push Button – 1
- Green LED – 1
- Red LED – 1
- 220Ω Resistors – 2
- Breadboard – 1
- Jumper Wires
- USB Cable