Introduction
The DFRobot Line Tracking Sensor for Arduino can detect the white lines against a black backdrop and black lines against a white backdrop. The single line-tracking signals can provide a stable TTL output signal to esnure accuracy and reliability.Optionally, a multi-channel mix is easy to install with the necessary line-tracking robot sensors.
- Version Update The best distance between objects such as the ground and the sensor is 1-2 cm. V5 removes the variable resistor and is therefore easier to use now.
Specification
- Power supply: 3.3~5V
- Detecting Range: 1~2cm
- Operating current: <10mA
- Operating temperature range: 0°C ~ + 50°C
- Output interface: 3-wire interface (1 - signal, 2 - power, 3 - power supply negative)
- Output: TTL(Black for LOW output, White for HIGH output)
- Module Size: 10mm×28mm (1.1x 0.4 in)
- Module Weight: About 10g
Tutorial
Connection Diagram
Sample Code
///Arduino Sample Code
void setup()
{
Serial.begin(9600);
}
void loop()
{
Serial.println(digitalRead(2)); // print the data from the sensor
delay(500);
}
FAQ
Q&A | Some general Arduino Problems/FAQ/Tips |
---|---|
A | For any questions, advice or cool ideas to share, please visit the DFRobot Forum. |