How can an IR sensor detect obstacles?
Photo Credit: Courtesy of 3DStockPhoto (How Can I poop quickly? image)
Infrared Obstacle 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.