@BOB WALKER posted:The Sharp unit is a GP2YOA21YKOF proximity detector which outputs a voltage corresponding to the distance to an object. I used it in several projects described in train magazines. Here's one of them.
I'm at a loss as to how this is superior, and it's an optical sensor.