You are on page 1of 5

The advancement of line followers and

their practical applications in the industry

Aarin Kothari Ayush Gawande Chetas Hedaoo


Vishwakarma Institute of Information Vishwakarma Institute of Information Vishwakarma Institute of Information
Technology Technology Technology
Department of Electronics and Department of Electronics and Department of Electronics and
Telecommunication Department Telecommunication Department Telecommunication Department
Pune, Maharashtra, India Pune, Maharashtra, India Pune, Maharashtra, India
aarin.22111080@viit.ac.in ayush.22110624@viit.ac.in chetas.22111109@viit.ac.in

HARSH Dr. Pravin Gawande


Vishwakarma Institute of Information Technology Vishwakarma Institute of Information Technology
Department of Electronics and Telecommunication Department Department of Electronics and Telecommunication Department
Pune, Maharashtra, India Pune, Maharashtra, India
harsh.22110320@viit.ac.in pravin.gawande@viit.ac.in

Abstract— A line follower is a robotic device that follows the Line-following robots are used in material handling
line unless the line does not exist. The line may be of two applications to move goods between workstations or from
colours such as black or white, in our case we used black. storage facilities to production lines. Depending on the
Using IR sensors, the robot moves in accordance with the requirements of the production process, they can be used to
queue. These sensors scan the line and transmit the
transport raw materials, work-in-progress, or finished goods.
information to Arduino, which then directs the movement of
the robot. Transporting radioactive materials inside a factory poses a
serious risk to human life. In that section, a line follower
As a result, the Infrared Ray (IR) sensors that are positioned robot can be useful. It can monitor patients and alert doctors
beneath the robot should be able to detect the line. The to a serious scenarios in a hospital as well. It can also be
information is then sent to the processor using a particular bus helpful in the restaurant industry in several areas, including
for transition. As a result, the CPU will determine the the ability to easily fill jobs for food servers and order
appropriate orders and send them to the driver, and the line takers.
follower robot will then follow the course.
The brain of this robot, the ATmega328 microcontroller, is
The use of line followers has gained popularity in the industry, the major driving force behind it. The concept put out in this
especially with the advent of technology such as Arduino study is to direct the robot using machine vision. We created
boards. These devices have made it easier for designers to a robot that is capable of doing more than just following a
create robots that can follow a line with precision. queue. This robot moves in a straight line without turning.
Keywords— IR sensor, Path tracer, Arduino UNO R3 board
with DIP ATmega328, P11.1v lipo battery, 12v spindle dc 2. OBJECTIVE
motor, motor driver, Autonomous robot, guided vehicle,
transportation. The objective of this project is that the robot is able to
follow a designated path or line with accuracy and
1. INTRODUCTION precision. It should maintain a constant speed and distance
from the line.
Robots that follow lines are frequently employed in
industrial settings for the automation of warehouses, Follow a predefined path: The robot should be able to
production lines, and material handling. These robots are follow a specific path that has been programmed into it. The
made to transport goods or products from one place to infrared light sensors help the robot detect the path and
another by following a predetermined path, such as a adjust its movement accordingly.
painted line on the factory floor or magnetic tape. Maintain a constant speed: The robot should be able to
[1] The line follower is a self-operating robot that detects maintain a constant speed while following the path. The
and follows a line that is drawn on the floor. The path infrared light sensors can help the robot adjust its speed to
consists of a black line on a white surface (or it may be the ensure it stays on track.
reverse of that). The control system used must sense a line Accurate tracking: The robot should be able to track the
and manoeuvre the robot to stay on course, while constantly path accurately and adjust its movement accordingly. The
correcting the wrong moves using a feedback mechanism, infrared light sensors can help the robot detect small
thus forming a simple yet effective closed-loop System. The changes in the path and adjust its movement to stay on
robot is designed to follow very tight curves. track.


















3. LITERATURE REVIEW Direct current (DC) power, which is commonly provided by


Authors in [1] proposed that the line follower robot is a part batteries, is what most toy motors use. The motor is made
of AGV (Automated Guided Vehicle), which can detect up of a stator, which is a stationary component that encircles
black or white lines through the IR sensor to follow them. the rotor, and a rotor, which rotates on an axle.
As the robot works fully autonomously engineers have tried Toy motors can vary in terms of their power output, speed,
to bump up its abilities to make it more reliable for practical and torque. Some are designed to be very fast but not very
usage in various sectors. Making it capable of avoiding strong, while others are designed to be slower but able to
obstacles [2]. At the same time, the research is also going on exert more force.
to follow any capable colour. Light sensors based on LED or
LDR and RFID-based verification systems have been used 4.3 motor driver
to upgrade the Path follower robot to that level. However, TB6612FNG is a motor driver IC (integrated circuit)
the total accuracy of the line follower is dependent on the designed for controlling DC motors or stepper motors in
sensor as we get the values from them only. The correct various applications, including robotics, automation, and
sensor value leads to the correct result. That’s why it’s control systems. The TB6612FNG motor driver can control
important to have an accurate idea of that sensor, two motors independently or a single motor in a
Another crucial part of line following is path planning. Most bidirectional configuration. It can handle a maximum
robots can follow a straight or round-shaped path. However, continuous current of 1.2A per channel and a peak current of
the vital part is to let it take its decision when there is more 3.2A for short periods.
than one path to go and they are of different shapes One of the key advantages of the TB6612FNG is its
obviously. compatibility with a wide range of microcontrollers and
development boards, including Arduino, Raspberry Pi, and
others. The IC can be easily controlled using PWM signals
4. EQUIPMENT USED FOR LINE FOLLOWED or digital inputs, making it a popular choice for hobbyists
and professionals alike.

1. Arduino UNO R3
2. 12v spindell dc motor 4.4 Chassis Board

3. TB6612FNG Moto driver A set of wheels or tracks that allow the robot to travel along
the ground are normally included on the chassis board for a
4. Chassis board line follower robot. Additionally, it has a group of line
sensors that are used to identify the path the robot is taking.
5. IR sensor
The microcontroller is coupled to these sensors, which are
6. 11.1v lipo battery normally mounted on the chassis board's bottom.

4.1 Arduino UNO R3


The pinout for the Arduino Uno R3 is displayed below. It
has I/O pins with a 14-digit value. Six pins can be used as
PWM outputs from these pins. This board has 14 digital
input/output pins, 6 analogue inputs, a USB port, a quartz
crystal with a frequency of 16 MHz, a power jack, a USB
port, an ICSP header, and an RST button. Fig (2.0)
Source: https://probots.co.in/robot-chassis-2-wheel-drive-frame-with-motors-diy-car-kit-2wd.html

2.5 IR sensor
In a line follower robot, an IR sensor is typically used to
detect the line on the ground. IR sensors can detect
variations in the reflected light from the ground surface,
which allows them to detect the contrast between the line
and the surrounding surface.
IR sensors typically consist of an IR emitter and an IR
detector. The emitter sends out an infrared beam, which
reflects off the ground and is detected by the detector. When
the beam is reflected off the line, the detector receives a
stronger signal than when it is reflected off the surrounding
Fig (1.0) surface. This difference in signal strength allows the robot to
detect the line and follow it.
Source :- https://www.elprocus.com/what-is-arduino-uno-r3-pin-diagram-specification-and-applications/
4.2 Toys motor

5. BLOCK DIAGRAM movement of the robot is controlled by the input signals


received from a sensor module connected to port C. The
program uses the value of the PINC register to determine
the movement direction of the robot. If PINC is
0b00000000, the robot moves forward. If it is 0b00000001,
the robot turns right. If it is 0b00000010, the robot turns left.
And if it is 0b00000011, the robot stops.

The forward() function sets the motor control pins to


0b00000101, which causes the robot to move forward. The
left() and right() functions set the pins to 0b00000001 and
0b00000100, respectively, causing the robot to turn left or
right. The stop() function sets the pins to 0b00000000,
causing the robot to stop.

The OCR0A and OCR0B registers are used to set the duty
cycle of the PWM signals for the two motors. In this code,
both motors are set to a duty cycle of 70, which results in a
moderate speed for the robot.

the _delay_ms() function to create a delay of 500


milliseconds when turning left or right. It also creates a
delay of 20 seconds in the stop() function, causing the robot
to remain stationary for this duration.

6. ALGORITHM The main loop of the program continuously reads the value
of the PINC register and calls the appropriate function based
i. Include necessary header files for the AVR on its value. This allows the robot to move in the desired
microcontroller. direction.

ii. Define functions to control the direction of the DC


