Interfacing the ultrasonic proximity sensor