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.
line follower.rar98 KB
Remove these ads by
Signing UpStep 1: The mechanics
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



































Visit Our Store »
Go Pro Today »




Do you have the C or assembly code(for understanding the code) other than hex for atemega 8?
http://dl.dropbox.com/u/16925058/Line%20Follower%20v2.rar
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.
http://www.geniusdevils.com/2013/01/wall-follower-robot-with-distance-sensor-and-microcontroller.html
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.
EMAIL: canutemark123@gmail.com
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