Digital distance sensor using optical measurement. Uses triangulation with an integrated PSD chip. The switching distance is fixed at 15 cm. From 3 cm to the switching distance the VO signal is logically high, from the switching distance to 30 cm the VO signal is logically low.