unfortunately I've got a water pump different to the one in the tutorial, is it possible for me to just cut the power cable and attach the wires for the driver to it?
or would I have to look for a water pump which is compatible with the driver & wires.
I've got a water pump different to the one in the tutorial, is it possible for me to just cut the power cable and attach the wires for the driver to it?
That pump appears to be designed to plug into a mains voltage AC outlet, so it's not suitable to be controlled by the Arduino. You need some sort of driver circuit that can be controlled by the Arduino, and a pump with voltage and current requirements within the spec of the driver. They're quite common and inexpensive, but what you haven't isn't it.
For a discussion on how to do this (specifically figure 3.A).
On the other hand, you would have to be somewhat crazy to run your pump off of a homebrew circuit at 220 volts in and around water. I would recommend swapping your pump out for a 12 VDC windshield pump that you can get at your local junkyard. You'll live longer.
Otherwise, be sure to plant daisies, since that is what you will be pushing up...
very simple to use.
get a relay that will work from 12 to 5 volts
use a MOSFET on the control side
place the relay in side an electric box you would get for a receptacle.
install the receptacle in the box and wire it to the relay
you can turn the relay on and off easily.
grow something heathly and have fun.
if you want to run a pump at different speeds, get that DC voltage one, or learn about triac's.
you can use your 110 volt pump if you use a relay.
the receptacle is the thing on the wall you plug your lamps into.
at the hardware store, you can buy a metal box to put it into, with a cover plate.
if you get a square box, you will have room for more stuff in the box. specifically the relay.
there are loads of posts on how to turn a relay on and off. in order to do that, you need something to take the light signal from the arduino and make it a much stronger siganl. the typical choices are transistors or MODFETS. when you read about relays you will find the how-to and what to buy.
it is not that hard and you will have lots of fun with it.
dave-in-nj:
it is not that hard and you will have lots of fun with it.
However, mixing high voltage and electronics can be very dangerous, especially if you're using a metal box with all the possibilities for accidental exposure to live connections. This is NOT a project for somebody unfamiliar with the hazards involved in working with high voltages. A low voltage DC pump is a far more appropriate choice here and is easier and safer to control with an Arduino.