Intership Final Report (1) (1) (1) Farhan-2 2

Download as pdf or txt
Download as pdf or txt
You are on page 1of 32

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

JNANA SANGAMA, BELAGAVI - 590018

INTERNSHIP REPORT ON
“ SMART PLANT MONITORING SYSTEM”
SUBMITTED IN PARTIAL FULFILMENT FOR THE REQUIREMENT OF
BACHELOR OF ENGINEERINGIN
ELECTRONICS AND COMMUNICATION ENGINEERING

G PADMA REDDY
(1AH19EC008)
VIII SEMESTER

Department of ECE
UNDER THE GUIDANCE OF
Internal Guide: External guide:
Dr. A.M. Prasanna Kumar Mr. Jagadeesh
Professor Founder & Director
ENTHU TECH TEHNOLOGIES

ACS College Of Engineering

DEPARTMENT OF ELECTRONICS AND COMMUNICATION


ENGINEERING
ACS COLLEGE OF ENGINEERING
KAMBIPURA, MYSORE ROAD, BENGALURU – 5600742020-2021
ACS COLLEGE OF ENGINEERING
#74, Kambipura Mysore Road, Bengaluru-560074

DEPARTMENT OF ELECTRONICS AND COMMUNICATION

CERTIFICATE
Certificate that the INTERNSHIP on topic “Smart Plant Monitoring System” on
domain Internet Of Things has been successfully submitted by G PADMA REDDY
(1AH19EC008) a bonafide student at ACS College of Engineering affiliated to
Visvesvaraya Technological University, Belagavi during the year 2022-2023. It is
certified that all corrections/suggestions indicated for Internal Assessment have been
incorporated in the report submitted to the department. The Internship report has been
approved as it satisfies the academic requirement in respect of the internship work as
prescribed in 8th semester.

…………………… …………………… …………………….


Dr. A. M. Prasanna Kumar Dr. Bharathi Gururaj Dr. M. S. Murali
Signature of the Co-ordinator Signature of HOD Signature of Principal
Dept of ECE, ACSCE Dept of ECE, ACSCE ACSCE

Name of the Examiner Signature with Date

1.

2.
MYSORE ROAD, BENGALURU-560074
Department of Computer Science Engineering

DECLARATION
G PADMA REDDY (1AH19EC008), bonafide student of 8th semester of B.E of ACS
College of Engineering, Bangalore, hereby declare that Internship Report entitled
“SMART PLANT MONITORING SYSTEM” has been carried out by under the
guidance of Dr. A. M Prasanna Kumar , the work undertaken by me during the Internship of 3
weeks that I have undergone at “ENTHU TECHNOLOGY SOLUTIONS INDIA Pvt. Ltd.”
during 12/09/2022 to 30/09/2022 in partial fulfilment of the requirement for the award of degree
of Bachelor of Engineering in Electronics and Communication Engineering of the Visvesvaraya
Technological University, Belgaum during the academic year 2022- 2023.

DATE – 29-04-2023

PLACE – BANGALORE

G PADMA REDDY

1AH19EC008
CERTIFICATE
ACKNOWLEDGEMENT

I take this opportunity to express my sincere gratitude and respect to the


ACS College of Engineering, Bengaluru for providing me an
opportunity to carry out my mini project report.

I express my deep regards to our honorable Chairman Dr. A C


Shanmugam for providing me an opportunity to fulfil my ambition in
this prestige institute.

I would like to express my immense gratitude to Dr. M S Murali,


Principal, ACS College of Engineering, Bengaluru, for his timely help
and inspiration during the tenure of the course.

I express my sincere regards and thanks to Dr. Bharathi Gururaj,


Associate Professor & HOD, Electronics and Communication
Engineering, ACSCE, Bengaluru for the encouragement and support
throughout encouragement the work.

I hereby like to thank our Internship Coordinator Dr A.M. Prasanna


