Skip to Content

Line Follower 1 Channel Infrared Tracking Detection Sensor On the Front TCRT5000 With 1 Pot

The TCRT5000 1-Channel Line Follower Sensor Module is an infrared tracking and detection sensor designed for line-following robots and other robotics applications. It uses an onboard infrared LED and phototransistor to detect differences in surface reflectivity, making it suitable for distinguishing between dark and light surfaces. The module features a digital output and an adjustable potentiometer that allows the detection sensitivity to be adjusted according to the working surface and environmental conditions. When properly configured, the sensor typically outputs LOW when detecting a black or dark line and HIGH when detecting a white or highly reflective surface.

Its compact design, indicator LED, and mounting hole make the module easy to integrate into line-following robots, educational projects, and general surface detection systems.

Package Includes

  • 1 × TCRT5000 1-Channel Infrared Line Follower Sensor Module


Line Follower Sensor Module
9.45 AED 9.45 AED (Tax included)

Terms and Conditions
30-day money-back guarantee
Shipping: 2-3 Business Days

 

Features

  • Uses a TCRT5000 infrared reflective optical sensor
  • Designed for line tracking and surface detection applications
  • Digital output for direct connection to a microcontroller
  • Adjustable detection sensitivity using an onboard potentiometer
  • Typically outputs LOW when detecting a dark or black surface
  • Typically outputs HIGH when detecting a light or white surface
  • Infrared detection method helps detect differences in surface reflectivity
  • Fast response suitable for moving robots
  • Built-in indicator LED for visual status indication
  • Pre-drilled mounting hole for easy installation
  • Compact design suitable for robotics projects
  • Compatible with Arduino and other microcontrollers
  • No Arduino library required

Principle of Operation

The module operates using the reflective infrared sensing principle. The infrared LED continuously emits infrared light toward the surface in front of the sensor. The TCRT5000 phototransistor detects the amount of infrared light reflected back from the surface.

TCRT5000 Infrared Reflective Sensor: Working Principle, Circuit & Arduino  Code – Easyelecmodule

A light or white surface generally reflects more infrared light, while a dark or black surface reflects less. The onboard comparator circuit processes the reflected light level and produces a digital output signal. The onboard potentiometer allows the switching threshold to be adjusted. This is useful because the reflected infrared level can vary depending on the distance between the sensor and the surface, the material being detected, and ambient lighting conditions.

In a line-following robot, the sensor is usually mounted facing downward. As the robot moves, the microcontroller reads the sensor output and adjusts the motors according to whether the sensor detects the line or the surrounding surface.

Applications

  • Line-following robots
  • Educational robotics projects
  • Surface and contrast detection
  • Path tracking systems
  • Simple object and proximity detection projects
  • DIY automation projects
  • Position detection systems
  • Arduino and microcontroller experiments

Pinout

The TCRT5000 line follower module uses a simple three-pin interface.

Pin Function Description
V+ Power Supply Connect to the module power supply, typically 5V
G Ground Connect to the common ground of the circuit
S Digital Output Digital detection signal to the microcontroller

Wiring

The sensor can be connected directly to an Arduino using the following example wiring.

TCRT5000 Module Arduino Function
V+ 5V Power supply
G GND Common ground
S D7 Digital sensor output

Arduino Test Code

No additional library is required. The following code reads the digital output from the sensor connected to Arduino digital pin D7 and displays the result in the Serial Monitor.

const int digital_pin = 7;

void setup() {
  Serial.begin(9600);
  pinMode(digital_pin, INPUT);
}

void loop() {
  Serial.print("Digital Reading = ");
  Serial.println(digitalRead(digital_pin));

  delay(1000);
}

Specifications

Sensor Type TCRT5000 Infrared Reflective Sensor
Number of Channels 1
Operating Voltage 5V DC
Operating Current Approximately 20mA
Output Type Digital
Output Logic LOW for dark surfaces and HIGH for light surfaces, depending on sensitivity adjustment
Sensitivity Adjustment Onboard potentiometer
Infrared Wavelength Approximately 940nm
Response Time Approximately 500μs
Operating Temperature -20°C to +85°C
Mounting PCB mounting hole

Resources