5 Channel IR Infrared CTRT5000 Line Detection Module
5-Channel IR (CTRT5000 / TCRT5000) Line Detection Module
What is it?
A 5-Channel IR Line Detection Module uses multiple reflective IR sensors (commonly based on TCRT5000 Reflective Optical Sensor) to detect black/white lines on a surface.
It's widely used in line-following robots and path detection systems.
How It Works
Each sensor pair contains:
IR LED (emitter) sends infrared light
Phototransistor (receiver) detects reflected light
Principle:
White surface reflects more IR HIGH signal
Black surface absorbs IR LOW signal
This difference allows the module to detect lines.
Pin Configuratio 3.3V 5V GND Ground OUT1OUT5 Digital outputs (for each sensor)
(Some modules also provide analog outputs, but most are digital)
Working Structure
[IR LED] emits light'Surface (black/white)[Phototransistor]Signal Conditioning (Comparator)Digital Output (HIGH/LOW)
Key Specifications
Number of sensors: 5 channels
Operating voltage: 3.3V 5V
Detection type: Reflective IR
Output: Digital (HIGH/LOW)
Adjustable sensitivity (via potentiometers)
Detection distance: ~210 mm
Output Behavior
Onboard Features
5 IR sensor pairs
5 comparators
5 potentiometers (for tuning sensitivity)
Indicator LEDs (for each channel)
Applications
Line-following robots
Path tracking systems
Autonomous vehicles (basic)
Conveyor belt tracking
Position sensing
Example Output (Robot on Line)
Surface | Output |
White | HIGH (1) |
Sensor | Output |
Leftmost | 1 |
Left | 0 |
Center | 0 |
Right | 1 |
Rightmost | 1 |
Robot adjusts direction based on this pattern
Advantages
Simple an>Multiple sensors for better accuracy
Limitations
Sensitive to ambient light
Requires proper calibration
Works best at close distance
Performance depends on surface contrast
Arduino Connection
VCC 5V
GND GND
OUT1OUT5 Digital pins (e.g., D2D6)
Example Use
Line-following robot:
Sensors read surface
Arduino processes pattern
Motors adjust direction accordingly
Practical Tips
Adjust potentiometers for consistent readings
Maintain proper height (~5mm from surface)
Use matte black tape for best results
Avoid shiny surfaces
IR Module vs Other Sensors
Detects | Surface color | Distance | Magnetic field |
Use | Line following | Obstacle | Magnetic detection |

