• New



This IR reflective sensor module uses TCRT5000 IR sensor to detect color (black to white difference) and distances (1mm~25mm). This sensor module consists of an IR transmitter and an IR receiver. The IR transmitter continuously emits an IR signal which is then reflected by an obstacle and then detected by the IR receiver.


If you have any questions on this product please feel free to contact us.

*Disclaimer: The images are merely illustrative.

TCRT5000 Infrared Reflective Sensor Module is often used in line following robots, object sorting Robots because this module can sense if a surface is white or black. The measuring distance range from 1mm to 8mm and the central point is about 2.5mm.

There is also an onboard potentiometer to adjust the sensitivity. The infrared diode will be emitting the infrared continually when the module is powered ON, when the emitted infrared light has not been reflected or the strength is not big enough, the receiver diode will in the off state and output pin i.e. DO will be LOW.


  1. Meter pulse data sampling
  2. Fax paper shredders detection
  3. Obstacle detection
  4. Black and white line detection


  1. Designed with the reflected infrared sensor, indicator light.
  2. Built in a potentiometer for sensitivity control.
  3. On-board LM393 voltage comparator chip and infrared sensing probe TCRT5000L
  4. Onboard signal output instructions, the output is the highly effective signal at the same time, the indicator lamp light output signal can be directly and single-chip microcomputer IO connection & middot
  5. Signal detection sensitivity can be adjust
  6. A fixed bolt hole, convenient installation.
  7. Operating voltage 3.3V - 5V
  8. PCB size 3.2cm x 1.4cm

Ex code:

// for Arduino microcontroller
const int digital_pin = 7;
const int analog_pin = A0;

// for ESP8266 microcontroller
//const int digital_pin = D7;
//const int analog_pin = A0;

// for ESP32 microcontroller
//const int digital_pin = 4;
//const int analog_pin = 0;

void setup(){

void loop(){
  Serial.print("Analog Reading=");
  Serial.print("\t Digital Reading=");


You might also like