Obstacle Avoiding Car | Path Finder Robot

We are glad you found your way around and came here, just like our robot. Today, we bring you a robot that uses an Ultrasonic Sensor to detect obstacles in its way and finds its way around. So read this article of the Arduino Car Series, till the end, and learn to make one on your own.

What is Ultrasonic Sensor?

The ultrasonic sensor is an electronic device that measures distance by using ultrasonic waves. It is an application of SONAR (Sound Navigation and Ranging). Ultrasonic Sensors measure the distance to the target by measuring the time between the emission and reception. To learn more about it, click here.

Make Your Obstacle Avoiding Car!

Required Components

The components required to make this project are:

1.      Arduino UNO

2.      Motor Driver L298N

3.      Car Chassis

4.      Ultrasonic Sensor

5.      12V Battery Pack

6.      Jumper Wires

Circuit Diagram

Connect the components as shown in the circuit diagram below.

Project Code

Following is the code for this project.

Hardware Implementation and Demo

To get a better understanding, and a hands-on experience we suggest you to watch our following YouTube video. Subscribe to our channel, as we upload fascinating projects there every week.


We hope you enjoyed this episode of the Arduino Car Series. Share it with your friends, and peers. Subscribe to our newsletter to get an email notification every time we upload an article.

We value to constructive feedback, in case you have any queries or suggestions email us at suport@deeplift.tech. Happy Learning!


Popular Posts

How To Make Line Follower Using Three IR Sensor | Arduino Line Following Car

How to Make Traffic Lights Using Arduino Uno | Make Traffic Control System