TCRT5000 Reflective IR Sensor – Line Follower and Proximity
TCRT5000 Reflective IR Optical Sensor – 5V Analog Line Follower & Proximity Detector
The TCRT5000 is a reflective optical sensor module that combines an infrared LED and a phototransistor in a compact package. It detects objects or surface reflectivity by emitting IR light and measuring the amount reflected back. This module provides both analog and digital outputs, making it ideal for line-following robots, proximity switches, and edge detection in DIY electronics projects.
Key Specifications
| Specification | Value |
|---|---|
| Sensor Type | TCRT5000 reflective optical (IR LED + phototransistor) |
| Operating Voltage | 3.3V – 5V DC |
| Detection Range | 1mm to 8mm (adjustable via potentiometer) |
| Output Signal | Digital (TTL) and analog (0–5V) |
| Indicator LED | Red LED lights on digital HIGH |
| Module Dimensions | 35mm × 10mm |
What You Can Build With This
- Line-follower robot for competitions or educational robotics
- Proximity-based automatic hand sanitizer or soap dispenser
- Object counter for conveyor belts or door entry systems
- Edge detector for CNC machines or 3D printer bed leveling
Compatibility
The module works with any 3.3V or 5V microcontroller, including Arduino Uno, Nano, Mega, ESP8266, ESP32, and Raspberry Pi (using an ADC). It pairs commonly with motor drivers like L298N or L293D for building complete line-following robots.
Wiring Notes
Connect VCC to 5V (or 3.3V), GND to ground, and the analog output (AOUT) to an ADC pin for precise proximity readings. For digital output, connect DOUT to a GPIO and adjust the onboard potentiometer to set the threshold distance where the output goes HIGH. No external pull-up resistors are required.
Why Buy from Compoden
Every component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.
Is this compatible with Arduino Uno?
Yes, it works directly with Arduino Uno. Connect VCC to 5V, GND to GND, and AOUT to any analog pin (A0-A5) for analog sensing.
How do I adjust the detection distance?
Turn the blue potentiometer on the module clockwise to increase the threshold (detect farther objects) or counterclockwise to decrease it. The digital output LED helps indicate when the threshold is crossed.
Can it distinguish between black and white lines?
Absolutely. Black surfaces absorb IR light, while white surfaces reflect it. The analog output voltage changes significantly, making it perfect for line-following applications.
📦 Free Setup Handoff Document Included
Every Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.
Ask Soldr above what you can build with this — it knows every Compoden kit this part appears in.
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items