Line Follower Robot Tutorial

Line Follower ROBOT

Plermjai Inchuay, plermjai@loxinfo.co.th

Award winner from VingPeaw Competition 2543, the robot built with 2051, L293D, and four IR sensors. Simple circuit and platform, quick tracking and easy-understand program using C language.

bwy1248922513o Line Follower Robot Tutorial

I designed my robot, which use two motors control rear wheels and the single front wheel is free. It has 4-infrared sensors on the bottom for detect black tracking tape, when the sensors detected black color, output of comparator, LM324 is low logic and the other the output is high. Microcontroller AT89C2051 and H-Bridge driver L293D were used to control direction and speed of motor.

jdv1248922322y Line Follower Robot Tutorial

Fig 1. Circuit diagram of my Robot.

bfi1248922584n Line Follower Robot Tutorial
Fig 2. Circuit diagram of Infrared sensors and comparators.

viu1248922677p Line Follower Robot Tutorial
Fig 4. Position of sensors, left hand side is side view and right hand side is top view.

Software
Software for write to AT89C2051 is robot1.hex ,which was written by C-language ,the source code is robot1.c compiled by using MC51 in TINY model with my start up code robot.asm .MPEG files

Sample of competition between 2051 and 68HC11.

Source: www.kmitl.ac.th

Robotics is the branch of technology that deals with the design, construction, operation, structural disposition, manufacture and application of robots. Robotics is related to the sciences of electronics, engineering, mechanics mechatronics, and software
  Title :   Line Follower Robot Tutorial
  Category :   Electronics, Mechanics, Microcontroller, Programming, Robotics Tutorial, Sensors, Software.
  Tags :   Circuit diagram of line follower robot,  line follower,  line follower robot circuit,  line follower robot circuit diagram,  line follower robot project,  line follower robot tutorial,  line follower tutorial,  line following robot circuit,  line tracer tutorial,  line tracking,  robot,  robotics,  Robotics Tutorial,  tutorial, 
Robotics Short Story

