Introduction: Line Follower Robot Using Arduino
let's make a line follower ;
guys just follow the index and at last you will have your own line follower robot.
INDEX:
- INTRODUCTION
- COMPONENTS
- WORKING PRINCIPLE
- BLOCK DIAGRAM
- PROGRAMMING ON ARDUINO
- ADVANTAGES ,DISADVANTAGES AND APPLICATIONS
SPECIAL DISCUSSION FOR T-POINT
FOR ANY HELP CONTACT ....
Step 1: INTRODUCTION
A robot is a machine capable of carrying out a complex series of actions automatically,especially one programmable by a computer.A robot is programmed based on the requirement.for a line follower robot we programme the robot according to the line or track,keeping in mind of T point ,most line follower faces dificulties at T points.
Line following Robot is a machine that can follow a path.The path can be visible like a black line on a white surface or it can be invisible like a magnetic field.
Sensing a line and maneuvering the robot to stay on track,while constantly correcting wrong moves using feedback mechanism forms a simple yet effective closed loop system.
Step 2: COMPONENTS
Step 3: WORKING PRINCIPLE
Step 4: BLOCK DIAGRAM
Step 5: PROGRAMMING ON ARDUINO
Here two programme is given we can use any of these two based on our application.
PROGRAMME 1:
PROGRAMME 2:
void setup()
{
Serial.begin(9600);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
pinMode(11,OUTPUT);
pinMode(12,OUTPUT);
}
void loop()
{
int a= analogRead(A0);
int b=analogRead(A1);
if (a>500 && b>500)
{
digitalWrite(8,1);
digitalWrite(9,0);
digitalWrite(11,1);
digitalWrite(12,0);
}
else if (a>500 && b<500)
{
digitalWrite(8,1);
digitalWrite(9,0);
digitalWrite(11,0);
digitalWrite(12,1);
}
else if (a<500 && b>500)
{
digitalWrite(8,0);
digitalWrite(9,1);
digitalWrite(11,1);
digitalWrite(12,0);
}
else
{
digitalWrite(8,0);
digitalWrite(9,0);
digitalWrite(11,0);
digitalWrite(12,0);
}
}
Step 6: ADVANTAGES,DISADVANTAGES AND APPLICATIONS
Step 7: SPECIAL DISCUSSION FOR T-POINT
USE INCRIMENTATION AND DECREMENTATION TECHNIQUES.
Step 8: FOR Any Help Write in Comment Section or Contact Me :shubh2ai@gmail.com
shubham kumar
UIET,Punjab University
https://in.linkedin.com/in/shubham-kumar-746b84108
https://github.com/shubh2ai

Participated in the
Sensors Contest 2017
7 Comments
4 years ago on Step 7
can you guide me with this.... please hurry up
6 years ago
can I use a shield instead?
6 years ago
Hi,
i have tried it so far, but nothing until now. i have only changed the numbers. I have send you a pic of how my robot is connected so far. I have four sensors on my robot but am trying to make two work first. In order for me to take it to the next level.
Could you help me out?
6 years ago
hi,
I have been searching for days now for a code that works with my line robot but i haven't got true as yet. I hope that this code works with mines. I copied it and paste it into my arduino so far.
I only had to change the code to the pins that i used. But i am still afraid that its not going to work.
Is it possible to contact you if it does not function?
Reply 6 years ago
It will work.if doesn't you can contact me.
6 years ago
Thanks sir
6 years ago
Nice instructable , thanks for sharing