

The KY033-TCTR5000 is an infrared obstacle avoidance sensor module designed to detect the presence of nearby objects using infrared light. It integrates an infrared emitter and a phototransistor to sense reflected infrared signals, enabling it to measure distance and detect obstacles. This module is widely used in robotics, automation, and object detection systems due to its reliability and ease of use.








The KY033-TCTR5000 module is built for simplicity and efficiency. Below are its key technical details:
| Parameter | Value |
|---|---|
| Operating Voltage | 3.3V to 5V |
| Operating Current | 20mA (typical) |
| Detection Range | 1mm to 25mm (adjustable) |
| Output Type | Digital (High/Low) |
| Infrared Wavelength | 950nm |
| Dimensions | 32mm x 14mm x 7mm |
| Adjustable Sensitivity | Yes (via onboard potentiometer) |
The KY033-TCTR5000 module has three pins for interfacing:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Connect to the positive power supply (3.3V to 5V). |
| 2 | GND | Connect to the ground of the power supply. |
| 3 | OUT | Digital output pin. Outputs LOW when an obstacle is detected, HIGH otherwise. |
VCC pin to a 3.3V or 5V power source and the GND pin to ground.OUT pin to a digital input pin of your microcontroller or logic circuit.Below is an example of how to connect and use the KY033-TCTR5000 with an Arduino UNO:
VCC pin of the KY033-TCTR5000 to the 5V pin of the Arduino.GND pin of the KY033-TCTR5000 to the GND pin of the Arduino.OUT pin of the KY033-TCTR5000 to digital pin 2 of the Arduino.// KY033-TCTR5000 Obstacle Detection Example
// Connect the OUT pin of the sensor to Arduino digital pin 2.
const int sensorPin = 2; // Pin connected to the KY033 OUT pin
const int ledPin = 13; // Built-in LED on Arduino for visual feedback
void setup() {
pinMode(sensorPin, INPUT); // Set sensor pin as input
pinMode(ledPin, OUTPUT); // Set LED pin as output
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int sensorValue = digitalRead(sensorPin); // Read the sensor output
if (sensorValue == LOW) {
// Obstacle detected
digitalWrite(ledPin, HIGH); // Turn on LED
Serial.println("Obstacle detected!");
} else {
// No obstacle
digitalWrite(ledPin, LOW); // Turn off LED
Serial.println("No obstacle.");
}
delay(100); // Small delay for stability
}
Sensor Not Detecting Obstacles
False Triggers
No Output Signal
Erratic Behavior
Q1: Can the KY033-TCTR5000 detect transparent objects?
A1: No, the sensor may struggle to detect transparent or highly reflective objects due to the way infrared light interacts with such surfaces.
Q2: What is the maximum detection range of the sensor?
A2: The sensor can detect objects within a range of 1mm to 25mm, depending on the sensitivity adjustment.
Q3: Can I use the KY033-TCTR5000 with a 3.3V microcontroller?
A3: Yes, the module is compatible with both 3.3V and 5V systems.
Q4: How do I know if the sensor is working?
A4: The onboard LED will light up when an obstacle is detected, and the OUT pin will output a LOW signal.