It is easy to take a Raspberry Pi and treat it like a cheap Linux PC or server. Running an ad blocker or a VPN gateway is simple and doesn’t require any real interfacing. However, it is a big leap to actually use the Pi to control something and a good example can go a long way to helping you develop your own projects. [Joeseph Luccisano] posted a tutorial with just that aim. The goal: build a low-cost lawn watering system.
It is an interesting project since it has hardware and software components, of course. But it also has a hydraulic part, so you have to deal with all three domains coming together.
Continue reading “Raspberry Pi Waters Your Lawn, Serves HTML”
There is something strangely amusing about the idea of a sprinkler system relying on a cloud. But it was this limitation in some commercial offerings that led [Zack Lalanne] to create his own controller when it was time to upgrade his aging irrigator.
It’s a straightforward enough device, he’s taken an ESP8266 on the ubiquitous NodeMCU board, and added a shift register for some output line expansion to drive a set of relays. The interest here lies with the software, in which he’s used the ESPHome firmware and added his own custom part for the shift register. This change alone should be useful for many other experimenters with the ‘8266 and ESPHome combination.
The ESP8266 end of the device ties in with his instance of the Home Assistant home automation hub software. On this he’s been able to tie in all his various sprinkler outputs he added, and apply whatever automation scripts he chooses. The result is a freshly watered lawn, with not a cloud in the sky (or backend).
The value of this project lies only partly in its use for sprinkler owners, for us it also lies in the clear write-up showing the way for others with similar home automation tasks. It’s not the only way to make an ESP sprinkler controller, you should also see this one from 2017.
What to do once you have a sprinkler system installed on your property: buy a sprinkler control system or make your own? The latter, obviously.
[danaman] was determined to hack together a cheap, IoT-enabled system but it wasn’t easy — taking the better part of a year to get working. Instead of starting right from scratch, he used the open-source Sustainable Irrigation Platform(SIP) control software — a Python sprinkler scheduler with some features [danman] was looking for(eg: it won’t activate if there’s rain in the forecast). Since he wasn’t running it with a Raspberry Pi as recommended, [danman] wrote a Python plugin that runs on his home server as a daemon which listens to TCP port 20000 for connections and then updates the relevant relays. Ok, software done; on to the relay controller box!
Continue reading “DIY Wireless Sprinkler System? Don’t Mind If I Do.”
There are a few very popular irrigation systems entered into this year’s Hackaday Prize. In fact, last year’s winner for the Best Product portion of the Prize was the Vinduino, a soil moisture monitor for vineyards. Most of these irrigation systems use drip irrigation or are otherwise relatively small-scale. What if you need something a little more powerful? That’s where [Patrick]’s PTSprinkler comes in. It’s a massive lawn sprinkler coupled to a computer controlled pan and tilt mount. Think of it as a remote controlled Super Soaker, or the Internet of squirt guns. Either way, it’s a great entry for this year’s Hackaday Prize.
The PTSprinkler is designed to use as many low-cost, off-the-shelf components as possible. This started out with a heavy duty outdoor pan-tilt stage an irrigation solenoid valve.
The idea for this sprinkler is to first manually define a shape on the lawn that the sprinkler should cover. From there, the electronics figure out a fill pattern for this grassy polygon. So far, [Patrick] has an electronics board that will move the pan/tilt stage with the help of a Raspberry Pi. You can check out a video of that in action below.
Continue reading “Hackaday Prize Entry: Pan And Tilt Sprinkler”
If you live somewhere where summers are hot and dry, you can instantly tell which homes don’t have automatic sprinklers installed. Or they may have them installed, but like the blinking “12:00” on that VCR of yore, the owners may not have mastered the art of programming the controller. To be fair, the UI on most residential irrigation controllers is a bit wanting, which is the rationale behind letting Google Calendar tell your sprinklers when it’s time to water.
Granted, someone who is mystified by setting a digital clock is not likely to pull off [ClemRz]’s build. It’s still pretty simple stuff, though, centered around an ESP8266 as it is. And calling the result an “irrigation system” is a little bit of a stretch, given that it could only support a single zone with a solenoid valve harvested from a defunct sprinkler timer. But as a proof-of-concept, or to water a small area, it hits all the marks. The ESP8266 drives the latching solenoid valve through an H-bridge chip after reading your Google Calendar and looking for upcoming events to open or close the valve. The Google Script and the ESP8266 code default to failsafe so that a mistake doesn’t leave the valve open and run up your water bill or drain your well.
It’s easy to see how this can be expanded to control a multi-zone irrigation system and support a smartphone UI for instant control of the valves. Overrides based on weather forecasts would be a nice feature too. Or you could just read the soil moisture levels directly with backscatter sensors.
It’s overkill, but it’s really cool. [Bob Bond] took an NVIDIA Jetson TX1 single-board computer and a webcam and wirelessly combined them with his lawn sprinklers. Now, when his neighbors’ cats come to poop in his yard, a carefully trained neural network detects them and gets them wet.
It is absolutely the case that this could have been done with a simple motion sensor, but if the neural network discriminates sufficiently well between cats and (for instance) his wife, this is an improved solution for sure. Because the single-board computer he’s chosen for the project has a ridiculous amount of horsepower, he can afford to do a lot of image processing, so there’s a chance that everyone on two legs will stay dry. And the code is up on GitHub for you to see, if you’re interested.
[Bob] promises more detail about the neural network in the future. We can’t wait. (And we’d love to see a sentry-turret style build in the future. Think of the water savings!)
Via the NVIDIA blog, and thanks [Jaqen] for the tip!
[Doug] needed to update his watering system to comply with his city’s new water saving ordinance. The old system wasn’t capable of being programmed to water only on even or odd calendar days. Rather than purchase a replacement he decided to build his own sprinkler controller. It needed to switch 12V solenoids, a job that’s not too hard to design for. Rather than re-invent the wheel, he modified a previous controller design. It is basically an Arduino and Ethernet shield on a his own etched board. In addition to the ATmega328 and an ENC28J60 (for ethernet connectivity) there is a bank of transistors to drive the watering solenoids. Now he has a web interface that controls the watering schedule and is fully in compliance with the new city code.
If you need another way to save when watering your grass you should take a look at the sidewalk-avoiding sprinkler.