$product_tour_enabled = et_builder_is_product_tour_enabled(); $page_container_style = $product_tour_enabled ? ' style="padding-top: 0px;"' : ''; ?>
012 030 1580   0 Items

Infrared Obstacle Avoidance Sensor module IR

R73.84 inc VAT

These sensors are often use for obstacle avoidance in robots. It uses infrared to detect obstacles.

22 in stock

Purchase this product now and earn 64 Bot Points!
SKU: irobst-286 Category:


Infrared Obstacle Avoidance Sensor Module

This Infrared Obstacle Avoidance Sensors Module has a builtin IR transmitter and IR receiver that sends out IR waves and then looks for the reflected IR waves to detect the presence of any objects in front of the sensor module. The module has an on board potentiometer that let users adjust the detection range. This sensor  can be used in light and complete darkness.

Infrared Obstacle Avoidance Sensors Module Features

  • There is an obstacle, the green indicator light on the circuit board
  • Detection distance: 2 ~ 30cm
  • Detection angle: 35 °
  • Comparator chip: LM393
  • 3mm screw holes for easy mounting

Arduino code

EXAMPLE CODE: // IR Collision Detection Module // Henry's Bench
int LED = 13; // Use the onboard Uno LED
int isObstaclePin = 7; // This is our input pin
int isObstacle = HIGH; // HIGH MEANS NO Object In Front Of Sensor

void setup() {
pinMode(LED, OUTPUT);
pinMode(isObstaclePin, INPUT);

void loop() {
isObstacle = digitalRead(isObstaclePin);
if (isObstacle == LOW) {
Serial.println("OBSTACLE!!, DETECTED!!");
digitalWrite(LED, HIGH);

else {
digitalWrite(LED, LOW);


There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.