Kumar, Professor Dept. of Electronics and Communication
Engineering, for then couragement and support.

With profound sense of gratitude, I acknowledge the guidance, support


and encouragement to my guide Dr A.M. Prasanna Kumar, Professor,
Dept. of Electronics and Communication Engineering, ACSCE,
Bengaluru.

I also extend my cordial thanks to ENTHU TECHNOLOGY


SOLUTIONS INDIA Pvt. Ltd., Bengaluru for providing me an
opportunity to carry out the internship in their organization.

G PADMA REDDY
1AH19EC008
TABLE OF CONTENTS

SL CHAPTER PAGE
NO NO

1. ABOUT ORGANIZATION 1

2. DOMAIN INTRODUCTION 2

2.1 What is IoT? 2

2.2 Why is Internet of Things (IoT) so important? 3

2.3 What technologies have made IoT possible? 3

3. PROJECT 4

3.1 INTRODUCTION 4

3.2 MATERIALS & METHOD 5


4. IMPLEMENTION 7

4.1 DHT11 LIBRARY 7


4.2 ESP32 BOARD SETUP 9
4.3 SOFTWARE SPECIFICATION 11

5. SNAPSHOTS 12

5.1 Setting Up The Blynk App 12

6. SOURCE CODE 19

7. RESULTS 22

8. CONCLUSION 23

9. REFERENCES 24
LIST OF FIGURES

Figure. NO. Figure Name Page NO.

3.2.1 ESP32 MCU 5

3.2.2 DHT11 Sensor 6

3.2.3 Water Level Sensor 6

3.2.4 Soil Moisture Sensor 6


SMART PLANT MONITORING SYSTEM

CHAPTER 1
ABOUT ORGANIZATION

COMPANY PROFILE

Enthu Tech (ISO Certified EMS Company) started in 2007 focusing on PCB
Prototype development and Assembly facility in Coimbatore plant on a concept to product
development. We have a full range of electronic assembly services from PCB prototype to
production level depending on the type of assembly requirement from the customers.

Also, they are One STOP service provider for end-end product development like PCB Design,
Prototype Development, Fabrication, BOM Procurement, Assembly, PCB testing, and
Embedded Development (Software and Firmware).
.

Description: The company provides IOT and application development services.


Products & Services: PCB products, LoRaWAN products, IOT services
Category: Service Provider

The current status of Enthu Technology solutions India Pvt. Ltd. is - Active.

Enthu Technology Solutions India Pvt Ltd is a next-generation technology company that helps
enterprises, start-ups reimagine their businesses for the digitally connected age. As an Agile
enabled company, we deliver the best in class products, End to End Solutions, and services in
IoT and PCB domain.
As a B2B player, they offer product development, consultancy services, and End to End IoT
Solutions development for Smart city, Agriculture, Smart Home & Infrastructure, Connected
Vehicles, and Industrial Automation verticals
Enthu Technology Solutions Inida Private Limited has four directors - Moorthi Kanagaraj,
Gowrisankar, Rathinasamy K S and Shanmugan Kanagaraj.

The Goods and Services Tax Identification Number (GSTIN) of Enthu Technology Solutions
Inida Private Limited is 33AADCE9083H1ZJ. The corporate office of of Enthu Technology
Solutions Inida Private Limited is at #88 & 89, SSN Square, Peelamedu Pudhur, Near RTO
Office South, Coimbatore 641004, Tamil Nadu TN, India.

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 1


SMART PLANT MONITORING SYSTEM
CHAPTER 2
DOMAIN INTRODUCTION

Internet of Things (IOT) is a concept where each device is assign to an IP


