


TCRT5000 Infrared Sensor
A detailed guide on the TCRT5000 Infrared Sensor, including pinout, working principles, and applications.
TCRT5000 Sensor Overview
The **TCRT5000** is an infrared sensor that combines an infrared emitter (LED) and a phototransistor in a single package. It is commonly used for proximity sensing, line-following robots, and other applications that require object detection or reflective surface detection. This sensor is capable of detecting objects within a specific range using reflected infrared light.
Pinout of TCRT5000
The TCRT5000 has 3 pins, each with a specific function that allows you to interface with the sensor. Below is the pinout of the TCRT5000 infrared sensor:

Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | The positive power supply pin (usually +5V). |
2 | OUT | The output pin that provides the sensor’s reading (analog or digital signal depending on configuration). |
3 | GND | The ground pin for the sensor. |
4 | LED | The infrared LED pin, which emits infrared light for detection purposes. |
Working Principle
The **TCRT5000** works by emitting infrared light from the LED, which is then reflected by an object back toward the phototransistor. When the amount of reflected infrared light hits the phototransistor, it activates the transistor, causing it to change its state. The output pin then provides either a high or low signal, depending on the presence and proximity of the object. This output signal can be read by a microcontroller, such as an Arduino, for further processing.
Applications
- Used in line-following robots for detecting lines or edges.
- Used for proximity sensing in various robotic applications.
- Can be used for object detection in automated systems.
- Ideal for obstacle detection in security systems.
- Used in encoders to detect the position of rotating parts.
Advantages of TCRT5000
- Compact and easy-to-use sensor for a variety of applications.
- Low cost, making it suitable for DIY electronics projects.
- High reliability and accuracy in detecting objects.
- Can be easily interfaced with microcontrollers like Arduino and Raspberry Pi.
- Efficient power consumption and long service life.