motors: forward (), right(), left(), and stop().
iii. In the main function, initialize the necessary
hardware components, such as the motor driver,
PWM outputs, and input pins.
iv. Enter an infinite loop to continuously monitor the
input from a sensor or switch.
v. If the input indicates to move forward, call the
forward () function to set the motor driver outputs
to move the motors in a forward direction.
vi. If the input indicates to turn right, call the right ()
function to set the motor driver outputs to turn the
motors right.
vii. If the input indicates to turn left, call the left () Fig (3.0)
function to set the motor driver outputs to turn the
motors left.
Troubleshooting Common Issues with Line Follower
viii. If the input indicates to stop, call the stop() Robots
function to set the motor driver outputs to stop the
motors.
Even with careful planning and attention to detail, line-
ix. Use PWM signals to control the speed of the follower robots can experience issues that can affect their
motors by setting the duty cycle of the PWM performance. Here are some common issues that can occur
outputs. with line follower robots and how to troubleshoot them:
x. Use delay functions to set the duration of the motor
movements. • Sensor calibration issues: If the sensors are not
calibrated properly, the robot may not follow the
path accurately. To fix this issue, recalibrate the
sensors and adjust the code as necessary.
7.Working • Motor issues: If the motors are not functioning
properly, the robot may not move in a straight line.
Here we initialization of the DDR (Data Direction Register) To fix this issue, check the motors and wiring and
for the control pins of the motors, the timer registers, and replace any malfunctioning components.
the PWM waveform generator. The motor control pins are • Power issues: If the robot is not receiving enough
connected to the ports B and D of the microcontroller. The power, it may not function properly. To fix this
PWM signals are generated using Timer0 in Fast PWM issue, check the batteries and wiring and replace
mode. any malfunctioning components.

• Optimize the code: The code for the robot should


be optimized to reduce the processing time and
8. HARDWARE IMPLEMENTATION improve the accuracy of the robot.
• Test the robot: Before using the robot in a real-
Side view Bot connection world application, it is important to test the robot in
a controlled environment to ensure that it is
working properly.

10. CONCLUSION
Line follower robots have a wide range of potential
applications across various industries and settings. They
can be used for tasks such as material handling in
manufacturing. The performance of a line follower robot
Fig (4.1)(4.2) depends on factors such as the design and programming
of the robot, the environment it operates in, and the
Bot with track quality of its sensors. To optimize the performance of a
line follower robot, experiments and tests can be
conducted to evaluate its accuracy, speed, and stability.
The future of robotics line followers is bright, with new
technological advancements making them more
powerful, efficient, and cost-effective. As automation
continues to transform various industries, line-follower
robots will play an increasingly.

11. RECOURSES FOR FURTHER LEARNING


• Instructables: Instructables is a website that
provides step-by-step instructions for building
various projects, including line-following robots.

• YouTube: YouTube is a great resource for learning


about robotics and programming, and there are
countless videos that provide tutorials and
Fig (4.3) demonstrations of line-following robots.
9. RESULT AND DISCUSSION
The line or path-following robot can be implemented 12. FUTURE SCOPE
successfully. It runs over a specific path with the help of
sensors and specific logic used in the controller.
● Most of the helpful features are found throughout
The IR sensor is also working properly which helps the the line follower development process and
motor to move according to that. employed in our project. But some of them could
The major drawback of it is that the bot is not able to not be added due to time and money constraints.
follow the path if the path is having a rough surface. It is ● The following features can be added to our bot to
necessary to have a smooth. make it more useful:
● Colour sensor usage
● Use of a CCD camera to improve path tracking and
Tips for Building an Efficient Line-Follower Robot recognition.
● We could make a sturdier bot with a bigger and
faster motor if given more time.
Building an efficient line-follower robot requires attention
to detail and careful planning. Here are some tips to help ● This would help use the bot for educational,
you build an efficient line follower robot: industrial, commercial and agricultural processes.


• Use high-quality sensors: The sensors are the most REFERENCES
important component of a line-following robot, so
it is important to use high-quality sensors that are [1].Mohanraj D. Microcontroller Based An Autonomous
accurate and reliable. Wireless Line Tracking Robot. Int. J. Adv. Engg. Res.
• Choose the right chassis and frame: The chassis Studies/III/III/April- June.2014;102:105
and frame of the robot should be sturdy and [2]. Ebiesuwa, O. O., et a l. " Line follower robot using a
durable and should be able to support the weight of sophisticated sensor approach." (2013).
the sensors, motors, and batteries. [3]. Serrano Pérez E, Juárez López F. An ultra-low-cost line
follower robot aseducational tool for teaching programming

and circuit foundations.Computer Applications in [9]. "Arduino Based Line Follower Robot", by A. R.
Engineering Education. 2019 Mar;27(2):288- 302. Biswas, S. Ahmed, and M. R. Islam.
[4] How to make a line follower robot. Retrieved from [10]. "Design and Implementation of Line Following Robot
http://www.instructables. Com /id/ using Arduino Uno R3", by S. S. Pradhan, S. K. Nayak, and
[5] letsmakerobots.com S. S. Sahoo.
[6] alldatasheet.com [11]. "Design and Implementation of an Autonomous Line
[7]. "Design and Implementation of an Autonomous Line Follower Robot using Arduino Uno R3", by R. B. Anuragi,
Following Robot using Arduino Uno R3", by S. T. P. R. Kamble, and S. B. Bhosale.
Oguntoyinbo and O. B. Ogunmolu.
[8]. "Development of a Line Follower Robot using Arduino
Uno R3", by A. B. Patel and S. S. Patel.

You might also like