About: I am an electronics hobbyist and I love to share my works with others

so in this tutorial i am going to show you how too buld a line follower robot with adjustable speed

Step 1:

A Line Follower Robot, as the name suggests, is an automated guided vehicle, which follow a black line Usually, the line is the path in which the line follower robot goes and it will be a black line on a white surface but the other way (white line on a black surface) is also possible.

Step 2: ​Componets Needed

1.arduino uno

2.l298 motor driver

3.7.4 volt li.ion battery

4.3*ir sensor modules

5.2*bo motors


Step 3: Circuit Daigram

Step 4: Working of Arduino Line Follower Robot

The working of the project is very simple bot will detect the black line on the surface and move along that line.

we need sensors to detect the line. For line detection logic, we used two IR Sensors, which consists of IR LED and Photo diode. They are placed in a reflective way i.e. side – by – side so that whenever they come in to white surface, the light emitted by IR LED will be detected by Photo diode . reflection of the white surface is high, the infrared light emitted by IR LED will be maximum reflected and will be detected by the Photo diode.

In case of black surface, which has a low reflection, the light gets completely absorbed by the black surface and doesn’t reach the photo diode.
Using the same principle, we will setup the IR Sensors on the Line Follower Robot such that the two IR Sensors are on the either side of the black line on the floor.

Step 5: Code

Arduino Contest 2019

Participated in the
Arduino Contest 2019