arduino z wave


With my sensors check out the video description for a link to get more info on which controllers are compatible anyway, before I won’t show the actual controller, I want to do a quick demo of the irrigation controller working. So here it is I’m just going to turn on a single zone here and there is a delay to allow the valves to hydraulically reset. So once the delays satisfied, you can see my irrigation controller, my irrigation pops up here and then I can just turn it off again and immediately turn it off alright, so enough of the demo, let’s go inside and take a look at the actual control. Okay. So this is my irrigation controller here before I get started, I just wanted to give a huge shout out and thank you to Jim or Bulldog Lowell, as he’s known on the my sensors for him. Without him, this would not have been possible. This is his project. His idea basically I’m just making an instructional video how to do it Jim. I really thank you for doing this for pioneering it. Ok, so just a quick demo of how this works. So you can see up here. We have a status LCD screen so right now, it’s just system ready, so it’s, showing me the date and time that synced over from my home automation, controller and then it’s saying when it last watered. So I do have some options here. Obviously, all this can be controlled by my home automation controller.

I can start my my irrigation with automation or I can start it manually as you saw either via app or the web interface or. However else your controller can be controlled, but I do have some. I guess onboard functionality here as well with this button, so when I press this button, it’s giving me the option to water individual zones – and I can cycle through each of my zones here – notice that these zones have names. I can either name them. In my Arduino code, or they sink down from my home automation controller, when I’ve settled on a zone that I want to water, I just let it go or stop pressing the button and then it will start watering that zone so notice as soon as it started. We have this LED here. This is status LED so it’s a slow pulsing flash when it’s in a standby mode or a ready mode, and then you’ll see it. You know this fast fast flash here when it’s actually watering my it’s kind of hard to tell right now. I guess because my we’re out in my yard – but this is my third zone here and you can see the status LED on my relay – is lit. So I can control individual zones or all zones right from my controller here or using this button, and I can also stop them. So I just press this button once notice. The irrigation is halted and then it says when it was last watered so that’s.

Just a quick demo let’s go ahead and start building this, so you can have one of your own okay, so this step isn’t necessary, but I like to consider all my components to a PCB prototyping board here and some of these components. Like my pro meeting my radio, I connect into this female breadboard canet header connector strip here, so I just cut this down to size. So then, after I solder it in, I could remove my radio if necessary, place it with another if it goes bad or even a long range radio same for my pro mini that way, it just makes it a little bit more changeable. If, if I need to so I’ve just kind of prototyped out how I want this to look, they’re, not soldered in yet but I’ve, just kind of scoped it out on my board and then now I’m going to solder them in so it’s not necessary. You could just connect in the wires your DuPont, cables to your radio and your Arduino and so on, but I’ve done it this way to make everything a little bit more reliable and easier for me. So now I’m – just going to solder on my breadboard connector strips, I like to put a little bit more so around here, so I can solder my wires on a little bit easier. So what I’m doing is just pressing down on the PCB here prototyping board as I’m soldering it so those pins from the connector strip stick through and are flush to the PCB board.

Okay, now, what I’m going to do is I’m going to take some stripped out? Copper wire: this is just from cat5. Why that I had leftover and I’m going to solder it to my terminal mounts my PCB terminal mount here, so that’ll be from my ground. My PCB to remote here, that’ll be from my ground in my five volt power. Now that I have my power and ground rails connected into my PCB board I’m going to solder in my 3.3 volt power, so my radio requires 3.3 volt power and the rest of the circuit is going to use a 5 volt power. So this is my 3.3 volt regulator. Here this tiny little thing: they come in different models and sizes. I just chose this one because most of my projects use these prototype PCB boards, so I can solder directly to them and it makes it a little bit smaller and cheaper. But if you have the bigger ones, those will work as well, then I’m going to need two capacitors. So this guy up here is a 10uf capacitor and the polarity is important. So this white strip that you see here is going to be your ground side and then the other will be your power side. And then this guy over here is the point one uf capacitor and the polarity doesn’t matter so I’m going to go ahead and connect. Those in to my PCB board now so here’s a wiring diagram of how this is going to be hooked up.

