DIY a simple Line Follower Robot
A Line Follower machine is most probably the very first step of most of the students in the field of Autonomous Robotics. It is obvious that for best outcome; we need 3-4 sensors and a microcontroller. But dont worry if you are not familiar to microcontroller programming and designing. You can design your own Line Follower Robot without using any kind of programmable device like microcontroller. Belive me by some tricks, you can get the outcome nearly similar to that by using Microcontrollers. Here i am going to present a circuit which gives a very fine output for Black line follower. You can see the output in the video.
This robot uses two sensors, based on comparator, LDR & LED and a L293d Dual Hbridge to control motor direction.
As we are using two sensors we can get maximum of 4 output conditions as shown in table below.
Left Sensor |
Right Sensor |
Decision |
Action |
White (0) |
White (0) |
No Error |
Move Forward |
White (0) |
Black (1) |
Left Misalign |
Stop right motor |
Black (0) |
White (0) |
Right Misalign |
Stop Left Motor |
Black (1) |
Black (1) |
Not Possible |
Stop both motors |
How to make sensors ???
sensors are based on simple comparator logic. The IC used to make sensor modules is LM324 quad Op-Amp. sensor includes a transmitter section consist of a high intensity red LED with current limiting resistance of 330E.
Final circuit diagram using l293d and two sensors |
![]() |
For any problem contact me devesh@electroons.com
Comments
7 Comments on DIY a simple Line Follower Robot
-
Kartik on
Sat, 13th Feb 2010 5:49 am
-
admin on
Tue, 16th Feb 2010 6:07 am
-
Srijan Roy on
Fri, 26th Feb 2010 10:38 am
-
admin on
Sat, 27th Feb 2010 6:07 am
-
ankur on
Sun, 28th Feb 2010 4:27 pm
-
kunal on
Sun, 28th Feb 2010 9:54 pm
-
admin on
Mon, 1st Mar 2010 7:20 am
hey,,i want to know whether the circuit works if two black lines intersecting at right angles are kept in the track of the robo??please reply soon
no it wont. it all depends on which side your track is at right angle. I think it will work for either for one side (left or right). You need to do some tries. You can alter the conditions using the pull up and pull down resistances also
Does this works for 90 degree rotation too?
depends on your bot’s speed. For slow speed it my take 90 also. But usually it dont take 90.
will u please tell me the diffrence between avr studio 4 and win avr and also avr dude…………
can u send me a clear image of whole circt?????????
avr dude is compiler + simulator while winavr is compiler only.
Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!






