Line Tracking Sensor Arduino Compatible
ARD2-2233
$6.50
QTY | Price |
---|---|
1 | $6.50 |
Description
This Arduino compatible infrared line tracking sensor is designed primarily to allow wheeled robots to follow lines. It can detect the white lines in black and black lines in white and can detect a more accurate and stable line.
The line tracking sensor module contains an IR infrared reflection sensor that can be used for line following and edge detection. It is comprised of an infrared transmitter/receiver pair emitting a certain IR frequency to detect reflectivity with high precision. The reflectivity threshold can be changed by adjusting the potentiometer, allowing you to set the sensitivity of the module. A LED indicator is provided to assist with debugging.
Test Code
int Led = 13; // define LED Interface
int buttonpin = 3; // define tracing sensor interface
int val; // define numeric variables val
void setup () {
pinMode (Led, OUTPUT); // define LED as output interface
pinMode (buttonpin, INPUT); // define tracing sensor output interface
}
void loop () {
val = digitalRead(buttonpin); // digital interface will be assigned a value of 3 to read val
// When the sensor detects a tracking signal, LED flashes
if (val == HIGH) {
digitalWrite(Led, HIGH);
}
else {
digitalWrite(Led, LOW);
}
}
Features
- Sense and track lines using infrared light
- Perfect for wheeled robots
Specifications
Supply Voltage
2.5-12.0VDC
Output
Active Low
Connector
3 pin header
Working Current
18-20mA @ 5.0VDC
Additional Features
Adjustable sensitivity; on-board LED
Colour
Black
Material
PCB
Resources
You Might Also Like
All prices are in Australian Dollars and include GST. GST will be removed from your order if you are ordering from outside Australia.
Products may differ from pictured.
All trademarks and trade names are the properties of their respective owners. Wiltronics disclaims any proprietary interest in trademarks and trade names other than its own.