Infrared Obstacle Avoidance Sensor Module


SKU:
  1. Detection distance: 2-40cm
  2. IO Interface: 4-wire interfaces (- / + / S / EN)
  3. Output signal: TTL level
  4. Adjustment: adjust multi-turn resistance
  5. Effective angle: 35 °

₹  (Incl. GST)


Free Delivery above ₹499
Free Delivery
above ₹499
Cash On delivery
Cash on Delivery*

Didn’t find what you are looking for?

Brand: Generic
Category: PIR / IR and Optical Sensor

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

Based on 0 reviews

0.0 overall
0
0
0
0
0

Be the first to review “Infrared Obstacle Avoidance Sensor Module”

There are no reviews yet.

Questions and answers of the customers

    The sample code given by you is Wrong
  1. 0 votes
    Q The sample code given by you is Wrong answer now
    Asked by Anonymous user on February 27, 2024 12:53 pm
    A Thank you for your information. we will check the ... Read more
  2. does this sensor need micro controler or it can wo... Read more
  3. 0 votes
    Q does this sensor need micro controler or it can work without that answer now
    Asked by Anonymous user on May 26, 2021 6:31 am
    A Yes, this sensor require microcontroller to operat... Read more
  4. I am getting a maximum range of 3cm. How to get a ... Read more
  5. 0 votes
    Q I am getting a maximum range of 3cm. How to get a 40cm range? answer now
    Asked by Anonymous user on December 18, 2020 4:18 pm
    A Remove jumper. Use enable signal. Drive enable to ... Read more
  6. how to set 32.9khz
  7. 0 votes
    Q how to set 32.9khz answer now
    Asked by Anonymous user on June 18, 2020 11:05 am
    A To set an Infrared Obstacle Avoidance Sensor toÂ... Read more
Only registered users are eligible to enter questions
Country Of Origin: China