Line Follower Robot Using Arduino
by ShubhamK118 in Circuits > Arduino
4836 Views, 9 Favorites, 0 Comments
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 ....
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.
COMPONENTS
WORKING PRINCIPLE
BLOCK DIAGRAM
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);
}
}
ADVANTAGES,DISADVANTAGES AND APPLICATIONS
SPECIAL DISCUSSION FOR T-POINT
USE INCRIMENTATION AND DECREMENTATION TECHNIQUES.
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