Skip to main content

Menu

IR Obstacle Avoidance Module Arduino Compatible

ARD2-2232
IR Obstacle Avoidance Module

$6.95

QTYPrice
1 $6.95

Description

This Arduino-compatible infrared sensor is perfect for allowing robots to avoid obstacles. The sensor is comprised of an infrared transmitter/receiver pair emitting a certain IR frequency to detect obstacles with high precision. The detection range can be set between 2-40cm by adjusting the potentiometers.

Test Code

int Led = 13; // define LED Interface
int buttonpin = 3; // define the obstacle avoidance sensor interface
int val; // define numeric variables val

void setup () {
pinMode(Led, OUTPUT); // define LED as output interface
pinMode(buttonpin, INPUT); // define the obstacle avoidance sensor output interface
}

void loop () {
val = digitalRead(buttonpin); // digital interface will be assigned a value of 3 to read val

// When the obstacle avoidance sensor detects a signal, LED flashes
if (val == HIGH) {
digitalWrite(Led, HIGH);
}
else {
digitalWrite(Led, LOW);
}
}

Features

  • Detect infrared light
  • Applications include home appliances, education etc.

Specifications

Operating Voltage

3.3-5.0V

Operating Current

>20mA

Operating Temperature

-10°C - +50°C

Detection Distance

2-40cm

IO Interface

4-wire interface (GND/+/OUT/EN)

Output Signal

TTL level (low level when obstacle detected, high level when no obstacle detected)

Adjustment

Multi-turn resistance potentiometer

Effective Angle

35°

Weight

9g

Dimensions

Length (mm)

42

Width (mm)

27

Height (mm)

18

Resources

You Might Also Like

All prices are in Australian Dollars and include GST. GST will be removed from your order if you are ordering from outside Australia.
Products may differ from pictured.
All trademarks and trade names are the properties of their respective owners. Wiltronics disclaims any proprietary interest in trademarks and trade names other than its own.

IR Obstacle Avoidance Module Arduino Compatible

ARD2-2232

$6.95

We use cookies to ensure you have the best experience on our site. If you continue to use this site you consent to the use of these cookies. OK

Find out more in our Privacy Policy