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



Line Follower Cars are autonomous cars that follow a given route. We have already learned to make a Line Following Car using 2 IR sensors to follow easy tracks. Today we'll make a Line following car using Arduino and 3 IR sensors, that will precisely follow a black line over a white surface, take sharp 90 degree turns and easily follow high curvature curves.

Before moving ahead, make sure you understand the Working Mechanism of IR Sensor and learn how to make 2 IR Sensor Line Follower Robot. This project is an upgrade of 2 IR Sensor Line Follower Robot. 

Hardware Setup

Components Required:

Car Assembly:

The first step is to assemble the car chassis. To learn more about assembly, refer to this article: Assemble Car Chassis. For visual demonstration refer to this video: Assemble Car Chassis.


Circuit Diagram:


Software Setup

Arduino needs to be programmed such that the car follows a black line over a white surface. (Have a black line over a white surface? Watch the video at the end to learn a small trick and customize your code 😏). We have written the code such that it follows the following rules:

Note: Green Dots show the position of the Sensors.

Code


Demo

Now the most exciting part of the project, seeing our car precisely follow a complex track. Refer to the video below to see how well the car follows sharp 90 degree turns and high curvature curves.


Now you can upgrade your Line Following Car easily, and win competitions. In case of any questions, feel free to comment below. Happy Learning :)



Comments

Post a Comment

Popular Posts

How To Make Line Follower Car with Speed Control | 6 IR Sensor Arduino Line Following Car