A collection of line follower projects .Some of these are without microcontroller. Most of these are with atmega8 (www.atmel.com),PIC. we mostly use Codevision and Keil. a discussion of sensor array and the motors differential drive steering

Monday, February 11, 2008

Line follower Robot











I was started 2 years ago. searched in google get a no of pages on this topic. But i cann't get sufficient data anywhere. I was unknown about the Microcontrollers.I hav just little knowledge about electronics and programming.
A line follower can be made without microcontroller also. SENSORS:The LFROBO uses 2 or more sensors tw see the line .The sensors are optical sensors i.e. LDR or photo diode/transistor(Better to use TSOP Demodulator)LOGIC:The data collected by the sensors can be processed through a programmed micro controller or logic circuits.






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.
Microcontrollor 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.ccompiled 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)

No comments: