Arduino, Ultrasonic, Servo Motor and Capacitor?

is stepper not restricted?
300 is good but not good enough

it seems to me that the solution is to add a new opponent in the circuit which only connects when ultrasonic receives a signal