Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 50

INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

WOLKITE UNIVERSITY
COLLEGE OF ENGINEERING AND TECHNOLOGY
DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING
COMPUTER STREAM

INTERNSHIP EXPERIENCE REPORT


HOSTING COMPANY: WOLKITE UNIVERSITY ICT CENTER
AN INTERNSHIP REPORT SUBMITTED TO THE DEPARTMENT OF
ELECTRICAL AND COMPUTER ENGINEERING

Duration:

Advisor Mr.Beka
SUBMITTED BY:

NAME ID.NO

ESHETU SHELEMEGN………………………………ENGR/1039/09

AMARE NIMANI………………………………………ENGR/1021/09

ZEKARIAS YOHANIS………………………….……..ENGR/979/09

ZERIHUN TADEGE…..…………………………….…ENGR/986/09

Submission date may,26,21

MAY,15,21
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

WOLKITE,ETHIOPIA
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

Declaration
We declare that all the works included in this document are our own work and no copying or
direct plagiarism with our work except where due acknowledgment has been made in the
document. We assure that we agree with all written above with our Signature as follow.

Name ID No Signature
Eshetu Shelemegn………… ENGR/1039/09
Amare Nimani……………. ENGR/1021/09
Zekarias Yohanis…………… ENGR/979/09
Zerihun Tadege……………… ENGR/986/09

Approval
As an advisor of this group, I declare that I have advised their work throughout the course of this
project and all works included in this document is their work. I assume all this with my signature
as follows
Signature Date
MR. ………………... _____________ _______________

WKU,ECE i
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

Acknowledgement
First of all we would like to thank our University for facilitating this internship program and for
assigning us to wolkite university ICT center. Secondly, we would like to thank
wolkite university ict center for allowing us to work in their company for this internship
program to gain the practical skills and to upgrade our theoretical knowledge. We are grateful for
our advisor Mr.Beka and our teachers Mr Turegn,Mr.Abebaw. we thank all our beloved
computer stream lecturers for their unlimited support and guidance throughout the internship
session.

WKU,ECE ii
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

Executive Summary
This report is based on the outline from the university on showing the internship experience as
well as tasks fulfilled during the internship period. The report is composed of the project we
have been working with, the challenges we faced both on work problem and work environment.
The skills we have acquired and implemented on our work. All the mentioned issues will be
discussed briefly showing the three month experience of real life working. The project included
in this report is IOT based water quality monitoring system. The background history and
implementation of our design, the materials used, and the code for the program are included on
this document.

WKU,ECE iii
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

Table of Contents
Executive Summary.......................................................................................................................iii
List of figures..................................................................................................................................vi
List of acronyms............................................................................................................................vii
CHAPTER ONE..............................................................................................................................1
Background of the Organization......................................................................................................1
1.1 Introduction............................................................................................................................1
1.2 Brief History of Wolkite University......................................................................................1
1.3 Missions of Wolkite University.............................................................................................1
1.4 Vision of the Wolkite University...........................................................................................2
1.5 Values and Principles of Wolkite University........................................................................2
1.6 Objective of the Wolkite University......................................................................................2
1.7 Services and/or product of the Wolkite University...............................................................2
1.8 Stake Holders of the Wolkite University..........................................................................3
1.9 Customers of the Company (WKU)......................................................................................3
1.10 Brief Explanation of Wolkite University Network Infrastructure.......................................4
1.11 Types of software we have..................................................................................................4
1.11 The structure of Wolkite University ICT Center.................................................................5
CHAPTER TWO.............................................................................................................................6
OVER ALL INTERNSHIP EXPERIENCE....................................................................................6
2.1 How we get into the company/ Organization........................................................................6
2.2. The section of the Organization we have been working.......................................................7
2.3 .Our Performance at the company/Organization...................................................................7
2.4 .Challenges we have faced while performing our work task.................................................7
2.5 Basic practical work..............................................................................................................8
2.5.1 In a software part............................................................................................................8
2.5.2 Brief Explanation about Traccar vehicle tracking System.............................................8
2.5.3 in a network part.............................................................................................................9
2.5.4 The Main aim of doing networking area........................................................................9
2.5.5 Technical Goals Of The practice..................................................................................10

WKU,ECE iv
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

CHAPTER THREE.......................................................................................................................11
THE OVERALL BENEFITS GAINED FROM INTERNSHIP...................................................11
3.1 In terms of Improving Practical Skill..................................................................................12
3.2 In terms of improving theoretical knowledge......................................................................12
3.3 In terms of improving interpersonal communication..........................................................12
3.4 In terms of improving team playing skill............................................................................12
3.5 In terms of leadership skill..................................................................................................13
3.6 In terms of understanding work ethics related issue............................................................13
3.7 In terms of Entrepreneur ship skill......................................................................................13
CHAPTER FOUR.........................................................................................................................14
PROJECT CARRIED OUT...........................................................................................................14
4.1 Introduction..........................................................................................................................14
4.1.1 Background information...............................................................................................14
4.1.2 Statement of the Problem..............................................................................................15
4.1.3 Objectives.....................................................................................................................15
4.1.4 Scope of the project......................................................................................................16
4.1.5 Significance of the Project............................................................................................16
4.1.6 Outline of the Report....................................................................................................16
4.2 LITERATURE REVIEW....................................................................................................17
4.2.1 Introduction...................................................................................................................17
4.2.2 Related works...............................................................................................................17
4.3 METHODOLOGY..............................................................................................................19
4.3.1 Hardware and software requirements...........................................................................19
4.............................................................................................................................................20
4.3.2 The Proposed System...................................................................................................29
4. 3.3Flow Chart of the System.............................................................................................30
4.3.4 Block Diagram Description..........................................................................................33
4.3.5 Algorithm of the System...............................................................................................35
4.3.6 Hardware Interface.......................................................................................................36
CHAPTER FIVE...........................................................................................................................39
SYSTEM DESIGN AND IMPLEMENTATION.........................................................................39
5.1. Results and Discussions......................................................................................................39

WKU,ECE v
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

5.2 Developed Web Application................................................................................................40


5.2.1 Login page....................................................................................................................40
5.2.2 Home page....................................................................................................................41
5.2.3 Set time interval............................................................................................................41
5.2.4 View water quality parameters control valve...............................................................42
5.3 Limitations and future work................................................................................................44
5.3.1 Limitations....................................................................................................................44
5.3.2 future works..................................................................................................................44
5.4 Conclusion and Recommendation.......................................................................................45
5.4.1 Conclusion....................................................................................................................45
5.4.2 Recommendation..........................................................................................................45
Reference.......................................................................................................................................46
Appendix and annex......................................................................................................................48

