The PSoC Range Finder is a simple, inexpensive ultrasonic distance meter that requires only the PSoC device, two 40-kHz ultrasonic transducers, two resistors, and two capacitors. Typical applications include positioning for robotics, generic distance measurement, and liquid-level measurement without contact.
h**p://w*w.circuitcellar.com/PSOC2002/winners/1.htm
h**p://w*w.circuitcellar.com/PSOC2002/winners/1.pdf
h**p://w*w.circuitcellar.com/PSOC2002/winners/1.zip