Тёмный

DIY IoT Sprinkler Controller, made with Raspberry Pi and OpenSprinkler 

Eiki Martinson
Подписаться 976
Просмотров 16 тыс.
50% 1

You too can build an outdoor computer with a Raspberry Pi and some other bits, install OpenSprinkler on it, and use it as a WiFi-enabled home irrigation controller!
Visit vabadesign.com and follow me on Instagram to see my works-in-progress: / eikimart
Crimp terminal organizer: eikimartinson.c...
Paid Amazon links to products used in this project:
Waterproof Aluminum Enclosure - amzn.to/4auSlBY
Waterproof Cable Glands - amzn.to/3PX9FHs
Transformer - amzn.to/3PY4wPi
Liquid-Tight Conduit Connector - amzn.to/3PTbaGr
Terminal Block Barrier Strip - amzn.to/4cSVooT
UPTOU USB Wi-Fi Adapter - amzn.to/3xwTudD
Two-Channel Relay Board - amzn.to/3JgBNBw
Aluminium Plate - amzn.to/3vDNUpn
Standoff Kit Suitable for Raspberry Pi Installation - amzn.to/3xHHYMk
Antenna Extension Cable - amzn.to/3vKpWZv
SMA Bulkhead Connectors - amzn.to/3xoWHM7
Music:
Track: Vision - KV [Audio Library Release]
Music provided by Audio Library Plus
Watch: • Vision - KV | Free Bac...
Free Download / Stream: alplus.io/vision
Track: Stable - KV [Audio Library Release]
Music provided by Audio Library Plus
Watch: • Stable - KV | Free Bac...
Free Download / Stream: alplus.io/stable
Light by KV / kvmusicprod
Creative Commons - Attribution 4.0 International - CC BY 4.0 www.creativeco....

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@profd808
@profd808 Месяц назад
Your editing and your skills are on another level!
@EikiMartinson
@EikiMartinson Месяц назад
Well thank you!
@muzguz7276
@muzguz7276 8 месяцев назад
Nice work. Like your vice bender.
@EikiMartinson
@EikiMartinson 8 месяцев назад
Thank you!
@EikiMartinson
@EikiMartinson 8 месяцев назад
And probably I should have explicitly mentioned the earth wire I attach to the plate at 16:07. You're right: it's a very important electrical safety feature!
@tekperson
@tekperson 4 месяца назад
Nice video. I like that you show how one small project balloons into several other projects as you go along. Just like mine do.
@EikiMartinson
@EikiMartinson 4 месяца назад
Ah, you understand! Don't they always? I've got a few more videos coming that are even more like that!
@AdventureOften
@AdventureOften 6 месяцев назад
This is a great video. I’m not sure I’ve seen a video I could relate to this much in awhile. Certainly the best video on OpenSprinkler that I’ve seen.
@EikiMartinson
@EikiMartinson 6 месяцев назад
Thank you so much! There was a lot to think about in that installation related to packaging, weatherproofing, power, etc. that I perceive gets glossed over very often.
@vinniemoscaritolo3318
@vinniemoscaritolo3318 5 месяцев назад
Very very nicely done. Your work is neat and well thought out. I am impressed. The only possible suggestion I would’ve had would be to use a different color wires for the sprinkler line. While it’s easy for you to distinguish between which is power and which one is 24 VAC.. there’s always a possibility that someone else might come along if you sell the house. But honestly, you did a fantastic job.
@EikiMartinson
@EikiMartinson 5 месяцев назад
Thank you for your kind words! The next owners will probably be mystified to learn their sprinklers are controlled by a "raspberry pie". ;) Handing over IoT hardware like this is a tricky thing in any case for reasons of network provisioning if nothing else (I think about this a lot). I agree with your comment though; other colors for 24V would certainly have been the right thing to do in this case. But you know how it goes: all I have handy is black, white, green, and sometimes red!
@darapps
@darapps 8 месяцев назад
Yo, I would suggest you, to equalize the loudness of your monologue from cut to cut, that is your "voice over" is louder than when you speak straight to the camera, try to use a lavalier mic or just make some changes in post, but the video as a whole is very cool, loved the stamping part (was a nice touch), keep it up.
@EikiMartinson
@EikiMartinson 8 месяцев назад
Thank you, the audio quality is one thing I'm dissatisfied with. I've made some changes since this video but there's more improvement to be made. Keep up your efforts too!
@libertine5606
@libertine5606 Год назад
Looks like there is mains power exposed in a area that you have a switch. It probably be better if that was behind a non-conductive plate. It probably doesn't matter too much since you would have to get on a ladder to get to the box. I am not sure but is the box grounded? I have been hesitant to go after my sprinkler system but seeing how you used the 24 volt transformer I am ready to tackle my 6 station system. I use MOSFETS instead of mechanical relays. I would us a ESP32 and Home Assistant. I have used them for the last six months and they have been bombproof.
@EikiMartinson
@EikiMartinson Год назад
The box is grounded, yes. The switch is really just a convenience for myself, and you're right it's not the safest thing because you could touch the terminal strips with your finger while accessing the inside of the enclosure, although it's not really worse in this respect than the old timer was. A safety upgrade would be to put a little sub-enclosure around the terminal strip area. I may do that in a future video. Thanks for the comment!
@pro_coder
@pro_coder Год назад
Very Neatly but you can do that with esp32 too it would cost you less and also it have wifi and bluetooth and will consume less power afterall you are just switching a relay
@EikiMartinson
@EikiMartinson Год назад
Sure could! I already had this R.Pi 1 though, and there might be other things I want to do with an outdoor computer in the future too. Thanks for your comment!
@shaunbrassell68
@shaunbrassell68 5 месяцев назад
Thanks dude, enjoyed that!
@EikiMartinson
@EikiMartinson 5 месяцев назад
You're welcome!
@rab9212
@rab9212 Год назад
Great video. I like your enclosure box but can't find it on Amazon. Can you post a link, please?
@EikiMartinson
@EikiMartinson Год назад
I've added Amazon links to the description but unfortunately it seems like this "BestTong" enclosure is no longer available. Let me know if you find a good substitute!
@tiloalo
@tiloalo 3 месяца назад
Probably super overkill to have a raspberry for the job, an esp32 does a great job at doing that, and much more reliably
@juandaye
@juandaye Год назад
Very nice idea. Perhaps you can also use the camera to deactivate the system while people are there.
@EikiMartinson
@EikiMartinson Год назад
A very interesting idea Juan! Or perhaps the opposite at night time when no one should be there? I wonder if Ring has an API for this...
@tyfroom5151
@tyfroom5151 Год назад
I would assume it would be possible with home assistant to connect platforms and frigate to get human detection.
@SezginRuhi
@SezginRuhi 5 месяцев назад
THX
@HappinessInSeconds
@HappinessInSeconds 5 месяцев назад
I have an old controller that no longer activates the circuits but an unused b+ as we.. Could you share the pinout info from the pi to the transformer. I think I can harvest parts from my controller and basically get build a replacement as well.
@EikiMartinson
@EikiMartinson 5 месяцев назад
Hi! Thanks for your comment. You can use any of the Pi's GPIO pins to drive a relay board. Depending on how that board is set up, you may choose active high or active low in Open Sprinkler. And you can use the relay to switch the mains power to the transformer. In my case I'm taking 5V power and ground to the relay board from Pi pins 4 and 6, then using pin 12 (GPIO 18) as the signal to the relay. Does that make sense?
@cisco-man8638
@cisco-man8638 11 месяцев назад
It is against the NEC to run high voltage in the same conduit with low voltage.
@EikiMartinson
@EikiMartinson 11 месяцев назад
That's why I was initially talking about two conduits. But this was easier and cleaner. Can you articulate the specific risk posed by this configuration?
@PatrikTheDev
@PatrikTheDev 2 месяца назад
@@EikiMartinsonthe cables get damaged, high voltage runs through low voltage wires, some low voltage electronics burns out and starts a fire
@EikiMartinson
@EikiMartinson 2 месяца назад
@@PatrikTheDev Damaged inside the conduit? I suppose I can think of some unlikely scenarios in which that could happen, maybe some small creature gaining access to the inside of the conduit and chewing through two insulations. But note also the electronics are isolated from the low voltage line in question anyway. You could burn out the solenoid though, I grant, and then there's this scenario: if all four wires in the conduit are damaged and touch in such a way that the HV energizes both sides of the transformer at once, that could lead to interesting consequences for the transformer, yes. Since I have some other changes in mind also, I may redo this aspect of the project.
@PatrikTheDev
@PatrikTheDev 2 месяца назад
@@EikiMartinson I wouldn’t worry about it that much, I was just saying why it’s against code in some/most places. Cables can rub on themselves slightly or animals could chew on the cables but the more likely scenario is a short in the high voltage cable tripping your breaker. If you have the time to redo it, go for it but I wouldn’t feel bad if you don’t wanna bother
@EikiMartinson
@EikiMartinson 2 месяца назад
@@PatrikTheDev Thanks for you comment though! I'm all about completeness and correctness. It's also worth covering the terminal strip for safety since the switch implies users can access the internals, as pointed out by another commentator. Then there's the other things I could do with an outdoor Raspberry Pi... this installation is very near a defunct satellite dish that would make a great mounting point for a weather monitoring station!
@jmyler
@jmyler Год назад
Very nicely done. Now just to get some grass :)
@EikiMartinson
@EikiMartinson Год назад
You're not wrong! 😆
@aminroustapour1011
@aminroustapour1011 Год назад
Nice and clean👌
@EikiMartinson
@EikiMartinson Год назад
Thank you!
@-______-______-
@-______-______- 28 дней назад
Do you mean 24V DC?
@EikiMartinson
@EikiMartinson 27 дней назад
Nope, the transformer makes 24 VAC; no rectification happening there. That's the standard for irrigation system solenoid valves.
@-______-______-
@-______-______- 27 дней назад
@@EikiMartinson outside of the USA I frequently see 220 VAC solenoid valves, and all of the others of lower voltage are DC. To me, using 220 VAC with water just seems too dangerous. Especially the ones that frequently have no waterproof casing around the power terminals.
@EikiMartinson
@EikiMartinson 27 дней назад
​@@-______-______-Ah, fair enough! I don't know about solenoid valves outside the US. But 24VAC is common for residential systems here at least. I assume you're talking about places that have 220V mains so they're just switching that directly. I too would be less than comfortable with that!
@rodwilkins1614
@rodwilkins1614 Год назад
Or just use an Amazon smartplug inside feeding a solenoid to your water supply?
@EikiMartinson
@EikiMartinson Год назад
Oh there's a thousand ways to do this, no doubt. Share your results!
@Grovesternator
@Grovesternator 8 месяцев назад
Upgrades watering system, paints house. Please come upgrade my watering system. I like your attention to detail.
@EikiMartinson
@EikiMartinson 8 месяцев назад
Thanks so much for your comment! Sometimes the sort of thinking you reference can hold me back too; if I think too much about everything that ideally should get done before doing something else, I'll never get started!
@PARitter
@PARitter Год назад
Drilling metal when barefoot? (8:33)
@EikiMartinson
@EikiMartinson Год назад
A bad habit to be sure!
@dmcook333
@dmcook333 6 месяцев назад
I noticed and thought of myself 😏
@emaneht9886
@emaneht9886 Год назад
pfff, a rpi just for that? you can do this with esp8266/32 or arduino
@EikiMartinson
@EikiMartinson Год назад
You can! But like I said, "an outdoor general-purpose computer". There may be other things I want this RPi to do...
@emaneht9886
@emaneht9886 Год назад
@@EikiMartinson then you can add a speaker and play internet radio, rf433mhz receiver to you can control sprinklers and play/pause internet radio via a rf remote control (faster than using web browser). You can also attach a pir sensor and TH sensor and get outside weather conditions. You can also add a small led strip (maybe 10leds - not to draw too much current) but ws28XX and use it to “announce” things (red means rain is coming, blue means dinner is ready, green means internet is down, etc)
@EikiMartinson
@EikiMartinson Год назад
@@emaneht9886 All good ideas! A weather station was definitely part of my original plans.
@thomasgregory1018
@thomasgregory1018 Год назад
how do you get open sprinkler to map to a gpio pin?
@libertine5606
@libertine5606 Год назад
Ya, those old timers were SCARY! The boxes weren't even weather proof.
@waalwink
@waalwink 3 месяца назад
Or just buy an already compleated piece of hardware from open sprinkler.
Далее
Automatic Garden Watering System
15:28
Просмотров 210 тыс.
She Couldn’t Believe I Did This! 😭 #shorts
00:12
DIY Sprinkler System That Digitally Maps Out Your Yard
20:10
We Need Internet! Running a 3,000 ft Fiber Optic Cable
19:53
7 Smart Irrigation Systems TESTED: Buyers Guide
13:16
Просмотров 183 тыс.
DIY Raspberry Pi Arduino Plant Watering System
17:46
Просмотров 44 тыс.
High precision speed reducer using rope
20:19
Просмотров 1,8 млн
Make Dumb Electronics Smart for $3
13:13
Просмотров 709 тыс.
Satellite Hacking Cyberdeck v2.0
17:47
Просмотров 226 тыс.
DIY Watering System for a Greenhouse/Garden
8:47
Просмотров 25 тыс.
She Couldn’t Believe I Did This! 😭 #shorts
00:12