Hi,
Thanks for the circuit;
OP circuit
I am using 9v battery to supply power.
Is it one of these?

Then it will not have the capacity or the current output to do your job.
Powering the servo from the 5V of the UNO is also not good, as the onboard regulator cannot supply the current needed for the servo.
What are the specs on your pump?
You cannot power it from an I/O pin, they can only supply 40mA max.
You need to look at using bigger batteries to do your job.
Can you please tell us your electronics, programming, Arduino, hardware experience?
Tom... ![]()
