![]() I didn’t set up automations in Home Assistant yet, those will come soon. You can see that the 3 template switches, when turning on and off, they set the correct polarity and enable the output current from the driver. This is the scheme (I recently learned using Fritzing a bit… what a wonderful piece of software!)Īnd this is the relevant code of ESPHome: switch: I learned a lot reading the source code and the hardware implementation details. The OpenSprinkler web interface allows you to program water schedules and monitor station status through the web. ![]() OpenSprinkler is an open-source Internet web-based. I thank a lot Ray Wang of OpenSprinkler for building such a wonderful piece of engineering. The application allows you to automatically detect and control your OpenSprinkler irrigation system(s). (Hunter and OpenSprinkler did a different job: they used a capacitor because their power supply is very constrained, I just went with bazooka) I found out that 12V are enough to drive my valves, so instead of using a capacitor like OpenSprinkler and Hunter control unit did, I just supplied the 12V current from the PSU to valves through the drivers. The motor drivers I found are very handy, because they also output a 5V current that I used to supply power to the ESP8266. OpenSprinkler is web-based sprinkler controller for your lawn, garden, or plants. The rest is just an ESP8266 (NodeMCU), a 12V PSU and cables Shop Opensprinkler at Seeed Studio, we offer wide selection of electronic modules for makers to DIY projects. That was the big unknown part of the project. I searched a lot and came up with using a motor drivers (L298) to drive valves. They need a strong brief current to open and a similar current (with inverted polarity) to close. Here are the details of my project: I didn’t replace valves and nozzles, so the important detail here is that the valves are solenoids. This tutorial gives a detailed overview of OpenSprinkler Firmware 2.1.0, which includes new features such as automatic weather-based. But my house didn’t burn yet, so I am happy. Tutorial: How to use OpenSprinkler Firmware 2.1.0 - YouTube. ![]() So my projects are primitive and probably stuffed with errors and not safe. I am a web developer and got into electronics just recently thanks to ESPHome and Home Assistant. Opensprinkler relies on free cloud services for weather, and as these services inevitably shut down or change their free APIs because they don’t make them any money, the Opensprinkler team has to scramble to find a new solution. So I decided to build a new one by myself!ĭisclaimer: I am not an electronics expert at all. Last year I replaced the control unit with an OpenSprinkler Bee, but unfortunately a couple of weeks ago I broke it while tinkering with the firmware (to flash it I had to disconnect it a couple of times and maybe I wasn’t enough gentle). OpenSprinkler’s built-in web interface works with both desktop and mobile browsers. I have a little garden with a sprinkler system based on Hunter hardware (3 valves, several nozzles and a 9V battery control unit).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |