Help putting together a parts list for new project

I would like to use an arduino to turn on and off a lawn sprinkler, first by using a switch and maybe later moving towards controlling it via a web connection.

I am fairly new to arduino so to start I am trying to put together a rough parts list. For right now I have the following things I think I will need to finish the project:

In my head I see the switch being pressed, which would tell the arduino to actuate the relay, which would activate the valve.

Are there any major components I am missing here?

Also, down the road if I plan to control this setup via the web will I need to use the arduino ethernet shield? If I want it wireless do I then need to buy an Xbee? Does an xbee replace the ethernet shield or are they both required?

I greatly appreciate your guidance

jpro:
Are there any major components I am missing here?

Depending on the coil resistance, you will probably need a transistor to drive the relay. Simple tutorial from SparkFun: Controllable Power Outlet - SparkFun Electronics

jpro:
Also, down the road if I plan to control this setup via the web will I need to use the arduino ethernet shield? If I want it wireless do I then need to buy an Xbee? Does an xbee replace the ethernet shield or are they both required?

You will need something to talk with a TCP/IP network. The XBee doesn't do that, so that would mean either an Ethernet or WiFi shield.

Arrch:

jpro:
Are there any major components I am missing here?

Depending on the coil resistance, you will probably need a transistor to drive the relay. Simple tutorial from SparkFun: Controllable Power Outlet - SparkFun Electronics

jpro:
Also, down the road if I plan to control this setup via the web will I need to use the arduino ethernet shield? If I want it wireless do I then need to buy an Xbee? Does an xbee replace the ethernet shield or are they both required?

You will need something to talk with a TCP/IP network. The XBee doesn't do that, so that would mean either an Ethernet or WiFi shield.

Thank you for the info. So it sounds like if I wanted to go wireless, I would only need a WiFi shield and nothing else.

By "wireless" do you mean using a computer to wirelessly activate it? Or...any type of wireless solution so you can remotely activate it? Do you want to be able to turn it on/off from anywhere in the world? Or from the house instead of garage? Using a computer, cell phone, or would a dedicated "remote" device be okay? You have lots of options....depending on what your constraints are.

1ChicagoDave:
By "wireless" do you mean using a computer to wirelessly activate it? Or...any type of wireless solution so you can remotely activate it? Do you want to be able to turn it on/off from anywhere in the world? Or from the house instead of garage? Using a computer, cell phone, or would a dedicated "remote" device be okay? You have lots of options....depending on what your constraints are.

The ultimate goal would be to activate it from any internet capable device. For example, if I was at work, I could activate the valve through a website on my phone, or my work computer etc. I did just look at the pricing on the WiFi shield and it is more expensive than I was thinking it would be... I don't know if there is another device that could be used that might achieve the same results or not.

A mosfet (a type of transistor) can be used instead of the relay.

Mark

Have ya thought about connecting your Arduino to a Raspberry Pi ($25)? The communication back and forth is pretty easy and well documented, also Linux on the Raspberry Pi is geared for web-servery type stuffs. Plus, since it's pretty much an entire computer, you can give yourself options like a live-webcam or something.

Whatever your local IP for your Pi is, you'd need to use that as your public looking IP address so people (namely you) can use it from anywhere in the world. The only trick is that your ISP may switch around your public IP address, back in the day, dynip was a cool utility that would handle thi, they may be newer stuff now.

I agree with holmes4, I typically use Tip102's instead of relays for this kind of thing (a bit overkill at 8A, but still). You'd still need a diode involved so you don't get spike voltage flying backatcha.