Arduino, Ultrasonic, Servo Motor and Capacitor?

so we see here that the type of motor does not matter
it just need to be a motor that rotates

the motor needs to rotate when ultrasonic is triggered, for 5 circles, then stop