address and through that IP address anyone makes that device identifiable on internet. The
mechanical and digital machines are provided with unique identifiers (UIDs) and the ability
to transfer data over a network without requiring human-to-human or human-to-computer
interaction. Basically, it started as the “Internet of Computers.” Research studies have forecast
an explosive growth in the number of “things” or devices that will be connected to the Internet.
The resulting network is called the “Internet of Things” (IoT). The recent developments in
technology which permit the use of wireless controlling environments like, Bluetooth and Wi-
Fi that have enabled different devices to have capabilities of connecting with each other. Using
a WIFI shield to act as a Micro web server for the Arduino which eliminates the need for wired
connections between the Arduino board and computer which reduces cost and enables it to
work as a standalone device. The Wi-Fi shield needs connection to the internet from a wireless
router or wireless hotspot and this would act as the gateway for the Arduino to communicate
with the internet. With this in mind, an internet based home automation system for remote
control and observing the status of home appliances is designed. Due to the advancement of
wireless technology, there are several different type of connections are introduced such as
GSM, WIFI, and BT. Each of the connection has their own unique specifications and
applications. Among the four popular wireless connections that often implemented in HAS
project, WIFI is being chosen with its suitable capability. The capabilities of WIFI are more
than enough to be implemented in the design. Also, most of the current laptop/notebook or
Smartphone come with built-in WIFI adapter. It will indirectly reduce the cost of this system

2.1 What is IoT?


The Internet of Things (IoT) describes the network of physical objects—
“things”—that are embedded with sensors, software, and other technologies for the purpose
of connecting and exchanging data with other devices and systems over the internet. These
devices range from ordinary household objects to sophisticated industrial tools. With more
than 7 billion connected IoT devices today, experts are expecting this number to grow to 10
billion by 2020 and 22 billion by 2025. Oracle has a network of device partners.

DEPARTMENT OF ECE, ACSCE 2022-2023 Page 2


SMART PLANT MONITORING SYSTEM

2.2 Why is Internet of Things (IoT) so important?


Over the past few years, IoT has become one of the most important technologies
of the 21st century. Now that we can connect everyday objects—kitchen appliances, cars,
thermostats, baby monitors—to the internet via embedded devices, seamlesscommunication is
possible between people, processes, and things.

By means of low-cost computing, the cloud, big data, analytics, and mobile technologies,
physical things can share and collect data with minimal human intervention. In this
hyperconnected world, digital systems can record, monitor, and adjust each interaction
between connected things. The physical world meets the digital world—and they cooperate.

2.3 What technologies have made IoT possible?

While the idea of IoT has been in existence for a long time, a collection of recent
advances in a number of different technologies has made it practical.
• Access to low-cost, low-power sensor technology. Affordable and reliable sensors are

making IoT technology possible for more manufacturers.


• Connectivity. A host of network protocols for the internet has made it easy to connect sensors

to the cloud and to other “things” for efficient data transfer.


• Cloud computing platforms. The increase in the availability of cloud platforms enables both

businesses and consumers to access the infrastructure they need to scale up without actually
having to manage it all.
• Machine learning and analytics. With advances in machine learning and analytics, along

with access to varied and vast amounts of data stored in the cloud, businesses can gather
insights faster and more easily. The emergence of these allied technologies continues to push
the boundaries of IoT and the data produced by IoT also feeds these technologies.
• Conversational artificial intelligence (AI). Advances in neural networks have brought

natural-language processing (NLP) to IoT devices (such as digital personal assistants Alexa,
Cortana, and Siri) and made them appealing, affordable, and viable for home use.

DEPARTMENT OF ECE, ACSCE 2022-2023 Page 3


SMART PLANT MONITORING SYSTEM
CHAPTER 3
PROJECT INTRODUCTION

3.1 INTRODUCTION

Plant plays a vital role in maintaining the ecological cycle and forms the
foundation of a food chain pyramid and thus to maintain the plant’s proper growth and health
adequate monitoring is required. Hence the aim at making plant monitoring system smart is
using automation and Internet of Things (IOT) technology. This topic highlights various
features such as smart decision making based on soil moisture real time data.

