Skip to main content
Free Delivery  ·  COD Available  ·  15-Day Returns
Pricio
Infrared Obstacle Avoidance Sensor Module — image 1
Hover to zoom

Infrared Obstacle Avoidance Sensor Module

5.02 ratings
361+ bought in past month
AI Summary
PIR / IR and Optical Sensor for everyday users

The Infrared Obstacle Avoidance Sensor Module is a value-for-money pir / ir and optical sensor designed for everyday users. It features Working Current (mA): More than 20mA and Operating Temperature (°C): -10 to 50 centigrade degree.

₹578
Free Shipping💵 COD Available

Available Offers

Free Delivery on this order. No minimum order value.

15-Day Easy Returns — hassle-free return & full refund.

Secure Payment — 100% safe checkout with UPI, Cards & Net Banking.

Total: ₹578
Buying tip: A smart budget buy — solid performance without breaking the bank.
Estimated delivery: 23 Aug6 Sept
Free Shipping
Pan India delivery
15-Day Returns
Hassle-free policy
Secure Payment
Razorpay protected
Quality Assured
Vetted products only

Available Offers

💳

5% Cashback

Pay with UPI & get 5% cashback (up to ₹50) via Razorpay

🏦

No-Cost EMI

Available on select bank cards at checkout. 0% interest for 3 months.

📦

Free Shipping

Free delivery on all orders. No minimum order value.

💵

Cash on Delivery

COD available on orders up to ₹5,000 across India.

Quick Specs

Working Current (mA): More than 20mA
Operating Temperature (°C): -10 to 50 centigrade degree
Distance Measure (cm): 2 - 40cm
IO interface: 4 line (- / + / S / EN)
Signal Output: TTL Level
Effective Angle: 35 degree

Ideal For

Electronics projectsArduino / Raspberry Pi buildsPrototyping
Share:
SKU: robu-362731Category: PIR / IR and Optical Sensor

About This Product

The Infrared Obstacle Avoidance Sensor Module is a value-for-money pir / ir and optical sensor designed for everyday users. It delivers reliable performance at an accessible price.

Key Specifications

  • Working Current (mA): More than 20mA
  • Operating Temperature (°C): -10 to 50 centigrade degree
  • Distance Measure (cm): 2 - 40cm
  • IO interface: 4 line (- / + / S / EN) — compatible with modern devices
  • Signal Output: TTL Level
  • Effective Angle: 35 degree
  • Weight (g): 5
  • Dimensions (L x W x H) mm: 40 x 16 x 11

Why Buy from Pricio?

Pricio sources this product directly, cutting out multiple middlemen. Every order includes free shipping, a 15-day return policy, and secure payment via Razorpay.

This Infrared Obstacle Avoidance Sensor Module is an inexpensive solution to avoidance detection for robotics and other electronics uses.

It comes as an assembled module, as shown above, there are only four pins: +5-volts, GND, output, and EN. Output is an active LOW and has an onboard status LED. It's very easy to interface directly with Arduino or other micro-controllers. It also works with the Raspberry Pi with a voltage range of 3-6 volts. Connect Vcc to 3-volts!

The enable pin "EN" will disable the device when HI (Vcc) and enable when LO (GND). The onboard jumper can be left open to allow external control of enable/disable of the module. I see no use for this function and would leave the jumper on and the pin disconnected. There are two potentiometers on the module one controlling operating frequency (centred at 38 kHz) the other controlling intensity. The detector was designed for 38 kHz and the onboard oscillator circuit is based on a 555 timer. Tweaking gives a little better range but I'd suggest leaving it alone because the useful range is narrow. It worked well as is. The maximum reliable range in my test was around 30-40 cm and depended on the type of material. A smooth white surface worked far better than a black or rough surface.


Sample Code:
int detector = 8; // define the obstacle avoidance sensor interface
int val ;
 
void setup ()
{
  pinMode(13, OUTPUT);     // Built in Arduino LED
  digitalWrite (13, LOW);
  pinMode (detector, INPUT) ;// define the obstacle avoidance sensor output interface
}
 
void loop ()
{
  val = digitalRead (detector) ;
  if (val == HIGH) // When the obstacle avoidance sensor detects a signal, LED flashes
  {
    digitalWrite (13, HIGH);
    delay(100);
  }
  else
  {
    digitalWrite (13, LOW);
    delay(100);
  }
}


Package Includes:

1 x Infrared Obstacle Avoidance Sensor Module

Setup Guide

1
Identify the pins
Locate VCC (power), GND (ground), and data pins (SDA/SCL for I2C, MOSI/MISO for SPI, or TX/RX for UART). Refer to the pinout diagram on the product page.
2
Wire to your microcontroller
Connect VCC to 3.3V or 5V (check the module spec), GND to GND, and data pins to the appropriate GPIO pins on your Arduino or Raspberry Pi.
3
Install libraries
In Arduino IDE, go to Sketch → Include Library → Manage Libraries and search for the sensor library. Install the recommended version.
4
Upload example sketch
Open File → Examples → [library name] → Basic Example. Upload to your board and open Serial Monitor to view output.
5
Calibrate if needed
Some sensors (temperature, humidity, distance) may need a short warm-up period or calibration. Run the calibration sketch if provided.