SENS-36 Line Tracking IR Reflective Sensor
It a line tracking sensor that is super simple to interface with Arduino microcontrollers. It has three wires that use GND, 5v and Signal which can be connected to the digital pins of the Arduino. This device will result back a value of either 1 or 0. 1 means the sensor is not reflecting on any light surfaces and considered on the black line, 0 means it is on a reflective surface such as a white paper. You can adjust the tolerance of the range by turning the potentiometer clockwise for decreasing the sensitivity or counter clockwise to increase it. Get two or more and create a fuzzy loop logic program to stabilize your line tracking.
Specifications:
Supply voltage: 5V
1: is on black line
0: is on white paper
Examples:
void setup()
{
Serial.begin(9600);
}
void loop()
{
Serial.println(digitalRead(2)); // print the data from the sensor
delay(500);
}
Connect to signal to pin 2 on Arduino.