The computerized water system framework with IOT is practically and financially sufficient
for planning water resources for plantation (group of a plant). Adopting the automatic water
system framework we can demonstrate that the utilization of water can be decreased for various
plantations (group of plants) usages. The system framework has an appropriated microwaves
(wireless) chain of moisture content in the soil through soil moisture sensor, humidity and
temperature sensor set in the root zone of the plants and level of water (ultrasonic) sensor is set
in tank for checking the water level in tank. The data will gather fromthe sensors and send to
the web server (cloud).

The background of chapter highlights the study of IOT in the field of agriculture. This shows
how we can implement the IOT technology to make our planting smart and reliable with the
real time updated data. This chapter also helps the beginners to implement the IOT technology
and learn the basics of this technology.

Internet of Things (IoT) plays an important role in most of the fields. The use of IoT increased
because of the various advantages we can get from that. The agriculture is the area where a lot
of improvement is needed because that is one of the essential needs and a large sector of people
is involved in that. Most of the area the major problem is the water scarcity because of low
rainfall and even though there is rainfall the water is wasted because of no proper arrangement
for the storage of water. Many techniques are proposed in IoT in terms of providing a better
irrigation to the crop. The IoT devices can also be used in home for monitoring the garden real
time.

DEPARTMENT OF ECE, ACSCE 2022-2023 Page 4


SMART PLANT MONITORING SYSTEM

The Raspberry and Ardunio plays an important role in processing the


information that is received from various sensors. The cost of these devices will be affordable
and the major issue is the usage of large amount of sensors and other devices. Much research
focus is on finding the effect of these devices in the environment, if it causes any side effects
to the humans. The Rapberrypi is used wherever a large amount of processing is required and
Ardunio in terms of interconnecting certain hardware devices and performs a little amount of
processing. The installation of the sensors for finding the humidity level is one major factor
to avoid the wastage of water.
3.2 MATERIAL & METHOD
 ESP32

ESP32 is a low-cost System on Chip (SoC) Microcontroller from Espressif Systems, the
developers of the famous ESP8266 SoC. It is a successor to ESP8266 SoC and comes in both
single-core and dual-core variations of the Tensilica’s 32-bit Xtensa LX6 Microprocessor
with integrated Wi-Fi and Bluetooth

Figure 3.2.1: ESP32 MCU

 DHT11 Temperature and Humidity Sensor


This module features a humidity and temperature complex with a calibrated digital signal
output means DHT11 sensor module is a combined module for sensing humidity and
temperature which gives a calibrated digital output signal. DHT11 gives us very precise value
of humidity and temperature and ensures high reliability and long-term stability. This sensor
has a resistive type humidity measurement component and NTC type temperature
measurement component with an 8-bit microcontroller inbuilt which has a fast response and
cost effective and available in 4-pin single row package.
The DHT11 sensor has proven to be beneficial in monitoring and managing temperature and
humidity in a variety of applications, including home appliances, medical devices, and many
more.

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 5


SMART PLANT MONITORING SYSTEM

Figure 3.2.2: DHT11 Sensor

• Water Level Sensor


The sensor has ten exposed copper traces, five of which are power traces and the remaining
five are sense traces. These traces are interlaced so that there is one sense trace between every
two power traces.

Normally, power and sense traces are not connected, but when immersed in water, they are
bridged.

Figure 3.2.3: Water Level Sensor

• Soil Moisture Sensor

The soil moisture sensor is the first thing that springs to mind when it comes to building your
smart irrigation system or automatic plant watering system. With this sensor in place and a
little Arduino support, we can design a system that can water your plants when it's needed,
avoiding overwatering and underwatering.

Figure3.2.4: Soil Moisture Sensor

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 6


SMART PLANT MONITORING SYSTEM
CHAPTER 4

IMPLEMENTATION

4.1 DHT library

To read from the DHT sensor, we’ll use the DHT library from Adafruit. To use
this library you also need to install the Adafruit Unified Sensor library. Follow the next steps
to install those libraries.
Open your Arduino IDE and go to Sketch > Include Library > Manage Libraries. The
Library Manager should open.
Search for “DHT” on the Search box and install the DHT library from Adafruit.

After installing the DHT library from Adafruit, type “Adafruit Unified Sensor” in the search
box. Scroll all the way down to find the library and install it.

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 7


SMART PLANT MONITORING SYSTEM

After installing the libraries, restart your Arduino IDE.

After installing the necessary libraries, you can upload an example code from the library.
In your Arduino IDE, go to File > Examples > DHT Sensor library > DHTtester
The code should be loaded. It reads temperature and humidity, and displays the results in the
Serial Monitor.

DEPARTMENT OFCSE,ACSCE 2022-2023 Page 8


SMART PLANT MONITORING SYSTEM

4.2 ESP32 Board

To install the ESP32 board in your Arduino IDE, follow these next instructions:

1. In your Arduino IDE, go to File> Preferences

2. Enter the following into the “Additional Board Manager URLs” field:

https://raw.githubusercontent.com/espressif/a
rduino-esp32/gh-
pages/package_esp32_index.json

Then, click the “OK” button:

DEPARTMENT OFCSE,ACSCE 2022-2023 Page 9


SMART PLANT MONITORING SYSTEM

3. Open the Boards Manager. Go to Tools > Board > Boards Manager…

DEPARTMENT OF ECE ACSCE 2022-2023 Page 10


SMART PLANT MONITORING SYSTEM

4. Search for ESP32 and press install button for the “ESP32 by Espressif Systems“:

5. That’s it. It should be installed after a few seconds.

DEPARTMENT OF ECE ACSCE 2022-2023 Page 10


SMART PLANT MONITORING SYSTEM

4.3 Software Specification

 Arduino IDE

 Smartphone with the Blynk app installed

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 11


SMART PLANT MONITORING SYSTEM
CHAPTER 5
SNAPSHOTS

5.1 Setting up the Blynk App

The first step is to install the Blynk App on your smartphone. Upon installation, you’ll
need to create a new Blynk account. This step is important as the app will send a unique
authentication code to your email. You’ll need this to continue using the Blynk app.

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 12


SMART PLANT MONITORING SYSTEM

After creating a new account, create a new project and select your hardware.

The Blynk app automatically sends you a unique authentication code for every new project
you create. You need this code to connect your smartphone to the hardware. The
authentication code will be sent to the email address you used for registration

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 13


SMART PLANT MONITORING SYSTEM

Creating our Smart Garden Monitoring System in Blynk


Now you have an empty canvas as shown below. We need to add four gauge widgets to
monitor temperature, humidity, water level, and soil moisture level.

Tap on the canvas to open up the widget box. Now pick a gauge

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 14


SMART PLANT MONITORING SYSTEM

Tap and drag the widget on to the canvas

Tap on the widget to change its settings. There, you can change the name, size, text size,
and color of the gauge

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 15


SMART PLANT MONITORING SYSTEM

The two most important settings are the pin and the refresh rate. Set a virtual pin for each
gauge with two seconds of refresh time for temperature and humidity values. Set five
seconds of refresh time for water level and moisture level

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 16


SMART PLANT MONITORING SYSTEM

Now your canvas should look like this:

Finally, add a button widget to control the relay. There, change the name of the button,
button type, and pin. The pin is the GPIO pin of the ESP32 where the relay is connected

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 17


SMART PLANT MONITORING SYSTEM

Now the Blynk App project configuration is finished and you are ready to go!

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 18


SMART PLANT MONITORING SYSTEM
CHAPTER 6
SOURCE CODE

#define BLYNK_PRINT Serial


#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
#include <DHT.h>
#include "DHT.h"

#define DHTPIN 21
#define DHTTYPE DHT11 // DHT 11

const int waterLevelSensor = 2;


const int moistureLevelSensor = 15;
const int relay = 23;

int waterLevel;
int moistureLevel;

DHT dht(DHTPIN, DHTTYPE);


BlynkTimer timer;

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 19


SMART PLANT MONITORING SYSTEM

// Go to the Project Settings (nut icon).


char auth[] = "YOUR AUTH CODE";

// Your WiFi credentials.


// Set password to "" for open networks.
char ssid[] = "YOUR WIFI SSID";
char pass[] = "YOUR WIFI PASSWORD";

#void sendSensor1()
{
float h = dht.readHumidity();
float t = dht.readTemperature(); // or dht.readTemperature(true) for Fahrenheit

if (isnan(h) || isnan(t)) {
Serial.println("Failed to read from DHT sensor!");
return;
}
// You can send any value at any time.
// Please don't send more that 10 values per second.
Blynk.virtualWrite(V5, h);
Blynk.virtualWrite(V6, t);

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 20


SMART PLANT MONITORING SYSTEM

void sendSensor2()
{
waterLevel = analogRead(waterLevelSensor);
waterLevel = map(waterLevel,0,2000,0,20);
moistureLevel = analogRead(moistureLevelSensor);
moistureLevel = map(moistureLevel,0,4000,0,20);

Blynk.virtualWrite(V7, waterLevel);
Blynk.virtualWrite(V8, moistureLevel);
}

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);

dht.begin();

// Setup a function to be called every second


timer.setInterval(2000L, sendSensor1);
timer.setInterval(5000L, sendSensor2);

void loop() {
// put your main code here, to run repeatedly:
Blynk.run();
timer.run();

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 21


SMART PLANT MONITORING SYSTEM
CHAPTER 22

RESULTS

Press the Run button to start the Blynk App. You can see that your gauges will
start to display the sensor readings and these values update every two and five seconds. You
can turn ON and OFF the relay by pressing the button remotely from anywhere.

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 22


SMART PLANT MONITORING SYSTEM
CHAPTER 23
CONCLUSION

The implementation of Smart Garden system using the Internet of Things has
been verified to satisfactorily work by connecting different parameters of the soil to the cloud
and was successfully controlled remotely through a mobile application. The system designed
not only monitors the sensor data, like moisture, humidity, temperature and ultrasonic but also
actuates other parameters according to the requirement, for example, if the water level in tank
is reduced to a minimum value then the motor switch is turned on automatically to the water
level of the tank reaches the maximum value. The initial cost and the installation of this system
are cheap and hence it can be implemented anywhere. With the development of sensor
technology, the system can be elevated to the next level which helps the users to utilize their
investment in an economic manner. If soil nutrient sensors can be installed, then the system can
be modified to supply fertilizers to the garden precisely. This system saves manpower and
efficiently utilizes the water resources available ultimately leading to more profit. The feedback
provided by the system will improve the implementation of the gardening process A system to
monitor temperature, humidity, moisture level in the soil was designed and the project provides
an opportunity to study the existing systems, along with their features and drawbacks.
Agriculture is one of the most water-consuming activities. The proposed system can be used to
switch the motor (on/off) depending on favourable condition of plants i.e sensor values, thereby
automating the process of irrigation. Which is one of the most time efficient activities in
farming, which helps to prevent over irrigation or under irrigation of soil thereby avoiding crop
damage. The farm owner can monitor the process online through a android App. Though this
project can be concluded that there can be considerable development in farming with the use
of IOT and automation.

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 23


SMART PLANT MONITORING SYSTEM

CHAPTER 24
REFERENCES

[1] https://www.enthutech.in/

[2] http://www.ardumotive.com/iot-wifi-temp-andhumidity.html

[3] Online available: www.Wikipedia.org/Arduino

[4] https://in.linkedin.com/company/enthutech

[5] https://github.com/blynkkk/blynk-library

DEPARTMENT OF ECE,ACSCE 2022-2023 Page 24

You might also like