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

Hi!!!
I want to code of heder file include in cprogram
please reply on
trivedi_rakesh4u@yahoo.co.in
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……
may i have a pcb and diagram..?
PLESE SEND ME CIRCUIT DIAGRAM OF LINE FOLLOWER ROBOT WHICH IS OPERATED BY COMPARATOR IC(OP-AMP) NOT CONTROLLER IC.
plese send me the circuit diagram and working details of robotic line follower using comparator.
how much volt dc motors does it require…plz reply soon…
Plz send me different techniques of programming Microcontroller AT89C2051
i want programing code for line follower robot.
give me immidiatly,and help for that……..
thankins for
Hi!!!
I want to cprogram codes
please reply on
rameshhardwaria@gmail.com
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
hay can u pls tell me how can we execute this code in c????
send reply to this :ashok_92008@yahoo.com
please tell me using l293b and ats9s52….
I would like to see a few program for line follower robots micro controller program,,,
hey please can u help me by sending me the source code of this robot i am having my competition please immediatly
the program source code already given on the post, please check…
Please mail me the circuit diagram of the line follower robot
how do i embed pgm into circuit
plz reply me @ yayiharish@yahoo.co.in
pls give me source code of this project on vadiya_keval@yahoo.co.in
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
hi
may i know what IC you used in this circuit???
please send the code to my email
carnp.com@gmail.com
thanks alot
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
hi……i want assembly code for line follower using microcontroller. please send on my email id
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?
my eamil is betrajack@yahoo.fr a quick answer will be helpfull
help me in making the line following robot
please send pgm for line follower i m looking for .
I want to c cordings for 16f84a line follower robot
iii like thats all robts …….
PLZ mail me circut diagram,assembly program,components required and their specifications on my email address asap.
can i know how u simulated the code first using a suitable software??thanx in advance….
i do not simulated the code… but i do “trial and error” the code on the line track using line follower robot…
plz send me assembly language program for above project
just use SDCC to compile the C language to assembly language or hexadecimal.
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