So you see, I have the 3.3 volt regulator here with the end, the ground and the out, and then I, the capacitors that will be connected into that as well. That’Ll just help filter out the power, so the top pin on this little board or this little regulator here is the V. In now. I need to connect the 1uf capacitor to the V in on the voltage regulator and ground. So this is what it looks like here and I’ll just solder it in next I’m going to take my 10uf capacitor and connect it to ground making sure I check the white stripe for the the ground side and then the V out of the 3.3 voltage regulator. Then finally, I’m going to take a piece of cap v wire with the shielding still on and I’m going to solder it to the ground on the regulator and the ground on my PCB. So what I always like to do at this stage is test to make sure everything’s. Working correctly. I found that this small voltage regulator I’ve often missed soldered, something or missed a joint, so I always test at this stage just to make sure it’s correct. So I don’t have to debug further down the road, so first I’m just going to test my five volt power, which looks good and then next I will test my three point: three regulator: output here, which also looks good, so we’re ready to move ahead.

Okay, so next I’m just going to trim down the legs of my capacitors here and on the output of my 3.3 regulator. I just bent the leg down, so I can use that to connect. In my three point: three power general. I don’t like to do this. Just because, if I ever need to remove that capacitor for any reason gets a little bit more difficult, but if I do use the leg, what I’ll make sure I do is just leave a space, so I can always clip it to remove the capacitor later on. So that’s just me personally and how I do it so now I’m, just going to clip off the wires okay, am I ready to start wiring up a radio so I’m not going to go over the specifics of wiring up the radio I’ve already done that in My my sensors gateway video that I made, but I will just point out that this white square here is pin number one and that’s going to be your ground pin. Then it counts up to three four five, six, seven eight. So you can reference my video and also the my sensor site for where those wires need to go and I’m just gon na quickly wire those up now. Okay, so I’m finished wiring up the radio into the pro mini here. So next I just need to wire up power so I’m going to go to my raw pin with my five volt and then my ground pin so I’m just going to a directly off of the five volt here and then the ground here, okay, so next we’re Going to connect a button that will be used to manually run all zones so I’m going to use this button here.

Any push button will work, though, and I can never remember – which way the button works with these pins so I’m just going to connect it to my multimeter here and then test it. So what I want to see is just zero, not four, zero. So right now these two sides are connected permanently here. So then, how I’m going to wire these is across like this and then when I push it should see four zeros just like that. Okay, so these are the two sides that I need to connect in. So this is where I’m going to place my button on my PCB board here and one side is going to get connected to ground, which it just so happens that my ground wire extends out to that. Pin there and then the other side is going to get connected into pin 34 and interrupt so pin 3 on the pro mini, so here’s a little trick that I do when I’m wiring into the PCB board. On the other side. Sometimes I can switch up the pins and make mistake on which one I’m connecting into on my pro mini. So what I’ll do often times is just put a piece of wire or some sort of marker on the pin that I want to connect to so next to it then I’ll flip it over and then I’ll be able to tell exactly which pin I need to Solder into so that’s just a little trick of how I do that, because I’ve often made mistakes and soldering to the wrong pins.

Okay! So now that my button is wired up to ground and to my pin 3 on my Arduino I’m, going to put in a status LED so I’m just going to use a green LED and a 270 ohm resistor. So the polarity of the resistor doesn’t matter. But the LED does so. The short leg is going to connect into your ground and the longer leg is going to connect into your power, which will come from pin 5 so I’m going to connect the short leg directly into my ground, wire here and then I’m. Going to connect the resistor to my power leg of my Arduino or the positive of the sorry of the LED and then I’m going to take that to pin 5 on my Arduino. So the next thing I’m going to do is I’m going to wire. In my shift register so I’m using the SN 74 HC, 5 9 5 n shift register from Texas Instruments. So if you get the same one, you can follow along with my pin outs here. But if you’re going to get a different shift register, just make sure you check the datasheet for what you need to connect to where so how these shift registers work is. It starts at pin 1, 2, 3, 4, 5. 6. 7. 8. 9. 10. 11. All the way up to 16 so that’s the pin order and then what we’re going to do with this particular shift register is we’re going to connect, pin 8 to ground, as well as pin 13 we’re going to connect, pin 10 and 16 to 5 volt power.