The word robotics was derived from the word robot, which was introduced to the public by Czech writer Karel Čapek in his play R.U.R. (Rossum's Universal Robots), which premiered in 1921.

According to the Oxford English Dictionary, the word robotics was first used in print by Isaac Asimov, in his science fiction short story "Liar!", published in May 1941 in Astounding Science Fiction. Asimov was unaware that he was coining the term; since the science and technology of electrical devices is electronics, he assumed robotics already referred to the science and technology of robots. In some of Asimov's other works, he states that the first use of the word robotics was in his short story Runaround (Astounding Science Fiction, March 1942). However, the word robotics appears in "Liar!"

Posts related to Line Follower Robot Tutorial:


Comments

79 Responses to “Line Follower Robot Tutorial”
  1. Rakesh says:

    Hi!!!
    I want to code of heder file include in cprogram
    please reply on

    trivedi_rakesh4u@yahoo.co.in

  2. rakesh says:

    Hi,
    Which compiler use in your program and it is possible run on while line and black background.In your program 8051io.h and 8051reg.h added send me this header file in my email address.

    please reply……

  3. jonas says:

    may i have a pcb and diagram..?

  4. CK PATEL says:

    PLESE SEND ME CIRCUIT DIAGRAM OF LINE FOLLOWER ROBOT WHICH IS OPERATED BY COMPARATOR IC(OP-AMP) NOT CONTROLLER IC.

  5. robotic line follower using comparator says:

    plese send me the circuit diagram and working details of robotic line follower using comparator.

  6. KAPIL says:

    how much volt dc motors does it require…plz reply soon…

  7. lanstein says:

    Plz send me different techniques of programming Microcontroller AT89C2051

  8. chetan says:

    i want programing code for line follower robot.
    give me immidiatly,and help for that……..
    thankins for

  9. ramesh says:

    Hi!!!
    I want to cprogram codes
    please reply on
    rameshhardwaria@gmail.com

  10. ramesh says:

    hi i want to use at89s51 instead of AT89C2051.can i use this Microcontroller for the same circuit.
    please provide me assembly language program

    on
    rameshhardwaria@gmail.com

  11. ashok says:

    hay can u pls tell me how can we execute this code in c????
    send reply to this :ashok_92008@yahoo.com

  12. yogadada says:

    please tell me using l293b and ats9s52….

  13. ishu says:

    I would like to see a few program for line follower robots micro controller program,,,

  14. basu says:

    hey please can u help me by sending me the source code of this robot i am having my competition please immediatly

  15. the program source code already given on the post, please check…

  16. Siddharth says:

    Please mail me the circuit diagram of the line follower robot

  17. harish says:

    how do i embed pgm into circuit
    plz reply me @ yayiharish@yahoo.co.in

  18. keval says:

    pls give me source code of this project on vadiya_keval@yahoo.co.in

  19. Tathagata says:

    hi iam interested in line follower robot and i need the circuit diagram and also the code betails for the microcontroller,Can u send me those urgently
    my email tathagata21in@gmail.com

  20. Ali says:

    hi
    may i know what IC you used in this circuit???
    please send the code to my email
    carnp.com@gmail.com

    thanks alot

  21. pinku says:

    i wna trak white light on blue arena can sumbdy tell me whch sensor will be da best
    i nees diagram…
    plzz help me urgently

  22. simmi says:

    hi……i want assembly code for line follower using microcontroller. please send on my email id

  23. ben says:

    please on your circuit is it a dc or stepper motor? if it’s a dc motor can you use a 2 steppers motors instead of DC?

  24. ben says:

    my eamil is betrajack@yahoo.fr a quick answer will be helpfull

  25. sunny says:

    help me in making the line following robot

  26. nahid says:

    please send pgm for line follower i m looking for .

  27. pasan says:

    I want to c cordings for 16f84a line follower robot

  28. apoorva kumar singh says:

    iii like thats all robts …….

  29. M.Ahsan says:

    PLZ mail me circut diagram,assembly program,components required and their specifications on my email address asap.

  30. Amith S Bhat says:

    can i know how u simulated the code first using a suitable software??thanx in advance….

  31. i do not simulated the code… but i do “trial and error” the code on the line track using line follower robot… :)

  32. kishor says:

    plz send me assembly language program for above project

  33. just use SDCC to compile the C language to assembly language or hexadecimal.

  34. James Thangasamy says:

    Hi Team,

    I am looking for below programmer kit.

    MICROCONTROLLER ATMEL AT89C2051 COMPILER KIT MC51 in TINY model. (This done by Plermjai inchuay)

    Please advice the sources.

    Thanks.

    James

  35. Bhumika says:

    Dear Sir,

    Shall we use stepper motor in Line following Robot?

  36. please send the details of components to my e-mail.

  37. i think stepper motor not good for line follower. ..

  38. mani says:

    please give me the clear specification of which kind of motor you have used in your project

  39. Tius says:

    Halo mas.. dari Indo ya? Bisa kasih contoh yang pake ATMega8 nggak? Trims ya.

  40. madhura says:

    hey i want a code for line follower robot in microcontroller 8051 language??
    will any1 mail it to me….
    for 2 motors!!!

  41. Omer says:

    Hello!
    Where to start the basics of line tracking robots?
    Any website any book any thing?
    Kindly reply.

  42. Sharq says:

    hye..
    i doing a line follower based on 3 LED.
    i don’t know how construct the circuit.
    can anyone help me..
    Prince_DeviL90@yahoo.com

  43. 3 LED is too little for line follower, use at least 5 proximity sensors.

  44. Sim says:

    Hi, I am trying to build this but not sure the type of led transmitter and reciever to use. Also the 10v on the l293d confuse me. please help me. Saroeun_1@yahoo.com
    thanks

  45. ashish says:

    if we use P89V51RD2 microcontroller instead of AT89C2051 then this circuit will work or not??
    ple rpy.

  46. it will be work, but you should make some program changes.

  47. divyasushma says:

    plz send me all software programs used in the above projects plzzz,to my mail divyamudragada@gmail.com

  48. vince says:

    Can you send all software program to me? good_2882@yahoo.com.hk
    What is the program to use open the asm file? ASM51 X8051 medwin or etc?

  49. paramesh says:

    I am a beginner…Pls explain me the code u ve given…pls mail to paramesh282@ymail.com
    Also wat do u think abt using ATmega8 or AT89S52…

  50. hi says:

    hi what editer can i use for this c programm


Do you have any comments on Line Follower Robot Tutorial ?