I'm trying to create a garden watering system controlled by Arduino. I have an Uno and a 12-volt pump.
Can I run the pump from my Arduino board with the relay below from the SparkFun inventor's kit? Do I need something else? Thank you
Relay SPDT Sealed
Single Pole - Double Throw (SPDT) sealed
This relay's coil is rated up to 12V, with a minimum switching voltage of 5V. The contacts are rated up to 5A (@250VAC, 30VDC).
5V DC SPDT Relay
Rated up to 5A
Fully Sealed
Here is a circuit design that will drive a 12volt relay coil via a transistor switch under arduino control. Just wire the relay coil to where it shows a solenoid coil.
Are you just going to turn the pump on and off, every few minutes? Or will you want to vary the speed of the pump?
How big is the pump, as in how many Amps it will pull?
It sounds like you have the answers you need. But I've been doing a lot with controlling automotive relays using the Arduino. Some circuits are more efficient than others. As noted in the notes for the circuit Retrolefty posted, the transistor there will need a heatsink. There may be a better choice if, as AWOL suggests, you give us some specs.
If you are all set, of course, no need for more info.