Infrared Obstacle Avoidance IR Sensor Module is a high-sensitivity reflective infrared obstacle detection sensor board designed for autonomous robotics collision avoidance, black-and-white line tracking, automated part counting, and touchless dispensing. Integrating an infrared emitting LED diode and an optical phototransistor receiver pair alongside an onboard LM393 differential voltage comparator, this sensor detects obstacles within an adjustable distance of 2cm to 30cm. Specifically, when an approaching target reflects the transmitted infrared beam back into the phototransistor, the internal comparator trips, driving the digital output pin active-low and illuminating an onboard green indicator LED. Furthermore, an onboard multi-turn trimmer potentiometer allows convenient sensitivity calibration to accommodate varying ambient lighting conditions and contrasting surface textures. Consequently, this module operates reliably across 3.3V to 5.0V DC logic systems, interfacing directly with Arduino, ESP32, STM32, and Raspberry Pi GPIO pins.
Key Features:
- Reflective Optical Infrared Pair: Forward-facing matched emitter and phototransistor deliver reliable short-range proximity detection.
- Onboard LM393 Voltage Comparator: Ensures sharp, glitch-free TTL digital switching transitions with high electrical noise immunity.
- Adjustable 2cm to 30cm Detection Range: Multi-turn precision trimmer potentiometer enables fine calibration of the detection threshold.
- Dual LED Status Indicators: Onboard power LED and active-low detection feedback LED provide immediate visual alignment diagnostics.
- Broad 3.3V to 5V Compatibility: Directly compatible with low-power 3.3V microcontrollers as well as standard 5V Arduino development boards.
Technical Specifications:
- Operating Voltage: 3.3V to 5.0V DC
- Operating Current: 15mA to 20mA (typical)
- Detection Range: 2cm to 30cm (optimal detection at 5cm to 10cm)
- Detection Angle: ≈ 35° effective conical field of view
- Output Signal: Digital Active-Low TTL (0V when obstacle detected, VCC when clear)
- Comparator IC: LM393 Dual Differential Voltage Comparator
- Operating Temperature Range: -10°C to +50°C
Mechanical Specifications:
- PCB Material: FR-4 Industrial Flame Retardant Glass Epoxy PCB
- Mounting Hole: 1 × 3.0mm diameter mechanical securing hole for chassis fastening
- Connector Header: Standard 3-pin or 4-pin 2.54mm pitch male terminal header
- Optical Alignment: Parallel horizontal orientation with protective heat-shrink optical shielding sleeves
Dimensions:
- Overall Board Length: 32.0mm
- Overall Board Width: 14.0mm
- Overall Height: 12.0mm (including LED height)
- Module Weight: ≈ 3.5g
Pinout and Wiring:
- VCC: Connect to positive DC power supply (+3.3V to +5.0V DC).
- GND: Connect to system ground reference (0V).
- OUT: Digital active-low output pin (connect to MCU digital input pin with internal pull-up enabled).
Datasheet Reference:
- Consult comparator switching characteristics and electrical thresholds in the Texas Instruments LM393 Dual Differential Comparator Datasheet PDF.
Commonly Used in:
- Autonomous 2WD and 4WD robotic mobile chassis obstacle collision avoidance.
- Automated packaging conveyor item presence and carton counter systems.
- Contactless automatic hand sanitizer dispensers and public restroom faucets.
- STEM student robotics competition rovers and labyrinth maze runners.
Applications:
- Robotic Wall Avoidance: Mounting on robot bumpers to sense approaching walls and steer wheels away before physical impact.
- Conveyor Bottle Counting: Detecting bottles interrupting the optical reflection beam to increment batch counters on LCD displays.
- Smart Trash Can Lid: Triggering a servo motor to open a trash can lid when a user waves their hand above the sensor.
Equivalent Models:
- KY-032 4-Pin Infrared Obstacle Avoidance Sensor Module
- TCRT5000 Line Tracking & Obstacle Avoidance Module
- FC-51 Infrared Obstacle Avoidance Sensor Board
- E18-D80NK Adjustable Photoelectric Sensor
Package Includes:
- 1 × Infrared Obstacle Avoidance IR Sensor Module

Reviews
No reviews yet. Be the first to share your experience!