Introduction: Line Follower Robot Using Arduino

Picture of 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:

  1. INTRODUCTION
  2. COMPONENTS
  3. WORKING PRINCIPLE
  4. BLOCK DIAGRAM
  5. PROGRAMMING ON ARDUINO
  6. ADVANTAGES ,DISADVANTAGES AND APPLICATIONS
  7. SPECIAL DISCUSSION FOR T-POINT

  8. FOR ANY HELP CONTACT ....

Step 1: INTRODUCTION

Picture of 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

Picture of COMPONENTS

Step 3: WORKING PRINCIPLE

Picture of WORKING PRINCIPLE

Step 4: BLOCK DIAGRAM

Picture of BLOCK DIAGRAM

Step 5: PROGRAMMING ON ARDUINO

Picture of 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

Picture of ADVANTAGES,DISADVANTAGES AND APPLICATIONS

Step 7: SPECIAL DISCUSSION FOR T-POINT

Picture of SPECIAL DISCUSSION FOR T-POINT

USE INCRIMENTATION AND DECREMENTATION TECHNIQUES.

Step 8: FOR Any Help Write in Comment Section or Contact Me :shubham2ece@gmail.com

shubham kumar

shubham2ece

UIET,Punjab University

https://in.linkedin.com/in/shubham-kumar-746b84108

Comments

DivyanshS26 (author)2017-11-13

can I use a shield instead?

Ddoyd Brown (author)2017-04-18

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?

Ddoyd Brown (author)2017-04-15

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?

ShubhamK118 (author)Ddoyd Brown2017-04-15

It will work.if doesn't you can contact me.

ShubhamK118 (author)2017-02-20

Thanks sir

Maghnuma (author)2017-02-19

Nice instructable , thanks for sharing

About This Instructable

1,165views

9favorites

More by ShubhamK118:Wireless Crane Model (SMART BOT) With Spying Camera Over the Network(wifi or Hotspot)Line Follower Robot using ArduinoDigital IC Tester (for Industries and Engineering Colleges) by Shubham Kumar, PUSSGRC- UIETH,Panjab University
Add instructable to: