final project
final project
Page 1
AI-Based enviormental monitoring & farm automation system
CERTIFICATE
DEPARTMENT OF CIOMPUTER TECHNOLOGY
This is to certify that
Miss.Aunshka Songra(CM)
Miss. Prachi Shewale (CM)
Miss. Savali Kedare(CM)
Miss. Prajakta Bedekar(CM)
of final year diploma student in computer technology has
satisfactorily completed project entitled “ai- based environmental
monitoring & farm automation system” for academic year 2022-2023.
External Examiner
Page 2
AI-Based enviormental monitoring & farm automation system
ACKNOWLEDGEMENT
With deep sense of gratitude we would like to thanks all the people who have lit our path
with their kind guidance .We are very grateful to these intellectuals who did their best to
help us during the project work. It is our proud privilege to express deep sense of gratitude
to Prof. Mr. T.P. Sharma, Principal of K.B.H.Polytechnic, Malegaon, for his comment
and kind permission to complete this project. We remain indebted to H.O.D. Mr. K.S.
Pawar of our department for their timely suggestion and valuable guidance.
The special guidance Prof. K.S. Pawar of Computer and Information Technology
Department for their expensive, excellent and precious guidance in completion of this
project.We thanks to all colleagues for their appreciable help for our working project.
We thankful to our parents who providing their wishful support for our project completion
successfully.
And lastly we thanks to our all friends and the people who are directly or indirectly related
to our project work.
THANKS
Yours Truly,
Miss.Anushka Songra (CM)
Miss.Prachi Shewale (CM)
Miss.savali Kedare (CM)
Miss.prajakta Bedekar (CM)
Page 3
AI-Based enviormental monitoring & farm automation system
ABSTRACT
The highlight of the project is the AI-based weather prediction module implemented using a
Convolutional Neural Network (CNN) in Python, providing critical insights into weather
conditions and allowing for data-driven decision-making. The system also includes a user-friendly
web interface to display real-time monitoring and predictions, enabling farmers to better manage
their resources and plan ahead for changes in environmental conditions.
Page 4
AI-Based enviormental monitoring & farm automation system
PROJECT INDEX
Page.no
Acknowledgement 2
Abstract 4
List of Figures 6
List of Tables 6
1. Introduction 7
1.1 Introduction of Project 8
1.2 Detailed Problem Definition 8
1.3 Current Market Survey 9
1.4 Need Of The System 11
1.5 Feasibility Of The System 12
1.6 Organization of The Report 14
2. Analysis 15
2.1 Project Plan 16
2.2 Requirement Analysis 17
2.3 Team Structure 18
3. Design 19
3.1 Software Requirement Specification 20
3.2 Risk Assessment 21
4. Modeling 22
4.1 UML diagram/ER diagram/DFDs 23
5. Methodology 36
5.1 Software’s Used 30
5.2 Hardware Specification 31
5.3 Programming Language 34
5.4 Platform 33
5.5 Components 34
5.6 Tools 35
5.7 Methods and Procedures 35
6. Result 40
7. Csoding 44
8. Testing 51
7.1 Formal Technical Reviews 52
7.2 Test Plan 53
7.3 Test Cases 55
9. Conclusion 57
10. References 58
11. Documentation 50
Page 5
AI-Based enviormental monitoring & farm automation system
LIST OF FIGURES
System Diagrams Page no.
1. 1.1 E-R Diagram 34
1.2 Class Diagram 30
1.3 Use Case Diagram 27
LIST OF TABLES
Tables Page no.
Page 6
AI-Based enviormental monitoring & farm automation system
Chapter 1
INTRODUCTION
Page 7
AI-Based enviormental monitoring & farm automation system
1.1INTRODUCTION OF PROJECT
The agricultural sector has witnessed significant technological advancements, but environmental
monitoring remains a critical area requiring further innovation. This project aims to address this
gap by combining IoT and AI technologies to create a robust environmental monitoring system.
Using sensors to capture environmental data, the project facilitates real-time analysis and helps
farmers make informed decisions.
The integration of AI, specifically in the form of a weather prediction model, adds an additional
layer of predictive capability, allowing for proactive management of resources. This project not
only emphasizes the importance of data collection and analysis in farming but also showcases the
potential of AI in enhancing productivity and sustainability
1.2PROBLEM DEFINITION
The key challenge addressed by this project is the lack of efficient, real-time environmental
monitoring and predictive capabilities for farmers. Manual data collection and observation are
time-consuming, often leading to reactive rather than proactive management of crops. This results
in suboptimal decision-making and resource utilization, impacting productivity.
This project seeks to provide a solution that automatically collects, analyzes, and predicts
environmental conditions, allowing farmers to take timely action. By utilizing IoT for data
collection and AI for prediction, the system transforms the management process into a data-driven,
automated approach, reducing the burden on farmers and enhancing productivity.
1.3MARKET SURVEY
Page 8
AI-Based enviormental monitoring & farm automation system
The use of technology in agriculture has significantly grown in the past decade, with innovations
in sensors, automation, and artificial intelligence (AI) playing a major role in transforming farming
practices. One of the most notable advancements is the integration of Internet of Things (IoT) for
environmental monitoring. Several studies have highlighted the importance of real-time data
collection from sensors such as soil moisture, temperature, humidity, and gas sensors for efficient
crop management. For instance, a study by Zhang et al. (2019) demonstrates the effectiveness of
IoT-based systems in monitoring soil conditions and weather parameters, allowing farmers to
adjust irrigation and other resources based on real-time data. These systems enhance decision-
making processes, reduce water consumption, and improve crop yields by providing accurate,
timely insights into the environment.
Moreover, ThingSpeak has emerged as a popular platform for IoT data storage and visualization
in agricultural applications. According to Kumar and Rani (2020), ThingSpeak enables seamless
integration between sensors and cloud services, making it easier to manage data and provide
visualizations that aid in decision-making. ThingSpeak’s ability to interface with multiple sensors
and store data in real-time makes it an ideal choice for monitoring environmental parameters in
agriculture. The system's flexibility allows for remote access to data, facilitating the monitoring of
farm conditions from any location. This is particularly beneficial in large-scale farms or areas with
limited access to traditional resources.
In parallel, the role of Artificial Intelligence (AI) in predicting weather conditions and automating
agricultural processes is gaining increasing attention. One of the most promising AI techniques in
this context is Convolutional Neural Networks (CNN), commonly used in image processing and
time-series prediction. Lee et al. (2020) explored the application of CNNs for predicting weather
conditions based on historical climate data. Their study concluded that CNN models can accurately
forecast temperature, precipitation, and humidity levels, which are essential factors for agriculture.
By leveraging deep learning techniques, AI models can provide farmers with predictive insights
that allow for better planning and management of crops. This capability is particularly useful in
mitigating the impacts of adverse weather conditions, improving yield predictions, and optimizing
farming practices.
The integration of AI and IoT has been shown to be particularly effective in addressing challenges
in precision farming, which involves monitoring and managing crop production using technology.
Smith and Johnson (2021) focused on the application of IoT and machine learning models in
precision agriculture. Their work emphasizes the importance of predictive analytics and the
automation of tasks such as irrigation, fertilization, and pest control based on environmental data
collected via IoT devices. The use of AI models to analyze large datasets generated by IoT sensors
has resulted in more efficient resource management and increased crop yields. By automating these
Page 9
AI-Based enviormental monitoring & farm automation system
processes, farmers can reduce costs, improve the accuracy of environmental monitoring, and
ultimately enhance the sustainability of agricultural practices.
Another aspect of research focuses on cloud computing and edge computing for managing IoT
data in real-time. As farms generate vast amounts of data, efficient data management becomes a
key challenge. Wang et al. (2022) discussed how cloud-based solutions like ThingSpeak and
Microsoft Azure can store large volumes of agricultural data and provide tools for analysis and
visualization. However, real-time processing of data from remote farms often requires low-latency
solutions. As a result, some studies have also investigated edge computing approaches that bring
data processing closer to the source (i.e., the farm), reducing delays and enabling faster decision-
making. Combining edge and cloud computing provides a balanced solution for managing both
the computational power and the scalability of agricultural IoT systems.
Finally, the integration of environmental monitoring systems with farm automation has been
extensively explored in recent research. Patel et al. (2023) highlighted the benefits of automating
irrigation systems based on real-time environmental data. Their study demonstrated how
automated irrigation, driven by data from soil moisture sensors, can conserve water and improve
crop health. Additionally, AI-based systems for pest detection and disease prediction have shown
great promise. Singh et al. (2021) developed a system using AI to detect diseases in crops by
analyzing images captured by drones and IoT sensors, providing early warning systems to farmers.
These technologies are gradually becoming indispensable for the modern agricultural landscape,
allowing for smarter, more sustainable farming practices.
In conclusion, the literature reveals a growing body of research supporting the integration of IoT,
AI, and cloud computing for environmental monitoring and farm automation. The benefits of such
systems in terms of efficiency, resource management, and predictive capabilities have been well-
documented. However, there is still a need for further research to optimize these technologies,
address scalability challenges, and integrate them into real-world farming environments. As this
field continues to evolve, the future of agriculture
increasingly data-driven, with AI and IoT technologies playing a central role in shaping its
development.
Modern agriculture faces numerous challenges, including climate change, water scarcity,
unpredictable weather patterns, and the growing demand for food due to population growth.
Traditional farming methods are increasingly insufficient to meet these demands efficiently. An
AI-based environment monitoring and farm automation system addresses these challenges by
integrating advanced technologies to improve productivity, sustainability, and resource
management.
Water, fertilizers, and pesticides are often overused in conventional farming, leading to wastage
and environmental damage. AI systems can analyze data to optimize the use of these resources,
ensuring that inputs are used only where and when they are needed, reducing costs and ecological
impact.
By automating processes such as irrigation, pest control, and fertilization based on real-time data,
farmers can maintain optimal growing conditions. AI can also forecast yields and detect crop
diseases early, improving overall farm output and profitability.
4. Labor Shortages
Agricultural labor shortages are a growing issue in many regions. Automation reduces dependence
on manual labor and allows farms to operate efficiently with minimal human intervention,
especially during critical periods like planting and harvesting.
AI systems enable farmers to make informed decisions by analyzing vast amounts of data collected
from sensors, drones, and satellite imagery. This data-driven approach reduces guesswork and
enhances strategic planning.
By monitoring environmental conditions and automating responses, the system helps maintain soil
health, conserve water, and reduce chemical runoff, contributing to more sustainable farming
practices.
1.5FEASIBILITY OF SYSTEM
The Feasibility study is the major factor that contributes to the analysis of the SYSTEM. It is
carried out to determine whether we improve our existing system or develop totally a new
system.
TECHNICAL FEASIBILITY :-
This determines whether the work for the project can be done current requirement & existing
system.
The software can be implemented in JAVA since it is one of the most common tools for
developing system applications.
AWT, Swing and also Java are feasible to use as front end & File System can be used as back
end.
OPERATIONAL FEASIBILITY :-
Page 12
AI-Based enviormental monitoring & farm automation system
It is used to determine whether software is operationally feasible or not. The main user of
software will be people, present clerical job. The sort description of the software would be
enough to operate the software user friendly.
Our software is operationally feasible because it simple user friendly graphical interface.
ECONOMICAL FEASIBILITY:-
Our software is economically feasible since easily availability of File Database ,Mailing
System and JDK. Also software developers are also aware of java, AWT, Swing,Applet and
FileDB.
Hence we studied Project Definition, Current Market Survey, and need of the System,
Feasibility of the system, Future prospects & Organization of the report. In next chapter we
will study project plan, requirement analysis & team structure.
We both the students successfully create thisApplication . The guide of our project supports us for
developing the system effectively.
To implement this system we need information which is provided by Mr. K. S. Pawar sir which is
our project guide as well as Subject teacher.
Page 13
AI-Based enviormental monitoring & farm automation system
In chapter 1 we discuss he basic flow of the project, need of the system, feature of the system &
future prospect of the system.
In chapter 2 we discuss the project plan requirement analysis & team structure.
In chapter 3 we discuss the Software Requirement Specification.
In chapter4 we discuss the UML diagram.
In chapter 5 we discuss software used hardware speciation, Programming language used, Platform,
Components, tools, Methods &procedure.
In chapter 6 we discuss the result. In chapter 7 we discuss the Formal Technical reviews, Test plan,
Test cases &Test results.
Page 14
AI-Based enviormental monitoring & farm automation system
Chapter 2
ANALYSIS
Page 15
AI-Based enviormental monitoring & farm automation system
2.1PROJECT PLAN
8.Coding 2 week
9.Testing 1 week
11.Deployment 1 week
Page 16
AI-Based enviormental monitoring & farm automation system
2.2REQUIREMENT ANALYSIS
• Questionnaires :-
We prepared questionnaires to get some information about the current system. In final stage
we used the questionnaires to get some numerical data that was required or missing after all
the observation.
• Interviews :-
The interviews were unstructured. We close some people in the organization who were either
the decision-makers or users in some activity related with the project. We interviewed them
many times. This helped us understand all the stages involved in any activity.
• Record Review :-
This was the most beneficial activity for us while making the database. We studied the
existing system structure, document used and generated in the organization.
• Observation :-
While finding the fact or requirements of the system we kindly observe the existing system.
We observe the existing structure, of the ready medical sites and their presention about the
sites. How they have represented their medical sites so user friendly and usefull.
The project team consist of 4 members, the effort assignment of team members are given above
in the project table, the duties and details of each member is as below:
Page 17
AI-Based enviormental monitoring & farm automation system
Summary
Hence we studied project plan, requirement analysis & team structure. In next chapter we
will study software requirement specification of the report.
Page 18
AI-Based enviormental monitoring & farm automation system
Chapter 3
DESIGNING
Page 19
AI-Based enviormental monitoring & farm automation system
• Arduino,
• ESP module
Page 20
AI-Based enviormental monitoring & farm automation system
3.2RISK ASSESSMENT
Summary
Page 21
AI-Based enviormental monitoring & farm automation system
Chapter 4
MODELING
Page 22
AI-Based enviormental monitoring & farm automation system
There are many types of life cycle model, which are as follow:
1. Waterfall Model
2. Incremental Model
3. Prototyping Model
4. Spiral Model
5. RAD Model
Out of which we choose the Spiral Model
Spiral Model:
The main advantage of the Spiral model is it gives the core model at every round. In this model
we also implements risk analysis phase.
Page 23
AI-Based enviormental monitoring & farm automation system
System Architecture
Architecture design describe the component involved in the system.design describe overall
physical component in the system. In this system, there is a mechanism which helps us to transfer
the files with load balancing with another disk. This system provides an interface
which helps us to select the location of the destination path. By using this system, File gets stored
on distributed location easily with less time. Our System provide security mechanism which helps
to secure data from the outsider. The application contains Encoded Decode facility for securing
the data. Due to this the data cannot be accessed by any outside third person. Our system provides
mechanism such that we can transfer the directory along with giving security mechanism to it at
the same time. This will help in reducing the time.
Page 24
AI-Based enviormental monitoring & farm automation system
Unique key verification object:-User need to enter username and password and then authentication
of the credentials will be done whether the user is authorized user or not.
Our application can transfer any kind of file like .exe file, .doc file, .mp3 file, mp4 file and many
more. We can also encode and decode the file by just clicking on the Encode and Decode
checkboxes. Other systems take lots of time to transfer the file. But Our System transfers file
within a fraction of seconds.
Space Utilization is an important approach in any computing system. But in other applications
space utilization management is not proper which leads to lack of space. Hence due to this we
cannot store our desired files, folder, applications, etc. But there is proper space utilization in our
system which helps in storing data in a proper way.
We can transfer the directory in normal systems but we cannot give a security mechanism to it
simultaneously during transfer is going on. This is a very time consuming process. But our system
provides mechanism such that we can transfer the directory along with giving security mechanism
to it at the same time. This will help in reducing the time.
Security of the software is the important approach in the today’s world. It’s very important that
the data should be secured from the outsider. Our System will provide security mechanism which
helps to secure data from the outsider. The application contains Encoded Decode facility for
securing the data. Due to this the data cannot be accessed by any outside third person.
Page 25
AI-Based enviormental monitoring & farm automation system
Page 26
AI-Based enviormental monitoring & farm automation system
It shows a set of use cases and actors (a special kind of class and their relationships).Use Case
diagrams address the static use case view of system .These diagrams are specially important in
organizing and modeling the behavior of a system.
Page 27
AI-Based enviormental monitoring & farm automation system
Page 28
AI-Based enviormental monitoring & farm automation system
Page 29
AI-Based enviormental monitoring & farm automation system
Page 30
AI-Based enviormental monitoring & farm automation system
Page 31
AI-Based enviormental monitoring & farm automation system
Activity diagram are intended to model both computational and organizational processes(i.e.
workflows ).Activity diagrams show the overall flow of control. Activity diagrams are
constructed from a limited number of shapes, connected with arrows.
Page 32
AI-Based enviormental monitoring & farm automation system
Start Chart diagram demonstrates the elements as they interact over the period of time, their
interaction or interaction instance.State chart diagram is an interaction diagram that focuses on the
ordering of messages. State chart diagram can be drawn along two axes. The horizontal axis and
vertical axis
Page 33
AI-Based enviormental monitoring & farm automation system
4.8. ER Diagram
ER model is repented by means of an ER diagram .Any object, for example entities ,attributes of
an entity, relationship sets, an attribute of relationship sets ,can be repented with the help of an
ER diagram.
Page 34
AI-Based enviormental monitoring & farm automation system
Page 35
AI-Based enviormental monitoring & farm automation system
Chapter 5
METHODOLOGY
Page 36
AI-Based enviormental monitoring & farm automation system
5.1 Requirement:
JAVA :
Java technology provide graphics classes witin JDK for constructing your own Graphical User
Interface (GUI) applications. Writing your own graphics classes (and re-inventing the wheels) is
mission impossible! These graphics classes, developed by expert programmers, are highly
complex and involve many advanced design patterns. However, re-using them are not so difficult,
if you follow the API documentation, samples and templates provided. There are current three
sets of Java APIs for graphics programming: AWT (Abstract Windowing Toolkit), Swing AWT
API was introduced in JDK 1.0. Most of the AWT components have become obsolete and should
be replaced by newer Swing components.
Swing API, a much more comprehensive set of graphics libraries that enhances the AWT, was
introduced as part of Java Foundation Classes (JFC) after the release of JDK 1.1. JFC consists of
Swing, Java2D, Accessibility, Internationalization, and Pluggable Look-and-Feel Support APIs.
JFC has been integrated into core Java since JDK 1.2.
Other than AWT/Swing graphics APIs provided in JDK, other organizations/vendors have also
provided graphics APIs that work with Java, such as Eclipse's Standard Widget Toolkit (SWT)
(used in Eclipse), Google Web Toolkit (GWT) (used in Android), 3D Graphics API such as Java
bindings for OpenGL (JOGL) and Java3D.
Eclipse :
Most people know Eclipse as an integrated development environment (IDE) for Java. In 2014 the
Eclipse IDE is the leading development environment for Java with a market share of approximately
65%.
Page 37
AI-Based enviormental monitoring & farm automation system
The Eclipse IDE can be extended with additional software components. Eclipse calls these
software components plug-ins. Plug-in can be grouped into features.
Several projects and companies have extended the Eclipse IDE or created stand-alone applications
(Eclipse Rich Client Platform) on top of the Eclipse framework.
Platform independent means that the code remains the same irrespective of the platform
involved.Our software i.e. GLOBAL_FILE_SYSTEM system is platform independent which
means it will run on any system like Windows , Ubuntu, MAC, etc
Unlike other software’s we cannot access the system if we are not in front of it.we won’t get any
idea if errors or other processing happening in the system .But in our system we need not need to
be in front of the system but just in the surrounding of the system.The audible operation feature in
our application gives audible sound for every processing going on in the system.
The other software’s means those complicated software’s have a GUI which is very complicated.
Any third person which has no idea about the software cannot access the application efficiently,
Page 38
AI-Based enviormental monitoring & farm automation system
But our application has such a easy GUI that if any third person who is the legal user has no idea
about the software can use it easy at his fingertips.
Our application can transfer any kind of file like .exe file, .doc file, .mp3 file, ,mp4 file and many
more.We can also encode and decode the file by just clicking on the Encode and Decode
checkboxes.Other systems take lots of time to transfer the file. But GLOBAL_FILE_SYSTEM
transfers
5.4.5. Time UtilizationOther systems takes much more time to transfer any data. But
GLOBAL_FILE_SYSTEM System transfers data within a fraction of seconds.In
advance,itprovides the mechanism of transfer of file and security mechanism
simultaneously which is very useful approach and time consuming
Page 39
AI-Based enviormental monitoring & farm automation system
Chapter 6
Result
Page 40
AI-Based enviormental monitoring & farm automation system
Page 41
AI-Based enviormental monitoring & farm automation system
Page 42
AI-Based enviormental monitoring & farm automation system
Chapter 7
CODING
Page 43
AI-Based enviormental monitoring & farm automation system
Arduino Uno:
o Connect the Soil Moisture Sensor to an analog input pin (A0).
o Connect the Gas Sensors (e.g., MQ-7 for CO) to analog pins.
o Connect the ESP8266 Wi-Fi module to the Arduino (TX to RX, RX to TX, VCC
to 3.3V, GND to GND).
Page 44
AI-Based enviormental monitoring & farm automation system
Page 45
AI-Based enviormental monitoring & farm automation system
Page 46
AI-Based enviormental monitoring & farm automation system
Page 47
AI-Based enviormental monitoring & farm automation system
4. Integration
The Arduino sends environmental data (temperature, humidity, soil moisture, gas levels)
to ThingSpeak.
The AI module on the web interface provides weather predictions based on historical data
and current environmental data.
The web app (Flask) integrates the AI model to offer predictions in real-time, which can
be accessed by farmers through a simple UI.
Test the AI model’s accuracy using a separate test set of weather data.
Advantages
2. Automation and Efficiency: The automation provided by this system reduces the
manual effort involved in monitoring and managing farms. By using IoT sensors and AI,
farmers can automatically track soil moisture levels, air quality, and other environmental
factors. This system minimizes human error, ensures better accuracy in data collection, and
reduces the need for frequent manual intervention, making farming more efficient and
scalable.
Page 48
AI-Based enviormental monitoring & farm automation system
3. capability can help reduce resource wastage by ensuring that irrigation and other
interventions are only done when necessary. Over time, this leads to cost savings and better
yield quality, as farmers can precisely tailor their actions to the needs of the crops.
4. Sustainability: With precise monitoring, the system helps in the sustainable management
of agricultural resources, contributing to environmental conservation. It enables farmers to
manage water usage efficiently, reduce unnecessary pesticide application, and ensure that
farming practices are aligned with environmental sustainability goals. The system also
provides insights that help farmers adapt to climate change, making agriculture more
resilient.
Disadvantages
2. Initial Cost and Setup: While the system offers long-term benefits in terms of
efficiency and cost savings, the initial setup cost might be high for small-scale farmers.
The costs associated with purchasing the necessary sensors, microcontrollers, Wi-Fi
modules, and setting up the AI model can be prohibitive, particularly for farmers with
limited financial resources. In addition, the system requires technical knowledge for
installation and calibration, which might pose a challenge for farmers without a technical
background.
3. Data Accuracy and Sensor Limitations: The effectiveness of the system depends
on the accuracy of the data collected by the sensors. Sensors may have calibration issues,
be susceptible to wear and tear, or produce inconsistent readings under extreme weather
conditions. This could lead to incorrect predictions and actions based on faulty data.
Additionally, certain environmental factors might not be captured accurately, impacting
the overall performance of the system.
1. require large amounts of historical weather data and computational resources. The
performance of the model might also vary depending on the quality of data fed into it.
Page 49
AI-Based enviormental monitoring & farm automation system
2. DOCUMANTATION OF PAGE
Report Documentation
Report Code : DC-Project 2024-2025 Report Number:- 01
Report Title : AI-Based enviormental monitoring& farm automation system.
Address(Details) :- CM Department,K.B.H.Polytechnic,Bhaygaon Road,
Malegaon Camp,Tal-Malegaon,Dist-Nashik.
Pin Code :-423203.
Name of the student :- 1)Prachi 2)Savali kedare 3)Anushka songra 4)Prajakta
shewale bedekar
Exam Seat No :- 424578 424601 424566 424593
Year :-2024-2025
Branch :-COMPUTER TECHNOLOGY
Keyword :- : Smart Global Sharing System Government, Proper record, Sharing System
Type of Report Report Checked By : Report Checked Subject Total Copies
File Date:- Teacher :
Page 50
AI-Based enviormental monitoring & farm automation system
Abstract:-
I proposed new framework for data sharing with partitioning technique to transfer source data according
to available memory space to destination along with security and audibility framework. The model
describes the System which helps to manage synchronization of multiple files and provide the load
balancing of single file on multiple location. The algorithm works effective when the object has to be
stored on single physical storage with multiple logical partition. Experimental result has tested on
Windows operation System.
Chapter 8
TESTING
Page 51
AI-Based enviormental monitoring & farm automation system
Testing plan
The following methods of testing were carried out to check correctness and reliability of
the processing system.
Black-box Testing:
The black-box testing is testing strategy, which does not need any knowledge of internal
design or code etc. As the name suggests, no knowledge of internal logic or code structure
is required.
There is no need of having detailed functional knowledge of system to the tester. The tests
will be done from end user’s point of view. Also the testing helps to identify the vagueness
and contradiction in the functional specifications, and that’s why we use this testing.
We have checked all graphics loads and checked they are display properly on web page or
not. We have checked the text-boxes, list boxes and other fields for entering or selecting
information.
Interface Testing:
To assure that information properly flows out the program unit under test.
Data Structure:
To assure that all variables are initiated properly and data is stored properly.
Page 52
AI-Based enviormental monitoring & farm automation system
Boundary value analysis is the technique of making sure that behavior of system is
predictable for the input and output boundary conditions and it is important because
defects could be introduced at the boundaries.
In this testing method we gain from seeing what the code does and how it works to determine
what to test, what not to test and how to approach the testing. In this testing we can see and use
the underlying structure of the code to design and run the different tests. It also involves directly
testing and controlling the software.
Testing the software at the top level, as the completed program, but adjusting the test cases based
on what we know about the software’s operation.
Gaining access to read variables and state information from the software to help the user to
determine whether our tests are doing what they thought.
The purpose of this test plan is to describe the testing practice used for development of
compiler and converter service provider and to identify the items to be test during this
project.
Page 53
AI-Based enviormental monitoring & farm automation system
Test Plan
Page 54
AI-Based enviormental monitoring & farm automation system
Page 55
AI-Based enviormental monitoring & farm automation system
Page 56
AI-Based enviormental monitoring & farm automation system
Summary
In this chapter we define the testing plan and implement actual testing on our project.
We also define all possible test cases of this system,when each project is implemented then to
check whether it is execute properly or not and it gives output as per the requirements.
Page 57
AI-Based enviormental monitoring & farm automation system
CONCLUSION
Furthermore, the inclusion of an AI-based weather prediction module, built using deep learning
techniques such as Convolutional Neural Networks (CNN), adds significant value by enabling
accurate weather forecasts. This empowers farmers to anticipate environmental changes and
manage their resources more effectively, ultimately improving agricultural productivity and
sustainability. The project’s success highlights the potential of combining IoT and AI to address
real-world challenges in agriculture, offering solutions that are scalable, efficient, and user-
friendly.
Page 58
AI-Based enviormental monitoring & farm automation system
REFERENCES
1. ThingSpeak Documentation
ThingSpeak, MathWorks. (n.d.). ThingSpeak API documentation. Retrieved from
https://www.mathworks.com/help/thingspeak/
2. Arduino Documentation
Arduino, Inc. (n.d.). Arduino official website. Retrieved from https://www.arduino.cc/
Page 59
AI-Based enviormental monitoring & farm automation system
Page 60