IR Infrared 4 Channels Obstacle Avoidance Sensor Module Kit

AED 26.25



The IR Infrared 4 Channels Obstacle Avoidance Sensor Module Kit is a versatile solution designed for robots to navigate and avoid obstacles. Featuring four infrared sensors, it excels in intelligent tracking and black-and-white line recognition tasks. The module detects obstacles in the robot's path, facilitating direction changes to prevent collisions. Its four IR channels provide a broad field of view for accurate obstacle detection from multiple directions. Additionally, it offers black-and-white line recognition by detecting the contrast between a black line and a white surface, enabling precise path following. Ideal for autonomous vehicles and mobile robots, this module is easily integrated into a robot's control system, customizable for various applications and environments.


  • Multi-functional infrared detection system for obstacle avoidance, line tracking, and black and white line tracking
  • Adaptable to ambient light, with a pair of infrared transmitting and receiving tubes
  • Each channel sensor emits infrared and detects reflected infrared energy to identify obstacles
  • The closer distance performance is more stable, white reflection point farthest.
  • The detection distance is adjustable


  • Operating voltage: DC 3.3 V to 5 V
  • Operating current: >1A
  • Operating temperature: -10 - +50 Deg C
  • Install the aperture: M3 screws
  • The detection distance: 1 mm - 60 CM
  • Dimension: 44 x 40 x 12 Mm (L x W x H) - Central plate
  • Dimension: 25 x 12 x 12 Mm (L x W x H) - Small plate forward


  • Autonomous vehicles: The sensor module can be used in self-driving cars, drones, or other autonomous vehicles to detect obstacles and avoid collisions, enhancing their safety and navigation capabilities.
  • Mobile robots: The module can be integrated into mobile robots for obstacle avoidance, allowing them to navigate complex environments and avoid obstacles such as furniture, walls, or other objects in their path.
  • Line following robots: The module's black and white line recognition capabilities make it suitable for line following robots, commonly used in industrial automation, warehouse logistics, or even in educational robotics projects.
  • Home automation: The module can be utilized in smart home systems to enable robots or other devices to navigate around obstacles while performing tasks such as vacuuming, mopping, or delivery services.
  • Industrial automation: The module can be used in industrial automation systems to help robots or vehicles navigate safely around obstacles, enhancing their efficiency and productivity in manufacturing, warehousing, or logistics environments.
  • Education: The module can be incorporated into educational robotics projects to teach students about obstacle avoidance and line recognition concepts, and to develop their skills in designing and building intelligent robotic systems.
  • Research and development: The module can be used by researchers and developers for prototyping and testing of robotic systems, enabling them to implement obstacle avoidance and line recognition functionality in their projects.
  • Outdoor robotics: The module's infrared sensors can also be utilized in outdoor robotic applications, such as autonomous lawnmowers, drones, or agricultural robots, to navigate around obstacles in outdoor environments.

Pin Connections:

Screen Shot 2023-04-05 at 6 25 33 AM

Package Includes:

  • 1 x set (hollow plate 1 + small forward plate 4)
  • 2 x 20cm dupont line 18 for easy wiring

Sample Project:


  • Required Materials:
    • Arduino UNO R3 × 1
    • 4 Channel IR Obstacle Avoidance Proximity Module × 1
    • Male to Male jumper wire × 1
    • Male to Female jumper wire × 1
  • Interfacing with Arduino:

Screen Shot 2023-04-05 at 6 26 21 AM


  • No external library is required for this module to work.


// constants won't change. They're used here to set pin numbers:
const int sensor1 = 2;

int val = 0;

void setup()
    pinMode(sensor1, INPUT);

void loop()
    val = digitalRead(sensor1);