What diameter of the spot being tested? It would be easy to estimate the distance with an infrared proximity sensor, but the spot size may be much larger than you want. --=20 James Cameron http://quozl.linux.org.au/ --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .