TCRT5000 IR reflective sensor module
Short-range IR reflective sensor that sees black lines on white.
What is the TCRT5000 IR reflective sensor module and what is it used for?
Short-range IR reflective sensor that sees black lines on white. Makers use it for line followers, counting objects.
An IR LED and phototransistor in one housing measure how much infrared light the surface reflects.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Reflected IR |
| Range | About 1 to 15 mm best, up to 25 mm |
| Interface | Digital (and analog on some modules) |
| Supply voltage | 3.3 to 5 V |
Pinout
How to use it
Mount it 2 to 10 mm above the surface. For line followers, use several modules in a row and read the analog outputs to find the line position.
Applications
Builds that use it
Line follower robot
Table-top robot that never falls off
Sumo robot with front ToF array
Optical tachometer
Fast PID line follower with 8 sensors
Mini sumo robot
Pendulum period with a photogate
ESP32-C3 RPM meter
Alternatives
- IR obstacle avoidance sensor moduleLonger range obstacle detection
Common questions
What is the TCRT5000 IR reflective sensor module used for?
In maker projects: line followers, counting objects.
How does the TCRT5000 IR reflective sensor module work?
An IR LED and phototransistor in one housing measure how much infrared light the surface reflects.
What voltage does the TCRT5000 IR reflective sensor module need?
3.3 to 5 V.
How do I connect the TCRT5000 IR reflective sensor module to an Arduino or ESP32?
Digital (and analog on some modules). Pins: VCC (3.3 to 5 V), GND (Ground), D0 (Digital, changes over black and white), A0 (Analog reflection level (on 4-pin modules)).
What can I use instead of the TCRT5000 IR reflective sensor module?
IR obstacle avoidance sensor module.
