FYP Ali - Hamza
FYP Ali - Hamza
FYP Ali - Hamza
By
Ali Raza 2019-GCUF-070826
Hamza Ayub 2019-GCUF-070829
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...................................................................................................................6
1.5. Intended Audience and Reading Suggestions........................................................................6
1.6. Project Scope.........................................................................................................................7
2. Overall Description........................................................................................................................7
2.1. Product Perspective...............................................................................................................7
2.2. Product Features....................................................................................................................7
2.3. User Classes and Characteristics............................................................................................8
2.4. Operation Environment..........................................................................................................9
2.5. Design and Implementation Constraints................................................................................9
2.6. Dependencies.........................................................................................................................9
2.7. User Documentation............................................................................................................10
3. System Features...........................................................................................................................10
3.1. Mobile Friendly Use............................................................................................................10
3.2. Unique recognizable Design................................................................................................10
4. External Interface Requirements..................................................................................................11
4.1. User Interfaces.....................................................................................................................11
4.2. Hardware Interfaces.............................................................................................................11
4.3. Software Interfaces..............................................................................................................12
4.4. Communications Interfaces.................................................................................................12
5. External Interface Requirements..................................................................................................13
5.1. Performance Requirements..................................................................................................13
5.2. Safety Requirements............................................................................................................14
5.3. Security Requirements.........................................................................................................14
5.4. Software Quality Attributes.................................................................................................14
6. Tools & Technologies...............................................................................................................14
6.1. Programming Languages.....................................................................................................14
6.2. Database/Data Storages.......................................................................................................14
6.3. Operating System.................................................................................................................14
Government College University Faisalabad 3
7. Diagrams.....................................................................................................................................15
7.1. WBS.....................................................................................................................................15
7.2. Sequence.............................................................................................................................15
7.3. Collaboration.......................................................................................................................16
7.4. Use Case..............................................................................................................................16
7.5. Object..................................................................................................................................16
7.6. Class.....................................................................................................................................17
7.7. E-R Diagram.........................................................................................................................17
7.8. Dataflow..............................................................................................................................18
8. Appendix A: Glossary.................................................................................................................18
9. Appendix B: Check List..............................................................................................................20
10. Appendix C: Supervisory Committee......................................................................................21
Government College University Faisalabad 4
Revision History
1. Introduction
1.1. General Information
1.2. Purpose
Essentially, there are as many different types of robots as there are tasks for them to perform.
Robots can perform some tasks better than humans, but others are best left to people and not
machines.
Deliver online orders, room service and even food packets during emergencies.
Robots can also make music, monitor shorelines for dangerous predators, help with
search and rescue and even assist with food preparation.
1.3. Document Conventions
This is the most advanced kind of robot. The smart robot has a built-in AI system that learns
from its environment and experiences to build knowledge and enhance capabilities to
continuously improve. A smart robot can collaborate with humans and help solve problems in
areas like the following:
food waste;
Education: The main goal is to teach students the value of robot and how
technology may be incorporated into farming practices to increase productivity,
sustainability, and efficiency.
Raise students: Understandings of the issues facing the agricultural sector, such as
water scarcity, soil degradation, and food security, as well as the ways in which
smart robot solutions can assist solve these issues.
Practical Learning: Enable students to set up and manage simple smart farm
systems firsthand. This can entail undertaking tasks like setting up modest sensor
networks, keeping an eye on plant development, gathering and analyzing data, and
basing decisions on the findings.
Encourage students: Critical thinking and problem-solving abilities by identifying
agricultural issues or inefficiencies that can be resolved by the usage of technology.
Environmental Awareness: Encourage knowledge of the value of environmentally
friendly farming methods and how technology can help reduce negative
environmental effects. Precision robot, effective fertilizer management, and reducing
the usage of pesticides through observation and data-driven decision-making are a
few examples of what this can cover.
Encourage student: Cooperation and teamwork by giving them clever robot-related
group projects to work on. This can entail planning projects, carrying out
experiments, and presenting results to colleagues in order to build a sense of
cooperative learning. Prepare students for the future by introducing them to cutting-
edge agricultural technologies like the Internet of Things (IoT).
The robot inspired a new era of robotics, accelerating the development of more advanced,
autonomous machines that now help in areas such as the following:
disaster management
law enforcement
Government College University Faisalabad 7
weather forecasts
residential hygiene
military reconnaissance
Later, household robots like Roomba and AI-based robots like Siri and Alexa paved the way
for robots in people's everyday lives, furthering their potential.
Today's robots can carry out a number of complex tasks that would have been written off as
science fiction even half a century ago. Smart, intelligent robots are now collaborating with
humans and helping to solve problems that looked unsolvable in the past.
For modern robot, a smart robot system is one of the best techniques that give more
production in minimum duration. To many extend, this smart robot system is designed and
fully automated to minimize manual handling in robot. And one of the good things is that it is
very comfortable for users (or farmers) to understand the concept of IoT and sensors for
smart robot.
It can help you to learn how various sensors can be deployed and utilization of their data to
generate events and control robot systems.
2. Overall Description
The smart robot system is user friendly platform to learn and enhance your skill about
smart watering system. It can provide high accuracy water supply and avoid water from
wastage. Due to automatically handling, user requires less man power. With the help of the
sensors, it can accurately determine the soil moisture levels. It can easily detect and control
the temperature, humidity, solar radiation using sensors. This system automatically provides
water supply to the field. User can manually operate (turn ON or OFF) valve. This system
helps to produce good quality of crops and improves economic condition.
This IoT-based smart robot monitoring and controlling system are very easy to increase crop
production at any season with less time, less effort, and more profitable.
Ancient civilizations in many parts of the world practiced robot. In fact, civilization
would probably not be possible without some form of robot. The earliest form of robot
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 robot 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 robot.
Modern robot 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 robot, is
considered one of the most efficient methods of robot. Drip robot focuses the water onto the
Government College University Faisalabad 9
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.
The environment in which smart robot operates is dynamic and linked, including a
variety of stakeholders and elements. Here is an example of a junior level explanation of the
smart agricultural operational environment:
Farmers, technological firms, and the natural environment all play a part in the
complicated context that smart robot functions in. The primary users of smart agricultural
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 robot. 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 agricultural 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 robot, 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 robot technologies may be expanded to handle larger
farms or agricultural 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.
2.6. Dependencies
Dependency on qualified professionals or technical experts who can help with the
setup, upkeep, and troubleshooting of smart robot systems. Technical expertise and
support.
Financial resources: Investment in the necessary infrastructure, training programmers,
and technologies for smart robot will depend on having the money to do so.
Dependence on government initiatives, financial incentives, and laws that foster the
implementation of smart agricultural practices.
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.
3. System Features
A smart robot 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.
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, robot 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.
Government College University Faisalabad 12
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
efficacy of various farming techniques, and make improvements to improve future results by
studying historical data.
Yes, a smart robot project can use an operating system. In fact, operating systems are
essential for the many parts and technologies in a smart robot 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 agricultural data.
Automation and management: In a smart robot setup, automated systems like robotics
or actuators can be controlled and managed by operating systems. The operating system
makes sure that hardware parts and the software that controls them work together smoothly,
enabling precise automation of processes like robot, fertilization, and harvesting.
User interface and interaction: Operating systems can offer farmers a simple way to
communicate with the smart robot 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
Government College University Faisalabad 13
Because a 1-channel relay only has one switch or channel, it can only be used to regulate one
load or circuit at once.
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.
7. Diagrams
7.1. WBS
7.2. Sequence
7.3. Collaboration
Government College University Faisalabad 16
7.5. Object
Government College University Faisalabad 17
7.6. Class
7.8. Dataflow
8. Appendix A: Glossary
Purpose:
You need to identify a suitable water source for your robot 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 robot purposes.
Project Scope:
An initiative called "smart robot" makes use of modern technology to assist
farmers in improving agricultural growth and environmental protection. It consists
of things like sensors and equipment that gather data on the soil, temperature, and
other crucial variables.
Government College University Faisalabad 19
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, 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