Professional Documents
Culture Documents
Date 2023-06-22
0%
100%
Words 906
Plagiarised Unique
Characters 6310
• After being developed on the IDE platform, the main code, also known as a sketch, will eventually produce a Hex File
that is transmitted and uploaded into the controller on the board. The Editor and Compiler, which make up the majority of
the IDE environment, are used to write the necessary code and compile and upload the code onto the selected Arduino
Module, respectively.
• Both C and C++
are supported in this environment.
CHAPTER 4
NodeMCU, specifically. The moisture sensor has 4 pins as well. The first pin is linked to the 3.3V supply, the second pin to
GND, the third pin to D0, and the fourth pin to A0. 3 pins make up the relay module. D3 is attached to the first pin. GND is
linked to the second pin. 3V3 is attached to the third pin.The negative wire of the battery is connected to the motor
pump's negative wire. The closed loop of the relay module is linked to the positive wires of the battery and the motor
pump.
Figure: 4.1 Smart plant watering system using node MCU 8266
The circuit diagram from figure : 4.1 shows how the Node MCU, relay module, soil moisture sensor, and pump are linked to
one another. The Node MCU is then uploaded with the IoT code, and a light blinks in the Node MCU to show that the
connection is operational. Our phones have the Blynk program installed in order to control the soil moisture sensor device.
This application also creates a project, a tank, and some switches. The soil moisture sensor, which is visible in the moisture
level tank of the BLYNK application, measures the amount of moisture in the soil. A notification message is sent to the
BLYNK application whenever the soil moisture level falls below the threshold voltage (3.3 V). The motor pump then turned
on automatically in response to the need for soil moisture. The motor pump will automatically shut off when the soil
moisture level exceeds the threshold voltage (3.3 V) or above.
Page 1 of 3
Figure: 4.2 (d) Virtual pin selection in Blynk
Figure: 4.3 (a) Adding Gauge and button on Blynk mobile app
Now we need to configure the authentication token from blynk cloud server to the Arduino Interface and also add the wifi
SSID and Password to the code.
Figure: 4.3 (b) Finding the Authentication token in Blynk cloude server
In this project, we have designed and implemented a smart plant watering system that can be used to monitor soil
moisture levels remotely and automate irrigation processes. The system has been built using NodeMCU 8266
microcontroller which is based on ESP8266 platform.
The main objective of this project was to provide an efficient solution for managing water resources in agriculture while
ensuring optimal growing conditions for plants. We have integrated multiple sensors such as soil moisture sensor,
temperature sensor, and humidity sensor to collect data about environmental conditions that can impact plant growth.
We have also developed a mobile application called Blynk which provides an intuitive user interface for monitoring the
status of individual plants remotely. Users can configure their desired soil moisture thresholds through the app and receive
notifications when critical events occur such as low water levels or high temperatures.
One of the key advantages of our smart plant watering system is its ability to conserve
water by only irrigating when
necessary. This not only helps reduce water consumption but also reduces operational costs associated with traditional
irrigation methods.
Page 2 of 3
Moreover, our technology offers farmers greater flexibility in terms of crop management since they can now easily monitor
their crops from anywhere at any time using their smartphones or tablets. They no longer need to physically check every
single plant manually which saves significant amounts of time and effort.
In conclusion, our smart plant watering system offers a scalable solution for automating irrigation processes while ensuring
optimal growing conditions for plants. With further improvements like integrating machine learning algorithms or adding
more sensors like light intensity sensors etc., this technology could revolutionize modern farming practices by enabling
precise crop management on a large scale leading towards sustainable agriculture practices that are essential in today's
world where global warming has become one of the biggest threats facing humanity today.
Appendix
#include
#include
#include
BlynkTimer timer;
bool Relay = 0;
#define sensor A0
#define waterPump D3
void setup() {
Serial.begin(9600);
pinMode(waterPump,
OUTPUT);
digitalWrite(waterPump, HIGH);
lcd.init();
lcd.backlight();
lcd.setCursor(1, 0);
lcd.print("System Loading");
for (int a = 0; a
Matched Source
No plagiarism found
Page 3 of 3