Step 9: The Sensor
These sensors put out an analog voltage based on how much IR light is being reflected back. We can use these to detect the white and black areas on the maze. The sensor outputs a low voltage near 0V if the sensor detects a white surface. The sensor outputs a voltage near VIN if it detects a dark surface.