Ultrasonic Sensor
1 min read![Tirthmehta.com ultrasonic sensor](https://www.tirthmehta.com/wp-content/uploads/2021/01/ultrasonic-sensor_600943-20.jpg)
Objective
This project demonstrates the use of an ultrasonic sensor.
Preview of Project
![](http://www.tirthmehta.com/wp-content/uploads/2021/01/IMG_20210116_222132-updated.jpg)
Materials Needed
One Arduino Uno
One Ultrasonic Sensor
One Breadboard (Any Size)
Four male-male Wires
Circuit Diagram
![](http://www.tirthmehta.com/wp-content/uploads/2021/01/circuit.png)
Instructions
Place the Ultrasonic Sensor on the breadboard.
Connect VCC to 5v on the Arduino
Connect GND to any GND on the Arduino
Connect Trig to pin 7 on the Arduino
Connect Echo to pin 6 on the Arduino