DIY a simple Line Follower Robot

October 15, 2009 by admin
Filed under: electronics 

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.sensor

lighttx


Final circuit diagram using l293d and two sensors

linefollower

For any problem contact me devesh@electroons.com

DSCN0353DSCN0360

Comments

7 Comments on DIY a simple Line Follower Robot

  1. Kartik on Sat, 13th Feb 2010 5:49 am
  2. 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

  3. admin on Tue, 16th Feb 2010 6:07 am
  4. 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

  5. Srijan Roy on Fri, 26th Feb 2010 10:38 am
  6. Does this works for 90 degree rotation too?

  7. admin on Sat, 27th Feb 2010 6:07 am
  8. depends on your bot’s speed. For slow speed it my take 90 also. But usually it dont take 90.

  9. ankur on Sun, 28th Feb 2010 4:27 pm
  10. will u please tell me the diffrence between avr studio 4 and win avr and also avr dude…………

  11. kunal on Sun, 28th Feb 2010 9:54 pm
  12. can u send me a clear image of whole circt?????????

  13. admin on Mon, 1st Mar 2010 7:20 am
  14. 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!





Anti-Spam Protection by WP-SpamFree