LEGO Mindstorms Light Sensor(9844)
Detect light intensity!  The Light Sensor assists in helping your robot to "see." Using the NXT Brick (sold separately), it enables your robot to distinguish between light and dark, as well as determine the light intensity in a room or the light intensity of different colors.