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