IR Detector Module
IR Detector Module has a built-in IR transmitter and IR receiver that sends out IR energy and looks for reflected IR energy to detect the presence of any obstacle in front of the sensor module. The module has an onboard potentiometer that lets the user adjust the detection range. The sensor has a very good and stable response even in ambient light or in complete darkness.
The sensor module can be interfaced with Arduino, Raspberry Pi, or any microcontroller having an IO voltage level of 3.3V to 5V.