Arduino setup runs when relay activates

Hi,
Please draw a circuit diagram, not a Fritzy image.
The resolution does not allow us to read pin names and numbers.
A hand drawn circuit will be fine.
What is your power supply.
Can you please post links to the pump please.

Keep your USB cable away from the pump wires.
Does the problem occur if you disconnect the pump?

Thanks.. Tom... :grinning: :+1: :coffee: :australia: