IR Sensor

Infrared Obstacle Sensor Module

IR Sensor Module has builtin IR transmitter and IR receiver that sends out IR energy and looks for reflected IR energy to detect presence of any obstacle in front of the sensor module. The module has on board potentiometer that lets user adjust detection range. The sensor has very good and stable response even in ambient light or in complete darkness.

ir sensor module


Board Size 3.2 x 1.4cm
Working voltage 3.3 to 5V DC
Operating voltage 3.3V : ~23 mA, to 5V : ~43 mA
Detection range 2cm – 30cm (Adjustable using potentiometer)
Active output level Outputs Low logic level when obstacle is detected

On board Obstacle Detection LED indicator

IR Sensor Pinout

IR Sensor Pinout

Pin Description

Pin, Control Indicator Description
Vcc 3.3 to 5 Vdc Supply Input
Gnd Ground Input
Out Output that goes low when obstacle is in range
Power LED Illuminates when power is applied
Obstacle LED Illuminates when obstacle is detected
IR Emitter Infrared emitter LED
IR Receiver Infrared receiver that receives signal transmitted by Infrared emitter.

Hardware Connections

-->  Vcc to 5V

-->  Gnd to Gnd

-->  Out to digital pin 7 (any digital pin)

Our Youtube Channel