PDF instruction:
LineFollower.pdf
This model adds the optical sensor to the 3-Wheel Base pointing downward, which allows it to sense lines on the ground or follow the edge of a line. Three sample programs are provided: A utility program that allows you to easily measure the brightness that the sensor sees, a program to drive around and stay inside an area marked with lines on the ground, and a program to follow the edge of a straight or gently curving/angled line.