IoT Smart Plant Watering System Project
In today’s world, technology has moved to extreme level where it can make human life simple and easy. With the help of Internet of Things we can automate or control lots of such devices in out day to day life. In this tutorial we are going to build a IoT Smart Plant Watering System Project. This is simple and can be easily build by a beginner. Here we are going to control the watering system for keep the indoor plant from getting dried up completely.
IoT Smart Plant Watering System is a great way to automate watering for plants. This watering system uses sensors to detect when a plant needs water and then sends a signal to a water pump to start watering the plant. This system is very easy to set up and can be controlled using a smartphone or computer. This system is perfect for small plants or plants that don’t need a lot of water.
- NodeMCU ESP8266 x 1
- Soil moisture sensor x 1
- DHT11 sensor x 1
- Relay Module (Single Channel) x 1
- 6V DC Submersible Pump with pipe x 1
- Jumper Cables
Soil moisture sensor will collect the moisture present in soil and DHT11 sensor will collect the temperature along with humidity near to the plants. Then it will send the data to ESP8266 based NodeMCU, which will send the data further to Blynk 2.0 platform. DHT11 sensor can tell you about the temperature and humidity for more precise monitoring of your plant or garden.
Place the modules and connect it as per the diagram shown below. It is simple to connect on a bread board or you can mount it on a pcb as well.
Configuring a project in Blynk
You can follow below steps to create the Blynk project in web dashboard. Click on New Template
Enter the details as shown below. You can select any name of the project and provide a suitable description. Click on Done.
Copy the below configuration code and paste it in some notepad. Later you need to update it in first two lines of code.
Now its time to create Datastreams, through which we are going to send the data from hardware to blynk servers.
Below Datastream is created for Temperature. We have selected V2 pin and it will be sending Double data type. Once you update it click on SAVE.
Similarly create for Humidity as well.
Same way we will create it for soil sensor as well.
One more Datastream for knowing the pump status in our app.
Now its time to add the widgets. Click on web dashboard and click on EDIT. Select Gauge and drag it on you right window.
Enter the gauge settings as shown below for each gauge. They will be showing Soil Moisture, temperature and humidity. Select the corresponding Datastreams for each gauge to display that data.
Now click on Save And Apply to make the changes on newly added Gauge widgets.
Click on the Search Icon below to go the devices.
Now you can see the device to be online and click on it further to see the web dashboard in action.
How to add a device in Blynk 2.0?
After uploading the code power your NodeMCU and follow the steps below to add the device from your blynk app. This is a one time activity.
Open the new Blynk IoT app and go to developer mode. Tap on +Add New Device
Now tap on Find Devices nearby
Tap on Start to add new device
Your NodeMCU will create a hotspot and you need to connect by clicking on Choose Manually
Now tap on Open WiFi Settings, which will further open your phone’s wifi settings
Now tap on the template name given by you as shown below.
Since it is a open WiFi hotspot it will connect without asking for any credential.
Go back and update the your network or WiFi credential details. Tap on Continue
Soon it will configure you device and it will be ready to be online with Blynk.
Once all the steps are done, it will show as device connected. Here device is your hardware(NodeMCU).
You can download the code from below link and extract it in a folder. Open the code using Arduino IDE and upload it in NodeMCU.
Building and Testing
After connect the components we started the testing. We got the below results.
Once you open the serial monitor of Arduino, you can see the below readings.
Similarly in Blynk dashboard, you will get the reading of the sensors.
Also in mobile app you will get as shown below. The below status shown when the pump is off.
Below status shows when the pump is on.
If you’re looking for a way to automate your plant watering, an IoT smart plant watering system may be the solution for you. These systems use sensors to monitor the moisture levels in the soil, and then water the plants accordingly. This can help to reduce water waste and ensure that your plants are getting the right amount of water.
There are a number of different IoT smart plant watering systems available on the market and this is a small tutorial to build your own that best suits your needs. Consider the size of your garden, the type of plants you have, and your budget when making your decision.
Once it’s installed, you can sit back and relax knowing that your plants are being watered correctly. You may even find that you have more time to enjoy your garden, as you won’t need to check each and every time.
Some Interesting Projects:
- Monitoring Weather Data using BMP280 and Blynk 2.0
- Web Server Pulse Oximeter using NodeMCU ESP8266
- Getting Started with Arduino IoT cloud using NodeMCU and DHT11
- Weather Station with Raspberry Pi PICO and DHT11
- Controlling a servo motor using Raspberry Pi Pico
- Configuring BMP280 Sensor with Raspberry Pi
- Weather Station with BMP280 Sensor and Raspberry Pi Pico
- IoT Pulse Oximeter Using NodeMCU MAX30100 & Blynk
- DIY Digital clock with RTC DS1307 and Raspberry Pi PICO
- IoT Security Camera using ESP32-Cam Blynk and PIR Sensor
- ESP8266 based IoT Panic Alarm for Old Age People using Blynk
- How to send sensor data to Thingspeak using Raspberry Pi
- ESP32-CAM based Email Notification System
- ESP32 based Gas Leakage Detection using Email Notification
- IoT based Motion Detection Alarm using ESP8266 and Blynk
- IoT based Fire Security Alarm System using NodeMCU
- NTP Digital Clock using ESP8266 and OLED Display
- DHT11 Sensor with ESP-NOW and ESP32
- DHT11 based Temperature Humidity Monitoring IoT Project