Line Follower Sensor TCRT5000 Tracking
🚗 TCRT5000 Line Tracking Sensor Module – IR Reflective Sensor
The TCRT5000 Line Follower Sensor is a compact and reliable infrared reflective sensor module used in line-following robots, edge detection, and object presence sensing. It combines an infrared LED and phototransistor in a single package to detect the reflectivity of surfaces—perfect for black/white line tracking on most types of floor.
⚙️ Technical Specifications
Parameter | Specification |
---|---|
IR Emitter | 950 nm infrared LED |
IR Receiver | Phototransistor |
Operating Voltage | 3.3V to 5V DC |
Output Type | Digital (LOW = line detected) |
Detection Distance | 2 mm to 15 mm (adjustable) |
Sensitivity | Adjustable via onboard potentiometer |
PCB Dimensions | ~3 cm × 1.5 cm |
Mounting Holes | Yes |
📌 Pinout (3-Pin Module)
Pin | Function |
---|---|
VCC | +5V supply |
GND | Ground |
OUT | Digital Output (LOW on black line) |
🛠️ Applications
Line follower robots
Position detection systems
Conveyor belt edge sensors
Speed measurement (with encoder disc)
Object counting and sorting
🧪 Arduino Sample Code
int sensorPin = 2; int ledPin = 13; void setup() { pinMode(sensorPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600); } void loop() { int value = digitalRead(sensorPin); if (value == LOW) { Serial.println("Black Line Detected"); digitalWrite(ledPin, HIGH); } else { Serial.println("No Line"); digitalWrite(ledPin, LOW); } delay(100); }