Our latch pin is going to be pin 12 on the shift register, that’s going to connect into pin 8 on the Arduino, and then our clock pin is pin 11 on the shift register and pin 4 on the Arduino, and our data pin is pin 14 on A shift register and pin 7 on the Arduino, so if you’re, following along with me, we’ll connect all the wires up. Ok, so first I’m, just going to wire in my shift register to my prototyping board here I just had to use my wire strippers to hold this shift register in place. Well, I get the first pin soldered in now that I have the first one soldered in. I can set it by holding it with my fingers here and then just pushing it all the way through. So now that it’s all the way through, I can go ahead and solder the remaining 15 pins. So I want to make sure I have enough solder on there, so I can connect in my network wires or my cat5 wires. So if I have any of them too don’t have enough. I can just go back and do that again, okay, so this is my first ground connection here. I highly recommend you use some markers on this I’ve already thoroughly confused myself with this wiring and I’m, only just beginning, so make sure you count out the pins double check yourself. So you don’t miss wire right here.

So what I’m first doing is connecting pin 8 and 13 or ground and then I’ll connect into my ground on my PCB so now I’m going to do, pin 16 and 10 for my 5 volt power. Ok, now we’re going to connect, pin 11 on the shift register to pin 4 on the Arduino. Ok so now I’m going to put the data pin, which is pin 14 on the shift register into pin 7 on the Arduino, then I’m going to put the latch pin, which is pin 12 on the shift register in the pin 8 on the pro mini. Ok, so I have everything wired up, except for the DuPont cables that are going to plug into my relay so I’m going to connect. I only have 5 relays so I’m going to connect my first DuPont, cable into pin 15 and then second, third, fourth, fifth, so my relays are going to be pretty close to this PCB here. So I just cut some 20 centimeter DuPont, cables in half and then I’m just going to slide them through the hole with the corresponding shift register location and then I will just solder it right into the shift register. Pin there, okay, so I’ve wired in my DuPont, cables for my 5 zones and as you can see, it’d be very easy to add zone just wire in another DuPont, cable and then you just add another zone in the Arduino code, which I’ll show you how to Do later, okay, so I just need to get some power to my relay so I’m, going to pull power from the board here, my raw, which is my 5 volts coming from over here and then ground, so I’ll just wire in two more DuPont cables.

Here it will supply my relay with power. So now I need a place to connect in my 24 volt power for my irrigation valves and then that will go through my relays so I’m going to use this three piece terminal block here: I’m. Just going to put two grounds so one is going to be a ground input from my transformer and then a ground output, and then the other is going to be the input. The 24 volt input to my relays so I’m just going to connect it into this PCB board here, I’m just going to cut it off so that I can mount it to a board or something like that. So I’ve found its easiest to drill out these holes. A little bit sometimes that the terminal block posts don’t fit through, so I just drill them out a little bit and then it will slide through fairly easily so I’m going to go cut this and drill them out. So here it is just drill the holes through. So I could fit the posts and then cut it and drilled some additional, so I can mount it to my board or whatever I end up using so I’m, just going to solder my grounds together here with some 18 gauge copper wire, because this is an irrigation Controller all these relays, we use the same power source, so I pre bent a wire here that I’m going to solder to the backside of these relays.

So if I wanted to like a daisy chain, all these together, just by wiring in and screwing down a wire to each of these relays here, but I think it’s going to little look a little bit cleaner to solder this wire on the bottom and then all Have to do is screw it in my valve wires to each of these separate relays. So what I’m going to do is solder it to this pin over here, so it’ll be normally open. What that means is when this relay is off. There will be no power going to the valve, in my case so I’m, going to connect it to these two or to this far one here and then we’ll wire in our valve wire to this one so I’m going to go ahead and solder. It now. So here it is all soldered up just one wire. This is where the source wire will connect into, and that is connected to each of the relays here: okay, now I’m ready to solder in my 24 volt lining in my relay from my PCB board here. So I just got some hot glue to temporarily hold this together. While I saw these two parts two wires together, so I like to test as often as I can, while I’m building, so I can make sure that everything is running correctly, how it should, and if there are any errors I can resolve them sooner rather than later. So what I’m going to do now is upload the code, even though we’re not fully ready I’m just going to be able to test my relays with what I’ve built so far.