List of figures
figure. 1.he structure of Wolkite University ICT Center[9]...........................................................5
figure2. 1Traccar Architecture.........................................................................................................9
figure 4. 1Power (USB) and pin configuration..............................................................................18
figure 4. 2Schematic diagram........................................................................................................20
figure 4. 3PH sensor......................................................................................................................21
figure 4. 4Ds18b20 sensor.............................................................................................................22
figure 4. 5Water level sensor.........................................................................................................22
figure 4. 6Turbidity sensor............................................................................................................23
figure 4. 7NODEMCU Wi-Fi Module...........................................................................................24
figure 4. 8Flow chart for the server...............................................................................................25
figure 4. 9Arduino flow chart........................................................................................................26
figure 4. 10flow chart of nodemcu................................................................................................27
figure 4 12block diagram of the system........................................................................................27
figure 4. 11usecase diagram of the system....................................................................................28
figure 4. 12between A interface rduino and sensors......................................................................30
Figure 16:figure 4. 13Interface Between Arduino and NODEMCU.............................................30
figure 4. 14Arduino and Motor Interface......................................................................................31
figure 5. 1snapshot of inserting the sensor data to MySQL database............................................32
figure 5. 2Login page.....................................................................................................................33
figure 5. 3set time interval inserting link page..............................................................................34
figure 5. 4Sensor data accessing in the web through IoT..............................................................35

WKU,ECE vi
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

List of acronyms
WHO ...……..………… world health organization
UNESCO………………united nation educational scientific and cultural organization
RFID……………….…. radio frequency identification
GPRS……………….... general packet radio service
IOT ………………......internet of things
WQMS……………. water quality monitoring system
GSM……………. …global communication for mobile
PH…………….…...potential of hydrogen
IDE.………………. integrated development environment
PCB………………. program control block
PHP……………. ...hypertext preprocessor
SQL………………structured query language
LED…………... ...light emitting diode
TSS ……………total suspended solids
MST …………...microbial source tracking
ICT ……………..information communication technolgy

WKU,ECE vii
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

CHAPTER ONE

Background of the Organization


1.1 Introduction
This report is a short description of our 3 month internship carried out within the organization of
Wolkite University ICT center. This chapter will introduces about background of the
organization, and the organization’s brief history, vision, mission, values, objectives, services
and/or products, stake holders, customers, organization structure and organization of the
internship report.

1.2 Brief History of Wolkite University


 Wolkite University (WKU) is one of the third generation higher institutions that have
been founded in 2012
 The first 543 students joined the University in 2011/12 academic year. Enrolling the
assigned students, the University started its academic journey with 13 academic programs
under three Colleges of Engineering and Technology, College of Computing and
Informatics, and College of Natural and Computational science and 3 administrative
directorate office including ICT.[9]
 Currently we have 8 collages and 1 school with having more than 15000 students engage
in different departments and programs

1.3 Missions of Wolkite University


 To produce graduates who are knowledge, attitudinally mature and practically
innovative,
 To supply relevant and demanded technology and knowledge that address national and
community level development problem to help make operations of the government and
non- government organizations efficient, effective and competitive, and
 To provide training and consulting services to the community and the government

WKU,ECE 1
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

1.4 Vision of the Wolkite University


 To be one of the 10 universities in East Africa by 2035 G.C.

1.5 Values and Principles of Wolkite University


 Excellence! All operations in the university be effective, efficient, innovative, and cancel
out wastages of resources including graduates from the university.
 Inclusiveness! The university cultivates diverse religion, gender, special interest, and
develops collaboration and shared vision.
 Truth or integrity! The university in the university feels society responsible and every
single activity in the university positively adds value to the society.
 Being a learning organization! Institutional development or learning and growth are a
continuous culture.
 Accountability! The university believes in taking full accountability for addressing the
university, or the associated social costs.
 Academic freedom! The university believes of free and critical thought and enquiry,
diversity beliefs, as well as the open exchange of ideas and knowledge.  

1.6 Objective of the Wolkite University


 As we discussed above the objective of the Wolkite University is to be succeed in its
performance and to improve the learning, teaching, giving medical access.

1.7 Services and/or product of the Wolkite University


Wolkite University has long experience of designing and providing trainings and Community
outreach services pertinent to the region’s and country’s priority needs.

Areas of Community Services;

 Agriculture & processing: production of agricultural raw material

 Health - Hospital services

It also gives service for the following colleges፡

WKU,ECE 2
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

 College of engineering & technology

 College of College Informatics

 College of health & medical science

 College of agriculture &natural resource

 College of business & economics

 College of social science & humanities

 Institute of education &behavioral sciences

 School of law

1.8Stake Holders of the Wolkite University


The University stakeholder refers to anyone who is invested in the welfare and success of a
school. Including: Students, Staff, Faculty and Administrators
Students are the most important stakeholders in the University are also internal stakeholders.
External stakeholders are consumers and suppliers.

1.9 Customers of the Company (WKU)


The customers of the company are those who have long linkage to interaction with the company
for the purpose of service interested in graduated man power.
The customers may be governmental and/or non-governmental and also private sectors.
Governmental:

 University surrounding health and agricultural institutions.


 Like Wachamo university, Mizantepi university when they become to visit some area and
doing laboratory in other university use Wolkite university dormitory
Non-governmental: NGO Eg. TMEAFRICA (Arduino programming free service for
student),community, and summer and weekend students.

WKU,ECE 3
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

1.10 Brief Explanation of Wolkite University Network Infrastructure


Network infrastructure is the hardware and software resource of an entire network that
enable network connectivity, communication operation of an enterprise network

 We use 3 layer architecture (core, 4 distribution, access ) and all links are connected with
fiber optics cable

 We have 800 meg internet bandwidth

 We have one modern data center and sack and 6 bladed server

 We have CCNA, CCNP, HCNA, oracle and different certified experts

 Currently we have almost 6000 nodes

1.11 Types of software we have


1. Purchase from other university

SIMS (Student information management systems)

2. Developed by internal capacity

By ICT software team:

 Human resource management system (HRMS)

 service compliant management system (SCMS)

 Cafeteria management system (CMS)

 Gate control management system (GCMS)

 Stock management system (SMS)

 Carrier management system (CRMS)

 Laboratory management system (LMS)

WKU,ECE 4
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

 Alumni management system (AMS)

 Facility management system (FMS)

 E-learning Model

 Green stone Digital library

1.11 The structure of Wolkite University ICT Center


MOSHE

The Board

President

Vice President

ICT

ICT Business Teaching User Training


infrastructure application and Support and Administration
development development Learning maintenance
and services and Technologie
administratio s
n
figure. 1.he structure of Wolkite University ICT Center[9]

WKU,ECE 5
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

CHAPTER TWO

OVER ALL INTERNSHIP EXPERIENCE


2.1 How we get into the company/ Organization
There are two ways to seek into the organization: by direct contact with the staff officer where
we going to do the internship and by calling the ICT directorate

