1. Product Overview
The WWZMDiB IR Infrared Obstacle Avoidance Sensor Module is a reflective photoelectric sensor designed for various applications such as robot obstacle avoidance, smart car navigation, assembly line counting, and black and white line tracking. This module provides a digital output indicating the presence or absence of an obstacle within its detection range.
Package Contents
- 6 x Photoelectric Reflection Sensor Infrared Pairing Modules
- 10 x Male to Female Jumper Wires (21cm/8 inches)
- 10 x Female to Female Jumper Wires (21cm/8 inches)


2. Specifications
| Feature | Specification |
|---|---|
| Operating Voltage | 3.3V - 5V (3.3V Recommended) |
| Detection Angle | 35° |
| Detection Distance | 2cm - 30cm (Adjustable) |
| Output Type | Digital (High/Low Level) |
| Dimensions (PCB Circuit Board) | 45mm (Length) x 14mm (Width) x 7mm (Height) |
| Weight | Approximately 0.03 kg per module |

3. Setup and Wiring
The IR Obstacle Avoidance Sensor Module features a 3-pin interface for easy connection to microcontrollers like Arduino, ESP32, or Raspberry Pi. The pins are typically labeled VCC, GND, and OUT.
Pin Description:
- VCC: Power supply input (3.3V - 5V). 3.3V is recommended for optimal performance.
- GND: Ground connection.
- OUT: Digital output pin. Connect this to a GPIO port on your development board or microcontroller.
Wiring Instructions:
- Connect the VCC pin of the sensor module to the 3.3V or 5V power supply of your microcontroller.
- Connect the GND pin of the sensor module to the Ground pin of your microcontroller.
- Connect the OUT pin of the sensor module to a digital input pin on your microcontroller.

Adjusting Detection Distance:
The module includes an adjustable potentiometer (a small blue component with a screw) to fine-tune the detection distance.
- To increase the detection distance, turn the potentiometer clockwise.
- To decrease the detection distance, turn the potentiometer counter-clockwise.
4. Operating Principles and Indicators
The sensor operates by emitting infrared light from its transmitting tube (white lamp) and detecting reflections with its receiving tube (black lamp). The integrated comparator circuit processes the received signal to determine the presence of an obstacle.
Indicator Lights:
- Power Indicator: This light is always on when the module is powered.
- Output Indicator: This light illuminates when an obstacle is detected within the set range.
Output Behavior:
- When no obstacle is detected (distance is far), the output indicator light is off, and the OUT pin outputs a HIGH logic level.
- When an obstacle is detected (distance is short), the output indicator light is on, and the OUT pin outputs a LOW logic level.
- When encountering a black obstacle, the black receiving lamp may not receive reflected infrared light effectively. In this scenario, the output indicator will be off, and the OUT pin will output a HIGH logic level, similar to when no obstacle is present.


5. Maintenance
To ensure the longevity and reliable operation of your IR sensor modules, follow these maintenance guidelines:
- Keep Clean: Regularly clean the infrared emitter (white lamp) and receiver (black lamp) lenses with a soft, dry cloth to prevent dust or debris from affecting detection accuracy.
- Avoid Extreme Conditions: Do not expose the modules to excessive moisture, extreme temperatures, or direct sunlight for prolonged periods, as this can degrade performance or cause damage.
- Handle with Care: Avoid dropping or subjecting the modules to strong mechanical shocks.
- Proper Storage: When not in use, store the modules in a dry, anti-static environment.
6. Troubleshooting
If you encounter issues with your IR Obstacle Avoidance Sensor Module, consider the following troubleshooting steps:
- No Power Indicator Light:
Possible Cause: Incorrect power connection or insufficient voltage.
Solution: Verify that VCC and GND are correctly connected and that the power supply is within the 3.3V-5V range. Ensure the power source is active. - Sensor Not Detecting Obstacles:
Possible Cause 1: Detection distance is set too short.
Solution 1: Adjust the potentiometer clockwise to increase the detection range. Test with various distances.
Possible Cause 2: Obstacle material (e.g., black surfaces) absorbs infrared light.
Solution 2: Infrared sensors may struggle with black or highly absorbent surfaces. Consider using a different sensor type for such materials if consistent detection is critical.
Possible Cause 3: Emitter/receiver lenses are dirty or obstructed.
Solution 3: Clean the lenses carefully with a soft cloth. - Sensor Always Triggered (Output Always LOW) or False Positives:
Possible Cause 1: Detection distance is set too long, or ambient light interference.
Solution 1: Adjust the potentiometer counter-clockwise to decrease the detection range. Test in different lighting conditions. Strong ambient light, especially direct sunlight, can continuously trigger the output even without an object. This module is best suited for indoor or low-light environments.
Possible Cause 2: An object is permanently within the detection range.
Solution 2: Ensure the sensor's field of view is clear when no detection is desired. - Inconsistent Readings:
Possible Cause: Unstable power supply or electrical noise.
Solution: Ensure a stable power supply. Add a small capacitor (e.g., 0.1uF) across VCC and GND near the sensor to filter noise if necessary.
7. Warranty and Support
WWZMDiB products are designed for reliability and performance. For any technical assistance, questions, or concerns regarding your IR Infrared Obstacle Avoidance Sensor Module, please refer to the seller's support channels on the platform where the product was purchased. Please retain your proof of purchase for any warranty claims.
For additional resources and product information, you may visit the WWZMDiB Store.