Maybe someone can recommend me a good IR sensor for short distance (or perhaps any other).
What I need, is to get distance measurements from 0mm to around 10-15mm (0 inches to around 0.4-0.6 inches). My current goal is to use with any Arduino microcontroller (Have not limited that parameter, but rather the smaller ones- micro, nano, etc.). The surface it "bounces" towards is flat.
The main goal is the compact design of the reader. That is the reason I cannot use ultrasonic sensor (Nor a physical one). The walls it bounces from are metal and quite close (Metal enclosure, dark). But I'm open to all recommendation (Even, if it's not IR and serves the same purpose).