So to do this, we need the FTDI USB to serial adapter. So this is the model I have here: I’m, not exactly sure what the number is, but basically what you’ll do is plug in your USB cord here and then your DuPont cables on the other side, and then you just want to have these pins, corresponding with the Pro mini pins here so basically I have the how I know the ones that I need to connect is the TX and rx so it’s, just a straight shot for me into the connections here and then I’ll, just plug it into the TX and rx side of The pro mini it’s hard to see the direct here so yours may be slightly different, definitely definitely consult your data sheet because you want to make sure that these are correct and then you can plug it into your computer and upload the code which I will show You now alright, before we upload the code, I want to show you a couple things that you may want to change, but first what you’ll need to do is download the new liquid crystal library, from this bitbucket link here in the code. So just click on that download it and then drag the folder into your libraries folder or your Arduino install alright. So next let’s talk about some changes that you may want to make. So first there is the number of valves, so obviously just type in the number of valves that you have here valve reads that time.

If you want to adjust that, I just left it at 7.5 seconds or 7500 milliseconds here. But if you want to adjust that at all, you can basically, this is just the time delay between each valve activating. So when one turns off, it will delay 7.5 seconds and the next will turn on next. We have radio ID. So if you want to change your ID, you can assign a manual one year or just set it to all caps auto and then that will assign one for you. Next, we have debug. So if you’re not going to use debugging just comment this out and then it won’t put out any comments to your serial monitor and it also won’t take up as much memory on your Arduino. So basically, when you’re all finished testing you’re going to want to comment that out and we upload your code next, we have the pin mode here. So if you’re going to use the internal pull up resistor and not put it on an external one, you’re going to want to use this line of code if you’re going to use an external one, you can use this one here below that we have the interrupt. So if you’re not using a pro mini like I am, you may need to change your interrupt here, so the pro mini we’re using one interrupt one and that’s pin three. So if you changed your pin at all you’re going to need to change your interrupt here.

Okay and lastly, one thing that I forgot to mention up here is: you may need to change this line here. So if your relays use active high you’ll just want to comment out this line and then it will use active high for your release. Okay, so that’s it now we can upload our code. So what you want to do is go to tools, choose your board, so in my case, it’s going to be the pro mini I’m going to choose my processor I’m using the 5 volt 16 megahertz, and then my port. So I don’t have it plugged into my computer right now for this this code demonstration, but you just want to choose the appropriate port that pops up when you plug it in your computer. Once you have the those options selected you just like the upload button here is arrow and uploads the code to your Arduino. Okay. So now that we’ve uploaded our code, we’re ready to add it to our controller. In my case I’m, using a Vera I’ll show you how to do that in just a second. But first I just wanted to show you how I wired it up with power so I’m, just using an old USB cable that I cut up and then put on some DuPont connectors too, and then some cat5 to our connector here so make sure that your polarity Is correct, you know your positive and negative goes in the right way and then all you’ll need to do is plug in that USB cord to a cell phone charger or computer.

Whatever supplies, you know the USB power, five volts, okay, so let’s move on to adding it to our Vera. Okay, so here’s, the plug in in my Vera. So what I’ll do is I’ll click start and then now it’s looking for devices and then I just plug in my USB cable to five volt power and then it will go through and find the devices. So in my case here I should see seven devices so I’m going to see my my node and then the six devices one will be the run all and then the five individual zones. So now it’s done so I can play press stop and then, if I scroll up you’ll see that my Vera is reloading here. Okay, so now, when we go to the devices tab, we’ll see, these are our seven devices that were created so now I’m. Just going to unplug my device one more time and then I’ll plug it back in and that’ll sink itself back into Vera and we’ll start populating. These notes notice that the information here is populated. Okay, if you don’t see it, you can always reload your Vera and also do a control f5 on your browser and if things aren’t looking correct, those are the things that I do and I usually resolves it. You can also just unplug your node or your device. One more time plug it back in so I can refresh everything, but it looks like mine came up correctly here.

