Professional Documents
Culture Documents
FYP Uama-Adnan
FYP Uama-Adnan
By
BACHELOR OF SCIENCE
IN
COMPUTER SCIENCE
Contents
Revision History....................................................................................................................................4
1. Introduction...................................................................................................................................5
1.1. General Information...............................................................................................................5
1.2. Purpose..................................................................................................................................5
1.3. Document Conventions..........................................................................................................5
1.4. Project Objective...................................................................................................................5
1.5. Intended Audience and Reading Suggestions........................................................................6
1.6. Project Scope.........................................................................................................................7
1.7. Product Perspective...............................................................................................................7
1.8. Product Features....................................................................................................................7
1.9. User Classes and Characteristics............................................................................................8
1.10. Operation Environment......................................................................................................9
1.11. Design and Implementation Constraints............................................................................9
1.12. Dependencies.....................................................................................................................9
1.13. User Documentation........................................................................................................10
2. System Features...........................................................................................................................10
2.1. Mobile Friendly Use............................................................................................................10
2.2. Unique recognizable Design................................................................................................10
3. External Interface Requirements..................................................................................................11
3.1. User Interfaces.....................................................................................................................11
3.2. Hardware Interfaces.............................................................................................................11
3.3. Software Interfaces..............................................................................................................12
3.4. Communications Interfaces.................................................................................................12
4. External Interface Requirements..................................................................................................13
4.1. Performance Requirements..................................................................................................13
4.2. Safety Requirements............................................................................................................13
4.3. Security Requirements.........................................................................................................14
4.4. Software Quality Attributes.................................................................................................14
5. Tools & Technologies...............................................................................................................14
5.1. Programming Languages.....................................................................................................14
5.2. Database/Data Storages.......................................................................................................14
5.3. Operating System.................................................................................................................14
6. Diagrams.....................................................................................................................................15
Government College University Faisalabad 3
6.1. WBS.....................................................................................................................................15
6.2. Sequence.....................................................................................................................15
6.3. Collaboration.......................................................................................................................16
6.4. Use Case..............................................................................................................................16
6.5. Object..................................................................................................................................17
6.6. Class.....................................................................................................................................17
6.7. E-R Diagram.........................................................................................................................18
6.8. Dataflow..............................................................................................................................18
7. Appendix A: Glossary.................................................................................................................19
8. Appendix B: Check List..............................................................................................................20
9. Appendix C: Supervisory Committee..........................................................................................21
Government College University Faisalabad 4
Revision History
1. Introduction
1.1. General Information
Project Name: AI Based Game Control System Using Gesture Starting Date: 28-01-2024_
1.2. Purpose
Gesture recognition is technology that uses sensors to read and interpret hand
movements as commands. In the automotive industry, this capability allows drivers and
passengers to interact with the vehicle usually to control the infotainment system without
touching any buttons or screens. Artificial intelligence is the theory and development of
computer systems that are able to perform tasks that normally require human intelligence,
such as visual perception, speech recognition, decision-making, and translation between
languages.
Artificial intelligence makes it possible for machines to learn from experience, adjust
to new inputs, and perform human-like tasks. Most AI examples that you hear about today—
from chess-playing computers to self-driving cars—rely heavily on deep learning and natural
language processing (https://www.sas.com/en_us/insights/analytics/what-is-artificial-
intelligence.html).
AI refers to science and engineering that explores how to simulate various issues and
functions in the field of human intelligence. AI technology fields cover perception,
Government College University Faisalabad 6
recognition, reasoning, the learning process, natural language, machine translation, games,
chess, and so on.
Some AI technologies work behind the scenes to figure out who and what people like
while they are using social media or shopping online.
Sensor Technology: Smart AI systems make use of a range of sensors to gather data
in real-time on environmental factors like temperature, humidity, soil moisture, pH
Government College University Faisalabad 8
levels, and light intensity. These sensors aid in resource management optimization
and offer insightful information about crop conditions.
Connectivity over the Internet of Things (IoT): IoT connectivity enables
frictionless communication across sensors, gadgets, and systems in the AI ecosystem.
It makes it possible to remotely monitor, transmit data, and control different smart AI
system components.
Control and automation systems: Automation is important in smart AI. It entails
using machinery to automate processes like fertilization, AI, and even harvesting.
Automated control systems guarantee accurate and efficient resource use.
Utilizing computers or mobile devices: Smart AI solutions enable farmers to
remotely monitor and manage their activities. Even if they are not physically on the
farm, they can still access real-time data, get alerts and notifications, and make wise
decisions.
Sustainability and Environmental Monitoring: Smart AI systems encourage
sustainable AI practices by maximizing resource consumption, minimizing waste, and
minimizing environmental effect. They make it possible to monitor water use, nutrient
management, and pesticide application to make sure that farming practices are
environmentally benign.
Ancient civilizations in many parts of the world practiced AI. In fact, civilization
would probably not be possible without some form of AI. The earliest form of AI probably
involved people carrying buckets of water from wells or rivers to pour on their crops. As
better techniques developed, societies in Egypt and China built AI canals, dams, dikes, and
water storage facilities. Ancient Rome built structures called aqueducts to carry water from
snowmelt in the Alps to cities and towns in the valleys below. This water was used for
drinking, washing, and AI.
Modern AI systems use reservoirs, tanks, and wells to supply water for crops.
Reservoirs include aquifers, basins that collect snowmelt, lakes, and basins created by dams.
Canals or pipelines carry the water from reservoirs to fields. Canals and pipelines, just like
the ancient Roman aqueducts, often rely on the force of gravity. Pumps may also move water
from reservoirs to fields.
Crops are irrigated by several methods: flooding an entire field, channeling water
between rows of plants, spraying water through large sprinklers, or letting water drop onto
plants through holes in pipes.
Letting water drop onto plants through holes in pipes, known as drip AI, is considered
one of the most efficient methods of AI. Drip AI focuses the water onto the plant itself. Other
methods can waste water by letting it absorb into the ground where there are no plants. Water
can also evaporate into the air when sprayed through sprinklers.
Government College University Faisalabad 9
Farmers, technological firms, and the natural environment all play a part in the
complicated context that smart AI functions in. The primary users of smart AI methods and
technologies are farmers, who implement these developments on their fields. They rely on the
assistance of tech firms who create and offer the systems and technologies required for smart
AI. The natural environment, which includes soil, water, the weather, and ecosystems, is also
very important. Farmers must be aware of their local conditions in order to apply sensible AI
practices. Governmental organizations and agencies also contribute by offering rules,
regulations, and assistance.
Technology accessibility: It is assumed that the infrastructure and tools required for
smart AI, including sensors, IoT devices, and data analytics tools, are easily
accessible and widely available. Reliable internet connectivity is assumed to be
available in farming communities in order to facilitate real-time data gathering,
communication, and access to cloud-based technologies.
Data reliability: The assumption that the data gathered from sensors and other
sources is trustworthy and accurate for decision-making.
Scalability: The idea that smart AI technologies may be expanded to handle larger
farms or AI businesses.
Farmer adoption: The presumption that farmers are open to learning and adjusting to
new techniques as well as willing to adopt and embrace the use of technology in their
farming practices.
1.12. Dependencies
Dependency on qualified professionals or technical experts who can help with the
setup, upkeep, and troubleshooting of smart AI systems. Technical expertise and
support.
Financial resources: Investment in the necessary infrastructure, training programmers,
and technologies for smart AI will depend on having the money to do so.
Dependence on government initiatives, financial incentives, and laws that foster the
implementation of smart AI practices.
Dependence on continuing research and development projects to improve current
technology, provide novel solutions, and handle particular issues in smart AI.
Government College University Faisalabad 10
What is user documentation? User documentation is the content that you provide the
end user in order for them to be more successful with your product or service. Also known as
user guides, instruction manuals, or user manuals, user documentation is there to hold your
customer's hand as they learn about your product.
2. System Features
A smart AI system must have automation and control. It should be able to automate
processes like watering, fertilizing.
First and foremost, it must have an intuitive user interface that is simple to use and
comprehend, especially for farmers with little technical knowledge. Users should be able to
engage with the system easily thanks to its intuitive design, clear instructions, and visual
representations.
and protection against unauthorized access, should be in place for the smart farm
system. Farmers must have faith in the security of their operations and data.
Another non-functional need is performance: Which refers to how quickly and
effectively the system reacts to input. Users should receive real-time or almost real-
time feedback from the system as it processes and analyses data. It needs to be tuned
to handle a lot of data and produce effective results.
An essential non-functional need for a smart AI system is compatibility. It ought
to be able to interact and integrate with a range of sensors, gadgets, and current farm
management systems.
The Language we use in the system is C Language. The widely used C programming
language offers a disciplined and effective methodology for software development. It is
renowned for being easy to use, portable, and capable of low-level programming. C is a
programming language that enables hardware-direct code interaction, making it suited for
embedded systems and systems programming. Its extensive feature set, which includes
control structures, data types, and functions, enables the creation of sophisticated programs
with high productivity. A sizable library of functions is provided in C, which is also used as
the basis for many other programming languages.
Integration of data: Databases make it possible to combine data from several sources,
giving farmers a complete picture of their farming activities. Consolidating and analyzing
several data streams, such as meteorological information, AI records, and market prices,
might yield insightful results.
Data reporting and analysis: By allowing for querying and analysis functions,
databases enable farmers to derive useful information from the gathered data. Farmers may
run complicated analyses, prepare reports, and visualize patterns with the aid of database
management systems and suitable querying languages, assisting them in making educated
decisions regarding crop management, resource allocation, and planning.
Databases make it possible to save historical data, which allows farmers to keep track
of patterns and trends over time. Farmers can determine long-term trends, evaluate the
Government College University Faisalabad 12
efficacy of various farming techniques, and make improvements to improve future results by
studying historical data.
Yes, a smart AI project can use an operating system. In fact, operating systems are
essential for the many parts and technologies in a smart AI system to work. A few instances
of how operating systems can be used are as follows:
Data management and collection: Operating systems are able to offer the software
architecture required for data collecting devices, such as sensors and IoT devices, to
communicate and send data to a centralized system. The operating system manages storage,
communication protocols, and data input and output activities.
Processing and analysis of data: Operating systems enable the use of software
programs that process and evaluate the gathered AI data.
User interface and interaction: Operating systems can offer farmers a simple way to
communicate with the smart AI system. In order to monitor data, make educated decisions,
and modify system parameters, farmers can use mobile applications, control panels, and
visual dashboards.
The Arduino UNO is the best board to get started with electronics and coding.
The output of the soil moisture sensor fluctuates between 0 and 1023 on the ADC scale. This
can be expressed as a % moisture value using the formula below. The 10-bit ADC's
highest value with zero moisture is 1023. This results in 0% moisture.
Relay Module x 1
Because a 1-channel relay only has one switch or channel, it can only be used to regulate one
load or circuit at once.
Government College University Faisalabad 13
LCD Display x 1
A 16x2 LCD can display up to 16 characters per line on each of its two lines.
I2C Module x 1
Battery Holder x 1
Jumper Wires
Foam Board
NPK Sensor
NPK sensors that can gauge how much fertilizer should be applied to the soil.
of homes in America that were "protected" with smoke detectors increased from zero to more
than 70%, the number of fire deaths in homes did not significantly decrease.
6. Diagrams
6.1. WBS
6.2. Sequence
Government College University Faisalabad 16
6.3. Collaboration
6.5. Object
6.6. Class
Government College University Faisalabad 18
6.8. Dataflow
Government College University Faisalabad 19
7. Appendix A: Glossary
Purpose:
You need to identify a suitable water source for your AI system. This could be
a nearby river, well, pond, or access to a municipal water supply. It's essential to
ensure that the water quality is suitable for AI purposes.
Project Scope:
An initiative called "smart AI" makes use of modern technology to assist
farmers in improving AI growth and environmental protection. It consists of things
like sensors and equipment that gather data on the soil, temperature, and other
crucial variables.
Features:
Sensor Technology, Connectivity over the internet of things (LOT), Control
and automation systems, Utilizing computers or mobile devices, Sustainability and
Environment Monitoring.
Assumptions:
Technology accessibility, Data reliability, Scalability, Farmer adoption.
Tools:
Arduino UNO board x 1, Soil moisture sensor x 1, Relay module x 1, LCD
display x 1, I2C module x 1, Battery holder x 1, Jumper wires, Foam board, 12 volt
water pump, NPK sensor.
Programming Language:
C Language.
Government College University Faisalabad 20
Purpose
Project Scope
Features
Assumptions
Tools
Programming Language
Government College University Faisalabad 21
Name: Name:
Designation: Designation:
Comments: Comments:
Signature: Signature:
Date:
Approved Time: ________ Group ID:
Meeting Required Date:
Rejected Place:_______
Remarks