How To - Cheap, DIY Arduino Irrigation Controller with MySensors

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 พ.ค. 2024
  • Update: See the MySensors page for a slightly updated wiring diagram (added a 1K resistor)
    Update 2: The code in this video no longer works. Please use the code and libraries referenced in the MySensors build page: www.mysensors.org/build/irriga...
    In this step-by-step video I'll show you how to build an Arduino irrigation controller using MySensors. The controller can be added to various home automation controllers. Please visit mysensors.org for a current, complete list. For more information on what parts are needed, the Arduino code and if you need any help please go to: www.mysensors.org/build/irriga...
    I use these valves: www.orbitonline.com/products/...
    And the sprinklers in the video are like this: rover.ebay.com/rover/1/711-532...
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @BGLENN-dp4tx
    @BGLENN-dp4tx 3 หลายเดือนก่อน +3

    I've been a "Arduino-related" project hardware/software designer for about 10 years - and electronics/software for over 40 years. Your project video and "how-to" format is excellent. Kudos to you and those original designers to which you attribute success. I, for one, applaud you all and your willingness to share it with others.
    To that end, if I might make just a constructive and positive suggestion, it would be to include an actual electronics schematic diagram in addition to the color-graphical "Fritzings". I remember with Fritzing diagrams first appeared. They provided a way to circumvent the task of needing to learn basic electronic protocol. I am 75 years old now but when I was a boy at age 9 or 10, Fritzing workarounds did not exist. Learning electronics at that age wasn't difficult at all but it did require a little effort. That effort, fortunately, snowballs into very, very useful skill sets. I am thankful I had no "workaround" to short-circuit (no pun intended) the learning of actual electronics. Whether for hobbyists or budding professionals, NOT knowing the basics of electronic schematic diagrams is a barrier to these pursuits - especially for people who wish to excel in developing expertise in both software AND hardware. The exclusive use of Fritzing diagrams creates a skill set which is far too heavily weighted in coding and software. Hardware integration beyond a "copycat" scenario can never advance. Instead, harvesting the work of others through constant Google searches is the predominant course of research and development. No offense should be taken when noting that a case in point is that this project is more popular to viewers whose dependence on wiring "graphics" vs those who, like myself, come here to see if improvements to circuit functionality have been added. Without a "real" schematic, it's impossible to evaluate whether or not the electronics interconnections are at their best. To do that, one must do what should be readily available in this project - draw a proper electronic schematic. With that schematic, one can make a very quick assessment as to the simple improvements (like noise immunity) which may or may not exist in this design. In other words, one shouldn't have to build this project according to "Fritz" wirings to discover design weakness that could be spotted in a few minutes of looking over a standard schematic.
    In time, if these projects will simply include a real-world electronic schematic, people's exposure to real-world electronic symbology and wiring conventions will propel them to ease in reading such schematics and will accelerate the design of projects yet to be conceived.

  • @danterusso6354
    @danterusso6354 8 ปีที่แล้ว +4

    Thank you! I have been struggling with my version of this project for quite some time. After watching your efforts I decided to revamp my approach entirely. I appreciate you!

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      +Dante Russo Glad it helped!

  • @ANTHONYBOOTH
    @ANTHONYBOOTH 5 ปีที่แล้ว +17

    DUDE!!! Your Soldering is WONDERFULLY THERAPEUTIC to WATCH!!! :D ....NICE WORK!!! and GREAT VIDEO!!!

  • @caffeinatedinsanity2324
    @caffeinatedinsanity2324 5 ปีที่แล้ว

    I love how you put your radio and arduino in female sockets and yet soldered directly the 595 chip on the board.

  • @AllStateXC
    @AllStateXC 7 ปีที่แล้ว +6

    I love how neat and professional you make it using the solder. However, I'm a we lazier so I'll just use a regular breadboard XD. Love the video, it's very inspiring. Will be sure to reference this when I do it myself.

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

    Thank you for posting your code. This is a great demo. 10/10.

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

    Thank you for this video, it was very informative and helped me.

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

    Great job of creating and videoing the PCB !!!

  • @mohammedzaman1937
    @mohammedzaman1937 6 ปีที่แล้ว

    excellent video! any thought about measuring moisture of the different zones. And automate the whole processes.

  • @rayscrafield2106
    @rayscrafield2106 7 ปีที่แล้ว

    Awesome video. I am just starting out with Arduino and know very little but your video was so clearly done that I understand most of it. I only hope that sometime in the future I will have the knowledge that you have. Thanks. I'm just an "old" guy who is trying to stay in the present. Videos like yours are making that possible.

    • @peteb9105
      @peteb9105  7 ปีที่แล้ว

      Great, glad you like it! You'll get there soon :)

    • @rayscrafield2106
      @rayscrafield2106 7 ปีที่แล้ว

      Pete, I'm at a loss though. I have been watching all the videos on "how to do it" and I bought a kit with all the stuff to get started but now I'm high centered not knowing whether I should just dive in and build something or wait until I understand the coding first. What say you? Keep it easy, I'm 73 going on 20.

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

      First off, that's awesome that you are 73 and learning this stuff! Keep it up! For me personally it's a combination of both (diving in and understanding). As you start to dive in you will get more understanding because you will be forced to learn when you have issues. I would say just take your time and don't expect too much right away or you will get frustrated quickly. As far as this project goes it is definitely more complex. I'm not sure what exactly your goal is but if it's automation with Arduino you may want to start with a simpler project first. Like a motion sensor or temp sensor. Check out MySensors.org for info on this. Hopefully that helps. Pete

    • @rayscrafield2106
      @rayscrafield2106 7 ปีที่แล้ว

      Thanks Pete, for taking the time to reply. I have no intended goals at this point other than to "LEARN" something new. Gotta keep the grey matter from dying. I am a computer junkie but I really know just enough to keep all my neighbors machines running. I stumbled upon the whole Arduino thing by accident and have hooked. I just wish there was someone close by to "buddy up" with. It's very lonesome out here in "senior land".

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

      Have you looked around for a Maker club? Maybe there is one near you that you can join?

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

    I really like the fact that you didn't hyperfocus on making things look "neat". More and more of us are learning using youtube for this sort of thing and I feel like those new to doing prototyping get hung up on or feel like they have to make things pretty. Really, everything most people do are one-off's. Does it really matter if it's pretty or if the wire traces are well designed? Not really.. lol
    Anyways, really loved the video. :) Lot's of good pointers too!

    • @peteb9105
      @peteb9105  7 ปีที่แล้ว

      Thanks :)
      Yeah, this is sitting in my basement with no one looking at it. If it was in the center of my house it would have to be a little neater :)

  • @markgiles8527
    @markgiles8527 6 ปีที่แล้ว

    My parents irrigation controller has quit working. It would be fantastic to replace it with something like this. Nice one, guys.

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

    Really appreciate this video!!! I’ve got a lot to learn!

  • @alexb9039
    @alexb9039 2 ปีที่แล้ว

    Great project. Awesome soldering skills.

  • @billybbob18
    @billybbob18 5 ปีที่แล้ว

    I have that exact same breadboard.
    Very nice wire routing btw.

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

    Excellent video. Thanks so much. You have a real gift for clarity and instruction pacing. This cleared up a number of questions I had regarding controllers. And, I learned a log about fabrication ideas.

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      +Brian Mickley Great, thanks for the comment!

    • @sunark1927
      @sunark1927 4 ปีที่แล้ว

      Echo the same ...Excellent job. Both clarity n the project

  • @morpher44
    @morpher44 8 ปีที่แล้ว

    Since there is a drought, a nice software feature would be to calculate how much water your using based on time and flow rate. You could budget water usage that way.

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

    Thank you for documenting this!

    • @cw4608
      @cw4608 3 ปีที่แล้ว

      @Quincy Wesley are you stalking my posts?

  • @akureyri2824
    @akureyri2824 7 ปีที่แล้ว +5

    Great video. Liked and subscribed!

  • @jbob6429
    @jbob6429 8 ปีที่แล้ว

    Great video man very clear and the uf u see on the capacitors stand for micro farads. You are a great speaker keep it up.

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      +jesse ray Thanks. Yeah, I probably should have looked that up before making the video huh? :)

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

      O well now u have no need to look it up.

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

      jesse ray Yep :)

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

    Really interesting solution!

  • @peteb9105
    @peteb9105  8 ปีที่แล้ว +12

    +loannis Kalfas
    I couldn't reply to you directly. Sketch uses 24,456 bytes (79%) of program storage space. Maximum is 30,720 bytes.
    Global variables use 1,237 bytes (60%) of dynamic memory, leaving 811 bytes for local variables. Maximum is 2,048 bytes.

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

      +Pete B TODAY IT USES 32748 bytes could you share the older libraries adecuate to this to work in promini 328?

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

      zelthan Do you have debug enabled in the MyConfig.h file? If so please comment out this line: #define DEBUG
      Make sure to save the .h file then recompile the Arduino code. It should be around 25,342 bytes.

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

      +Pete B sorry Pete don know how to enable debug, could you explain me that please :), I tried using the code editor from mysensors site an arduino software( which was worst lots of errors poped out after downloading libraries) I dont know where y that librarie / MyConfig.h

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      zelthan Let's continue the conversation here: forum.mysensors.org/topic/153/irrigation-controller-up-to-16-valves-with-shift-registers/143

    • @prempreygaming4029
      @prempreygaming4029 6 ปีที่แล้ว

      Can you write code arduino controller timer Real O'clock AC 220V

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

    Thanks for your great effort..
    I am asking about receiver section and its place as i cant find it in the video, also Valves are battery operated or AC power operated ?!

    • @peteb9105
      @peteb9105  7 ปีที่แล้ว

      +Sief Eldin Yones I use MySensors to communicate with the home automation controller. Check them out at MySensors.org
      The valves are powered by a 24v inverter plugged into the wall

  • @vm2482
    @vm2482 8 ปีที่แล้ว

    Great video and thanks Jim.

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

    thank you so much! great video :)

  • @mebd3767
    @mebd3767 6 ปีที่แล้ว

    Hi Pete, Could you add a schema for the parts and wiring on the prototype board? the breadboard sketch is a bit vague for us novices. Thank you

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

    Hi Pete! thanks for the video! I'm doing a similar project but for indoor use. I'm thinking of using a 9v battery as a power source to supply enough power to run a small water pump as needed. I want to be able to view the values of the ambient air temp/ humidity, soil moisture, as well as be able to turn on the water supply on the app. The pump I am using is a submersible water pump used for a fish tank. I also have an Ardiuno Uno board can I used that instead? Any recommendations would be helpful to point me in the right direction.
    Thanks again!

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

      Yes, you can use an Uno. Battery powered may be difficult as special processes need to be put in place to use battery (an consume as little power as possible). If you can use a simple 5V cell phone charger your life would be much easier :)

  • @mattmorris900
    @mattmorris900 6 ปีที่แล้ว

    Great Video, I'm confused how this now links into the valves/ water supply / pumps etc?

    • @peteb9105
      @peteb9105  6 ปีที่แล้ว

      You would connect the output of the relays to the positive wire on the valves. The other connection on the valves would be wired to the same negative wire. You can see the multi-colored wires in the picture at this link: www.mysensors.org/build/irrigation
      Those all go to my valves.

  • @alikasim290
    @alikasim290 6 ปีที่แล้ว

    we have a simple project for school when the load connected to module relay the lcd work well and then display strange symbols without load every thing right

  • @johnhutu8918
    @johnhutu8918 6 ปีที่แล้ว

    Good job. Thanks, Liked and subscribed!

  • @monkeseeaction21987
    @monkeseeaction21987 2 ปีที่แล้ว

    Thank you for your content! I am looking for a way to design an automatic water change system for my future fish room, and I am definitely going with a similar system to this. I might even automate the entire fish room including pumps, lighting periods and CO2 periods. This is so much better than something like a garden irrigation system. They are expensive and offer you not that many relays or programming freedom

  • @ahmedhamdy4611
    @ahmedhamdy4611 6 ปีที่แล้ว

    Learn Eagle!! it'll help making solder jobs like this easy. Great video btw! may use some ideas for Senior Design thanks!

  • @janiwindsor
    @janiwindsor 6 ปีที่แล้ว

    You are legend. Thanks a lot for this video

  • @boolfnasa2582
    @boolfnasa2582 6 ปีที่แล้ว

    Hi, Beautiful arrangement and neat/simple mounting board arrangement, You are sending me back to square 1 on my version of this gadget, you gave me some different perspectives. Thanks.Concerning the 3v3 regulator, it says only
    •3.3v voltage regulator is in the components list.Can you please specify the exact model you used because its sizes fits well the pcb holes/traces, I am worried if I order any 3v3 smd regulator online the size will be different and will be more difficult to fit.Thanks

    • @izemanevobike
      @izemanevobike 6 ปีที่แล้ว

      you could take any 3.3v dc/dc fixed voltage type you like. i used a to-220 case ld33v. needs more space, but is easier to solder. space isn't an issue here anyway?!

  • @seans9168
    @seans9168 8 ปีที่แล้ว

    Nice job! Great video detailing all the steps.

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

    A NICE WORK KEEP IT UP....

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

    good job...thanks for video

  • @Arashredsun
    @Arashredsun 4 ปีที่แล้ว

    Would you help me.... when i am trying to upload the code there is an error : byte clock 8 re-declared as a different kind of symbol thanks in advance

  • @timm3802
    @timm3802 7 ปีที่แล้ว

    Great project.... and super explanation. Thumps up from Denmark

  • @user-bj4lp3fr1o
    @user-bj4lp3fr1o 2 ปีที่แล้ว

    What does the shift register do? Translate parallel data to serial data, or vice-versa or store data?

  • @jacksonteneng7287
    @jacksonteneng7287 3 ปีที่แล้ว

    Hi Pete, Thanks a lot for the great job done! I really enjoyed the clarity in your explanation. 1 Question: is there an added 10K resistor connected between the push botton and the vcc? What is its function? Thanks in advance for your reply.

    • @peteb9105
      @peteb9105  3 ปีที่แล้ว

      Good catch. It is a pullup resistor. This project has undergone some changes since I first did the video. I just looked at the code and it looks like the button is now using the internal pullup resistor (INPUT_PULLUP) so you should be able to skip the 10k resistor. If you don't use the the internal pullup resistor you need the 10k resistor so it's not "floating" and giving you false "pressed" signals.

    • @jacksonteneng7287
      @jacksonteneng7287 3 ปีที่แล้ว

      @@peteb9105
      Thanks a lot for the explanation :) . It's clear now.

  • @davidizquierdogomez
    @davidizquierdogomez 6 ปีที่แล้ว

    Thanks for the video....one question....whats the 3.3 V controller? could you please put a link where ti can be bought???
    why for the capacitors?

    • @peteb9105
      @peteb9105  6 ปีที่แล้ว

      If you follow the link in the video description you will find all the parts I purchased (on the MySensors site).

  • @yanbudi1865
    @yanbudi1865 7 ปีที่แล้ว

    excellent project

  • @morpher44
    @morpher44 8 ปีที่แล้ว

    Another idea is to have soil-moister sensors, and to use data from the to decide whether or not watering is even necessary. For example if it rained, you can skip watering, or if is a bunch of really hot days during summer, watering may need to be increased.

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      +morpher44 Yes, that is a good idea. I don't have soil moisture sensors yet but I do adjust the watering time based on past and future weather. The idea behind this controller is to keep it fairly simple then add additional sensors for more control through your home automation controller. You can check out my other videos to see how I'm currently doing this. Eventually I may add some moisture sensors but this is working well for me so far. Here is the link to the playlist: th-cam.com/play/PLGzVpwPAKnPYoldab91pdluXgMIh4if9Q.html

  • @ovi_4
    @ovi_4 4 ปีที่แล้ว

    Wow, great project Tnx.

  • @burhanuddin127
    @burhanuddin127 3 ปีที่แล้ว

    Hi. For What purpose
    you have used a shift register?

  • @abdelrazekshamma3643
    @abdelrazekshamma3643 7 ปีที่แล้ว

    thanx alot my frind . i want to ask how u install esp8266 and how its directly conected to the board. thanx

    • @peteb9105
      @peteb9105  7 ปีที่แล้ว

      I have not played with an ESP yet. You should be able to wire it up as a MySensors ESP gateway though. See this: forum.mysensors.org/topic/2247/why-don-t-you-write-mysensors-library-for-esp8266-similar-to-the-nrf-one and this www.mysensors.org/build/esp8266_gateway

  • @paulowen9628
    @paulowen9628 3 ปีที่แล้ว

    Hi Pete B,
    Great video, I’ve just come across which is similar to a scheme I have had working for a couple of years. One issue I have experienced is the relay contacts burning out after a period of use.
    My valves are 12v and are switched on once per day for between 2 and 20 minutes.
    Have you experienced the same problem and, if so, how did you resolve it.
    Many Thanks,
    PaulO

    • @peteb9105
      @peteb9105  3 ปีที่แล้ว

      I haven't had an issue with relays yet. I have had them running for years. Mine are controlled with 5v. Maybe you can try switching your power supply? I'm not sure that will help though since I've never looked into it.

    • @paulowen9628
      @paulowen9628 3 ปีที่แล้ว

      @@peteb9105 Thanks for getting back to me. Like you I’m using 5v relays, so I don’t know.

  • @EsotericArctos
    @EsotericArctos 4 ปีที่แล้ว

    I know this is a few years old, but I found it quite interesting. With this project,can you have multiple zones on at the same time? For example I have two garden beds, one needs water every day, the other every second day, but I want both watered at the same time.
    Can it be set so every second day, zone 4 and 5 water at the same time, or does it require zones to run one at a time?

    • @peteb9105
      @peteb9105  4 ปีที่แล้ว

      By default it only does one zone at a time. You could definitely customize the code to have both turn on though.

  • @z11aalex
    @z11aalex 9 ปีที่แล้ว

    Great! nice components management!

    • @peteb9105
      @peteb9105  9 ปีที่แล้ว

      z11aalex Thanks!

  • @orlycohen4334
    @orlycohen4334 4 ปีที่แล้ว

    Really nice video ! Can someone tell me which sprinklers & valves is used here , the link isn't available..
    thanks a lot ,
    Orly

    • @peteb9105
      @peteb9105  4 ปีที่แล้ว

      Thanks for letting me know. I just updated the video description with new links. Pretty much any valve and sprinkler heads will work. This just controls the power to the valves. The key is to make sure you have a power adapter that supplies the correct amount of voltage and amperage that the valves require. In the US most valves use 24 volts.

  • @dannyrocheleau8378
    @dannyrocheleau8378 8 ปีที่แล้ว

    Hi Pete B, I've been hesitating in building my own irrigation system for many weeks. After seeing you video I decided to jump in the Arduino project head first. I bought all my parts and I've started testing things out. I didn't buy everything you had, since I'm not the best guy for soldering projects. Anyhow, I noticed you placed a second connector to pass 24v to the 5v relay. Do you have some schematics to share on this as I'm not sure I get how the 24 volts are being passed through a 5v relay? Any help would be nice. Great work by the way.
    I can't wait to see other projects from you.

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      +Danny Rocheleau
      Hi Danny, so basically you need to daisy chain the 24V to each relay from the power source. They will all have the same 24V wire interconnected to the relay. I chose to do this with the pin on my relay that is not connected in the white lines (Normally Open - 17:19 in the video). You would then connect the wire going to the irrigation valves to the center connection of the relay. I'm not sure what your relay board looks like but check out the video around 17:19 in the video to see the white lines I'm referring to. Hopefully that helps.

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

    Thank you!

  • @reymondcruz2048
    @reymondcruz2048 6 ปีที่แล้ว

    pls can someone know how to function the automatic umbrella when the rain drops using aruino sensor??

  • @mountainfanatic
    @mountainfanatic 8 ปีที่แล้ว

    Pete B, could you maybe please provide also integration with Openhab. Since its opensource unlike Vera. I know Mysensors is kinda oriented around Vera...

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      +msevyt I would love to but I have no knowledge of OpenHAB :(
      Maybe someone on MySensors can help. I wouldn't think it would be too difficult.

  • @jaycee5403
    @jaycee5403 3 ปีที่แล้ว

    Hi! Can I use HC-05 bluetooth module instead of Wireless Adapter? Thank you in advance.

  • @vishalpatel-bx3hk
    @vishalpatel-bx3hk 5 ปีที่แล้ว

    I made project about automatic green house using arduino so please send me how to make this project steps about sensors

  • @swapnilbandgar8730
    @swapnilbandgar8730 4 ปีที่แล้ว

    this is fab project... great work... can you explain the code please... make a video for it...also I want to know how you used shift register...that is unique I found on arduino videos in TH-cam...please explain it too...

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

      Unfortunately I don't have the time. You should be able to find the info you need on shift registers with Google though. As for the code, you can ask specific questions on the MySensors forum if needed. I would review the MySensors site to understand what is happening with the library. Sorry I couldn't be more helpful.

    • @swapnilbandgar8730
      @swapnilbandgar8730 4 ปีที่แล้ว

      @@peteb9105 it's ok I can understand... But keep posting more such interesting projects... Thank you...

  • @apzeiroturbo
    @apzeiroturbo 9 ปีที่แล้ว

    Very good project! Congratulation! May ask you why did you use shift register? Was not possible to use directly to the arduino i/o ports?

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

      apzeiroturbo Thanks! The shift register is there to allow control of up to 16 valves. If you only have a couple of valves the code could definitely be modified to work without the shift register.

    • @apzeiroturbo
      @apzeiroturbo 9 ปีที่แล้ว

      Pete B I will try with 8 relays, so I think I can go just i/o. Is it right? Thank you for the video.

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

      apzeiroturbo Yes, it should work as long as you have enough pins free. You will also have to modify the code a little but it shouldn't be too difficult. You might consider ordering some shift registers for future projects anyway. They are very useful and cheap. :)

    • @jimb9831
      @jimb9831 9 ปีที่แล้ว

      apzeiroturbo
      The code is extensible to 16 valves, so there were not enough IO pins with the radio, Pushbutton, display and LED connected...

  • @tsfablab
    @tsfablab 7 ปีที่แล้ว

    Could you hook this up to turn on with soil moisture sensors that are in the garden/lawn somehow to operate the solenoid switch panel you have?

    • @peteb9105
      @peteb9105  7 ปีที่แล้ว

      Sure. It would be easiest to do it with a home automation controller but you could probably code it to have the sensors plugged into it directly. That is not supported in the code by default though.

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

    i want to control the water pump manually using bluetooth when my sensor sense the changes of soil moisture

  • @Darrengb
    @Darrengb 8 ปีที่แล้ว

    Great job

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

    Pete, I have watched your video so many times I feel like I know you. I have built this circuit on a breadboard and on a perf board and I'm having the same issues with each. I noticed that there is a 1K (pull-up?) resistor between VCC and pin 13 of the shift register and Pin 6 of the mini. Did I miss something somewhere? I don't see it on your board and don't recall it being mentioned in the video. Thank you for all your work on this tutorial.

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

      :)
      The resistors were added later based on some input from the MySensors forum post. My memory is a little hazy but I believe they were there to stop a small bug that happened for some people where a few valves would briefly turn on when the node was first powered on.

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

      I thought that might be the case. Thank you for getting back to me.

  • @neftalisalazar2352
    @neftalisalazar2352 3 ปีที่แล้ว

    Quick question how does one connect then configure this to the mechanical side of the irrigation system we have the electrical and code components now how do we connect it to the actual irrigation system?

  • @map7y7o
    @map7y7o 3 ปีที่แล้ว

    What is the power of this soldering thingy - I have one on 220V 60W and I think It's a bit bigger than what I need for this slim wires. Is that right?

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

    hi i'm asking where can i find The
    Watering solenoid valve thank you

    • @peteb9105
      @peteb9105  7 ปีที่แล้ว

      I got mine from my local home supply store (Home Depot) but something like this will work: www.amazon.com/gp/product/B00004S1V2/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=B00004S1V2&linkCode=as2&tag=petewill04-20&linkId=59b17200174e7bbd423faf9bd0511210

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

    many thanks for share me.

  • @yannis486
    @yannis486 8 ปีที่แล้ว

    how much memory does it use in the arduino?

  • @leeoroque1942
    @leeoroque1942 7 ปีที่แล้ว

    hi sir Good day. im amazed to your project. im interested of it. can you please send to me the schematic diagram on how to wired up.

    • @peteb9105
      @peteb9105  7 ปีที่แล้ว

      Please see the link in the video description. Everything you need is there. :)

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

    hello.
    Good video!
    I tried to import the code (new version) but I got many errors.
    Do you have a newer code?
    thanks for your time.

    • @peteb9105
      @peteb9105  3 ปีที่แล้ว

      Did you download and install the required libraries? If that doesn't work, please post the errors on the forum.

  • @DRIFTLIFE3029
    @DRIFTLIFE3029 6 ปีที่แล้ว

    Hey is this 240v power supply and can i please have a parts list of all parts? Thanks awesome video

    • @peteb9105
      @peteb9105  6 ปีที่แล้ว

      Did you check out the parts list here? If so, which ones are you missing? www.mysensors.org/build/irrigation

    • @DRIFTLIFE3029
      @DRIFTLIFE3029 6 ปีที่แล้ว

      Pete B sorry didnt see that thanks mate

  • @robertmolldius8643
    @robertmolldius8643 2 ปีที่แล้ว

    I Love this stuff. 🙂👍

  • @Bianchi77
    @Bianchi77 3 ปีที่แล้ว

    cool tutorial :) thumbs up.

  • @civilbyparker2688
    @civilbyparker2688 6 ปีที่แล้ว

    Hey im getting this error below, Is this to do with a libary? Thanks for your hard work!
    MySprinkler:174: error: 'POSITIVE' was not declared in this scope
    LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); // Set the LCD I2C address to 0x27
    ^
    exit status 1
    'POSITIVE' was not declared in this scope

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

      Check out Sriram R's solution below. I will have to take a look at the code to see if a library can be switched out.

  • @gabrielcocenza
    @gabrielcocenza 7 ปีที่แล้ว

    Hey Pete! Cool project man! I just didn't understand how you can control the irrigation with a smartphone. Your project uses a radio. How is that possible? I'v tried to search this micasaverde and find nothing usefull.

    • @peteb9105
      @peteb9105  7 ปีที่แล้ว

      For this project I used MySensors (mysensors.org) to communicate with the irrigation controller. So, it looks like this: Irrigation Controller MySensors Gateway Smart Home Controller (Vera)

  • @ronbrown4551
    @ronbrown4551 8 ปีที่แล้ว

    Hi Pete,
    I bought an arduino mega to control some speakers and i also wanted to do this sprinkler control, but apparently arduino gateway plugin can't be used with UI7. It does not show up in the install apps. Hopefully they will make the change in it to be able to use it.

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      +Ron Brown Hi Ron, it actually does work in UI7. I don't personally have UI7 installed but many people do. I don't believe the app is in the app store, you have to upload the device files. Check out my MySensors getting started videos for more info.
      You will need an Arduino Nano to do a serial gateway or pretty much any of the major Arduinos to do an Ethernet gateway. I am running my Ethernet gateway with a Pro Mini. Hope that helps.
      Pete

    • @ronbrown4551
      @ronbrown4551 8 ปีที่แล้ว

      +Pete B Hi Pete,
      Thanks for getting back to me so fast. I will check out MySensors. I looked on the vera forums for the arduino app, but I couldn't find anything, but I will look again to see what I can find. I had UI5 Before and I know that the Arduino plug in was there then, but not with UI7
      Thanks

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      Ron Brown Great. There are lots of helpful people on the mysensors forum if you get stuck at any point.

  • @stunamvap8617
    @stunamvap8617 7 ปีที่แล้ว

    please, what model board relay ? have you link please? tks a lot to your sharing

    • @peteb9105
      @peteb9105  7 ปีที่แล้ว

      Check out the link in the video description. The parts list (and links to eBay) is on the MySensors build page.

  • @GT40Nut
    @GT40Nut 8 ปีที่แล้ว

    Great project. Sorry I'm sure I missed it somewhere but where is the cell phone part of the project? I'm guessing you talk to the controller using the wifi connection but what software do you run on the phone?

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      +Richard Woerz Hi Richard, the irrigation controller integrates in to Vera (getvera.com) using MySensors (mysensors.org). The cell phone app is a Vera app. So, not only does it control my irrigation but I can control lights, locks, blinds etc. Hopefully that makes sense.

    • @GT40Nut
      @GT40Nut 8 ปีที่แล้ว

      +Pete B Thanks Pete for you quick answer. I've wanted a setup like this for many years mostly to check out and repair my sprinkler system. Running back to the controller to turn the zone you're work on on and off is a total drag. Every commercial sprinkler controller I've ever used are totally not intuitive.
      I also hope on using this system to monitor a solar space heating system I'm building for my shop. I'm just getting started and you have inspired me to take some video and maybe someday post it on TH-cam.
      Thanks again

  • @alexwatt2230
    @alexwatt2230 7 ปีที่แล้ว

    Hey so when you are using vera did you need to buy any parts other than the radio?
    I guess im asking if i can buy a radio and vera will recoginze my arduino when i register

    • @peteb9105
      @peteb9105  7 ปีที่แล้ว

      You need to have a MySensors gateway (another Arduino + radio) that connects to the Vera. Check out my MySensors playlist for more info: th-cam.com/play/PLGzVpwPAKnPZ6F4fY8AevfVmcHdJFpKma.html

  • @edebiyat_arastirmacisi
    @edebiyat_arastirmacisi 3 ปีที่แล้ว

    Dude, I like your project very much. There is a point I do not understand. How does it communicate with the phone? Which application is required for this?

    • @peteb9105
      @peteb9105  3 ปีที่แล้ว

      You need a controller to interface MySensors with. I'm using Home Assistant to talk to the MySensors Ethernet Gateway which talks to the irrigation controller. www.mysensors.org/controller/homeassistant

    • @edebiyat_arastirmacisi
      @edebiyat_arastirmacisi 3 ปีที่แล้ว

      @@peteb9105 Thank's a lot. :)

  • @ThatRedstoneGuy
    @ThatRedstoneGuy 8 ปีที่แล้ว

    Hello! Is there anyway possible that you can do a video about the Wi-Fi module that you used?

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      +ThatRedstoneGuy Hello! What sort of video are you looking for specifically? I made one that shows how to hack the antenna here: th-cam.com/video/NpMnauHeR7Y/w-d-xo.html but I'm not sure if that's what you're looking for.

    • @ThatRedstoneGuy
      @ThatRedstoneGuy 8 ปีที่แล้ว

      Pete B Lol, thanks for the fast reply! Is there a way that we can actuall talk? I have a long explanation, but it's up to you.

  • @izemanevobike
    @izemanevobike 6 ปีที่แล้ว

    how would i start to debug if the LCD doesn't inititalize, or show anything else than the one line bar? the serial gives output, but only a lot of oks, fails, numbers and stuff, nothing that makes sense to me ;(
    btw: i don't use vera or something. i'd like to use it stand alone for a beginning.
    does it need to find vera first to finish the initialisation?

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

      got this sorted out. the sensor needs a hub to connect to to work. once i set up my serial gateway with home assistant, and added the mysensor stuff to it, it shows up in home assistant and i can use it.

  • @matermark
    @matermark 8 ปีที่แล้ว

    How much difference would everything be with a Raspberry Pi 2? I know a sprinkler board is out there for around $40-$45 but I see some parts are interchangeable between RPi & Arduino, but I'm new to everything. I'm currently using a Netafim controller I got for

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      matermark Good question. I don't have a Raspberry Pi so unfortunately I don't know the answer. Some people on MySensors.org are using Raspberry Pi boards with OpenHAB as controllers for their home automation system. You could use it for that but then you would still need to buy all the parts to make this controller. Sorry I can't be more helpful.

  • @jimmywoody6962
    @jimmywoody6962 3 ปีที่แล้ว

    Great video! I'm assuming you used to Elegoo 8way relay module, have you found the relay board reliable? I have seen mixed reviews. #HereInLockdown

    • @peteb9105
      @peteb9105  3 ปีที่แล้ว

      It is some generic model I got on ebay. It was the cheapest one I could find. I haven't had a single issue with it since I built it. It watered my lawn yesterday :)

    • @garfish307
      @garfish307 3 ปีที่แล้ว

      @@peteb9105 @Various Artists I am setting a controller up now with the Elegoo relay module. I got an Elegoo and another off brand and the Elegoo was packaged with much more care for what that is worth. Also, the I2C library link is no longer working but I found the same author's github site and got it from there... crossed fingers!

    • @peteb9105
      @peteb9105  3 ปีที่แล้ว

      Yes, hopefully it works for you!
      If you have a chance to submit a pull request with the updated library that would be great.

  • @SurfinScientist
    @SurfinScientist 7 ปีที่แล้ว

    What is the function of the shift register? I mean, why do you need it on the board?

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

      Well, in this case I actually don't need it (because I don't have very many zones so I could have just used the pins on the Pro Min) but it was added for other people who have more zones. Basically what it does is provide a way to have more digital output pins that can be used with the relay.

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

    What photosensor was used?

  • @izemanevobike
    @izemanevobike 6 ปีที่แล้ว

    now i have another issue: the system works so far, and it looks good. i can see the switches in home assistant, and i can switch them on and off. if i press the onboard switch i can go through activation of all zones. but no matter what i do i don't see any voltage on the pins of the shift register going to the relay board. the register is working so far, because when i set "ACTIVE_LOW" all pins go switch to 5V. but they don't toggle. any idea what i can do???

    • @peteb9105
      @peteb9105  6 ปีที่แล้ว

      Sorry for the delay. Have you double checked your wiring against the diagram linked in the description? You could also post questions on the MySensors forum if you get stuck. I have been very busy lately and haven't had the time to keep up with comments. Sorry.

    • @izemanevobike
      @izemanevobike 6 ปีที่แล้ว

      Pete B thanks for your reply. I checked the forum and read the code which made clear that w/o proper connection to the host it won‘t work. As i‘m using home assistant which doesn‘t work with var_1 etc i had to hard code the irrigation times into the arduino. Now it‘s working.

  • @bobfossil6473
    @bobfossil6473 5 ปีที่แล้ว

    I noticed a lot of similar relays controlling solenoid use flywheel diodes to protect from surge backs. This video doesn't seem to use a diode, is it needed?

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

      It has been a long time since I looked into this and I'm not at a point where I can look right now but I think there are optocouplers on the board to protect it. I have been running this for years and I haven't had an issue with surge backs though.

  • @supremeleader8796
    @supremeleader8796 3 ปีที่แล้ว

    Hey, just saw this. How's the irrigation system holding up? Did anything break or malfunction througout the years?

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

      Still working after all this time. No issues or repairs yet. There was one small change to the wiring diagram (added a resistor to the shift register of I remember right) so just make sure you look at the link in the description for that.

  • @jumbo999614
    @jumbo999614 4 ปีที่แล้ว

    Hi i new to electronics. I've only used breadboard before but never this type of board. Are the holes electrically connected to each other? If so, How do you prevent them from short circuit?

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

      No, not on the type of prototype PCB I'm using here. They are just holes that make it easier to solder to.

  • @gwenaelle9133
    @gwenaelle9133 4 ปีที่แล้ว

    good job

  • @kevinooro2582
    @kevinooro2582 8 ปีที่แล้ว

    What is the name of the android application you used in the project, I thought of making one to communicate with my radio. Could it be possible to make similar app using MIT App Inventor and still work with the radio?

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      +Kevin Ooro
      The name of the app is AutHomationHD. I didn't make it though. It is an app that's available for the Vera home automation controller. Because I didn't make it I'm not sure if the MIT App Inventor would work with this.

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

    I understand that if I make this wonderful project, I can't program it to work automatically?
    Thank you.

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

      You definitely can. It doesn't run automatically with the current code so you would have to add that yourself though.

  • @manikandanr4711
    @manikandanr4711 8 ปีที่แล้ว

    thank you for your information sir, OK sir u are saying that the arduino is connected with your phone through internet,vera,isit . OK now what I am asking is there is any possibility to connect phone app with arduino without internet

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      +Manikandan R Hmm. You could still use the Vera (or something like Domoticz or OpenHab) and not have it connected to the internet (just over wifi). If you are trying to remove the controller I wouldn't know how to do that. There is probably a way but I have never needed to look into it because it works with my Vera. Sorry.

  • @user-oy4rm9kr4t
    @user-oy4rm9kr4t 3 ปีที่แล้ว

    hello, can you turn on all zones concurrently? If not, do you have any suggestion to do that?

    • @peteb9105
      @peteb9105  3 ปีที่แล้ว

      Not with this code. You will have to customize the code to turn on all zones.

  • @hn3
    @hn3 8 ปีที่แล้ว

    Hello Pete B, could you send the spec of the valves you are using?

    • @peteb9105
      @peteb9105  8 ปีที่แล้ว

      Hi Henrique. I'm using these valves: www.homedepot.com/p/1-in-FPT-Auto-Inline-NFC-Valve-57101/100006711

  • @sriram97
    @sriram97 6 ปีที่แล้ว

    Can i Feed the variables directly into Arduino's Code with out using a Vera. Because i want my Arduino to turn on the switch for 1 min every 15 min.

    • @peteb9105
      @peteb9105  6 ปีที่แล้ว

      You would have to modify the code but yes, it definitely can be done.

  • @nedian786
    @nedian786 5 ปีที่แล้ว

    I have a need to program 16 zones - how can I extend it to support more than 8 zones? Any guidance would be much appreciated. thanks in advance.

    • @peteb9105
      @peteb9105  5 ปีที่แล้ว

      You can have multiple shift registers linked together. If I remember right you can have 64 total zones. I haven't done more than 6 zones so unfortunately I don't have any more info than that. Check out the forum thread in the video description though. I believe someone made 16 zones and commented on it (but not positive).

  • @jiyuvelasco4246
    @jiyuvelasco4246 6 ปีที่แล้ว

    sir, how the time and date recorded without using rtc DS3231 module? did you change the time and date manually?

    • @peteb9105
      @peteb9105  6 ปีที่แล้ว

      It is received from your home automation controller through the MySensors Gateway.

    • @jiyuvelasco4246
      @jiyuvelasco4246 6 ปีที่แล้ว

      btw sir i have a project that will count how many mangoes are peeled within this day and my problem is on how to display the previous status. i hope u help me about this sir :( heres my email address sir jeonellev@gmail.com

    • @jiyuvelasco4246
      @jiyuvelasco4246 6 ปีที่แล้ว

      just like what you did in your video sir, it displays last watered. hope you give attention to my big problem sir :(

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

    Hello.
    What app did you use for your phone?
    Thank you.

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

      It was called AutHomeationHD. It's no longer being developed though 😞