Automatic Plant Watering System 🌻- Arduino Smart Home Project | Opla IoT Kit

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hey guys welcome back to another video from rootset last month i showed you how you can make a plan watering system using arduino nano 33 iot in this tutorial i'll be showing you how you can make an advanced version of that project here we will make an automatic plan watering system using arduino opla iot kit if you are a beginner and you are totally interested in building your own robots and electronic projects then this is the channel for you my name is judin and i am super excited to teach you everything you need to know about what you need to know in the previous videos i showed you everything you need to know about arduino opla iot kit we unboxed it showed you different components how to set it up and showed you how to upload your first code to your arduino opla iot kit if you haven't seen that yet i will leave the link in the description go check it out so what is automatic plan watering system this system mainly constructs an arduino opla io ticket where we connect the moisture sensor and the pump the moisture sensor will continuously monitor the water content of the soil and the value of the moisture level will be updated to the arduino iot cloud we can use arduino iot cloud dashboard to check the moisture content and turn on and off a pump that is connected to water reservoir we can also set the pump to turn on automatically when the water level goes below a particular threshold for this project all you need is arduino opla iot kit a 12 volt pump and a power source that can provide a 12 volt dc supply since arduino okla iot kit is a plug and play kit you don't have to solder any components onto it you can directly connect the moisture sensor using the connector and the pump directly to the relic i will provide the complete connection details in the description below make sure you check that out here i'll be coding arduino opla iotkit using arduino iot cloud first we will log into the console we will create our project for that go to things and create a new thing on this page you will see complete details about your project now first we will rename our thing let's name it as planned watering system next we will add two variables a boolean variable named relay to control relay 1 and an integer variable name moisture to store the value of moisture content next we will create a dashboard and add some widget and then we will link this widget to our variables first we will provide our dashboard a name plan watering online console to control the relay variable we will create a push button and link it to the relay variable i think it's better to rename it as pum that makes more sense then we will add a gauge widget and name it as water level and we will link this widget to the variable moisture next we will attach our make a 1010 board to this thing named automatic plan watering system to do that just click on this associate device link and select our board here you can see that arduino maker 1010 board has been already added to the device list this was shown in the previous video if you have any doubts regarding this don't worry guys we have a tutorial especially for that you can simply click on this link and watch that first now the board has been attached to this thing now we will have to configure wi-fi network you can configure the network using the button under network there we can provide the name and password of your wi-fi network now simply click on sketch this is where we will be coding the advantage of using arduino iot cloud is once you have set up your thing and all the variables it will automatically generate a skeleton code which will contain all the variables and critical functions which is required to run the code we just have to add extra variables and functions so guys this is the skeleton code now i'll be removing all unnecessary comments so that it will look neat and here is our final code guys now let's take a deeper look first we are adding the libraries and declaring the variables that we'll be using in this project these two will be used to control the rgb led then we will initialize serial communication communication with arduino cloud carrier board and prepare the carrier to run the remaining code in the loop function the value of pin a5 which is connected to the mouse sensor will be read every 500 milliseconds these values will be mapped to a value between 100 and 0 and will be stored in the variable name moisture since this variable is linked to the gauge widget this value will be reflected on the dashboard on relevant change function will be executed when there is a change in relay one variable which can be controlled using pump widget on the dashboard when pump button is turned on it will turn on the relay which is connected to the pump and when pump button is turned off it will turn off the relay that's it guys you can simply upload the code and make a 10-10 board of op-like it now we will go to the serial monitor and toggle the button on our dashboard now all you have to do is connect everything together and fix it somewhere it will not be disturbed connect the intake valve of the pump to the water reservoir and outlet valve to the port containing the plant now insert the moisture sensor to the soil to see and interact with the dashboard in your mobile phone download and install the arduino iot cloud application in your mobile phone now open the application and sign in with your account there you should see the dashboard you created earlier once we do that we'll be able to control the plan watering system from our mobile phone if you look closely you can see the moisture content is being updated in real time as the water content of the soil is gradually increasing now to make it completely automatic all you have to do is make a little change in the code add an if condition to check the value of moisture if it is below 10 turn on the pump or if it is about 10 turn off the pump you will find that code in the description so thanks a lot guys see you in the next video
Info
Channel: RootSaid - Robotics, Electronics & Technology
Views: 8,332
Rating: undefined out of 5
Keywords: plant watering system, plant watering hacks, arduino plant monitoring system, arduino plant project, arduino plant watering system, automatic plant waterer, automatic plant watering system, arduino automatic watering system, automatic watering system for plants using arduino, how to make automatic watering system for plants using arduino, automatic plant watering system without arduino, arduino opla iot kit, opla kit arduino, arduino opla, arduino opla review
Id: dQvt1ux4SC4
Channel Id: undefined
Length: 6min 29sec (389 seconds)
Published: Thu Dec 31 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.