The next thing we’re going to want to do is set up our variables so to set our variables. We’Ll click on the wrench here we’ll go to the Advanced tab scroll down, and then we should see three variables so I’ve already set mine up here, but I’ll show you what they mean here. So a variable one is the time this zone will run. If I use the all zones button so there’s this device, the all zones. So if I turn that on it’s going to step through each of my zones and it’s going to use the time from variable one okay variable two is, if I run this zone individually. So if I were to run this back garden zone individually, it run for 18 minutes now I have these set both the same for now, but eventually I’m going to set up some automation with play to update these based on weather conditions. Lastly, we have variable three. This variable is what will display on your LCD, well its watering and also, while you’re selecting an individual zone to run the menu button. If you want, you can put a name for your zone in here, just keep in mind: you’re limited by 16 characters because that’s all the LCD can display so that’s. It don’t forget to save and then we’re ready to start testing okay. So we are finally ready to test so I’ve, just wired up some LEDs here to simulate my irrigation valves and then I’ve wired in power.

So this is the USB power that I was talking about earlier: that’s powering my Arduino and radio and other parts here. So I just pulled five volts off of that and wired it into my relays here. So remember. This was going to be my ground over here, and then this is my will be 24 volt power, but now it’s, just 5 volt power, and then I have wires coming out from each of these. This is where my valves will connect into and it’s just connecting in my breadboard, which will then power the LEDs in between these LEDs. I have a resistor here, so I don’t overload them, and then this just goes back to my ground here. Ok, so this is just going to simulate my valves being pressed now this, like, I just said this isn’t the final product we’re going to put an LED in here, our starting LCD, so we can actually see status on a screen, but I just want to test This first to make sure all this is working correctly before I throw another part in there. Ok, so I’m going to do is I’m going to plug this into my computer USB so notice. My Arduino is powering up here and what it’s doing now is it’s syncing. The data from my Vera now you can also connect in your USB to serial adapter here, and you can use this serial monitor to see updates from the my sensors plug in to your node here.

So it’ll show you what’s going on ok. So now I cheat a little bit I’ve already plugged this in and tested it because I hate doing things live, I guess. But anyway, what just happened is my light. Just started flashing and you’ll notice. One of my my first zone turned on so I’ve already done. A little bit of debugging here, but I wanted you to show you this basically what’s happening is my button here. This button will water all zones, it’s, it’s thinking, it’s being pressed so i’ve debugged, and i figured out with the help of Jim Bulldog Lowell from the forum that I need an actual 10k resistor wired in to my Arduino. So I need to put in a 10k resistor here instead of using the onboard Arduino internal pull up resistor to stop that switch from looking like it’s been turned on okay. So I know that I need to fix that which I’ll do in a minute here but I’m just going to turn off all of my zones by pressing that button, so it’s in turn on or turn off, and then I can still go through and I can Test my wiring, so I can go into my vera and I can turn on each individual zone if I want to now notice that started flashing, so we have a seven second delay which is configurable in the code. Basically, that allows your valves time to reset themselves. So you’ll notice that started flashing in seven seconds later.

My LED turned on if I turn it off or turn another one on, it will turn off my first valve and then pause for seven seconds before it turns on my other one. So now I’m, just going to turn on valve three here notice, it immediately turned off valve two. This is still flashing and then in seven seconds valve three should turn on which it did so I’ve gone through I’ve tested all mine. All my connections look good with the exception of that. I need add that external pull up but go ahead and test yours if you want. Otherwise, you can just keep proceeding on a test wall at the end, but I highly recommend testing at each stage. Whenever you can, which I’ve done here? Okay, so this is where I’m going to put my resistor here, it’s a 10k resistor and what it needs to be wired to is the five volt power so I’m just going to use the VCC of my Arduino, which is happens. This is a 5 volt Arduino. So it’s going to connect into the VCC and then into the button, pin right over here. So you remember that this is our ground. Both of these are ground on our button and then over here we have a spare pin, which is where I’m going to wire. This resistor and then this other side over here goes to pin 3 on our Arduino. Ok, so, basically we’re going to wire resistor between 5 volts and pin 3 on our Arduino and then the button.

