I recently had to build an infrared close proximity sensor that could tell if something was dropped in a parcel delivery drop box. After some searching, I ended up using a microcontroller and a piece ...
Vishay’s VCNL4100 is an IR proximity sensor that works up to 1m, and includes an ambient light sensor. Inside, it combines an infra-red (940nm) emitter, photo detectors for proximity and ambient light ...