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.
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.
Fig 1. Circuit diagram of my Robot.
![]()
Fig 2. Circuit diagram of Infrared sensors and comparators.
![]()
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.
- movie1.mpg (1,303kB)
- movie2.mpg (373kB)
Source: www.kmitl.ac.th
Related posts:
- C-52EVB Robot Controller
C-52 EVB is simple robot experiment. Just need to build a 2 wheels robot with L293D H-Bridge driver ... - AVR Line Following Robot Tutorial
Block Diagram The robot uses IR sensors to sense the line, an array of 8 IR LEDs< (Tx) and senso... - Line Follower Robot Tutorial (ATMega8535)
Build your own line follower / line tracker robot…! Microcontroller : Atmel ATMega8535 Sensor: 6 p... - Super Tiny Line Follower Robot
Original post, visit this site: elm-chan.org Before read the rest article/tutorial, please watch the... - H-Bridge for your robot
H-Bridge is a must used for your robot to control the motors... the speed and the direction of each ...


12 Responses to “Line Follower Robot Tutorial”
Hi!!!
I want to code of heder file include in cprogram
please reply on
trivedi_rakesh4u@yahoo.co.in
By Rakesh on Jun 24, 2008
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……
By rakesh on Jul 10, 2008
may i have a pcb and diagram..?
By jonas on Nov 17, 2008
PLESE SEND ME CIRCUIT DIAGRAM OF LINE FOLLOWER ROBOT WHICH IS OPERATED BY COMPARATOR IC(OP-AMP) NOT CONTROLLER IC.
By CK PATEL on Mar 1, 2009
plese send me the circuit diagram and working details of robotic line follower using comparator.
By robotic line follower using comparator on Jul 28, 2009
how much volt dc motors does it require…plz reply soon…
By KAPIL on Jan 18, 2010
Plz send me different techniques of programming Microcontroller AT89C2051
By lanstein on Jan 29, 2010
i want programing code for line follower robot.
give me immidiatly,and help for that……..
thankins for
By chetan on Jan 30, 2010
Hi!!!
I want to cprogram codes
please reply on
rameshhardwaria@gmail.com
By ramesh on Feb 7, 2010
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
By ramesh on Feb 7, 2010
hay can u pls tell me how can we execute this code in c????
send reply to this :ashok_92008@yahoo.com
By ashok on Feb 20, 2010
please tell me using l293b and ats9s52….
By yogadada on Feb 25, 2010