Presentation opa

22
Mobile Sensor Node for Real Time Monitoring of pH Level in Domestic Water Resources 1

Transcript of Presentation opa

Page 1: Presentation opa

1

Mobile Sensor Node for Real Time Monitoring of pH Level in Domestic Water Resources

Page 2: Presentation opa

2

INTRODUCTION

With present environmental pollution, access to clean water is being limited all over the world

Typical, laboratory experiments and official water quality tests take considerable amount of time

Demand for real time water quality monitoring is ever increasing

This project proposes a mobile framework to real time monitoring of pH value in domestic water resources

Page 3: Presentation opa

3

INTRODUCTION

pH stands for Potential Hydrogen

Measures the acid/alkaline level in our water.

Page 4: Presentation opa

4

INTRODUCTION

Source: simplifylifeinvizag.blogspot.com/

Page 5: Presentation opa

5

INTRODUCTION

Drinking acidic beverages (soda) decreases pH value.

The body begins to extract alkaline minerals such as Calcium, Magnesium, and Potassium from bones, teeth, and eyes to restore the balance needed to stay alive.

After years of pulling minerals from different sources : leads to osteoporosis, bad vision, bad teeth and other illnesses.

The body retains water to dilute the acidity and will store cholesterol in the arteries to maintain blood pH. No matter how much you exercise, your body will continue to keep a tight hold on the fats to protect itself.

Page 6: Presentation opa

6

INTRODUCTION

Page 7: Presentation opa

7

OBJECTIVES

• To design and develop a sensor device to measure pH level in water.

• To design and develop a communication module to transmit pH values to a mobile phone using WiFi

• To develop a mobile application to display pH levels in water in real time in numeric and graphical form

Page 8: Presentation opa

8

METHODOLOGY

Concepts of wireless sensor networks and ad-hoc networking

Two nodes, one sensor node and one sink node (base station)

Sensor node is located where measurements are takenResponsible for sending data to the sink node

Sink node is the mobile deviceCollect sensed data Serve data to user

Page 9: Presentation opa

9

METHODOLOGY

System Overview

Page 10: Presentation opa

10

METHODOLOGY DEVELOPMENT OF THE SENSOR NODE

The sensor node

Wi-Fi module (Hi Link HLK-RM04) Microcontroller board (Arduino Uno Board)

pH probe pH circuit

Page 11: Presentation opa

11

METHODOLOGY DEVELOPMENT OF THE SENSOR NODE

1- Atlas Scientific pH circuit, 2- Atlas Scientific pH probe, 3- BNC connector, 4- HLK-RM04 Wi-Fi module, 5- Arduino Uno board with 32-bit Atmel ARM Microprocessor, 6- Analog pins, 7- Digital TX and RX pins, 8- 9.0v battery

Page 12: Presentation opa

12

METHODOLOGY DEVELOPMENT OF THE SENSOR NODE

Obtaining Measurements

Readings are taken at every 15 secondsOutput of the pH circuit was ASCII characters

representing the pH value

Command “R” was used to instruct the pH Circuit to return a single pH reading

Page 13: Presentation opa

13

METHODOLOGY DEVELOPMENT OF THE SENSOR NODE

A Wireless network, created by the mobile device using Wi-Fi technology

“http GET” request is used to transmit pH values via WiFi

  Mobile device displays pH value in real time

GUI is dynamically updated upon receiving data continuously

Page 14: Presentation opa

14

METHODOLOGY DEVELOPMENT OF THE SENSOR NODE

Connecting to the network Configuring Wi-Fi Module

Net mode (Wi Fi Client) SSID (AccessPoint) Encrypt type (OPEN) IP type (DHCP) Baud rate (38400) Network mode (Client) Network protocol (TCP)

Page 15: Presentation opa

15

METHODOLOGY DEVELOPMENT OF THE SENSOR NODE

Sending the request “In Wi-Fi client mode, it sends data arriving at the serial

port over the network”The prepared request is transmitted to the serial port of

the Wi-Fi module

Page 16: Presentation opa

16

METHODOLOGY DEVELOPMENT OF MOBILE APPLICATION

Creating the networkandroid.net.wifi which provides classes to manage a

device’s Wi-Fi functionality

Activate device’s Wi-Fi hot spot mode

To configure network settings android.net.wifi.WifiConfiguration

Need user permission to access Wi-Fi functionality

Page 17: Presentation opa

17

RESULTS DEVELOPMENT OF MOBILE APPLICATION

Graphical User Interfaces and Database four main GUIs

pH monitor pH history network settings

Page 18: Presentation opa

18

RESULTS

The mobile application is tested on a Samsung Galaxy S Duos 2 mobile phone Android version 4.2.2 Wi-Fi 802.11 b/g/n Hotspot OPEN,WPA

Page 19: Presentation opa

19

RESULTS

HLK-RM04 module is very easy to use and cost effective

Configuration through a web page Access point / Wi-Fi client Connection to Ethernet DHCP and static IP type Client / Server TCP/UDP

Cos of wireless communication modules

Page 20: Presentation opa

20

CONCLUSION Real time pH monitor

 User friendly graphical interfaces Log system to store previous records and analyze them

through an auto generated graph.  Track sudden changes in pH value and identify its

patterns over time (eg. dumping waste into a water stream results in sudden changes in pH) to generate alarm

 Minimize future risks

Practical solution to the issue of real time water quality monitoring

Page 21: Presentation opa

21

FUTURE DEVELOPMENTS

The sensor device can be designed as a complete water quality measuring device by adding multiple sensors (eg. Bio sensors to detect Arsenic in water)

Handle multiple access of users

Security issues and the range of the network

Power saving strategy

Use of calibration-free pH probes

Page 22: Presentation opa

22

THANK YOU