The TCRT5000 Reflective Optical Sensor is a compact infrared proximity and reflectance sensor that combines an infrared emitting diode and a phototransistor in a single package.
Designed for short-range reflective detection, the sensor measures infrared light reflected from nearby surfaces. It is particularly useful for detecting differences between light and dark surfaces, making it suitable for line-following robots, object detection, position sensing, and automation projects.
The TCRT5000 features an integrated ambient light filter to help reduce interference from visible light and offers reliable performance when used at its recommended sensing distance of approximately 2.5mm.
Unlike ready-made sensor modules, this is the individual TCRT5000 sensor component, which requires external circuitry for operation.
Key Features
-
Reflective Infrared Detection: Detects objects and surface reflectivity without physical contact.
-
Integrated IR Emitter and Phototransistor: Combines the transmitter and receiver in one compact package.
-
950nm Infrared Wavelength: Uses near-infrared light for reflective sensing.
-
Recommended Sensing Distance: Approximately 2.5mm for optimal reflective detection.
-
Ambient Light Filter: Helps minimize interference from visible ambient light.
-
Analog Sensing Capability: Phototransistor current varies according to reflected infrared intensity.
-
Compact Through-Hole Design: Suitable for PCB integration and custom electronics.
-
Black-and-White Surface Detection: Ideal for robotic line-following applications.
-
Microcontroller Compatible: Can be interfaced with Arduino, ESP32, STM32, and Raspberry Pi using suitable external circuitry.
Technical Specifications
| Parameter |
Specification |
| Model |
TCRT5000 |
| Product Type |
Reflective Optical Sensor |
| Sensor Technology |
Infrared Reflective |
| IR Emitter |
Infrared LED |
| Receiver |
Phototransistor |
| Peak Emitter Wavelength |
950nm |
| Recommended Operating Distance |
2.5mm |
| Typical Collector Current |
Approximately 1mA under specified test conditions |
| Ambient Light Filter |
Integrated |
| Output Type |
Phototransistor Collector Current |
| Number of Pins |
4 |
| Mounting Type |
Through-Hole |
| Detection Method |
Reflected Infrared Light |
Pin Configuration
The TCRT5000 contains four electrical connections:
| Connection |
Function |
| LED Anode (+) |
Positive connection for the infrared emitter |
| LED Cathode (-) |
Negative connection for the infrared emitter |
| Phototransistor Collector |
Phototransistor output connection |
| Phototransistor Emitter |
Phototransistor reference connection |
Important: Refer to the manufacturer's pinout diagram before wiring. The component does not have VCC, GND, AO, or DO pins like a complete sensor module.
Arduino Connection Example
The TCRT5000 can be connected to an Arduino using a current-limiting resistor for the infrared LED and a load resistor for the phototransistor.
A typical circuit uses:
- Arduino 5V supply
- Current-limiting resistor for the IR LED
- Phototransistor load resistor
- Arduino analog input to measure the reflected signal
The Arduino can measure variations in reflected infrared light to distinguish between different surface reflectivities.
ESP32 Compatibility
The sensor can also be used with ESP32 development boards.
- Operate the sensing circuit from a suitable 3.3V supply.
- Use an appropriate resistor to limit infrared LED current.
- Connect the phototransistor sensing circuit to an ESP32 ADC input.
- Ensure the ADC input voltage remains within the ESP32's permitted range.
Applications
- Line-Following Robots
- Black-and-White Surface Detection
- Short-Range Object Detection
- Optical Position Sensing
- Reflective Encoders
- Automatic Counting Systems
- Robotic Navigation
- Educational Electronics
- Embedded Sensor Circuits
- DIY Automation Projects
Important Notes
-
This product is the individual TCRT5000 optical sensor, not a complete sensor module.
- External resistors and signal-conditioning circuitry are required.
- The sensor does not provide a direct digital HIGH/LOW output.
- The phototransistor produces a light-dependent current that must be converted into a suitable voltage for microcontroller input.
- Detection performance depends on distance, surface reflectivity, and ambient lighting.
- The recommended sensing distance is approximately 2.5mm.
- A current-limiting resistor is required for the infrared LED.
- Avoid exceeding the electrical ratings specified in the manufacturer's datasheet.
Package Includes