The operation of this Robot is quite simple.

Infra-red sensors placed at the front of the chassis  will monitor when our Robot is over a black line or when it is over a white background.
In this project we will use the appropriate rounded chassis to the Robot.
In case the robot being on the black line, it will always go ahead, and in the case of out of line and fall into a white area, it will determine whether to correct to the left or right, and thus remain on the black line.

The sensors that will be used is  the array infrared sensor Pololu (also called reflectance sensors) QTRx8RC, that consists of eight sensors (only five are used) QRE1113GR.

This array has a digital output and can easily be managed using the appropriate library of Pololu, for determine the position of the line relative to the sensors.

This array of sensors can be broken in a array with 6 sensors and another with 2 sensors.
For more information about the sensors array , visit:


In this first project, we will use a raw control for our robot, ie we are concerned to keep the robot following the line ...
The Robot will run in a track and we will note that the motions of the robot will be somewhat "robotic", ie: not very smooth, but jerky.

See http://arduinobymyself.blogspot.com.br for more projects.

Step 1: The Track

The track will be made of a piece of white cardstock and black electrical tape.
The bend ought to a minimum diameter 6" or greater.
Below we have two examples of track
<p>Hello,</p><p>Can you send me the code Please, I'm Very interested</p><p>My email is fedi.gasmi@esprit.tn</p><p>Thank you</p>
<p>this is my email id plz send me the liabrary and code </p><p>anughadage007@gtmail.com</p>
<p>Hi,</p><p>Can you send me the code Please, I'm Very interested </p><p>My email is darika_0808@yahoo.com </p><p>Thank you</p>
<p>Hi, </p><p>Can you send me the code Please, I'm Very interested !</p><p>My email is : frtareco@yahoo.fr</p><p>Thanks a lot !</p>
can u send me the code please?!<br>my email is : Omar.baalbaki.2001@gmail.com
<p>Hello,</p><p>sketch_aug25b:14: error: 'BUTTON_PULLUP_INTERNAL' was not declared in this scope</p><p>'BUTTON_PULLUP_INTERNAL' was not declared in this scope</p><p>how can i fix this one.</p><p>email: geilson.rm@hotmail.com</p>
<p>hello sir, I have a issue saying </p><p>sketch_aug25b:14: error: 'BUTTON_PULLUP_INTERNAL' was not declared in this scope</p><p>'BUTTON_PULLUP_INTERNAL' was not declared in this scope</p><p>how can i fix this one.<br>my email address is : ano.tech2@gmail.com</p>
<p>Sir this is an awesome project,</p><p>May i have the code and the libraries for this project.</p><p>ano.tech2@gmail.com</p><p>Thank you</p>
Can you please send me the code and library for the line follower robot you built? I'm still on the learning stage and this would help me a lot.<br>I've send an request via email which is shafayat.ahmed24@gmail.com. <br>Thanks in advance.
<p>,hello , can you please send me the code on</p><p>ibra86heem@yahoo.com </p>
Hi Ibraheem,<br><br>Request the ocde and libraries by sending an email to arduinobymyself@gmail.com<br><br>Regards<br><br>Marcelo Moraes
<p>for coding:</p><p>http://ismrobotics.blogspot.in</p>
<p>Hello, can you please send me the code on nandevbundhoo@gmail.com</p>
Hi,<br>As you have requested, the code and libraries are sent for you.<br>Check your email inbox, please.<br><br>Greetings
<p>Hello BIGDOG1971 and or Nandev, could one of you send me the libraries for this project. Much appreciated. </p>
<p>Very nice project! ,hello , can you please send me the code on mustafaaaakin35@hotmail.com </p>
<p>You zip tied the motors to the chassis? I am looking for a way to fix it to the chassis</p>
Hi Achand8,<br>Yes, in a first instance, I zipped and tied the motors to the chassis but after I glued the motors to the chassis (in the acrylic version).<br><br>I hope I have helped you. <br><br>Feel free to send me comments/questions/problems.<br><br>Best Regards<br><br><br>Marcelo Moraes <br>arduinobymyself.blogspot.com.br <br>arduinobymyself@gmail.com
<p>I am trying to make this one from scratch and I want mine to go fast like 3pi, around 400 rpm. I am looking for better ways to mount to motors to the acrylic. Something like this! </p>
<p>Send me an email and I will provide you the &quot;.ino&quot; file.</p><p> mortezaab100@gmail.com</p>
Interesting but getting to the download of software is a nightmare, can you just add the *ino to the pdf??
Send me an email and I will provide you the &quot;.ino&quot; file. <br> <br>marcelo.moraes.1971@gmail.com <br> <br>Cheers. <br>
Have a look at a new concept - A wall follower robot <br> <br>http://www.geniusdevils.com/2013/01/wall-follower-robot-with-distance-sensor-and-microcontroller.html
Wonderful report bear in mind, I am significantly contemplating one thing such as an online affiliate segment alone internet site &shy; so very regular article. <br> <br>http://cpr-sj.com

About This Instructable




Bio: I am 43 years old and I live in Brazil. I am a Telecommunication / Electronics Engineer. Sixteen years acting in the industry of "Telecommunication and ... More »
More by BIGDOG1971:Arduino Propeller Message Display (POV) ARDUINO By Myself Mini-CNC (Plotter) ROVER Bot - The Arduino Bluetooth Controlled Tank 
Add instructable to: