Skip to Content

Infrared IR Obstacle Avoidance Sensor Module – 3 Pin

🚗 Infrared IR Obstacle Avoidance Sensor Module – 3 Pin

The IR Obstacle Avoidance Sensor is a compact and easy-to-use sensor that detects the presence of objects or walls in front of it using infrared light reflection. Widely used in robotics, line-following cars, and automatic door systems, this module helps your project detect and avoid obstacles in real time.

⚙️ Technical Specifications

ParameterValue
Operating Voltage3.3V – 5V DC
Detection Range2 cm – 30 cm (adjustable)
Interface3 pins (VCC, GND, OUT)
Output TypeDigital (HIGH/LOW)
IR Wavelength~850–940 nm
AdjustmentSensitivity via onboard potentiometer
Dimensions~3.1 cm × 1.5 cm

📌 Pinout

PinDescription
VCC+5V supply
GNDGround
OUTDigital output (LOW when obstacle is detected)

🛠️ Applications

  • Obstacle detection for robots

  • Line-following cars

  • Proximity sensors

  • DIY automation projects

  • Security and alarm systems

🎮 Arduino Sample Code

int sensorPin = 2; // IR sensor connected to digital pin 2 int ledPin = 13; // On-board LED for indication void setup() { pinMode(sensorPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600); } void loop() { int sensorValue = digitalRead(sensorPin); if (sensorValue == LOW) { // Obstacle detected digitalWrite(ledPin, HIGH); Serial.println("Obstacle!"); } else { digitalWrite(ledPin, LOW); Serial.println("Clear"); } delay(200); }

🎥 YouTube Tutorial

📺 IR Obstacle Sensor with Arduino

45.00 LE 45.00 LE

This combination does not exist.

Sensor