You are on page 1of 10

Arduino

Documentation

Line Follower Robot


By Ifaz Ahmed Aflan
Aflan Creators: Sakib
• IFAZ AHMED AFLAN(CSE,IUT)
• MASHUR SALEHIN SAKIB(EEE,IUT)
Used Materials For Line Follower:
• IR Sensor x 5. • Motor x 2.
• Ball Caster .
• Motor Controller.
• A Walton Mobile Box.
• Breadboard. • Li-Po Battery 800 mA
• Sonar Sensor.
• Wheel x 2.

Mobile-Box Li-Po Battery 800 mA Sonar Sensor


IMAGES OF THE REQUIRED ITEMS TO CREATE A LINE FOLLOWER ROBOT USING PID
ALGORITHM :

Arduino Mega 2560 Ball Caster Breadboard

IR sensors Motor Controller Motor Attached to wheels


PICTURE OF THE
ROBOT
TRACK IMAGE
Qualifying Round: Final Round

Robot : Droid
M.A.X
Completed the following tracks in
31 seconds.
Used Methods
• PID ALOGORITHM • SENSORS IN THE MIDDLE

• BALL CUSTER IN • TWO WHEELS ATTACHED


FRONT TO THE TWO MOTORS
Why PID over ‘if-else’ coding?
The Idea was to create a robot which could figure out which path he
should go himself regardless of the lighting conditions.
Since the average “if-else” coded robots face critical situations when there
is a change of ligh. The use of PID not only prevents that , but also makes
the robot much more stable and reliable . The concept of PID is pretty
straight forward , Instead of depending on the threshold value*,PID line
follower robot creates the value himself on the go. So regardless of the
situation the robot can run anywhere any time , without calibrating it
again and again . That’s the beauty of PID.

*A threshold value is a value , defined by users by calculating the value given by the IR sensors.
Performance

The performance of the robot was truly


amazing as this was the first time doing such
work. It was an amazing experience and
truly it was fun to work.
Link: Line follower Robot Using PID
Conclusion
• PID helps bot to be stable.
• PID helps bot to turn smoothly.
• PID code is smaller and efficient.
• Even if it looses track , it can revert back to
track.
• PID is far better than if else coding.
• PID uses integration , proportion, differentiation.

You might also like