Google Calendar Interface for Your Internet of Lawns

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.

ATtiny Watering Timer Turns off the Water When You Forget

ATtiny Water Timer

A pal of [Kyle’s] was regularly leaving his sprinkler on for too long. He also had forgotten to turn the water off while topping off his pool a couple of times, an embarrassing and wasteful situation. Being such a good friend, [Kyle] offered to make him a water timer. This isn’t a regular water timer that turns the water on and off at the same time every day. This device allows the user to push a button to have the unit switch on a solenoid valve, permitting water flow. After a predetermined amount of time the unit removes power to the solenoid valve which stops the water flow, successfully preventing pool overflows and excessive watering.

[Kyle] started off his design using a 555 chip to do the counting. He quickly became worried that timer lengths over 10 minutes would cause inconsistent functionality due to the leakage current of the capacitor and the charge current of the resistor. There are ways around this, but rather than complicate the design he switched to an ATtiny microcontroller. The added benefit of the ATtiny is that he could connect up a potentiometer to adjust the on-time without replacing parts or making a new unit. When the potentiometer is turned, the on-board LED will flash a number of times which corresponds with the delay in minutes. Ten flashes means a 10 minute delay. It’s a simple and clear interface.

As if the home etched PCB wasn’t cool enough, [Kyle] 3D printed up a case for the unit. The case permits access to the screw terminals and has provisions for the indicator LEDs. Check out the integrated flap in the top of the case. When this portion of the case is pushed in, it presses the PCB-mounted on/off switch.

If you are interested in making one, all of the files and code are available on [Kyle’s] site.

via [dangerous prototypes]

Motion sprinkler chases away defecating dogs

Don’t want dogs pooping on the front lawn? You could put up a sign, your could chase them away like a crotchety old miser, or you could build a motion detecting sprinkler system. It’s pretty hard to line up for a doody when you’re getting sprayed in the face (or worse) with cold water.

The setup is pretty simple. The bump-in image above shows the view from a webcam. The server monitoring the video is running software that detects motion between one frame and the next. When it sees something in the right position it signals an Arduino to trigger the solenoid which has been holding back the water. Check out the movie after the break which shows [Phil Tucker] tramping across the grass to trigger the  trap.

Sprinkler hacks are always a lot of fun. This variable-range sprinkler is still one of our favorites.

Continue reading “Motion sprinkler chases away defecating dogs”