Line Following Sensor

 

measures light or dark; it is used to determine whether or not the robot is on the line that it is following.