The first method is supported to join the organization, the steps as follow:

 The department given the internship request paper to search the organization where we
would like to work
 we have searched and joined in Wolkite University with ICT directorate officer
 He accepted our request and signed the paper, finally we specified in our project

2.2. The section of the Organization we have been working


The section of the company is Wolkite University which is found in SNNPR in Guragea zone we
are joined in ICT business application theme those who gives information for the company by
direct contact with the director of the ICT Center Especially in Business application development
and administration part.

2.3 .Our Performance at the company/Organization


As we saw our performance in the company it is very good related to previous situation, because
we were practicing what we are learning and doing things confidentially. Also courageous at
work place because of us upgraded our practical knowledge in addition to theoretical knowledge.

2.4 .Challenges we have faced while performing our work task


The main challenges of this project arose from the communication with the client for the first one
week. The project required frequent meetings and a lot of time was spent on explaining various
deals about the device at the start and as well as technical limitations of what could be done.

 The other challenges that we have faced are:

1. Electric power problem

WKU,ECE 6
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

2. Material problem: dividers, data cable problem


3. Some time connection problem
4. Water shortage and cleanliness

2.5 Basic practical work


In our internship we have been working in two area:

• Software part

• Network part

2.5.1 In a software part


• We have seen Traccar Software for tracking vehicle.

Aims

The main aim that this system would provides instant web notifications along with support for
email and SMS. This allows for external alerting in cases of harsh driving behaviour like
speeding, fuel and maintenance events, geo-fencing and many other types of alerts.

Methods

Traccar software uses device unique identifier i.e for most devices (IMEI – International
Mobile Equipment Identity), Address and Port i.e to be able to receive data from GPS devices,
the machine must have a public IP address, the main user roles:

Admin - super user that has full unlimited access to the whole Traccar server,

Manager - user with extended capabilities allowing him to manage his subset of users and
register new ones, and

User - ordinary user that can manipulate any of his own objects and add new ones.

2.5.2 Brief Explanation about Traccar vehicle tracking System


Traccar is an open source modern GPS tracking system for various GPS tracking devices. The
software have some events like Alarm, Geofence, Overspeed, Motion, Text Message, Status,
Maintenance, Ignition, and Command Result.

WKU,ECE 7
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

Alarm - This event generated when new position contain alarm attribute.

Geofence - Traccar can generate events when device enters or exits a geofence.

Command Result - Traccar supports answers on commands for some protocols. Such answers
are stored in result attribute. Server creates this type of event if position contains result attribute.

Ignition – Tarccar creats Ignition ON Event if previous position contain attribute ignition false
and current position contain attribute ignition true. Traccar generates Ignition OFF Event if
former position contain attribute ignition true and current position contain attribute ignition false.

Maintenance - Traccar can help control maintenance intervals of devices.

Motion - Traccar can generate this event if device started or stopped moving.

Overspeed - Traccar can generate this event if device exceeds the configured speed limit. Speed
limit value can be set in device, group or server attribute speedLimit.

Status – Server can generate this event type when device status changes
(online/offline/unknown). Online means that device is connected to the server and sending
reports. Offline means that device is not connected to the server. Unknown means that
connection status is unknown and there were no reports from device for specified period of time
(10 minutes by default).

2.5.3 in a network part


To track we use a Mobile device and PC both in a network connection to work. Traccar system is
based on the Netty network framework. The framework is an asynchronous event-driven
network application framework which enables quick and easy development of network
applications such as protocol servers. For each network channel or connection Traccar creates a
pipeline of event handlers.

2.5.4 The Main aim of doing networking area


• To make a network for any company faster than ever before.

• To increase network capacity and increase the speed of the network.

• Allow employ to access the network

WKU,ECE 8
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

• To allow file and application sharing

• Improve the network speed

2.5.5 Technical Goals Of The practice


• Scalability: ability to grow without major changes

• Availability: A network designed for availability is one that delivers consistent, reliable
performance, 24 hours a day, 7 days a week. In addition, the failure of a single link or
piece of equipment should not significantly impact network performance. Provide 100%
uptime

• Security: Security is a feature that must be designed into the network, not added on after
the network is complete. Planning the location of security devices, filters, and firewall
features is critical to safeguarding network resources.

• Manageability: facilitates monitoring and ease of management

• Adaptability: easily implements new technology.

• 2.5.6 Traccar Architecture

figure2. 1Traccar Architecture

WKU,ECE 9
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

CHAPTER THREE

THE OVERALL BENEFITS GAINED FROM INTERNSHIP


3.1 In terms of Improving Practical Skill
An internship enabled to gain practical work in the company. It also allows us to get skill,
knowledge, and theoretical practice we learnt in university. It helps to integrate classroom
knowledge and theory with practical application.

3.2 In terms of improving theoretical knowledge


The internship provided us the opportunity gain and work experience that we cannot get in the
classroom and to refer the references. In order to practice what we have done theoretical skill is
necessary.

These are:

 professional communications
 taking constructive criticism well
 work hard on what we are doing
 independence
 document preparation

3.3 In terms of improving interpersonal communication


Interpersonal skill is the ability to communicate effectively with others. It is the skill that we use
every day when we communicate and interact with other people, both individually and in groups.
So it gives to us self-confidence to communicate with our staff workers and provides we are to
get access using the following way:

 Listening
 Questioning
 Observation

WKU,ECE 10
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

So, the internship enabled to improve our communication skill with the company employees,
technicians, operators and manager.

3.4 In terms of improving team playing skill


Team work is prerequisite to the success of any organization, and to the success of the
individuals who work there. It enables us to understand our strength and weakness so we know
how we can best contribute, as well as be aware of how we can bring out the best in others. So it
helps to: Work with others toward a common goal and to develop the skill that enables to
collaborate well with colleagues and clients.

3.5 In terms of leadership skill


Leader ship skills are essential part of our career development and can help to determine our
career path. So the internship determines to improve the leadership skill as:

 Management system
 develop workplace skills
 establish a networking strategy
 prepare for interviews
 join and participate in a professional society
 In terms of Entrepreneur ship skill

3.6 In terms of understanding work ethics related issue


Work ethics: is a value based on hard work and diligence. it also a belief in the moral benefit of
work and its ability to enhance the character. In our company our work ethics is started from
respecting the time of entering and exiting, respecting the employees and communicating with
them politely. Some of ethical behaviors we have developed are:

 Integrity
 Sense of responsibility
 Sense of accountability
 Tolerance

WKU,ECE 11
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

CHAPTER FOUR
PROJECT CARRIED OUT
TITLE: IOT BASED WATER QUALITY MONITORING SYSTEM

