Description
Reflective Infrared Optical Proximity Sensor Module TCRT5000 for Arduino 950mm 5V 3A
Schema
TCRT5000 photoelectric sensor module infrared photoelectric sensor in TCRT5000 reflective infrared photoelectric switch. The sensor uses a high-power infrared transmission photodiode and a high-sensitivity output signal from a phototransistor thanks to the Schmitt trigger circuit shaping, stable and reliable.
applications:
1 watt-hour impulse data sampling
2 machine fax paper shredder detection
3 obstacle detection
Black and white line detection
Basic parameters:
Dimensions: length 32mm ~ 37 mm; width 7.5 mm; thickness 5 mm
Operating voltage: DC 3 V ~ 5.5 V recommended operating voltage of 5 V
Detection distance: 1mm ~ 8mm applicable, focal length of 2.5mm
We have datasheets available for all components, should it not be present in the product download sheet, send us a message through the contact us form and we will publish it as soon as possible on our website.
Tutorial: How to Use the TCRT5000 Proximity Sensor
The TCRT5000 proximity sensor is an optical device that emits and receives infrared signals to detect objects up to 950mm. Ideal for Arduino projects where contactless distance detection is required.
What you need
- Arduino
- USB Cable
- Connect to PC
- Arduino IDE Software
Steps
- Connect the sensor to the Arduino board using jumper wires, following the pinout table of the TCRT5000 module (VCC to 5V, GND to GND, OUT to a digital pin of the Arduino).
- Open the Arduino IDE and create a new sketch.
- Insert the provided code to read the state of the sensor’s output.
- Compile and upload the program to the Arduino.
- Check that the LED on the detector lights up when there are objects nearby.
- Change the detection range by altering the pin values or signal strength.
- Test different materials to see how the detector reacts.
- Adapt the sketch to a specific project.
Example code
const int sensorPin = 2; // collega l'uscita del sensore al pin digitale 2
void setup() {
pinMode(sensorPin, INPUT);
}
void loop() {
if (digitalRead(sensorPin) == HIGH) {
Serial.println("Oggetto vicino");
} else {
Serial.println("Nessun oggetto");
}
}
Mini project
Create a home security system that sends a notification when someone approaches a specific point. Use the TCRT5000 detector to sense movements and a WiFi or Ethernet module to send notifications.
Common mistakes
- Do not verify the correct power supply of the detector
- Use a detection range beyond 950mm
- Omit the GND connection
- Ignore the orientation of the detector relative to the object
Recommended accessories
- Arduino Uno R3
- ESP8266 WiFi Module
- 3D printer to build a protective case
- Various jumper connections
Frequently asked questions
Does the detector work only with Arduino?
No, it can be used with any microcontroller that supports digital signals.
What is the maximum detection distance?
Check the TCRT5000 sensor datasheet for the exact distance.








Reviews
There are no reviews yet.