Line Follower Robot

 by nbibest
HPIM0377.JPG
HPIM0376.JPG
     This is my second Line Follower Robot and as its name suggest, it is a robot whose purpose is following a line. This robot can be used in contests where a robot must follow a route delimited by a black line on a white background in the shortest time possible.
     This robot is really simple to make and then you can use this platform for other purposes.
     Below is a video of the robot running on a track similar to one used in contests.

 
Remove these adsRemove these ads by Signing Up

Step 1: The mechanics

body.png
The MOTORS:

     The motors I used for this robot are 2 servomotors modified for speed. You can also use other motor if it' s good enough... I didn't have any so I modded 2 servomotors.

HOW TO MOD THE SERVOMOTORS (look at the pictures)

1. Remove the four screws from the servo and take it all apart.
2. Remove the electronics keeping only the wires from the motor (I kept the other 3 wires from the potentiometer but you don't have to).
3. Try to fit the gears except for one. I glued the big gear to the one beneath it so as to be high enogh to "get out" of the case. It isn't exactly a rule for how to do this... various servos will have various gears so you will need to try until you will find the best "combination".
4. Put everything toghether.


The BODY (look at the picture):

   
 The base of the robot is made of PCB cutted to the properly size.
You will also need 5 screws:
     - 2 for putting together the front and the base of the robot
     - one for lifting the sensors off the ground (you can use something else here, if you have)
     - 2 for lifting and fixing the microcontroller PCB

bhanuka10 says: Apr 10, 2013. 8:17 AM
what is the program you used to draw the pcb ?
Do you have the C or assembly code(for understanding the code) other than hex for atemega 8?
rch5 says: Feb 4, 2013. 3:54 AM
Plzz tell me about its programing and also pcb!
nbibest (author) in reply to rch5Mar 14, 2013. 2:19 PM
http://dl.dropbox.com/u/16925058/Line%20Follower%20v2.rar
vinodkp says: Dec 30, 2012. 11:00 PM
thanks for such good i'ble, Please put the PCB layout for us to diy
nbibest (author) in reply to vinodkpMar 14, 2013. 2:19 PM
http://dl.dropbox.com/u/16925058/Line%20Follower%20v2.rar
disheet says: Feb 22, 2013. 6:40 PM
plzzzz send me high speed line follower robot details like circuit diagram,component,etc.
nbibest (author) in reply to disheetMar 14, 2013. 2:19 PM
Here. Everything you need.
http://dl.dropbox.com/u/16925058/Line%20Follower%20v2.rar
prithvinath says: Mar 14, 2013. 8:34 AM
prithvi.nath3@gmail.com
nbibest (author) in reply to prithvinathMar 14, 2013. 2:17 PM
Hello, thank you for your interest in my robot. And sorry for the late answer.

J5 and J6 is just a switch. J7 is used for connecting to battery, so when J5 is not shorted to J6, the circuit is open and the robot is stopped.
prithvinath says: Mar 14, 2013. 8:33 AM
PLZ MAIL ME USE OF J5 , J6
prithvinath says: Mar 10, 2013. 9:50 AM
in the circuit diagram explain the terminals j5,j6 etc
GeniusDevils says: Feb 27, 2013. 1:38 AM
Have a look at a new concept - A wall follower robot

http://www.geniusdevils.com/2013/01/wall-follower-robot-with-distance-sensor-and-microcontroller.html
agupta52 says: Feb 19, 2013. 9:18 AM
If i want to use arduino for this, how will the schematic change please tell
msalamti says: Feb 10, 2013. 12:26 AM
well done
enrrsell says: Sep 23, 2012. 4:14 PM
how are those components connected on the PCB layout. it will be great if its visible. tnx
svasu1 says: Aug 24, 2012. 11:18 PM
Why do you use the 6-pin SIL in the circuit?
nbibest (author) in reply to svasu1Aug 25, 2012. 1:19 AM
It's for programming. I have built an USBasp programmer and that's my "standard" for programming :D
svasu1 in reply to nbibestAug 27, 2012. 10:30 AM
k..den i wont hav that in my circuit..coz i wanna keep it simple..
Bro.. it would be nice if you send me the schematic for the sensor too..coz i wanna make some modifications...nd u hav only uploaded the design
you can upload it here or mail it to me at
sureshv2212@gmail.com. Thanks.
canutemark says: Jun 23, 2012. 2:35 AM
plsssssssss can i have the connecting circuit diagrme. send it to me.

EMAIL: canutemark123@gmail.com

canutemark says: Jun 22, 2012. 6:27 AM
can u please give me the circuit diagrame. plsssssssssssssssssss. im still a kid
rohaanzahid says: Apr 13, 2012. 1:55 AM
I have make this project through your guidance just what to know what was your
ir sensor reading on black and white line mine was approx 2v on shinny black and 4.6 volt on shinny white what distance you keep from surface to sensors.also what rpm of motor do you use?

ALSO please tell what does variable nr do in your program?

EMAIL:muhammadrohaan@hotmail.com
spankeerrrrrrr says: Jan 31, 2012. 9:33 AM
türk ?
bakermiro says: Dec 13, 2011. 10:44 AM
www.myrobot.ru
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!