top of page
WhatsApp Image 2021-10-17 at 12.33_edited-3.png

Obstacle Avoiding Car

Internship Project

How does the algorithm work?

The robot consists of six main components. At the header, there are two different types of sensors: an IR sensor and an ultrasonic sensor. The ultrasonic sensor reads the distance of any object in front of the car 5-6 times per second. This data is sent to an Arduino attached, which is being powered by a stable 5-9 volt supply. This data is processed by the Arduino, which, according to the algorithm, decides how much power has to be distributed to the wheels. 

The power distribution to the wheels is managed by a motor controller, which is connected to the Arduino. The IR sensors help in refining the data being received. They have been set to be an extremely small distance, which helps in cases when the data sent to the Arduino by the ultrasonic sensor is not accurate. 

Whenever there is an object in proximity of the robot, i.e within 15 cm of the front end, the Arduino has been programmed to go back for a few seconds, and then calculate the left and the right distance. Thereafter, the robot moves in the direction, where there is more room. For full details, find the github code link below-

 

Versions of the project

Over the total timeline of the project, I have made two versions of the robot. The first one was a four-wheel chassis made out of a wooden box. But that one was too bulky for the gear motors that spin the wheels, and the algorithm did not have good efficiency. Check the detailed project report for all details about the different versions of the project, 

Learn More
WhatsApp Image 2021-10-17 at 12.33_edited-3.png
IMG_4956_edited.png

Watch the demonstration video

Demonstration Video

Demonstration Video

Play Video
bottom of page