When you press that it’s going to ground it out, which it will read as a button press so that’s how the pull up resistor works. So hopefully that makes sense if not just do a quick search online for pulp resistors and they have wiring diagrams how to connect them all. But basically I usually use the internal pull up resistor on the Arduino, but this one isn’t powerful enough so that’s. Why we’re? Using the external resistor here so I’m going to go ahead and wire that up now. Ok, so I wired in my pull up resistor here so now, I’m going to connect it into my 5 volt power again so notice. My Arduino is lit up here and then, if you can see it, just barely flash and down here is the onboard led so that’s downloading the data from vero right now when it’s finished this LED will start slow flashing there. Okay, so it’s finished downloading. All the data notice, my zones didn’t start up so that resistor has helped with my button, and the button will still work here. When I press it notice. We’Ve got the fast flashing indicating that it’s starting a cycle, and then, after the seven seconds my first zone will light up. Ok, so next we’re going to start wiring up our LCD, so the LCD we’re using is the 1602 a basically that means there’s, 16 characters and 2 rows and we’re going to be using the i2c protocol.

So I hope that you don’t make this same mistake as me. This is my first LCD that I’ve worked with on a project and I read the description on eBay and they said this LCD came with the I key I to see protocol, but in fact it didn’t. It was missing this adapter here, so they must have copied and pasted a description from some other store, but make sure you check to make sure you’re getting this adapter here, because this will enable you to use the i2c protocol so I’m going to go ahead and Solder this in now, okay, so I’ve got my i2c adapter soldered in here. Next, I need to connect it to my Arduino, so my ground and VCC are obviously going to go to ground and 5 volt power and then the SDA connection and the SCL connection are going to go into analog. Pin 4 amp 5. So SDA is going to go to analog, pin 4 and SC l is going to go to analog pin 5. So my lcd is going to be connected right in here so I’m, just going to wire the power in underneath my PCB board here, and then these will just solder directly to my large. We know now that my lcd connections are all wired up I’m going to power up my Arduino, ok, so the first thing it’s going to do is sync the time from Vera and it’s going to update all the valve times.

Here you can see the status is flashing. Ok, so now it is powered up and ready to go notice. Our light is pulsing here, just like it was before, and now our status LCD saying the system is ready, the date and time and when we last watered so that’s it our LCD is fully functioning and are ready to go on to the next step. Alright so here’s my finished product here at least for now. I just screwed it into a board here temporarily, because I need to get my irrigation up and running, so I just added some labels and obviously screwed it to the board here and then I will attach my 24 volt power near and ground and then obviously all My valves will go in here so now I can just mount it up to my wall, attach my cables and then my irrigation is ready to go. Ok, so here is my irrigation controller mounted to my wall. Just want to show you what the finished product look like, here’s, the the wiring going over to my valves, and then I have a it’s not currently plugged in, but my transformer here that will supply power that’s plugged in right here and that will supply power. To my valves so that’s it congratulations on your build hope you enjoyed it once again. Thank you so much Jim for making this possible. If you have any questions or comments, feel free to post them in the the YouTube comments here.

But if you need faster response, probably best to go to the my sensor site, there’s a lot of very knowledgeable and helpful people over there, who can definitely give you a hand if you run into any issues thanks.


arduino z wave Video







arduino z wave news








arduino z wave Social






A modular, Arduino Mega-controlled delta robot for your desktop.
safe image.php?d=AQDI5lGBL JxubWR&w=720&h=720& content%2Fuploads%2F2019%2F08%2F9154041566833130733 - arduino z wave

This interactive floor recalls the precariousness of standing on an icy surface, enhanced with imagery, sounds and physical dynamics.
safe image.php?d=AQDDp  jywcEiEdX&w=720&h=720& v6%252Fshare%252Fplay icon overlay - arduino z wave





Originally posted 2017-11-27 15:42:38.

(Visited 63 times, 1 visits today)

About The Author

You might be interested in

