Arduino, Ultrasonic, Servo Motor and Capacitor?

@w_w please note. At the moment we are struggling to understand exactly what you want to achieve.