Lego nxt ultrasonic sensor
Equip your lego mindstorms nxt a real small sonar with the ultrasonic distance sensor signed lego the sensor works by sending out a signal and then waiting for that signal to return by measuring the time elapsed during the signals journey the sensor can determine the distance from the object