Comment (31)

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

  2. Hi Pete, thanks so much for this very good instructional video. I have assembled the hardware, it has taken a long time for a non-electronic person like myself but I have learnt a lot in doing so. I have now compiled the code with the version in description, together with the latest MySensors libraries and am getting the “Sketch too big” error;

    Sketch uses 19868 bytes (138%) of program storage space. Maximum is 14336 bytes.
    Global variables use 1198 bytes (116%) of dynamic memory, leaving -174 bytes for local variables. Maximum is 1024 bytes.

    Code I am using (as per instructions here;
    Libraries :
    MySensors :

    I am wondering whether the new versions of MySensors libraries have become bloated to the extent they exceed the limit of the board? Can you give me any advice, it would be a shame to abandon my project at this stage.


    1. Dave,
      Sorry for the delayed reply. It doesn’t look like you’re using an Arduino Pro Mini with an ATmega328P. That has 32k of storage which will be enough. You could also use an Arduino Nano which as a ATmega328P.
      If that doesn’t help, there is a link in the video description to the MySensors forum where you will be able to get help a little faster next time.

  3. 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?

    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.

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

    1. It’s called AutHomationHD but it is no longer under development. See my other comment for more info about controlling remotely.

    1. MySensors is compatible with a variety of home automation controllers. You would use whatever app they have. I use Vera and the app that connects to my Vera controller. There are many other people using Home Assistant and OpenHAB but I have never tried them so I’m not sure how their apps work.

    1. You just have to blow them out with an air compressor before the first snow. Everyone does it where I live.

  5. I think it would have been easier to design it in Eagle CAD and send your Gerbers off to PCBWay and wait a week to get your board back.. Then start soldering components.. Nice job!

    1. @Jeff Housen Oh my gosh! I just realized your video was 4 years old in June. I guess I should pay more attention. I used to use Spice when I worked for a large corp designing PCB’s and sent them off to a local board fab house. Today I use PCBWay and I no longer live in the US. I live in the UAE so getting the boards in 3 days is pretty common. At my home in the US, It takes a week. Sorry.. I’ll pay more attention next time. Nice job anyway!

  6. I was going to make a comment about the proper pronunciation of the “uF” issue but I see several others already have. One thing you might want to watch about capacitors is this video:
    There are MANY really informative and interesting videos on “Mr. Carlson’s Lab” and you would probably enjoy them all. Hope so anyway.

    1. Yeah 🙂
      That’s the problem with videos. You can’t go back and edit them very easily. I thought about re-posting it way back when I first made the mistake but YouTube didn’t have a way to replace an existing video and keep all the links the same so I just left it. It keeps me humble 😉

  7. Hi,
    I want to make this completely offline. With an RTC, 16*2 LCD, 3 push buttons, Soil Moisture sensor, Dht22, and a temperature sensor for soil to display values. I am stuck at making a menu which can be useful to schedule the watering. I just want to make a menu which can be helpful for user to modify the time schedule where the pumps will switch on with respect to soil moisture condition. Rest of the time it will just display the sensor values. The reason of scheduled irrigation is to avoid Shocks due to differences between environmental temperature and water temperature so … Can you help me with a simple 3 button menu ?

    1. Unfortunately I don’t have the time to help. You might try modifying the code yourself and if you get stuck you could post in the Arduino forums. Sorry.

  8. hi you use a arduino mini.. but i looking to purchase a arduino uno kit.. and wanna do the same stuff.. would you happen to know how to modify this for a uno and i totally new to arduinos i been playing with them on the tinkercad site… any help be great

    1. The Uno uses the same chip as the Mini (ATMEGA328P) so all you need to do is change the board selection from the Tools menu when you upload the code

  9. ESP8266 Will bitch slap the Arduino Mini. Stop wasting money on arduino! ESP8266 can do it all for less! Dump the arduino!

  10. hello, I’m intrested in your project and i have a few question’s.
    the program that you use is “vera” but i can’t find how to use it like you, can you send me a link? and is it stil working ? or is this system not compatibel anymore?
    and do you have a time table programmed in it? like at sunday morning at 7:00 am they need to drain your garden ?
    its for a project for high school
    i’m from belgium .
    I would like to get an answer

    1. Vera is the home automation controller I use. You could try Domoticz instead. It’s free.
      Yes, the controller is still working and I use it every other day. It has the time stored locally but it gets the commands from the home automation controller for when to water and they are not scheduled (although you could program it to do that if you wanted to). The reason they are not scheduled is so the watering times can be adjusted by the controller based on past and future weather.


Your email address will not be published. Required fields are marked *