4.1 Introduction
4.1.1 Background information
Freshwater is a world resource that is a gift of nature and important to farming, manufacturing,
and the life of human beings on earth. According to UNESCO national water development report
for Ethiopia 2004, about of 90% of industries which are found in Addis ababa waters simply
discharged their sewage into nearby water bodies without any form of treatment. The traditional
methods of water quality monitor involve the manual collection of water samples from different
locations. The traditional method is just not enough to measure water quality and identify any
drastic changes in it. This method not only impedes accurate water quality measurement but also
at times fails to predict sudden changes in the water system in real-time

Hence there is need of developing better methodologies to monitor the water quality parameters
in real time. Now a day’s for supporting person’s individual and regular responsibilities the
wireless communication technologies are increased. Many applications were developed for
building control, automation, data acquisition in recent years. There are many benefits like low
cost, easy installation, and maintenance. This framework permits the user to display the devices
which are connected from the bottom station through completely dissimilar communication
principles such as “Bluetooth, WIFI, RFID and GPRS” and other system on chip primarily based
wireless device node IoT was established.

.Water Quality Monitoring (WQM) is a cost-effective and efficient system designed to monitor
drinking water quality which makes use of Internet of Things (IoT) technology. The proposed
water quality monitoring system is consisting of a microcontroller and basic sensors, is compact
and is very useful for pH, turbidity, water level detection, temperature, continuous and real-time
data sending via wireless technology to the monitoring station. The water quality parameters pH
measures the concentration of hydrogen ions. It shows the water is acidic or alkaline. Pure water
has 7pH value, less than 7pH has acidic, more than 7pH has alkaline. The range of pH is 0-14
PH. For drinking purpose, it should be 6.5-8.5pH.[1] turbidity measures the large number of

WKU,ECE 12
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

suspended particles in water that is invisible. Turbidity is a measure of the cloudiness of water or
Turbidity can be considered as a good measure of water quality. Temperature sensor measures
how the water is, hot or cold.

4.1.2 Statement of the Problem


Water, one of the most important factors required for life to sustain on planet Earth, requires
proper attention in terms of uses as well as treatments. To apply specific treatments to the unsafe
waters Water Quality Monitoring system with different water parameter is needed. The
challenge for scientists and engineers working in the field of water is that they encounter new
problems with every passing day, where the effective use of new techniques, such as tracers and
modeling simulation is becoming inevitable. The traditional method is just not enough to
measure water quality and identify any drastic changes in it. This method not only impedes
accurate water quality measurement but also at times fails to predict sudden changes in the water
system. Although currently there are some amount of technological innovation has been applied
in water quality monitoring by using robotic fish, Digital camera and laser beam.

4.1.3 Objectives
4.1.3.1 General Objective
The general objective of this project is to develop a Smart Water Quality Monitoring System
Using internet of things (IoT) Technology to make sure clean and safe distribution of water.

4.1.3.2 Specific objectives


 To profile the existing water quality monitoring system.
 To process different water parameters and data’s using microcontroller to ensure a safe
supply of drinking water.
 Designing a monitoring system for water quality.
 To develop Smart Water Quality Monitoring System Using internet of things (IOT).

WKU,ECE 13
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

4.1.4 Scope of the project


The project covers problem identification that the System displays measured water quality
parameters on the web and controls the status of the valve (open or close) that is applicable for
storage tank with no networked sensors.

4.1.5 Significance of the Project


Access to clean water for drinking and sanitary purposes is a precondition for human health and
well-being. Currently, drinking water facilities face new real-world problems. Due to the limited
drinking water resources, intensive money requirements, growing population, urban change in
rural areas has significantly worsened the water quality available to people. The high use of
chemicals in manufacturing, construction and other industries, fertilizers in farms and also
directly leaving the polluted water from industries into nearby water bodies have made a huge
contribution to the global water quality reduction, which has become an important problem.

4.1.6 Outline of the Report


In this paper we are going to describe the design and develop, Smart IOT based Water Quality
Monitoring System. Chapter one up to three discusses about overall internship experience then
after chapter four it continues the problem we solved.

4.2 LITERATURE REVIEW


4.2.1 Introduction
This chapter overview various technologies and techniques that have been employed for the
design and implementation of water quality monitoring system. Besides, presenting the similar
researches and papers.It also aims to provide guidance through the remaining chapters.

4.2.2 Related works


Water quality monitoring has gained more interest among researchers in this twenty first century.
Numerous works are either done or ongoing in this topic focusing various aspects of it. The main
aim of all of the projects was to develop an efficient, cost effective, real time water quality
monitoring system which will integrate sensors and internet of things. Some of previous works in
this field is given bellow.

WKU,ECE 14
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

In one of the researches Dempster-Shafer (D-S).[1] method employed for detecting the
contamination events of drinking water. Autoregressive model (AR) is employed for detecting
the water Quality parameters. The AR model been employed for predicting the water Quality
parameters using automated water-quality sensors. The drawbacks of this system are that this
method requires lot of parameters for the data collected to determine the quality of water. It
involves an expert technician to detect the water quality.

In 2012, Made Sarasvati, Endrowednes Kauntama, Pono Mardjoko.[4] presented a paper on


“Design and Construction of Water Level Management System Accessible Through SMS”. This
system utilizes ultrasonic sensor which calculates the level of water without any contact to water.
This type of organization can reorganize with many measurements site, as long as the initial
setting by SMS according to the installation to each measurement site was done. The major
drawback of the system is it doesn’t say about the quality of the water.

Microbial Source Tracking [8] been used towards determining various hosts towards
contributing to faecalis pollution in water bodies. Faeces pollution can be traced using
“microbiological, genotypic, phenotypic, and chemical” methods and these has been termed
“microbial source tracking (MST)”. MST provides a tool towards identifying the source of
pollution and allowing proper remediation and preventive measures. Water contaminated with
human faeces is generally regarded as more hazardous to human health. However, this system
has serious disadvantages, including unstable phenotypes, low sensitivity at the intraspecies
level, and limited specificity.

In 2015N Vijayakumar and R Ramya [2] present” Design and development of a low-cost system
for real time monitoring of the water quality in IoT (internet of things)”. The system consists
different sensors like pH, turbidity, water level sensors etc. All the parameters are measured and
that measure d value which is stored from sensors can be processed by Raspberry PI B+. The

All the way our proposed project tries to solve problems in new angle, water quality monitoring
system is consisting of a microcontroller and basic sensors, is compact and is very useful for pH,
turbidity, water level detection, temperature, continuous and real-time data sending via wireless
technology to the monitoring station. The water quality parameters pH measures the

WKU,ECE 15
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

concentration of hydrogen ions. It shows the water is acidic or alkaline. Pure water has 7pH
value, less than 7pH has acidic, more than 7pH has alkaline. The range of pH is 0-14 PH. For
drinking purpose, it should be 6.5-8.5pH. also deals with turbidity measures the large number of
suspended particles in water that is invisible. Which is all in one IOT based project.

4.3 METHODOLOGY
4.3.1 Hardware and software requirements
In designing this system different hard ware and software components are used. These hard
ware and software components are connected together as designing point of view to gate the
required result.

4.3.1.1 Software development tools


Software is a general term for the various kinds of programs used to operate computers and
related devices. The software used for simulation as well as to develop the web app that is used
to Access water quality parameter from the server web address.

 Proteus Professional7
 Visual studio editor
 Arduino integrated development environment (IDE)
 Php
 JavaScript
 MySQL
 Apache Server
4.3.1.1.1 Proteus, ISIS Professional V7
It is used for hardware simulation design. It is a best simulation software development tool for
various designs with microcontroller. It is mainly popular because of availability of almost all
microcontrollers in it. So, it is a handy tool to test programs and to design embedded systems.
You can simulate your programming of microcontroller in it. After simulating your circuit in this
Software, you can directly make PCB design with it.

4.3.1.1.2 Visual studio editor :It is a free source-code editor made by Microsoft for Windows,
Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code
completion, snippets, code refactoring.

WKU,ECE 16
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

4.3.1.1.3 Arduino (IDE)


Arduino IDE (Integrated Development Environment) is a piece of software that runs on your
computer, that is used to write and upload computer code to the physical board. Arduino
Software (IDE) were the reference versions of Arduino, now evolved to newer releases. The
source in Arduino IDE is written in a simplified version of C and C++ languages, making it
easier to learn to program. To upload the code written in Arduino (IDE), Arduino is connected
through USB cable to USB port. Outputs are shown in the serial monitor of the IDE.[6]

4.3.1.1.4 Php
It is a recursive acronym for "PHP: Hypertext Preprocessor". It is a server-side scripting
language that is embedded in HTML. It is used to manage dynamic content, databases, session
tracking. It is integrated with a number of popular databases, including MySQL, PostgreSQL,
Oracle, Sybase, Informix, and Microsoft SQL Server. PHP is pleasingly zippy in its execution,
especially when compiled as an Apache module on the Unix side. The MySQL server, once
started, executes even very complex queries with huge result sets in record-setting time.[1]

4.3.1.1.5 JavaScript
It is a dynamic computer programming language. It is lightweight and most commonly used as a
part of web pages, whose implementations allow client-side script to interact with the user and
make dynamic pages. It is an interpreted programming language with object-oriented capabilities

4.3.1.1.6 MySQL
It is an Oracle-backed open-source relational database management system (RDBMS) based on
Structured Query Language (SQL). MySQL runs on virtually all platforms, including Linux,
UNIX and Windows. MySQL is an important component of an open-source enterprise stack
called LAMP

4.3.1.1.7 Apache Server


It a web server application that delivers content such as HTML pages, multimedia and CSS Style
sheets over the internet. Apache is a community-developed web application published by the
Apache Software Foundation.

4.3.1.2 hardware requirement tools

WKU,ECE 17
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

These hard wares component lists are:

 Microcontroller (Arduino-Uno)
 PH sensor (RV2)
 Temperature sensor(LM35)
 Water level sensor(water sensor)
 Turbidity sensor(torch ldr)
 NODEMCU(Wi-Fi Module)
 DC motor(simple dc motor)
 Motor driver(l293D)

4.3.1.2.1 Arduino
Arduino is a microcontroller board which has 14 digital input/output pins (of which 6 can be
used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power
jack, an ICSP header and a reset button.[4] The Arduino platform has become quite popular with
people just starting out with electronics, with Arduino Uno R3 data sheet-based board. Provides
a standard form factor that breaks out the functions of the micro-controller into a more accessible
package.[4]

figure 4. 1Power (USB) and pin configuration

Every Arduino board needs a way to be connected to a power source. The Arduino UNO can be
powered from a USB cable coming from your computer or a wall power supplies. It’s not
allowed to use power supply greater than 20 Volts as you will over power and thereby destroy

WKU,ECE 18
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

the Arduino. The recommended voltage for most Arduino models is between 5 and 12 Volts.
The pins on your Arduino are the places where it will connect wires to construct a circuit
probably in conjunction with a breadboard and some wire. They usually have black plastic
„headers‟ that allow you to just plug a wire right into the board. The Arduino has several
different kinds of pins, each of which is labeled on the board and used for different functions.

GND (3): Short for ‘Ground’. There are several GND pins on the Arduino, any of which can
be used to ground the circuit.

5V (4) & 3.3V (5): As we might guess, the 5V pin supplies 5 volts of power, and the 3.3V pin
supplies 3.3 volts of power. Most of the simple components used with the Arduino run happily
off of 5 or 3.3 volts.

Analog (6): The area of pins under the „Analog In‟ label (A0 through A5 on the UNO) is
Analog In pins. These pins can read the signal from an analog sensor (like a temperature sensor)
and convert it into a digital value that we can read.

Digital (7): Across from the analog pins are the digital pins (0 through 13 on the UNO). These
pins can be used for both digital input (like telling if a button is pushed) and digital output (like
powering a LED).

PWM (8): the digital pins (3, 5, 6, 9, 10, and 11 on the UNO). These pins act as normal digital
pins, but it can also be used for something called Pulse-Width Modulation (PWM).

AREF (Stands for Analog Reference) (9): Most of the time you can leave this pin alone. It is
sometimes used to set an external reference voltage (between 0 and 5 Volts) as the upper limit
for the analog input pins.

Figure 4.2 below Schematic diagram of Arduino

WKU,ECE 19
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

figure 4. 2Schematic diagram

This pH sensor module consists of a glass pH probe and a signal conditioning board, which gives
an output signal proportional to the acidic intensity of liquid solutions and can be interfaced
directly to any 5 V micro-controllers. This sensor returns a voltage proportional to the tendency
of the solution to gain or lose electrons from other substances, which is linked directly to the pH
a substance. And it's normally used in applications such as aquariums, hydroponics,
laboratories, etc., where it is normally used for measuring acidity on a scale from 0 to 14, with 0
being the most acidic and 14 being the most basic

Power Input …………………………… 5V DC

Working Current………………………..5-10mA

Detection Concentration Range PH……0-14

Detection Range of Temperature ……...0-80 °C

Output Analog

Response Time ……………………………………..<5s

Stability time ……………………………………...<60s

Figure 4.3 below shows a PH sensor used in this project:

figure 4. 3PH sensor

4.3.1.2.3 Temperature Sensor

WKU,ECE 20
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

There are different types of temperature sensors available in the market for sensing temperature
of any object or surroundings. We have chosen ds18b20 for our project. It’s a cheap digital
temperature senor which has a one-wire interface. It means it only requires one pin to
communicate with the microcontroller. It is especially suitable for this project because its water
proof. Because of its digital output it accurately measures temperature. Figure show sample of
ds18b20 sensor.

DS18B20 Sensor Specifications

 Programmable Digital Temperature Sensor


 Communicates using 1-Wire method
 Operating voltage: 3V to 5V
 Temperature Range: -55°C to +125°C
 Accuracy: ±0.5°C

Pin Configuration
1 Ground Connect to the ground of the circuit

2 VCC Power the Sensor can be 3.3 or 5V

3 Data this pin gives output temperature value which can be read using 1-wired method

Figure 4.4 below shows a Ds18b20 sensor used in this project:

figure 4. 4Ds18b20 sensor

4.3.1.2.3 Water Level Sensor


“Water level sensor” is designed for detecting the water level in the reservoir and overhead
tanks. This is generally utilized in sensing the water leakage, water level, and the rainfall. It
consists of mainly three parts: 1MΩ resistor, an electronic brick connector and numerous lines of
bare conducting wires. It works by having a series of “exposed traces” that are associated to
ground. This is also interlaced between “grounded traces and the sunstrokes”. A weak pull-up

WKU,ECE 21
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

resistor of 1MΩ is present. 1MΩ resistor pulls up the sensor value till a drop of water shorts the
sensor trace to the grounded trace. This can measure the water droplet/water size by using a
series of “exposed parallel wires”. The characteristics are it has high sensitivity and low power
consumption.

Features

a) Operating voltage: -3 to 5 V DC
b) Operating temperature: -10°c to 30°c
c) Measuring range: 0 to 15 feet’s
Figure 4.5 below shows a Water level sensor used in this project:

