HOW LINE FOLLOWER ROBOT WORKS?
The concept of the line follower robot is related to the transmitting and receiving of light. The white colour reflects all the light that falls on it whereas the black colour absorbs all the light.
In this line follower robot, we have used IR transmitters and receivers ( also known as photodiodes). When IR light falls on a white surface, it gets reflected back towards the IR receiver, generating some voltage changes that are analyzed by the Arduino.
When IR light falls on a black surface, it gets absorbed by the black surface, and no rays are reflected back thus, the IR receiver doesn’t receive any rays.
In this project, when the IR sensor senses a white surface, an Arduino gets HIGH as input, and when it senses a black line, an Arduino gets LOW as input. Based on these inputs, an Arduino Uno provides the proper output to control the line follower.
Component List:
1x Arduino Board (R3 UNO)
1x –A to micro-USB cable
1x 2wheel Car chassis
1x L298 motor driver module
2x IR sensor module
2x 18650 battery
1x 2s holder
1x battery charger
1xOn-Off- Switch
Connecting wire
jumper cables
Code and Diagram:https://github.com/un0038998/LineFollowerRobot