
Reading Sensors • Chapter 4 67
Reading colors is a very common application for light sensors.We already
explained that the sensor doesn’t actually read colors, rather it reads the reflected
light. For this reason, it’s hard to tell a black brick from a blue one. But, for now,
let’s continue to use the expression reading colors, now that you know what’s really
behind the reading.
Line Following
Probably the most widespread usage of the light sensor is to make the robot read
lines or marks on the floor where it moves.This is a way to provide artificial
www.syngress.com
suitable for that particular kind of sensor. For example, readings from
touch sensors become ...