Arduino Uno rev 3 toggling a 230 V submersible pump on intervals I am software programmer and hobby farmer. While I was working on a hydroponic farming stuff, I had to use submersible pumps with timers. I don't want to buy timers that are actually a tedious scheduling process. so I am making one myself.

I want to toggle 230&nbsp;V for turning a submersible pump(150-230&nbsp;V and 18&nbsp;W) ON/OFF. I read that Arduino may not able to supply enough input current that the relay requires. I am not sure about what transistor to use to amplify the input current. I came across a circuit diagram and a relay board. Do I still need to use a transistor and diode if I use this relay with an Arduino?

This is the two-channel relay I am about to use and the circuit is below.



Should I follow the circuit if I am using this relay? The relay has a tolerance of 250&nbsp;V. What if the voltage fluctuates above 250&nbsp;V? I am going to use a 9&nbsp;V battery to power the Arduino. Feel free to explain anything that I may have to know.

UPDATE

Thanks marla for making it clear that I don't need diodes and transistors. Andy, as you said, I can't keep changing batteries often, and it will limit the system. Shall I use an adapter which reads output 5&nbsp;V and 1&nbsp;amperes? Will that drive the Arduino and be sufficient for both the relays?
The Arduino will easily drive this relay board, and it needs only a very small input current.

The board you linked to has a built-in optical isolation circuit, so there is no direct electrical connection between the Arduino-side of the circuit and the relay side. This should protect your Arduino if something goes wrong. For what it's worth, the product description specifies this board is suitable for "AC [...] appliances such as [...] motors". A pump is primarily a motor.

The voltage may fluctuate when the pump is started and stopped (Back-EMF). It's hard to say what this might do to the relay board if it goes way over specification. Perhaps you might be happier with a much more robust solid-state relay (SSR) that has a higher rating than the target load. Something 
like SSR-25DA 25A Solid State Relay - White. Since solid-state relays are non-mechanical, they will not wear-out from repeated switching either.

You may also want to build some fail-safe sensors into your project. For example, water level float switches for both high-water and low-water marks.