Fyp Documentation
Fyp Documentation
Submitted By:
1. INTRODUCTION:
1.1. Introduction
Water is essential to all living organisms, as it serves as a solvent for minerals, vitamins, amino
acids, glucose, and many other nutrients. Water also plays a key role in digestion, absorption,
and nutrient transportation. Furthermore, it is the medium for the safe elimination of toxins
and waste products. Without water, life cannot be sustained beyond a few days, because the
lack of access to adequate water supply leads to the spread of diseases like cholera, typhoid
fever, hepatitis, and diarrhea.
Nowadays, the availability of fresh-water has become a problem all around the world. One-
sixth of the world population suffers from the freshwater unavailability situation. It is seen that
workplaces suffer most from this problem. Providing fresh and safe water for all is a challenging
task. Water contamination is the other common problem around the world.
On the other side, the customer may have a day on which a family gathering arranged, and
then he needs more water than as usual. The supplier delivers a fixed quantity of water. This
situation pushes the customer in trouble to arrange more water. Furthermore, the monitoring
of water availability on dispenser has become problematic for the consumers due to busy
routine. The empty bottles on dispenser demotivate people to quench their thirst on time that
consequences may cause serious diseases. In case, the client makes a call and asks the supplier
for immediate delivery of the water bottle. The suppliers never come twice a day unless the
customer pays more charges. Moreover, in Pakistan’s workplaces, there is more than one
dispenser installed. The dispensers monitoring for water availability is problematic because the
employee has to check the water quantity in each bottle and replace where required. This
situation becomes tremendously challenging in big organizations. For Example, in Masjid-al-
Nabvi there are hundreds of water coolers and the workers have to check each water cooler
after some time if any cooler is empty and needs to refill it.
To overcome these problems, people have to subscribe to the drinking water supply services
and installed water dispensers at their homes and workplaces. Water supply companies deliver
water gallons daily to their consumers according to their daily usage. The problematic situation
is at someday consumers demand more bottles and some other days they refuse to take bottles
because customers don’t know the exact quantity of daily water consumption. This situation
creates cost and time problems for suppliers as well as down the customer value.
We are providing a solution that will automate the supply of water more. Which will help not
only to reduce the wastage of water but it will also be helpful against the germs and bacteria
and water related diseases. It will facilitate the suppliers and the users which will help them to
save time, efforts, etc.
To solve all the concerned problems, we will develop an android and web application. The
android application will facilitate water consumers to make an order for water. The web
application will facilitate water supplier companies to control the water order. For this project,
we will use the sensor has a unique id for customer identification. The customer will get
registration through sensor id and personal contact information. This sensor will check the
water quantity in the water bottle. If the water quantity reached the thresh hold number then it
will send an alarming notification to the supplier for water requests. The company will be able
to manage its business (customer information and order record) of water supply through the
web application.
The availability of fresh-water has become a problem all around the world. It is seen that
workplaces and backward areas suffer most from this problem. One-sixth of the world
population suffers from the freshwater unavailability situation. Providing fresh and safe water
for all is a challenging task. Water contamination is the other common problem around the
world. Water Company has faced many problems to wastage of water. Many time companies’
supplier Many time companies’ supplier goes to the customer home then customer not accept
the order. Then company and suppliers wasted his time and efforts. because the lack of access
to adequate water supply leads to the spread of diseases like cholera, typhoid fever, hepatitis,
and diarrhea. They have many problems faced about supplying water and water wastage. And
Wastage of resources. Storage the extra water bottles should burden of the customer. Many
times, customer has not used all bottles and wasting the water.
I. Providing fresh water. As the water is stored for long it can produce different germs and
bacteria.
II. The effort and resources consumed in the process of delivery water.
III. They may take those bottles up several floors by stairs just to find out the clients does
not need more bottles today as his/her previous bottles are not yet consumed.
IV. wastage of water.
V. Time Saving.
VI. Argent Order Problems.
1.2.2 Purposed System:
We are providing a solution that will automate the supply of water more. Which will help not
only to reduce the wastage of water but it will also be helpful against the germs and bacteria
and water related diseases. It will facilitate the suppliers and the users which will help them to
save time, efforts, etc. We will develop an android and web application. The android application
will facilitate water consumers to make an order for water. The web application will facilitate
water supplier companies to control the water order. For this project, we will use the sensor
has a unique id for customer identification. The customer will get registration through sensor id
and personal contact information. This sensor will check the water quantity in the water bottle.
If the water quantity reached the thresh hold number then it will send an alarming notification
to the supplier for water requests. The company will be able to manage its business (customer
information and order record) of water supply through the web application. People with the
help of smartphones can now connect to the internet without the need for a computer, while
still offering the same functionality but through different means.
I. We shall have sensors on the bottles to measure the water level and check the
threshold.
II. We shall make an android app that will collaborate with the sensors to collect data.
III. Each client is given a unique sensor id which will define the quantity of their subscribed
bottles.
IV. The sensor would detect the level of the water if the water reaches the point of alert.
V. An automatic alert will be generated and sent to the water suppling company on our
web app, then admin will check from where the alert has come from and to whom the
sensor is register to.
VI. Company will check the sensor id to see the current status of user order to replace the
bottle.
VII. The sensors will communicate with each other to check their particular status and
generate alert according to their collective status.
“The Goal of “H2O Agent “is to focus on various aspects that are related to provide easy and
comfort to the system target Customer check water level and order at any time and from any
place on a platform that will be consistent and dedicated for them”. The main aim of this
system is to monitor the water level at every area so that they help in detecting the wastage of
water.
1.4 Challenges
They have many problems faced to implement the hardware and connect to the system.
I. The short circuit, humidity, and extreme temperature can cause problem in the sensor.
II. The water consumption in large company will enhance their water cost due to sensors.
III. When the company expands you have to add new sensors.
IV. Time can be short due to unavailability of development resources, developer illness.
V. With time, sensors cost can be increased.
VI. The supervisor can leave the university.
International Research Journal of Engineering and Technology (IRJET) has an article [1]. They
are using IOT to prevent the water from overflowing and prevent the water from wastage. They
have not developed it. The main aim of this system is to monitor the water level at rural areas
so that they help in detecting the wastage of water and measures can be taken to avoid
unnecessary overflowing of water in the areas where monitoring is a difficult task. This system
helps to prevent the wastage of water by informing about the liquid levels of the containers
International Research Journal of Engineering and Technology (IRJET) has an article. They only
discus about wastage of water during transmission. Problems faced by most of the countries is
the issue of water scarcity in the world and wastage during transmission has been identified as
a major technology to prevent the water. This article writer strictly saying work on this project
because of prevent the water wastage. They also used the sensor to check the water level and
alarm to the system bottle are filled and next the bottle. The system makes use of AVR family
microcontroller, Raspberry Pi, LCD screen, Wi-Fi modem for sending data and a buzzer. A 12 V
transformer is used for power supply in this system. The LCD screen is used to display the status
of the level of liquid in the containers.
This paper deals with brief explanation of using Arduino to automate the homes. The existing
system of the Bluetooth method of automation limitations was analyzed to prove that android
and Arduino make up for a better method of automation. The hardware and software
specifications are also explained.
Sensor Set on the transmission machine and send the signals in the bottle and detect the water
level. And set the level. If level is 80 percent then next bottle replace to first bottle and not
wasting the water. This paper presents the design and implementation concepts for a wireless
real-time Water level monitoring system based on Arduino Uno microcontroller as central
controllers. International Research Journal of Engineering and Technology (IRJET) present
system diagram below figure 1.0. [1][2]
Figure 1.0:
In recent years, wireless sensor networks (WSN) has become a so popular study area in
computer science and preferred to use on different areas and applications such as military,
health, industrial controls, fire brigade, house and etc. Water distribution systems are one of
these. WSN based monitoring systems implemented on water distribution systems are used
worldwide. Its main advantages are real-time monitoring and detecting leakages to prevent
resource loss. But WSN have some challenges like power consumption (finite energy sources),
storage area, coverage, security. IOT based Water Level Monitoring system is an innovative
system which will inform the users about the level of liquid and will prevent it from
overflowing. To demonstrate this the system makes use of containers, where the sensors
placed over the containers to detect the liquid level. Different types of system data in tables.
[3]
Differ types of Water Level Monitoring system based on the control are: [4]
Table 1
Individual systems:
This is a very control type of systems. Here the whole model is
implemented on a targeted single source system.
Advantages Disadvantages
I. These systems use less resources I. This system only one-sided control.
and complexity of them is less so it
is easy to maintain.
II. A water level controller helps save II. Great dependency to byer and supplier.
money by limiting the waste of
water and electricity.
IV. This results in an appropriate level IV. Increased risk of supply interruption
of water at all times being especially for assets specific product.
maintained.
Table 2
Large control systems:
Their water level is implemented on a very large-scale basis and huge
amounts of sensors are used.
Advantages Disadvantages
I. Alternative source of material in I. High purchase system
case of delivery stoppage by the
delivery.
II. Reduced probability of bottlenecks II. Electronics are usually built separately.
due to insufficient production
capacity to meet peak demand.
IV. Wireless products are everywhere, IV. Most float switches are outdated.
from tablets and mobiles to
security systems.
Basic work to use this general sensor-based system Geetha and Gouthami (2016) these steps as
follows: First, the field water quality data is collected by wireless sensors and transmitted to a
controller by a wireless or wired system. Second, the data transmission system transmits the
collected data from the controller to the data storage cloud. Finally, the stored data in the
cloud is used for the analysis and operation of a system.
This suitable method allows for measuring variables directly in the environmental medium in
continuous time intervals and for data to be sent to land-based facilities. This sensor has been
used for years to measure physical-based parameters, such as oxygen, pH, and CO2 in
seawater; conductivity, depth, and temperature (CDT); and nephelometric turbidity units
(NTU). Arrays of sensors are typically used together in automated systems, either deployed
from a ship or on mooring, as part of an observation system
Satellite sensing works by using direct solar radiation entering the water column and absorbing
or scattering, depending on the types and constituents within the column. This radiation is
reflected in the atmosphere the ratio of outward radiance to the direct sun radiation on the sea
floor is referred to as reflectance, and this could be passively recorded by a sensor.
CH 3
RERQUIRMENT ENGENRING
These days there is no specified social platform for women in Pakistan that
provides a facility to gain knowledge about different fields on a single platform. Women feel
hesitate to share their ideas in public. An uneducated woman finds it difficult to learn new skills
because of unavailability of such platforms. Most of the sites are paid that results in a low
progress in Learning. A complex interface of different sites is difficult to understand by most of
the user. Gender Discrimination is an alarming issue for Pakistan. Most of women feel hesitant
to contribute due to fear of criticism. The problems like lack of knowledge, unequal rights,
sexual harassment and domestic violence etc. Working women are facing big challenges in
navigating career opportunities while maximizing motherhood. A large group number of
women stay at home. So, there is a need of an online platform for creating a right kind of
linkage between women workforce and organization. For exploring these problems, we asked
set of questions from women to tell us: What do you think is the biggest challenge facing
women in the Pakistan today? And what do you think is the biggest challenge facing women
internationally today? After close ended interview we explore some problems of women. The
problematic situation is women have limited access to prenatal and infant care. A final area of
focus in attaining gender equality is women's economic and political empowerment. Though
women comprise more than 50% of the world's population, they only own 1% of the world's
wealth. Throughout the world, women and girls perform long hours of unpaid domestic work.
In some places, women still lack rights to own land or to inherit property, obtain access to
credit, earn income, or to move up in their workplace, free from job discrimination. At all levels,
including at home and in the public arena, women are widely underrepresented as decision-
makers. In legislatures around the world, women are outnumbered 4 to 1, yet women's political
participation is crucial for achieving gender equality and genuine democracy.
This application will help women to get specified knowledge to solve their problems related to
health, household and different aspect of their life. This platform will introduce a new concept
of learning by conducting workshops. It will be a trusted platform in Pakistan for women that
target all the specific issues of women at one platform.
3.1.3. Elicitation:
To validate our requirement, we conduct survey with and data is attached and they solve
questionnaire. After solving questionnaire, we observe the problem exists. The most problems
that women face that are given below. Data is questionnaires attached last of the
documentation. [a]
Providing a platform where women can easily discuss various aspects of their daily
lifecycle such as health, career and get educated while staying at home.
Provide support and built confidence to share their knowledge and skills all over the
world through workshops and communities.
Providing a chance for unemployed and uneducated women to get different
opportunities of their interest by asking questions from different professionals.
3.1.4. Elaboration:
The working of the application is that when user enter Whispers, it will ask about whether you are
joining as a professional or common user. User will provide necessary information to application. Now
user will be able to successfully join community. After joining community, user can attend workshops
and get latest updates about their interested topics. User will be able to post their problem in
community for getting suitable solution by professionals on aspects of their growth journey. User can
also share their problem though voice notes in community. There will be a specific period to post and
review on a problem. User will have a right to share their reviews about workshops. A professional must
have to conduct 1 workshop per week to stay as a professional in 30 days’ trial period for authentication
otherwise she will be change into a common user of Whispers by administrator. User can conduct
workshops via zoom, YouTube or Facebook on the basis of professional’s choice.
Sharing stories and experiences has always been one of the most effective ways to
change your mind and provoke action. That’s why matching women with strong female role
models is one of the many ways to empower your employees to succeed in both your company
and their industry.
It is important to remind women that they are respected for who they are and what you have
hired them for their unique perspective, skills, dedication and strong work ethic .
Requirement that come from the application domain of the system and that reflected
characteristics of domain.
I. Android phone
II. System (For Browser)
III. Libraries for Animation (implementation 'me.itangqi.waveloadingview:library:0.3.5)
IV. Cloud Messages (Used for messages)
V. Fire Base cloud (messages Notification)
1. Administrator
Administrator will be able to login to his/her account by using the username and
password.
Admin will be able to check all the information of the users and professional.
Admin will manage the latest updates of communities.
A professional must have to conduct 1 workshop per week to stay as a professional in 30
days’ trial period for authentication otherwise she will be change into a common user of
Whispers by administrator.
2. User
The system should be available 24/7 including the servers and the internet to constantly
measure real time data.
II. Performance:
The system should perform at high standards to real time monitor the water level.
III. Durability:
V. Scalability:
System should handle a growing amount of work by adding resources to the system.
I. Use ability:
The name and icon both are mention in each module. Each module has its own user-friendly
icon. User performs every task in fewer steps.
II. Consistency:
The link of home page is sticky and home page consist all module so it will provide the facility
to avoid scrolling.
IV. Responsiveness:
The application should be fit to view any size of screen. Give response to each action in few
seconds.
CH 4
DESIGN
MS word
MS PowerPoint
MS Project
Draw.io
4.2. System Design:
Systems design is the process of defining elements of a system like modules, architecture,
components and their interfaces and data for a system based on the specified requirements.
A standard form of use case diagram is defined in the Unified Modeling Language.
1. Actor:
Name by noun.
Actor plays a role in the business
User can play different roles
2. Use Case:
3. Communication Link:
The any of an actor in a use case is connecting an actor to a use case by a solid link.
Actors different way connected to use cases by associations, indicating that the actor
and the use case communicate with one another using messages.
4. System Boundary:
5. Extend:
6. Include:
Normal Flow:
1. User open the app/web and the view login page.
2. System present login page.
3. User enter correct Password and ID.
4. System present Home page.
5. User select forget option.
6. Forget the password.
7. End Use Case.
Precondition: Admin first login the website. Admin has update Videos and
photos related company products.
Post Admin Successfully Update new videos and Images.
Condition:
Normal Flow:
1. Admin open the web and view the login page.
2. System present the login page.
3. Admin enter valid information.
4. System present the home screen.
5. Admin click the dashboard.
6. Admin click Editing.
7. Admin click new updates button.
8. Admin add new videos and images.
9. System Successfully update videos and images.
10. System present on screen videos and images.
11. End Use Case.
Precondition: User login the website. And select user records in dashboard.
Starting symbol is
Activity
Activity
Condition
Yes
No
Parallel Activity
Connect Symbol
End
Sign In
Admin Activity Diagram:
Activity Diagram Customer:
4.2.3. Class Diagram:
A description of a group of objects all with same roles in the system. Structural features (attributes)
define what objects of the class "know" Represent the state of an object of the class. Are descriptions of
the structural or static features of a class. Class diagram is used to look at application statically. It can
visualize different aspects of system by defining different type of relationships between classes. It helps
us to manage, understand and reuse functionality. It includes properties/attributes and related
functionality of a class. It helps us to analyze ‘what are the responsibilities of a system’ by showing
interaction and collaboration between classes and interfaces. Class diagrams are most popular because
coders feel relax if that are well designed.
Class Notation:
My Class
+attribute: int
-attribute: float
#attribute: circle
Operations
1. Class Name
The First Block in class notation.
The name of the class appears in the first partition.
2. Class Attributes
3. Class Operations
Operations are added in the third partition. They are services the class provides.
All operations are class block.
Class Relationship:
1. Inheritance
Super class
Operations
Operations Operations
Represents an is a relationship.
Sub classes are specialization of super class.
2. Simple Association
3. Aggregation
5. Dependency
Diagram Class:
H2O Agent Sequence Diagram:
H2O Agent DFD (Data Flow Diagram) Diagram:
H2O Agent Flow Chart:
CH 6
IMPLEMENTATION
Development Tools
• Arduino IDE
• Android Studio
• Git
• Visual studio
Documentation Tools
MS word
MS PowerPoint
MS Project
Draw.io
Technologies and Frame Work
Pub/sub architecture
Real time database (Firebase)
Number Auth (Firebase auth)
C#
Java script
jQuery
Bootstrap
CSS
HTML
Java
XML
Asp.net MVC
Hardware
Node MCU
Sensor
6.1.1. Reasoning
Why ASP.Net
Keep you Asp.net applications secured with the built-in Windows authentication and
per-application configuration.
Asp.Net has reduced the long lines of code required to develop large applications.
Asp.Net and Html, together generate dynamic web pages smoothly.
Being an ideal server-side scripting technology, Asp.Net code first runs on Windows
server before displaying on the web browser.
Asp.Net framework is language independent, means you can choose any
programming language which best suited to your application.
With the built-in configuration information, Asp.Net is easy to deploy.
The windows web server thoroughly monitors the web pages, multiple components,
and applications running over it.
The Dot Net Framework quickly gives an alert for memory leaks, unbounded loops,
and other wrong behaviors, immediately killing them and restart them over again.
Why Not Angular JS
Doesn’t provide features “in the box” for integrating data from the server you
will need additional tools and libraries to make that work.
It’s a new web development framework and has very less documentation and
plugins than any other competitors.
Why C#
C# uses almost similar syntax which follows by C so it easy to understand for those
who know C language
Easy Integration with Windows
Fully integrated with the .NET library which provides access to a repository of
functionality and support.
Safer than its namesakes (C/++) as pointer types are not permitted
Why Not PHP
The syntax is complex, and the standard library is small, making this language very
difficult to learn for the beginner programmer.
C++ program can't support garbage collection or Dynamic Memory Allocation
The object orientation system in C++ is unnecessarily basic compared to other
languages.
Why Js
Client-side JavaScript is very fast as it can be run quickly in the client-side browser
JavaScript is relatively simple to learn.
It can work smoothly with other languages and can be used in a huge variety of
applications.
Grease monkey support to write snippets of JavaScript which can execute on specific
web pages
Why Java
Why Bootstrap
Why jQuery
Why Html
Why CSS
Why XML
It can represent common computer science data structures: records, lists, and trees.
Its self-documenting format describes structure and field names as well as specific
values.
The strict syntax and parsing requirements make the necessary parsing algorithms
extremely simple, efficient, and consistent.
XML is heavily used as a format for document storage and processing, both online
offline.
Why Use Node MCU
Low cost.
Integrated support for WIFI network.
Reduced size of the board.
Low energy consumption.
Can be used for real time applications for both software and hardware
Open source.
Implementation procedure:
The working of the application is that when user enter Whispers, it will ask about whether you are
joining as a professional or common user. User will provide necessary information to application. Now
user will be able to successfully join community. After joining community, user can attend workshops
and get latest updates about their interested topics. User will be able to post their problem in
community for getting suitable solution by professionals on aspects of their growth journey. User can
also share their problem though voice notes in community. There will be a specific period to post and
review on a problem. User will have a right to share their reviews about workshops. A professional must
have to conduct 1 workshop per week to stay as a professional in 30 days’ trial period for authentication
otherwise she will be change into a common user of Whispers by administrator. User can conduct
workshops via zoom, YouTube or Facebook on the basis of professional’s choice.
CH 7
TESTING
Tested By:
Test Test Scenario Test Test Case Expected Actual Result Status
Scenario Description Case ID Description Result
ID
Ts-1 Admin profile Tcap-1 verify that admin should profile display Pass
design admin profile be navigating properly
displays after to admin
successfully profile after
sign-in sign-in
verification
process
Ts-1 Admin profile Tcap-2 verify that username, sign-up page Pass
design profile page password field contains
contains the available with username,
Nav-bar at the sign-up button password and
top of the page Sign-in button
Ts-1 Admin profile Tcap-3 Nav-bar nav-bar should Nav-bar is Pass
design alignment be on top with displaying
should be horizontal properly
horizontal alignment
Ts-1 Admin profile Tcap-4 software logo Logo should be Logo is Pass
design should be displayed on displaying
appearing at the left side of properly as
the left corner the nav-bar expected
of the Nav-bar
Ts-1 Admin profile Tcap-5 Nav-bar should drop-down setting drop- Pass
design contain the control should down control is
dropdown be available available at right
controls for with multiple side of the nav-
profile options for bar
operation profile
management
Ts-1 Admin profile Tcap-6 verify that "setting" "setting" option Pass
design "Settings" option should should is a
option is a be dropdown dropdown
dropdown control control
control
Ts-1 Admin profile Tcap-7 setting "settings" "settings" Pass
design dropdown dropdown dropdown
should contain should show: showing the
options for 1-profile profile settings
profile edit setting options along
2-Password with "logout"
reset
3-Logout
Ts-1 Admin profile Tcap-8 "profile personal Personal Pass
design setting" option information information
under the edit page page is showing
"settings" should display properly.
dropdown item when click the
should "profile
navigate to edit setting" option
"personal
information"
page
Ts-1 Admin profile Tcap-9 profile Personal Personal Pass
design information information information
should be should display page is showing
display on on top of properly.
profile view profile in a
top separate
container
Ts-1 Admin profile Tcap- Verify personal personal Personal Pass
design 10 information are information information
in proper order should be page showing in
display in desired
following sequence
pattern: properly.
1 -Name of
user
2-admin
designation
3-Email
4-Contact no
5-Gender
Before this not working this kind of project. One Articles publish related this project but not same
like that. One of this IOT based Water Level Monitoring system is an innovative system which will
inform the users about the level of liquid and will prevent it from overflowing. But this project
slightly different we work on water supply problem and water storage for user all the concerned
problems, we will develop an android and web application. The android application will facilitate
water consumers to make an order for water. The web application will facilitate water supplier
companies to control the water order. For this project, we will use the sensor has a unique id for
customer identification. The customer will get registration through sensor id and personal contact
information. This sensor will check the water quantity in the water bottle. If the water quantity
reached the thresh hold number then it will send an alarming notification to the supplier for water
requests. The company will be able to manage its business (customer information and order record)
of water supply through the web application. We are providing a solution that will automate the
supply of water more. Which will help not only to reduce the wastage of water but it will also be
helpful against the germs and bacteria and water related diseases. It will facilitate the suppliers and
the users which will help them to save time, efforts, etc.
BIBLIOGRAPHY / REFERENCE
Reference 1.
https://www.irjet.net/archives/V4/i12/IRJET-V4I12333.pdf
Reference 2.
Just a sensor used for water sense not similar type of work.
Recent Advances in Information and Communications Technology (ICT) and Sensor Technology for
Monitoring Water Quality.
file:///C:/Users/Hussnain%20Ali/Downloads/water-12-00510-v2.pdf