This IR sensor module is a standard infrared detection board featuring an infrared emitting and receiving tube pair, an LM393 comparator, and a potentiometer for sensitivity adjustment [citation:2][citation:7]. It is widely used for obstacle avoidance in robotics, line-following, and remote control applications [citation:2][citation:3].
| Parameter | Value |
|---|---|
| Operating Voltage | 3.3V to 5V DC |
| PCB Size | 32 x 14mm (varies by model) |
| Output Signal | Digital (TTL Level) |
| Detection Angle | 35° |
| Detection Distance | 2cm to 30cm (adjustable) |
| Comparator IC | LM393 |
= Pin Configuration =
| Pin | Function |
|---|---|
| VCC | 3.3V to 5V power input |
| GND | Ground connection |
| OUT | Digital signal output (LOW when obstacle detected) |
> Connect VCC to 5V (or 3.3V), GND to ground, and OUT to an Arduino digital pin [citation:14]
The module uses an infrared transmitter that emits IR light at a specific frequency. When an obstacle is present, the IR light reflects back to the receiver. The LM393 comparator processes the signal and drives the output pin LOW while illuminating a green LED [citation:2][citation:7].
The detection distance is adjustable via the onboard potentiometer, allowing customization for different applications and surface reflectivity [citation:2][citation:7].
√ Compatible with most microcontroller boards
√ Includes mounting holes for secure installation [citation:7]
√ Ideal for educational and hobby robotics projects
Sensor not detecting obstacles:
Inconsistent readings: