Water Quality System Using PH, Humidity, Temperture and Tds Sensor
Water Quality System Using PH, Humidity, Temperture and Tds Sensor
Water pollution is one among the largest fears for the green world. To stop
the pollution, initially, we’ve to estimate the water parameters such as PH
measurement, Conductivity measurement, Turbidity, Dissolved oxygen, etc. Because the
variations within the values of those parameters indicate towards the presence of
pollutants. At present time, water parameters are detected by chemical check or
laboratory check, wherever the testing equipment are stationary and samples are
provided to testing equipment. Thus, the current water quality observation system is
done manually with a tedious process and is extremely time-consuming.
To extend and increase the frequency, the testing equipment will be placed in the
stream water and detection of pollution will be created remotely. This project proposes
a Water Quality Monitoring System that Based on Sensors. The system consists of data
monitoring (Observation) nodes, a remote (Control) station. A program is written
in machine language, that compares the measured values with standard or required
values.
CHAPTER 1 - INTRODUCTION
1.1 - INTRODUCTION
Water Pollution could be a major world issue which needs continuous evaluation and
modification of water resource guideline at the levels of international down to individual
wells. It has, that water pollution is that the leading reason behind deaths and diseases
worldwide. The records show that over 14,000 humans die daily worldwide. In the
Republic of India, inevitable 580, die of water pollution related sickness daily. In several
developing countries, dirty or contaminated water is getting used for drinking without
any correct former treatment. One among the reasons for this happening is that the
unawareness of public and administration and also the lack of water quality monitoring
system that creates serious health problems. Additionally, natural phenomena like
volcanoes, algae tints, rainstorms, and earthquakes also change the quality and
ecological status of water.
We know that the water percentage in the earth is about 71% coming from different
sources like Sea water, River, Bore well water, springs, Dams. As humans, we need to
drink a pure water to make our health better and far away from diseases so we need to
make sure that this used water quality is high.
Figure (1.1) The percentage distribution of water in earth
Taking water directly from multiple sources will hurt humans and organisms is largely
due to the presence of a lot of impurities in the water and the most prominent of these
impurities.
a) Dissolved impurities:-
2 - Dissolved gases: C
a= regression coefficient
b= Duan’s bias correction factor
Example
Example
The conductivity of the RO feed is 55000 what is the value of the TDS?
TDS=Cond.0.707(Feed water)
=55000*0.707
=38885 ppm
The table and chart below for daily report raw water quality :-
From the results, it is seen that the pH of the raw water intake is in normal increasing in
this days measurement since it must be stable from 7.4-8.5 coming to the temperature it
is in normal decreasing because the value of it must be between 20-40.Turbidity in a un
stable values. Other parameters in stable increasing.
Quality of Intimidate:
From the results, it is seen that the parameters in the micro filtration outlet stage in
normal increasing.
Quality of product:
From the results, it is seen that the pH of the potable water outlet is in un stable
increasing in this days measurement since it must be between 6-6.8 coming to the
temperature it is in un normal decreasing because the value of it must be 28.Turbidity in
a stable value which is less than 1. Other parameters in stable increasing.
Quality of product:
From the results, it is seen that the pH of the process water outlet is in un stable
increasing in this days measurement since it must be between 6-6.5 coming to the
temperature it is in normal state. Turbidity in a stable value which is less than 1. Other
parameters in stable increasing.
SUMMARY
A detailed study is carried out on the measurement procedures and equipment in our
study area. The major draw backs of manual measurement are pH, Temperature,
Turbidity and Total Dissolved Solids. The third chapter provides the information about
the development of hardware model for water quality monitoring.
3.2 BLOCK DIAGRAM
Figure(3.1)Block Diagram of the system
A sensor unit essentially comprises of a few sensors used to identify the established
parameters that demonstrate the quality of water. In our project, three sorts of the
sensors had been used: pH sensor and Temperature sensor that detects the acidity of it
or basicity of the water, a temperature sensor that detects the temperature of the water,
turbidity sensor that detects the turbidity level of water in view of phototransistor are
utilized and Dissolved Oxygen sensor that senses the quantity of dissolved oxygen. Each
of the sensor utilizes a battery for their operation. The data being detected by the
sensors is then changed over into electrical signal and afterward, it is passed to a
microcontroller that processes it to a readable and understandable value reasonable by
people.
It is, for the most part, used to extend the coverage distance of the monitoring system.
There can be just a single coordinator for the monitoring system. It is in charge of
setting the channel for the network to utilize, appointing a network to deliver to
switches and end devices and keeping the routing tables for the network that are
important to route data starting with one end device then onto the next in a similar
network.
The proposed prototype is the best solution for water quality monitoring systems and it
includes metallic grids at the ends of the cell that create a geometry where the electric
filed is internal and there is no current spread out from the sensor which helps avoiding
any perturbations. The circuit board allows the system conditioning signal circuit and
the data board makes it possible for digital signal processing.
Arduino boards are completely an open source which allows building them
independently and achieving the particular needs. It has been used in different
applications and projects like programming, robotics and designing prototypes. It is very
flexible for advanced users.
Figure(3.2)Arduino
Finally the single chip gets the data and then processes and analyzes them. After that,
the data are directly sent to monitoring center by GSM network and then display in the
software.
The circuit diagram show the circuit of each parameter and with the resistance value of
it.
DS18B20 is classified as a wire digital temperature sensor which can reports the degrees
in Celsius with 9 to 12-bit precision, from -55 to 125 (+/-0.5). Every sensing element
includes a single 64-Bit Serial variety etched into it – permits and let for a large variety
of sensors to be used on one data bus. It most to be considered that to let this sensor
work it had to be connected to the Ardiuno board.
Unique 1-Wire interface needs just one port pin for communication
Each device features a distinctive 64-bit serial code hold on in AN aboard fixed
storage
Multidrop capability simplifies distributed temperature sensing applications
Requires no external parts
Can be powered from data line.
Power offer vary is three.0V to 5.5V
Measures temperatures from –55°C to +125°C (–67°F to +257°F)±0.5°C accuracy
from –10°C to +85°C
Thermometer resolution is user-selectable from nine to twelve bits
Converts temperature to 12-bit digital word in 750ms (max).
User-definable non volatilizable (NV) alarm settings
Alarm search command identifies and addresses devices whose temperature is
outside of programmed limits (temperature alarm condition).
quite accurate, and easy to attach to an Arduino.
response time of 5-30s which is quite slow but more than fast enough for a
weather station.
And for the successful choice between the three devices, which are slightly similar in
terms of their advantages, we have chosen the most appropriate by making this
evaluation in different grades:
Grade 5
→highest degree
Grade 4
→intermediate
Grade 3
→very good
Crade 2
→good
Grade 1
→weak
Based on the above factors we have selected DS18B20 as a temperature sensor for our
operation.
1. SEN0161(Analog pH Sensor)
It has a BNC connector and PH2.0 sensor interface, an LED which works as the Power
Indicator. We can pre-programme it to get the pH value easily. Comes with plastic box
and foams for better mobile storage. The SEN0161 costs around $ 29.50
Single junction
pH Range: 0-14 (Na+ error at >12.3 pH)
Operating temperature: 1°C – 99°C
Max Pressure: 690 kPa (100PSI)
Max Depth 60 M (197 ft)
Cable length: 1 Meter
Weight: 49 grams
Speed of response: 95% in 1 second
Isopotential point: pH 7.00 (0 mV)
Dimensions 12mm X 150mm (1/2″ X 6″)
BNC connector
The SEN0169 is a sensor kit for Arduino microcontrollers. It can be used to get accurate
pH readings. Its expectancy life is more than 1 year, its range from 0 to 14 and it has
industrial electrode. The SEN0169 costs around $ 56.95
ITM-4 meter offers preciseness mensuration of suspended solids through the utilization
of infrared emission. Utilizing a 4-beam technology the ITM-4 has multiple emitters and
receptors to supply the web, time period mensuration of muddiness which will yield
data crucial to each method operate and products quality.
The ITM-4DW meter is specially designed for the process- and drinking water
applications.
To start with, the circuit diagram is modified for pH measurement. The selected pH
sensor is interfaced with Arduino controller and pH measurement is conducted. The pH
sensor is calibrated using the buffer solutions available in the chemistry lab. Two buffer
solutions with pH 4.00 and 7.00 are used for the calibration. A software program is
written in Arduino programming language for calibration and it is uploaded in the
controller.
The pH value of the buffer solution is displayed in computer by selecting the required
baud rate for data transfer. The sensor is calibrated with necessary precautions for
accurate pH measurement. A comparative analysis also carried out between a standard
pH meter and the proposed project. It is listed in table no.
Connection Diagram:-
Figure (3.13) Connection Diagram
As shown in the above connection diagram, the pH sensor is connected with Arduino
board. The sensor is washed with distilled water before measurement.
Software Code:-
/*
# This sample code is used to test the pH meter V1.0.
# Editor : YouYou
# Ver : 1.0
# SKU : SEN0161
*/
#define SensorPin A0 //pH meter Analog output to Arduino Analog Input 0
#define LED 13
#define samplingInterval 20
int pHArrayIndex=0;
void setup(void)
pinMode(LED,OUTPUT);
Serial.begin(9600);
void loop(void)
{
static unsigned long samplingTime = millis();
pHArray[pHArrayIndex++]=analogRead(SensorPin);
if(pHArrayIndex==ArrayLenth)pHArrayIndex=0;
pHValue = 3.5*voltage+Offset;
samplingTime=millis();
Serial.print(“Voltage:”);
Serial.print(voltage,2);
Serial.println(pHValue,2);
digitalWrite(LED,digitalRead(LED)^1);
printTime=millis();
}
double avergearray(int* arr, int number){
int i;
int max,min;
double avg;
long amount=0;
if(number<=0){
return 0;
amount+=arr[i];
avg = amount/number;
return avg;
}else{
min = arr[0];max=arr[1];
else{
min=arr[1];max=arr[0];
}
for(i=2;i<number;i++){< p="" style="box-sizing: border-box;"></number;i++){<>
min=arr[i];
}else {
if(arr[i]>max){
amount+=max; //arr>max
max=arr[i];
}else{
amount+=arr[i]; //min<=arr<=max
}//if
}//for
avg = (double)amount/(number-2);
}//if
return avg;
SUMMARY
In this chapter, the block diagram and the sensors unit are discused. Also selection of
component and some different types of sensors are discused. A comparsion is
conducted to select the best sensors among three suggested sensors based on
economy, speed of response, accuracy, adaptation and reliability factors. The four
chapter provides the information about the cost estimation of the system and the
calculation.
CHAPTER 4 - COST ESTIMATION & PROCESS ECONOMICS
Cost Estimation:
In any project, it is essential to estimate the cost of your components else it is hard to
designate the best possible assets! Truth be told, exact cost evaluations are the premise
of a sound project management and planningزost Estimation:.
Cost estimation could be a specialized subject and a profession in its claim. the design
engineer, however, must be able to build fast, rough, value estimates to come to a
decision between different styles and for project analysis. Industries area unit
engineered to create a profit, associate degreed an estimate of the investment needed
and therefore the value of production area unit required before the profit of a project
will be assessed.
Cost estimation in plant involves a combination of main, machine and resources and
consequently, a combination of physical processes, engineering resources, and
economic laws as well as actions and behavior of people should be taken into
consideration. Thus, in cost estimation process, apart from physical and engineering
variables, there often exist several subjective criteria, which need to be described
qualitatively and linguistically. In addition, there are some probabilistic or random
variables including labor fatigue, shortage of resources and materials, failure of
machines, unavailability of facilities and so on, which cannot be accurately predicted.
Using analytical and mathematical approaches, it is not possible to quantify and
transform these imprecise and subjective criteria and random factors into proper input
variable in the cost estimation model. Therefore, the state of uncertainty should be
considered in cost estimation problem in some ways.
The following calculation shows the purchased cost for the main equipment that had
been used in our project:
=$600(
691.8541.2)(
165340)0.6
=$25.95(
430.9374.6) )(
154.8251)0.6
Purchased Cost of GSM shield for Arduino= Original cost Cost index at 2017Cost index
at 2013 × Expected Size previous Size0.6
=$71.50(
430.9374.6) (
3.57.2)0.6
4/Turbidity sensor:
691.8541.2) (
62110)0.6
5/Ultrasonic sensor:
=$2(
430.9374.6) (
80110)0.6
In this part we are assuming and doing the calculation for a whole plant and not
considering the project just:
Fixed Investment:
Fixed investment is the investments that are being made in the fixed assets such as
buildings, machinery or any other kind of equipment that have a fixed cost.
1 - Direct Costs:
The costs that can be clarified directly, though it refers to the expenses, labor or the
materials that are related to the production of a certain product and it is formula is
shown below:
The costs that cannot be identified accurately or directly, it could be the expenses of
services such as advertisement, maintenance, security or supervising, cost of
depreciation, insurance, power and it is formula is shown below:
$3026 =$1947.42+$1078.58
Working capital:-
Working capital cost is the extra investment needed to start the plant up and operate it
to the point when income is gain.
= 0.89 × $ 3026
= $2693.14
= $3026 + $2693.14
= $5719.14/year
SUMMARY
In this chapter, an economics calculation discussed including the purchase cost, direct
and indirect cost. Chapter five provides the information about the general
environmental impact and how Majis deals with the waste management.