Skip to main content
PartAndStock
Blog

What Is the TCRT5000? Reflective IR Sensor: Specs and Uses

October 29, 2026 4 min read
Quick answer

The TCRT5000 is a reflective optical sensor combining an IR LED and a phototransistor. It measures the infrared reflected from a nearby surface to distinguish black/white or object presence; it is used in line-following robots and encoders. Its optimum range is very short (~1–8 mm); the module has an LM393 comparator + pot for a digital (DO) and an analog (AO) output.

The TCRT5000 is a reflective optical sensor that combines an infrared LED and a phototransistor in one body. It measures the infrared reflected from a nearby surface to distinguish objects/colors (black vs white). For the concept, see what is a sensor.

What is the TCRT5000 used for?

Line-following robots (black line/white floor), encoders/lap counters, object presence and proximity detection. A white surface reflects a lot (high signal), black reflects little (low signal); the line/object is detected from this difference.

Connection

Raw TCRT5000: IR LED (anode/cathode) + phototransistor (collector/emitter), driven with resistors. Its ready module has an LM393 comparator + pot for a digital (DO) output plus an analog (AO) output.

Specifications

ParameterValue
TypeReflective IR optical sensor
Optimum distance~1–8 mm (very short range)
Output (module)Analog (AO) + digital (DO, LM393)

Watch out

Its range is very short (mm scale); for long distance use the HC-SR04 or an IR distance sensor. Ambient light and surface color/gloss affect the result; set the threshold (pot) in the environment.

Equivalents

  • CNY70: a similar reflective optical sensor.
  • QRE1113: an optical sensor for line following.
  • GP2Y0A21: a long-range IR distance sensor (a different class).

Find it in our catalog

Use the TCRT5000 search.

Frequently Asked Questions

What is the TCRT5000?+
The TCRT5000 is a reflective optical sensor that combines an IR LED and a phototransistor. It measures the infrared reflected from a nearby surface to tell black from white or detect object presence; it is common in line-following robots.
What is the TCRT5000's range?+
Very short (~1–8 mm optimum). For long distance you need sensors like the HC-SR04 (ultrasonic) or the GP2Y0A21 (IR distance).
How does the TCRT5000 module work?+
The module has an LM393 comparator + pot: the analog (AO) gives the reflection signal, while the digital (DO) goes HIGH/LOW when the pot threshold is crossed. Set the threshold in the environment.
How is the TCRT5000 used for line following?+
A white floor reflects a lot, a black line reflects little; the sensor reads this difference. With several TCRT5000s the robot's position relative to the line is determined.
What is a TCRT5000 equivalent?+
The similar CNY70/QRE1113; the GP2Y0A21 for long range (a different class).