I was wondering if any of these sensors would be any use to detect a glass marble at a close proximity, say 0 - 3 cm away?
Sharp GP2Y0A21YK IR Proximity Sensor
QRD1114 IR emitted / Phototransistor
I got info on these here: http://bildr.org/2011/03/various-proximity-sensors-arduino/ but am not sure how well any of them would work for me? The first one is ultrasonic so would be great only I think it works better at a bigger distance. The third one has the exact range I need except I am worried it will shine through the marble and not work properly.
Any help would be greatly appreciated
I might be off the mark here but would this work?
Adafruit VCNL4000 proximity / light sensor