Irrigation system based on Raspberri PI - cheap and easy

 hi in this video I'd like to show my latest project for irrigation based on raspberry pi. I apologize because I'm not not native speaking English so bear with that and let's go to speak about the project first of all you have to load the SD card with the software that you can find in the video description there is a link to my website you can find the software is free and open source second you have to have raspberry pi 3 or raspberry Pi zero W because they require Wi-Fi connection here I put the easier setup you can do to have an irrigation system and it is just made by the raspberry a relay a power converter from 12 volts to 5 volts and then I put also a cheap valve that is 12 volt value you can find on eBay all this of course you can find on eBay and then you will also need a 12 volt power supply here to connect the power to the system.








 just I want to explain why I made this project I realized that I want to have a better control of the irrigation of my plant and commercial system are quite expensive indeed so I created this project for myself then I develop it a little more and now I had very easy to use interface so for this project you don't need any programming skills because as you will see later there is a very nice user interface.
 What to say the system indeed has no physical interface and is based on the Wi-Fi connection so you can use a smartphone or a PC to program to setup the the system in the way that you can have irrigation as I said before this is a basic set up because this system is also able to to make additional things like not only watering on a schedule but also watering based on the soil moisture so it's kind of automatic control and then it's also possible to add a webcam to make picture of the plant so you have under




 control the situation even when you are not home and then there are many others more features that simplify your life so let's power on the system and see how we can setup the irrigation schedule here I put 12 volts supply so you have a 12 volt supply line going to the step-down DC voltage to 5 volt with the 5 volt we supply the power to the raspberry and also to the relay array then we connect some line from raspberry to the relay to control the switch on and off and then here we have the 12 volt line that  power the valve and is switch on and off by the relay itself when the system is on it will create its own Wi-Fi network with this wifi network.


 it can be connected to a smartphone a PC we can access the interface that is just a web interface when we have done with  the interface and we won't like to set the system to connect directly to the home Wi-Fi we can also do this in this way you can access the system every time you are under the coverage of home Wi-Fi another step if you set up the router your Wi-Fi network you can also access the system externally the system has also the capability to send email if you are connected to internet so you can make you notification or provide you a daily report so we can see that we have a Wi-Fi network that is call hydrosys4  and this is the network generated by the raspberry let's connect to it  yes you can see it connects  this  Wi-Fi network is protected with a password so you don't have to worry about safety system is connected to the smartphone let's go to the web browser and type the default address this is the default address to access the web interface then we put the password and login to the system okay this is the system interface it is a menu with we can do several things but let's first go to setting and test if the relay is working properly so the first section is about sensor that indeed we don't have any sensor connected to this setup and then we have the actuator let's test it as you can see the led is blinking and four okay as you can see.




 I didn't connect them in the in the right order but anyway by software you can also choose which PIN in the raspberry pi should activate which relay and what's the first one should also switch on the valve this is the the basic setting but I would like also to show some more I would say complex setting of this system so that's part of system here I created a circuit board where it's easier to connect to the raspberry we have the relays a we have also the possibility to attach the probe for soil moisture reading then we have air and humidity and temperature sensor and hardware clock to keep the time we can also add some other sensor this is I would say this make the life a lot easier because you can can connect the raspberry directly to it [Music] and of course you can control many of the functions let's power on the menu on the interface you have the home page we have the data page where there is a collection of the reading of the sensors but also the log of the actuators and what has been done during a period for example if we can get those weekly graph and for example in sensor chart you will have the reading of all the sensor that have been attached to the system let's remove the pressure sensor here so this one is the light sensor as you can see every day we have spike then we have this is the air humidity sensor in yellow the temperature sensor in blue so then here we have the graph of soil moisture you can also show what happened during the week.



 When the actuator started and for how long and in this chart is specifically for the soil moisture controlled watering and we have a soil moisture sensor reading plus when the valve has been activated and for how many second has been activated in the last part I just attach the system so you cannot have a stable reading here okay let's go to the next image this show the picture taken by the system when you have a camera connected and then we have the watering plan this is the interface where you can schedule the watering for each of the watering zone we have a set up and this is a based on monthly configuration you can see the details on how to configure the schedule in my website then we have auto watering and this function is used when you want to automatically water the plant based on the feedback from the soil moisture sensor here we have a parameter this parameter explained in the website then we have the setting menu in the setting menu we can see the readings from the sensors and we can test the actuators then we can test the webcam set the time zone and check the clock and also we can edit the name of the activator in this way it is easy to remember which  watering zone belongs to which actuator and then we have network in this page we can see the network we are connected for example in this case we are connected to the local network generated by the system this is green and then as I said we can also connect the home.



 Wi-Fi network for example this is my home wifi network just input the password and it will connect to the home wifi network then we have hardware setting page in this page is possible to set several configurations of the system for example you can choose if you have some sensor some combination of actuators you can choose which is the best combination for your setup here we have also possibility to modify the setup in very deep details also decided the pinout of the raspberry interface which one will control which completely then we have some logging - for troubleshooting and that's all so if you want kind of cheap irrigation system that has possibility to expand too many watering zones and  it also has a very easy user interface that  can be very precise control system then you can go to my web page download the software that is free and open-source put it on an SD card and connect to the raspberry there is a possibility to add a very basic setup with just relays but there is also possible to add sensors and also the soil moisture sensor that are indeed very useful if you want to have automatic watering there is also possibility to set up an email and get notification from the system so that's all thank you for watching