Line Follower Robot Using Arduino
Line Follower Robot Using Arduino
by My Tech Studio
Line follower robot is another example of arduino project. The name “Line follower robot” suggest a robot which can
follow the line. In other words the path of the line or track is become the path of the robot. A line follower robot is an
automation related project where we use the arduino and some other sensors (IR sensor) to automate the car. Read More
>>
Supplies:
Components –
1. DC Geared Motor
2. Arduino uno
3. L298N Motor Driver
4. IR Sensor
5. Jumper Wire
6. 12 Volt Lipo Battery
The basic structure of a line follower robot is quite similar to any arduino car. The only thing that di ers is the placement
of the IR sensors in front of the robot. So while building a line follower robot you have to keep your attention in the front
part of the robot. And you have to keep enough space for the installation of the IR sensors. At rst you have to take the
four dc geared motor for your robot. Connect the wires in the motor. Then you have to take a wooden or plastic board
which can be used as a chassis of the robot. Fix all the dc geared motor in the four corners of the chassis by using the
glue. Read More >>
Now we have to make the circuit for line follower robot. And for this purpose you need some circuit component like
Arduino uno, L298N motor driver and IR sensors. At rst take the L298N motor driver and place it in the rear side of the
chessis. Then take the wires of the dc motor and connect it with the output terminal of the L298N motor driver. After this
take the Arduino uno, and then place it in front of the motor driver. At this time you have to build the connections
between the arduino and L298N motor driver. For this you may follow the steps. Read More >>
Now you have to do the coding for line follower robot. In this project we use three IR sensor. So our code will be based
on this three IR sensors. Connect the arduino with your computer and do the coding.
Line follower robot working principal –
1. When the left ir sensor detect the black line, the robot will move to left.
2. When the right ir sensor detect the black line, the robot will move to right.
3. When the middle ir sensor detect the black line, the robot will go forward.
4. When all the ir sensor detect the black line, the robot will stop. Read More >>
Now it is the time to test the robot. Place the robot in a track and observe its performance. If you notice that the robot is
not working properly, then you have to calibrate the ir sensors. Change the value of potentiometer in the ir sensors and
try it once. If the result is not satisfactory, you have to change the value of potentiometer again. In this manner you have
to nd the right value of potentiometer. Read More >>