DIY IoT Sprinkler Controller, made with Raspberry Pi and OpenSprinkler

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ม.ค. 2023
  • 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.com/archives/159...
    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.creativecommons.org/licen...
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 44

  • @shaunbrassell68
    @shaunbrassell68 11 วันที่ผ่านมา +1

    Thanks dude, enjoyed that!

  • @SezginRuhi
    @SezginRuhi วันที่ผ่านมา

    THX

  • @muzguz7276
    @muzguz7276 3 หลายเดือนก่อน +2

    Nice work. Like your vice bender.

    • @EikiMartinson
      @EikiMartinson  3 หลายเดือนก่อน

      Thank you!

    • @EikiMartinson
      @EikiMartinson  3 หลายเดือนก่อน

      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!

  • @vinniemoscaritolo3318
    @vinniemoscaritolo3318 2 วันที่ผ่านมา

    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  2 วันที่ผ่านมา

      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!

  • @AdventureOften
    @AdventureOften หลายเดือนก่อน

    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  หลายเดือนก่อน

      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.

  • @aminroustapour1011
    @aminroustapour1011 10 หลายเดือนก่อน

    Nice and clean👌

  • @darapps
    @darapps 3 หลายเดือนก่อน +2

    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  3 หลายเดือนก่อน +1

      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!

  • @jmyler
    @jmyler 7 หลายเดือนก่อน +1

    Very nicely done. Now just to get some grass :)

    • @EikiMartinson
      @EikiMartinson  7 หลายเดือนก่อน

      You're not wrong! 😆

  • @libertine5606
    @libertine5606 11 หลายเดือนก่อน +1

    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  11 หลายเดือนก่อน +2

      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 7 หลายเดือนก่อน +1

    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  7 หลายเดือนก่อน +1

      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!

  • @juandaye
    @juandaye ปีที่แล้ว +1

    Very nice idea. Perhaps you can also use the camera to deactivate the system while people are there.

    • @EikiMartinson
      @EikiMartinson  ปีที่แล้ว +1

      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 ปีที่แล้ว +2

      I would assume it would be possible with home assistant to connect platforms and frigate to get human detection.

  • @rab9212
    @rab9212 10 หลายเดือนก่อน +1

    Great video. I like your enclosure box but can't find it on Amazon. Can you post a link, please?

    • @EikiMartinson
      @EikiMartinson  10 หลายเดือนก่อน

      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!

  • @cisco-man8638
    @cisco-man8638 6 หลายเดือนก่อน +1

    It is against the NEC to run high voltage in the same conduit with low voltage.

    • @EikiMartinson
      @EikiMartinson  6 หลายเดือนก่อน

      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?

  • @HappinessInSeconds
    @HappinessInSeconds 19 วันที่ผ่านมา

    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  18 วันที่ผ่านมา

      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?

  • @Grovesternator
    @Grovesternator 3 หลายเดือนก่อน

    Upgrades watering system, paints house. Please come upgrade my watering system. I like your attention to detail.

    • @EikiMartinson
      @EikiMartinson  3 หลายเดือนก่อน

      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!

  • @rodwilkins1614
    @rodwilkins1614 10 หลายเดือนก่อน

    Or just use an Amazon smartplug inside feeding a solenoid to your water supply?

    • @EikiMartinson
      @EikiMartinson  8 หลายเดือนก่อน

      Oh there's a thousand ways to do this, no doubt. Share your results!

  • @PARitter
    @PARitter ปีที่แล้ว

    Drilling metal when barefoot? (8:33)

    • @EikiMartinson
      @EikiMartinson  ปีที่แล้ว

      A bad habit to be sure!

    • @dmcook333
      @dmcook333 หลายเดือนก่อน

      I noticed and thought of myself 😏

  • @emaneht9886
    @emaneht9886 ปีที่แล้ว +3

    pfff, a rpi just for that? you can do this with esp8266/32 or arduino

    • @EikiMartinson
      @EikiMartinson  ปีที่แล้ว +2

      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 11 หลายเดือนก่อน

      how do you get open sprinkler to map to a gpio pin?

    • @libertine5606
      @libertine5606 11 หลายเดือนก่อน

      Ya, those old timers were SCARY! The boxes weren't even weather proof.