[Kyle Gabriel] moved into a house with a nice tract of land behind it, but due to his busy schedule he had yet to plant the garden he so desperately wanted. He worried that his hectic life and busy hours would lead to accidentally neglecting his garden, so he built a water collection and automated irrigation system to ensure that his plants never went without fresh water.
The system is fed by two large 55 gallon barrels that collect rain from his gutters. A 1/2 HP well pump is used to pressurize the collected water, which is then dispensed throughout his garden by a sprinkler. [Kyle’s] system is run from a small control box where an Arduino is used to control the pump’s schedule. At a predefined time, the Arduino turns the pump on, while monitoring the system for potential problems.
If the system starts running low on water, the Arduino triggers the valve on his spigot to open, keeping the water level above the pump inlet pipe. He also keeps an eye on pump’s outlet pressure, indefinitely disabling it before a blockage causes the pump to cycle repeatedly.
He says that the sprinkler system works quite well, and with his modular design, he can add all sorts of additional functionality in the future.
Pretty cool, I have always wanted a smaller scale version of one of these, just for a couple of planter boxes and my bonsais, possibly with either drip spouts or the hoses that “bleed” water.
Remember if you water late at night (2-3am) the plants get the most out of the water, as the sun won’t evaporate it before the plants have time to take it all in.
One question though, is your enclosure a waterproof circuit breaker box? It makes a nice case either way!
You can see the molded rubber seal around the lid, so yes, it’s probably a water-resistant enclosure.
Or rather it was until he installed that receptacle in the side 🙂
Do those SSRs have enough cooling? I don’t see a heatsink. Is leakage current a problem with them at all?
If you water from 2-3 am, don’t you run the risk of mold growth on your plants? I’m asking, not challenging – this might be my own misconception.
I really don’t like the exposed power prongs on the brick powering the arduino. soldering to the internal board or covering with heat shrink would really improve safety. 120vac is NOT friendly.
i was thinking the same thing. Heat shrink over the exposed prongs and some plastic covers over the exposed 120 prongs of the SSR, even just a sheet of
acrylic over them makes things much safer.
Is it just me… or does soldering copper wiring to a wall-wart seem like a *horrible* idea?
Maybe at *least* throw some heat shrink over those connections?
It’s not just you. At a bare minimum, use terminal plugs over them – at least they are insulated and removable.
This build isn’t safe as built.
Bonus points for using push in type receptacles. The least fire safe type out there.
I like this very much. I guess the expensive part was the latching relay. Why does 240V latching relay always has to cost a hand and a leg 😐
I picked each relay up from ebay for ~$6.
Can you please link to one? Maybe I was always looking for something wrong =/
Here are the two I am using. They’re a little more expensive than I quoted, but keep an eye out on ebay and they will pop up cheaper.
Crydom D1225 Input: 3-32VDC, Output 120VAC 25amp
http://www.ebay.com/itm/Crydom-D1225-Solid-State-Relay-3-32VDC-25A-120V-/160738748846?pt=LH_DefaultDomain_0&hash=item256cc6a9ae
Crydom D1210 Input 3-32VDC, Output: 120VAC 10amp
http://www.ebay.com/itm/CRYDOM-D1210-SOLID-STATE-RELAY-12OV-Output-3-32V-Input-/330662644347?pt=LH_DefaultDomain_0&hash=item4cfd078a7b
My posts with links don’t show up, but if you do a search for “Drydom D1225” and “Crydom D1210” and sort by price you’ll find them. Keep an eye out and you should see even cheaper ones pop up. I had my phone notify me when a cheap buy-it-now auction was listed and I also followed classic-style auctions to get mine at the price above.
Crydom, that is, but searching for misspelled auctions is actually another great way to find items that don’t get the publicity they otherwise would, and consequently sell for less.
Thanks for the hints. That was very helpfull! 🙂
Good idea. Here in Colorado, USA, collecting rain water requires special permits. Please check local laws before dong this (neighbor was fined $2,000 a month for having a rain barrel under his gutter).
Oops! I did not mean to report that comment! (Can we put a confirmation box on that or something?)
I actually came here to compliment the idea of saving rain water for this purpose, why would someone be fined $2K for one barrel? I can see maybe a problem with large scale in certain areas, but not some small-scale hobbyist in his backyard.
Because, according to the multi-state compacts regarding water, Colorado rain water is already owned by someone else.
Collecting rainwater is illegal in some states.
Land of the free!
Illegal? Really?
I like this. Something I’ve always wanted to do, but time isn’t on my side either.
Add this to a grey water reclamation system and you’re talking green baby!
While the regulations are long over due to be updated understanding history goes a long way to understand whey they exist in the first place. In the “land of the free” persons where free to modify natural stream flow hoarding all the rain for themselves depriving those downstream what nature provided for who knows for how long. KS periodically take CO or NE to court to enforce water rights agreements. Either court proceedings or send the KS air National Guard to take out dams 😉
Seems pretty silly if you’re collecting rainwater for outdoor watering – it will all end up in the ground-water supply eventually…
Waterproof aside from the outlet he’s cut into the side panel.
Sorry, comment system defaults to a response for some reason.
I meant to ask this as a new thread:
Do those SSRs have enough cooling? I don’t see a heatsink. Is leakage current a problem with them at all?
I also don’t like how he attached the incoming 120V into the arduino power supply. At least solder the joints rather than stick wires through the plug holes and bend them over as it appears to have been done here.
They are soldered. although I have considered heat-shrinking the solder joints, this box wouldn’t be opened by anyone but myself, so there’s little risk if care is taken within the box.
That’s a good plan. In theory. In practice – somebody else is eventually going to open this box.
If they can get past my 4-digit combo lock, they can certainly get past a little heat-shrink. Meh, they must want in more than I want to keep them out.
The box that you are worrying about is mounted inside according to the pictures on his site.
Those SSR’s have low leakage if they’re snubberless (<.1mA) but if they have a snubber those suckers are going to leak 10mA at 240V. They also cost over $50 per relay. Yikes.
Nice project, but if any electrician sees that box he’ll be legally required to punch you in the eyeballs.
Seriously – 120V bent around a wallwart plug and exposed connections on the high-voltage side of the relays?
Have some pride, man!
Can you be constructive with your post instead of merely condemning?
Pointing out faults does no good if you can’t come up with alternatives.
I’m pretty sure the alternatives are glaringly obvious to every single person who can see the picture at the top of the article.
I can understand the loose standards for a prototype, but this is too exposed for me for a final design. I’m typically one of the readers who thinks the safety comments are unwelcome, and if you have an issue you’re just a wussy. Despite this, he needs to spend 15 minutes with some heat shrink and RTV to ensure he won’t have a problem down the road.
I agree some shielding can be put in place over exposed solder joints, but how should these 120v relay points be protected?
Then the fight would be on 😉 with an ignorant self-righteous electrician. A reasonable assumption is like an electrical service panel would be that only a qualified builder/installer, or service tech will be inside the enclosure. Clearly the wires are soldered, and this method is not any different than connect wires to a tube socket or terminal strip. They aren’t any more exposed than terminals on the receptacle and relays. Not to mention the underside the chassis of vacuum tube equipment, where voltage levels are often much higher.
@kyle
You have a valid point regarding the connection points on the SCRs. Ideally the box would be separated into separate regions with proper separation. In this case there can be a cover over all HV circuitry that has to be removed in order to access it. This would negate the requirement of covering exposed HV points, at least as far as I’m concerned.
If I were to have designed this in exactly this manner, I would have heat shrinked the terminals on the wall wart, and simply put a bit of RTV over the terminals on the SCRs. RTV is easy enough to remove if you need to access the screws below it, and incredibly robust.
Also, I sure am glad that when you enter an invalid email and hit submit it doesn’t make you retype your entire comment haha…
One part RTV can be quite bad for electronics. the vinegar smell is acetic acid, same stuff that gives vinegar its smell and sharp taste.
The acid part is what’s bad. It can cause corrosion, especially when the RTV is applied thickly or a sealed box is closed up before all the acetic acid evaporates, which is what cures the silicone.
oh, didn’t see the PS wiring.
I’ve done female disconnects for 14-16 ga wiring, slid them on the PS blades and shrunk tubing around them for using an off the shelf supply.
Got those in a couple of work projects. Makes for quick replacement when problems arise.
Good idea, I’m going to have to steal that method from you…
Nice idea! I’ll keep that in mind if I decide to alter this or for any future projects.
If there are any electricians or similarly skilled individuals reading, with knowledge of regulations, fire code, etc., I would gladly listen to any suggestions for improving the design for safety.
One idea is to have separate enclosures for low voltage and high voltage.
And for the wallwart, you can cut the female end off an extension cord, or buy a 5-15R cord cap.
http://www.grainger.com/Grainger/LEVITON-Cord-Connector-5C378
the line providing city water shouldn’t enter the rain barrel but end one inch or more above the barrel. that air gap will prevent siphoning or “backflow” (washing machines have that setup).
you could also get a “vacuum breaker” for the garden hose for around $3. most cities have that as an ordinance.
I should have put photos of the valve setup, but it works in the way you describe.
It does go into the barrel, but it is a hole that is bored at the highest point of the barrel, above the highest potential water line.
There is a drainage hole on the other barrel that will allow excess water to leave the barrel rather than overflow from the gutter feed line over the top of the barrel and onto the pump. This is what keeps the water level below the hose from the spigot.
FWIW, if you want an easy, natural way to help your plants deal with drought conditions, biochar can help:
http://en.wikipedia.org/wiki/Biochar
http://michiganbiochar.com/
http://www.youtube.com/watch?v=2a07PR8SU6Q
http://www.youtube.com/watch?v=dqkWYM7rYpU
http://www.youtube.com/watch?v=COPqvVH7jiw
http://www.youtube.com/watch?v=RvRrciRY_SY
http://www.youtube.com/watch?v=dlYwLycMEMA
– Solely mechanical soil improvement
– Functions like a coral reef for sheltering soil micro-organisms
– Holds water and nutrients until plants remove them, keeping both from leeching further down into soil, and water from evaporating upwards.
There are certainly many people who complain about the unprotected 120v areas, even if it’s inside a closed box.
I can see that it will be best if I keep some of my designs away from the internet, since they are much more unprotectet than this one, and i live in a 230V country.
PS: Really great looking photos on your webpage Kyle.
Thanks.
Yeah, it’s hard to argue with people that it is protected by the thick plastic cover encasing it. It should be unplugged when working near the HV anyway.
A comment above was correct in stating only the installer, trained technician, etc. should be entering enclosures like this, and it is no different for this one. First, the box is incredibly difficult to open (without a lock), but this box also has a 4-digit combo lock securing it. Although, I expect someone to chime in with the fallibility of my lock, yada, yada.
A few safety notes:
1) That Crydom D1210 SSR is only rated at 10A, but it’s in a line whose upstream breaker will be rated at either 15A or 20A. If something goes wrong with the load after the SSR, you’ll exceed the rating of it before the breaker kicks on. Even if there’s no plan to run more than a 10A load on that circuit, remember that the breaker there is for the unplanned events.
2) The wrong polarity is being switched on the AC line. The black wire (hot) should be switched, not the white (neutral), since doing it the other way around means the device on the other end is always energized but lacking a return path. It makes for the possibility of thinking a device is safely powered off, when in reality it has power but is just waiting for a path to ground; that path could be a person touching a component they thought wasn’t energized.
3) The polarity of the outlet is wrong, which is especially bad considering issue #2. Now the load is not only energized at all times, but the wrong half is hot, which makes the risk of injuring someone who expected the component to be wired as per code that much more likely.
4) As this is powering something outside of the house, there really should be a ground fault interrupt (GFCI) in there somewhere. The motor load might not be happy with a standard household GFCI, but as you’ve got water and outdoor exposure combined with electricity there should be one in there.
5) Standard NM-B (aka Romex) cable was used to make an extension cord to wire the motor load, and outside of the house no less. That stuff does very poorly outside, and should be replaced with a properly rated cable.
1. The loads on the SSRs are only 40-60% (Norm-Max) of the max for the pump SSR and ~10% for the valve SSR, but valid concerns.
2. The positive is being switched. Don’t let the color throw you off, it was a bad design by whoever made the extension cord I used. I was surprised, also.
3. See #2.
4. With it being said that this was partially constructed from components I already had, I would agree that a GFCI would be the next logical upgrade to drastically improve safety.
There is no “positive” as you mention. The black wire is always “hot” and the white is always “neutral”. The hot will be 120VAC from both neutral and ground. There will also be 0VAC from ground to neutral. You have it miss-wired. Also, the smaller prong on the outlet is always hot and the larger is always neutral. You also have this miss-wired. This should be fixed, or as Bryan said, you are creating a dangerous situation. Also, you should not be using those green wire nuts on anything other than ground wires, but that’s a code compliance issue.