I'm installing a new backyard/pool, and I wanted to build a decorative feature to go with the theme.
I have an adafruit fx board, external speakers, sprinkler valves, and the blower motor from an old jacuzzi tub.
I wanted to make a "geyser" from some fake rocks that would light up, make some noise, and fire a few seconds of water into the air--maybe once an hour so.
I figured arduino would be a good place to control these things. I've never worked with it though I've done a bit of electrical project works in my spare time.
I'm looking for some ground level guidance with regard to the arduino materials I'd most likely need.
The components I have laid out.
water line from sprinklers, tapped off to be used to fill a reservoir.
DC sprinkler zone valve
reservoir with a float switch (to tell the sprinkler valve when to open/fill/close)
water reservoir
some exterior speakers / adafruit audio fx board / fake boulders (haven't made them yet)
jacuzzi blower motor
AC powered LED lights for effect
Order of steps:
once powered the unit has a time that counts down about 30 minutes for the first firing and then about 60 for each time after.
once the timer hits, the speakers and lights turn on.
blower turns on to fire the water up and out
as the tank water lowers, the float switch trips to open the valve
the tank begins to refill.
when the FX are done (just about 10 seconds or so) the blower/sound/lights shut off in revers order.
once the tank fills, the float switch will trigger the valve to close and stop filling.
wait for new timer to trigger the events.
I'd love for anyone to offer some guidance or input.
You will need to know how much current that the solenoid pulls to be able to choose the right MOSFET.
The IDE comes with many examples. And there are thousands of tutorials on the net that cover just about anything that you want to do. Just do a search for "arduino xxxxxx tutorial".
First thing is to check with your local inspector, authority or whatever is relevant. You mentioned AC near water, most municipalities have strict regulations you have to adhere to. Ask them first, that is the most cost effective in the long run.
This stuff is much easier if you don't try to do the whole thing in one go. I would wire up some LEDs to represent your parts and build your initial code as a simulation.
Also, for testing, work in seconds, rather than minutes.
Still need a transistor to drive the relay. It may be on a relay module but it is still there. A relay will have to have current to it all the time that it is on (closed), a MOSFET only draws a small current when it is first turned on to charge the gate capacitance. Might be a good time to become familiar with MOSFETs.