TCRT5000 Reflective Sensor - for Obstacle Detection

TCRT5000 optical (reflective) sensor module with comparator, detecting obstacles with high accuracy. The ideal sensor for obstacle detection for installation in smart robots.
Application
line detector in Line Follower robots
shaft position sensor for encoder
as a limit switch
ground color detection (black / white)
Technical data
Universal reflection sensor (optical). The transmitter is the IR diode and the receiver is the photo transistor (TCRT5000 set).
Thanks to the use of a comparator, the module has a binary output (D0) with a low (0V) or high (5V - supply voltage) logic level.
The sensor can detect an object at a distance of up to 12mm.
The module has an output: digital
Power supply: 3.3V - 5V
Range: 1mm - 25mm
Current consumption max 20mA
Working temperature 10-30 * C
Connector: Goldpin header, spacing 2.54mm
Dimensions: 30 x 10 mm
Pinout
digital (binary D0),
Vcc power supply (+ 3.3V - 5V)
GND (0V ground)