TCRT5000 IR Sensor Module
📡 TCRT5000 IR Sensor Module
Reflective Infrared Sensor • Object Detection • Line Tracking
The TCRT5000 IR Sensor Module is a reflective infrared sensor used to detect objects, surfaces, and line markings. It consists of an infrared LED transmitter and a phototransistor receiver in one package.
The sensor works by emitting infrared light and detecting the reflected light from nearby objects or surfaces. It is widely used in line-following robots, object detection systems, and position sensing applications.
📊 Infographic Overview
🔹 Basic Specifications
| Feature | Details |
|---|---|
| 🔌 Operating Voltage | 3.3V – 5V |
| ⚡ Operating Current | ~20 mA |
| 📡 Detection Distance | 2 – 25 mm |
| 🔍 Detection Type | Reflective Infrared |
| ⚙ Output Type | Digital (D0) & Analog (A0) |
| 🔧 Sensitivity Adjustment | Yes (Potentiometer) |
🧩 Main Components
| Component | Description |
|---|---|
| 🔴 IR Transmitter LED | Emits infrared light |
| ⚫ IR Phototransistor | Detects reflected IR light |
| ⚙ Comparator IC (LM393) | Converts analog signal to digital output |
| 🔧 Sensitivity Potentiometer | Adjusts detection sensitivity |
| 💡 Indicator LEDs | Shows power and detection status |
🔌 Pin Configuration
| Pin | Function |
|---|---|
| VCC | Power supply (3.3V–5V) |
| GND | Ground |
| D0 | Digital output |
| A0 | Analog output |
⚙️ Working Principle
The sensor works using infrared reflection detection.
Step-by-Step Operation
1️⃣ The IR LED emits infrared light toward a surface.
2️⃣ If an object or surface is present, the light reflects back.
3️⃣ The phototransistor receives the reflected light.
4️⃣ Signal strength changes depending on the surface color and distance.
5️⃣ The module outputs analog or digital signals.
📐 Sensor Structure
TCRT5000 IR Sensor
IR LED → → → →
─────────►
Surface / Object
◄─────────
Phototransistor
┌───────────────────┐
│ Comparator IC │
│ Sensitivity Adj │
└───────────────────┘
VCC GND A0 D0
🤖 Common Applications
🤖 Line follower robots
📦 Object detection systems
📄 Paper detection in printers
🚗 Speed detection sensors
📏 Position and proximity sensing
🔌 Compatible Microcontrollers
The module can easily interface with:
Arduino Uno
Arduino Nano
ESP32
Raspberry Pi
📊 Surface Detection Example
| Surface Color | Reflection | Detection |
|---|---|---|
| ⚪ White Surface | High reflection | Strong signal |
| ⚫ Black Surface | Low reflection | Weak signal |
This property makes the sensor ideal for line-following robots.
💡 Advantages
✅ Compact and low-cost sensor
✅ Fast response time
✅ Adjustable sensitivity
✅ Both analog and digital outputs
✅ Perfect for robotics applications
⚠️ Limitations
❌ Short detection range
❌ Performance affected by ambient light
❌ Surface color influences readings
🔧 Example DIY Project
🤖 Line Following Robot
Components
TCRT5000 IR Sensor Module
Arduino Uno
Motor driver module
Robot chassis
Working
✔ Sensor detects black line on white surface
✔ Arduino processes sensor data
✔ Robot adjusts motor direction to follow the line