figure 4. 5Water level sensor

4.3.2.1.4 Turbidity Sensor


It detects water quality by measuring the levels of turbidity, or the opaqueness. It uses light to
detect suspended particles in water by measuring the light transmittance and scattering rate,
which changes with the amount of total suspended solids (TSS) in water. As the TTS increases,
the liquid turbidity level increases. Turbidity sensors are used to measure water quality in rivers
and streams, wastewater and effluent measurements, control instrumentation for settling ponds,
sediment transport research and laboratory measurements. This Liquid provides analog and
digital signal output modes. The threshold is adjustable when in digital signal mode. You can
select the mode according to your MCU.

Specification
 Operating Voltage: 5V DC
 Operating Current: 40mA (MAX)
 Response Time: <500ms
 Insulation Resistance: 100M (Min)

WKU,ECE 22
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

 Analog output: 0-4.5V


 Digital Output: High/Low level signal (you can adjust the threshold value by adjusting
the potentiometer)
Figure 4.6 below shows a Turbidity sensor used in this project:

figure 4. 6Turbidity sensor

4.3.1.2 DC Motor
Electrical motors are everywhere around us. Almost all the electro-mechanical movements we
see around us are caused either by an AC. or a DC motor. DC motor is a device that converts DC
electrical energy to a mechanical energy. This DC or direct current motor works on the principle,
when a current carrying conductor is placed in a magnetic field, it experiences a torque and has a
tendency to move. This is known as motoring action. If the direction of current in the wire is
reversed, the direction of rotation also reverses

4.3.1.3Motor Driver
The current supplied by the microcontroller to is not sufficient to drive the motor. Thus, motor
driver provides sufficient current to run motor. It can take maximum current of 600mA per
channel which is than enough to drive two motor. It works on the concept of H-bridge. H-bridge
is a circuit which allows the voltage to be flown in either direction. As you know voltage need to
change its direction for being able to rotate the motor in clockwise or anticlockwise direction,
hence H-bridge IC are ideal for driving a DC motor.

4.3.5 ESP8266
The WI-FI module used in this project is ESP8266. It follows TCP/IP stack and is a microchip
which is less in cost. This microchip allows the microcontroller to connect to a WI-FI network,
by using Hayes style command connections are done or made through TCP/IP connection.
ESP8266 has 1MB of built-in flash, single chip devices able to connect WI-FI. Espress if

WKU,ECE 23
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

systems are the manufacturers of this module, and it is a 32-bit microcontroller. There are 16
GPIO pins in this module. This module follows the RISC processor. It has 10-bit DAC. Later
Espress if systems released a software development kit (SDK) which is used to program on the
chip so that another microcontroller is not used. Some of the SDK's are Node MCU, Arduino,
Micro Python, Zerynth and Mongoose OS. SPI, I2C, I2S, UART are used for communicating
between two sensors or modules.

Figure 4.7 below shows a NODEMCU Wi-Fi Module used in this project:

figure 4. 7NODEMCU Wi-Fi Module

4.3.6 Resistor
It is one of passive elements in an electrical system that is used to limit the flow of current
through a given circuit

4.3.7 The Proposed System

This project is intended to develop water quality monitoring system using internet of thing (IOT)
which is used to control and monitor the quality of drinking water. The system checks the
physical (temperature and turbidity), the water level and chemical property (PH) of a drinking
water. The program which is given to the Arduino microcontroller makes the Arduino to read the
physical and chemical property of the water from the sensor within a specified time interval set
by the administrator of the system. The Arduino send the sensors data to NODEMCU using
serial communication. NODEMCU send Http request sensors data and its identity to the server.
The server checks the identity of a sender and stores the received data in MySQL database if the
identity matched to the predefined one. Web application is developed to present and display the
data interactively to the user (administrator). Then the data is accessed by an authorized person
(admin) throughout the world by using the WQMS website. The admin can have a controlling
mechanism on the website to control the valve of the water tanker by sending a close or open
command to the microcontroller. In this proposed system, there is no need to test the sample of
the water in a laboratory and go physically to check its quality.

WKU,ECE 24
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

4. 3.3Flow Chart of the System


4.3.3.11 Flow chart of the server
Figure 3.10 below shows a Flow chart for the server used in this project:

figure 4. 8Flow chart for the server

WKU,ECE 25
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

4.3.3.12 Flow chart of the Arduino


Figure 3.10 below shows a Flow chart for the server used in this project:

figure 4. 9Arduino flow chart

4.3.3.13 Flow chart of NODEMCU

Figure 4.12 below shows a Flow chart of NODEMCU this project.

WKU,ECE 26
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

figure 4. 10flow chart of nodemcu

4.3.4 Block Diagram Description

figure 4 1block diagram of the system

The block diagram mainly consists of four components. The first component is the Arduino
Microcontroller where the Sensors deployed in Water are connected. The Arduino
Microcontroller read the PH, temperature, turbidity and water level of drinking water from their
respective sensors which are the second components of the block diagram. The Arduino
microcontroller read the sensors data if the time interval set by the user is elapsed. Then the data

WKU,ECE 27
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

received by Arduino is sent to the third component NODEMCU using Serial communication.
After that, NODEMCU sends these data to the server using HTTP request. The server checks the
sender identity of the requested data and store it in to database if it’s identity (ID) is similar to
the requested one. The fourth component of the system is DC motor which is used to control the
valve status (open or close) of the tanker when instruction is given by the Arduino. Finally, the
system presents the Water quality parameter data’s in the WQMS website for user to access it
from remote location using mobile or laptop. The User(admin) can change the time interval of
sensor reading by the Arduino and control the valve of the water tanker.

4.3.5 UseCase Diagram

figure 4. 11usecase diagram of the system

First Start the microcontrollers and establish a communication between the controllers by
initializing serial communication between them. Then NODEMCU establishes network
connection. If the time interval given by the admin is elapsed, Arduino reads and processes the
sensors data, then it sends to NODEMCU through the established serial communication.
NODEMCU receives the data and sends http request to the server. The server matches the
received sender ID with the predefined one. If the sender ID Matches, it will read and store in

WKU,ECE 28
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

MYSQL database. If the Admin submit a form, it will be stored as json form in the file system of
the server.

NODEMCU then checks a change for json data, if there is, NODEMCU will send these changes
to the Arduino. Arduino check its buffer for the incoming data from NODEMCU if there is a
change, it reads and decode the data’s as status of the valve and the time interval of sensor
reading. Then the Arduino updates the time interval of sensor reading or it will drive the DC
motor either to close or open the valve based on the received command (open or close) from
NODEMCU.

4.3.6 Hardware Interface

4.3.6.1 Hardware interface between sensors and Arduino


Arduino is flexible offers a variety of digital and analog inputs and serial interface and digital
and PWM outputs. We interface Arduino to PH, water level, Temperature turbidity sensor. PH
sensor interfaced to it analog pin A0 it is compact size and cost efficient. Water level sensor and
Temperature sensor are interfaced to A2 and 4 of Arduino microcontroller respectively we

choose ds18b20 temperature sensor because it is One-wire temperature sensors that can measure
temperature with a minimal amount of hardware and wiring. Turbidity sensor analog output is
interfaced to analog pin A3 of the Arduino. It has both analog and digital signal output modes..
The interface between the Arduino and the sensors are shown in the figure below.

Turbudit ds18b20
Arduino
Vcc V
5V
Gnd DQ
A3 4
V Gnd
PH A0
V Water Level

+ S
Gnd A2
Gnd Vcc Gnd

WKU,ECE 29
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

figure 4. 12between A interface rduino and sensors

4.3.6.2 Interface Between Arduino and NODEMCU


Serial communication is a communication process wherein data transfer occurs by transmitting
data one bit at a time in sequential order over a computer bus or a communication channel. It is
the most widely used approach to transfer information between data processing equipment and
peripherals. Arduino uno boards have one serial port which is also known as a UART or
USART. It communicates on digital pins 0 (RX) and 1 (TX). 2 pins of NODEMCU are reserved
for RX and TX in order to communicate with Arduino. The interface is shown in the figure
below

Arduino NODEMCU
Rx RX
Tx Tx
Gnd Gnd

Figure 1:figure 4. 13Interface Between Arduino and NODEMCU

WKU,ECE 30
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

4.3.6.3 Arduino and Motor Interface


A motor driver IC named L293D is used here for interfacing the DC motor with Arduino. Here
we used only one DC motor, hence the first two input pins of the IC alone are used. These are
connected to any two digital pins of Arduino (here they are, 10 and 9) interfaced with IN2 and
IN2 of the motor driver respectively. And two output pins of L293D are connected to a DC
motor (here OUT1 and OUT2). We can simply run the motor by giving a high signal at 10 th pin,
low at 9th pin.  The 10th and 11th pin of Arduino is used for controlling the direction of rotation. In
our system the DC motor is derived clockwise and anticlockwise by offsetting the signal in 10 th
and 11th pin of Arduino

Vss Vs
Arduino
Motor Driver
5V
IN1 OUT1 DC
10 Motor
IN2 OUT2
9
8 16
Gnd
Gnd Gnd

figure 4. 14Arduino and Motor Interface

WKU,ECE 31
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

CHAPTER FIVE
SYSTEM DESIGN AND IMPLEMENTATION
5.1. Results and Discussions
The simulation of the circuit has been designated using Proteus Software as shown in the figure
below. The circuit is also simulated using this software before practical implementation. The
result of simulation ensures that the circuit works in a proper way. In this circuit, the Arduino
microcontroller is the main component which is used for controlling the system (PH, sensor
temperature, sensor water level, sensor and turbidity). On the other part, NODEMCU device is
used as a medium for the communication between Arduino microcontroller and the Server.

figure 5. 1snapshot of inserting the sensor data to MySQL database

5.2 Developed Web Application


It is preferable to use web application, because Web application doesn’t require any software
installation or manual updates easing the deployment process. This application can be delivered
to anyone just with a browser. In addition, a web application is really cheap compared to a

WKU,ECE 32
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

standalone application, making itself a really attractive option especially to independent retailers.
A web application provides flexibility by allowing view from any computer with an internet
connection. A web application can be maintained properly and updated online by the system
provider, unlike the standalone application in which the system provider has to maintain and
update the system by physically going to the company’s sever site. So due to all the listed
reasons above, the system is developed using web app as its user interface.

5.2.1 Login page


This subsystem performs authentication of users (Administrator) to log in to the system with a
valid credentials (user name and password) for handling system defined job. Figure below is
displayed requesting the user for a valid user name and password combination

figure 5. 2Login page

5.2.2 Home page


If the user has successfully logged as administrator, he/she will be prompted the following tasks

5.2.3 Set time interval


the admin can change the time interval of sensor reading by using the interface shown in the
figure below

WKU,ECE 33
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

figure 5. 3set time interval inserting link page

5.2.4 View water quality parameters control valve


If the admin press ‘view quality parameters value’ button it will redirected to the page shown in
the figure below. In this page the admin can also control the valve of the tanker and view
previous quality parameters. If there is a quality problem in any of the row, the page will
highlight them using red color

WKU,ECE 34
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

figure 5. 4Sensor data accessing in the web through IoT

Whenever an eligibly body want to monitor the quality of water the web page will display detail
about the quality of the water parameter. When there is a problem in the quality of water it shows
warning in the web page

5.3 Limitations and future work


The proposed IOT based water quality monitoring system contains important features needed to
measure water quality with different water parameters such as PH of water, temperature of water,
turbidity and level of the water.

5.3.1 Limitations
Since water is the main necessity of human being, Water Quality monitoring is very essential as
it is consumed by daily. Traditional water Quality monitoring and some of the technology-based
Water Quality got lot of challenges. The proposed system is included in a modern technology,
solving many challenges from the traditional one. However, it also has some limitations. This
system is prepared only for one tanker of water, which limits the number of resident homes using
the advanced system. In addition to this, the sensors used in the system are not networked with
each other. This makes the system to fail for larger water tank, since the sensors are limited to
sense and measure a limited area of the tanker. In this system the water quality is monitored

WKU,ECE 35
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

using only four parameters of water which doesn’t give the exact standard of the water to be
drunk or not. Even if the system has its own limitations, the system also has good qualities. For
instance, since the developed system is web based it doesn’t require any software installation or
manual updates easing the deployment process. A web application provides flexibility by
allowing view from any computer with an internet connection.

5.3.2 future works


Due to the limitations of the existing and proposed system for monitoring water quality,
additional features shall be provided in the future. For instance, IoT based Water Quality
monitoring system need to be applied on Ponds, rivers, ground waters, surface waters and water
pipes too not only for storage tank. In addition to this, in the future, the system with networked
sensors can be developed using this proposed system as a base for the new one. The same work
can be extended by looking into other water parameters rather than just these sensors and
accordingly control the flow of water based on water quality. It is also possible to make a mobile
application for remote water monitoring which user can download and install in his or her device
and can get real time notification.

5.4 Conclusion and Recommendation


5.4.1 Conclusion
We here have developed an IoT based Water Quality Monitoring system which is based on Wi-
Fi communication. The system here receives the input from microcontroller where PH and others
sensor are connected. The sensor input is transmitted serially to the Wi-Fi module which is the
communication medium between the microcontroller and the server. Then data are stored in
MySQL database for access via their mobile phone or other devices. This has resulted in
complete Water Quality Monitoring system employing IoT Technologies where devices
communicate among themselves in predicting the Water Quality for residential area. This proves
that the water quality can be monitored automatically with no human involvement. The system is
achieved with reliability and feasibility by verifying the four parameters of water. The time is
reduced, and the cost is low in this water quality management.

WKU,ECE 36
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

5.4.2 Recommendation
Water quality monitoring system is one of the emerging technologies in the technological world.
This project’s main concern is to access real time water quality parameter from remote area
According to our main concern of this project there are many future scopes.

 IoT based Water Quality monitoring system can be extended not just for Storage tank but
also for deciding on Ponds, rivers and water pipes too
 The same work can be extended by looking into other water parameters rather than just
these sensors and accordingly control the flow of water based on water quality

We can also work on making a mobile application for remote water monitoring which user can
download and install in his or her device and can get real time notification

WKU,ECE 37
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

Reference
[1] Dibo,H et al(2013). “Detection of water-quality contamination events based on multi-
sensor fusion using an extented Dempster–Shafer method”, Measurement Science and
Technology, Vol.24, pp.1-18.

[2] Jayti Bhatt, Jignesh Patoliya, Iot Based Water Quality Monitoring System, IRFIC,
21feb,2016.

[3] B. O’Flyrm, R. Martinez, J. Cleary, C. Slater, F. Regan, D. Diamond, and H. Murphy,


“Smartcoast: A wireless sensor network for water quality monitoring,” In Proceedings of 32nd
IEEE Conference on Local Computer Networks (LCN 2007). IEEE, 2007, pp. 815–816

[4] Made Saraswati, EndrowednesKauntama, PonoMardjoko, Design and Construction of Water


Level Management System Accessible Through SMS IEEE Computer

[5] Das, Brinda and P. C. Jain. “Real‐time water quality monitoring system using Internet of

Things.” 2017 International Conference on Computer, Communications and Electronics


(Comptelix) (2017): 78‐82.

[6] Cloete N.A, Malekain R and Nair L “Design of Smart Sensors for Real-Time Water Quality

Monitoring” In Proceedings of IEEE Access. IEEE, 16 July 2016, page. 3 3975 - 3990.

[7] M N Barabde, S R Danve, “A Review on Water Quality Monitoring System”, In Proceedings


of International Journal of VLSI and Embedded Systems‐IJVES, Vol 06, Article 03543; March
2015, pp. 1475‐1479.

[8] Hao Jei chan, “Water Quality Monitoring System,” March 9, 2017. [Online]. Available:

https://www.hackster.io/chanhj/water‐quality‐monitoring‐system‐ddcb43

[9] “https://www.wku.edu.et, “ [Online]. [Accessed 10 may 2021].

WKU,ECE 38
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

Appendix and annex

<?php
 include 'database.php';
 $conn = connect();
$api_key_value = "tPmAT5Ab3j7F9";
$api_key= $gasSensor = $waterLevel = $phSensor = $tempSensor = "";
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $api_key = test_input($_POST["api_key"]);
    if($api_key == $api_key_value) {
        //gas_sensor  water_level_sensor ph_sensor temp_sensor
        $gasSensor = test_input($_POST["gas_sensor"]);
        $waterLevel = test_input($_POST["water_level_sensor"]);
        $phSensor = test_input($_POST["ph_sensor"]);
        $tempSensor = test_input($_POST["temp_sensor"]);
        $sql = "INSERT INTO sensordata (gasSensor,waterLevel,phSensor,tempSensor)
        VALUES ('" . $gasSensor . "', '" . $waterLevel . "','" . $phSensor . "','" . $tempSensor . "')";
        if ($conn->query($sql) === TRUE) {
            echo "New record created successfully";
      \\\\\  } 
        else {
            echo "Error: " . $sql . "<br>" . $conn->error;
        }
    
        $conn->close();
    }
    else {
        echo "Wrong API Key provided.";
    }
}
else {
    echo "No data posted with HTTP POST.";
}

function test_input($data) {
    $data = trim($data);
    $data = stripslashes($data);
    $data = htmlspecialchars($data);
    return $data;
}

WKU,ECE 39
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClient.h>
#include <Arduino_JSON.h>
const char* ssid = "HUAWEI-E5336-E839";
const char* password = "ybjyn2nn";
const char* serverName = "http://192.168.8.106/NODEMCU/php/insert.php";
const char* serverName2 = "http://192.168.8.106/NODEMCU/php/mes.json";
String apiKeyValue = "tPmAT5Ab3j7F9";
String sensorReadings;
String prev_interva = "0.5";
String prev_status ="OPEN";
String sensorReadingsArr[3];
const byte numChars = 32;
char receivedChars[numChars];
char tempChars[numChars];
float tur_sensor =0.0; //gas_sensor water_level_sensor ph_sensor temp_sensor
float water_level_sensor =0.0;
float ph_sensor =0.0;
float temp_sensor =0.0;
boolean newData = false;
void setup()
{
//SUART.begin(9600);

WKU,ECE 40
INTERNSHIP REPORT FROM WOLKITE UNIVERSITY ICT CENTER

Serial.begin(9600);
WiFi.begin(ssid, password);
Serial.println("Connecting");
while(WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.print("Connected to WiFi network with IP Address: ");
Serial.println(WiFi.localIP());
}

WKU,ECE 41

You might also like