python based implementation of aqua monitoring system using raspberry...

40
Python based implementation of Aqua Monitoring System using Raspberry Pi SHRI VISHNU ENGINEERING COLLEGE FOR WOMEN Bhimavaram, A.P Mohan Allam ([email protected]) Dr. K. Padma Vasavi ([email protected])

Upload: lydung

Post on 14-Mar-2018

241 views

Category:

Documents


10 download

TRANSCRIPT

Page 1: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Python based implementation of Aqua Monitoring System

using Raspberry Pi

SHRI VISHNU ENGINEERING COLLEGE FOR WOMENBhimavaram, A.P

Mohan Allam ([email protected])

Dr. K. Padma Vasavi ([email protected])

Page 2: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

OUTLINE

Introduction

Need of Water Quality Monitoring in Aqua

Culture

Implementation

Mobile Application

Conclusion

References

Page 3: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

INTRODUCTION

Page 4: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Shrimps……

Page 5: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Shrimp Culture in India

Page 6: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

NEED OF WATER QUALITY MONITORING IN

SHRIMP CULTURE

Page 7: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Need of Water Quality in Shrimp Ponds

• Water Quality (WQ) determines the ultimate Success or Failure of an aqua culture.

• The farmer must measure, record and manage WQ all through the growing season.

• Water Quality parameters affect respiration, feeding, metabolism and

reproduction of shrimps.

Page 8: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

pH

Temperature

Dissolved Oxygen

Hardness

Ammonia, Nitrite & Nitrate

Water Quality Parameters

Page 9: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Water Quality Parameters

Water Parameter Optimum evel

TemperatureSalinityDissolved oxygenPHTotal Ammonia NitrogenTotal Nitrate NitrogenNitrite NitrogenSulphideBiological Oxygen DemandChemical Oxygen Demand

26-33C10-25 ppm>3ppm7.5-8.5<1.0ppm<5.0ppm<0.01ppm<0.03ppm<10ppm<70ppm(parts per million)

Page 10: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

In General…

• Formers take water samples from pond.

• Get results from Aqua Labs.

• Expensive.

• Difficult Process.

• Take More Time.

Page 11: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

IMPLEMENTATION

Page 12: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

ARCHITECTURE

Dissolved oxygensensor

Cloud DB

Data logger

Power supply

PH sensor

Nitratesensor

Temperature sensor

Raspberry Pi 2

Local DB

Page 13: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

PH SENSORDISSOLVED OXYGEN SENSOR NITRATE SENSOR Temperature sensor:

SENSOR SUITE FOR WATER QUALITY SCREENING

Page 14: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Raspberry Pi 2

1.Processor

2.GPIO Pins

3.SD Card Slot

4.Ethernet Port

5.USB Port

6.HDMI Port

7.3.5mm Jack

Page 15: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Start

Initialize Temperature, Dissolved Oxygen(DO), pH and Ammonia to ‘0’

Read Temperature

Temp>150C

Temp<250C

Ammonia<5ppm

Read DO

DO>3.5ppm

Read AmmoniaPOND OK

POND IS IN RISK YES

NO

YES

YESYES

NO

NO

NO

FLOW CHART

Page 16: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Phases of Implementation

Phase – I :

- Acquire and store data from sensors .

- Development of mobile app.

Phase – II:

- Capturing images of shrimps.

- Make images available to User.

Phase – III:

- Identification of diseased shrimps from images.

- Alert the User by sending message.

Page 17: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

PHASE – I

- Acquire and store data from sensors .

- Development of mobile app.

Page 18: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Raspberry Pi to Mobile App. Implementation

PH SENSORDISSOLVED OXYGEN SENSOR NITRATE SENSOR Temperature sensor:

Page 19: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Sensor Suite Set-up

Page 20: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Python Coding for …

1.Accessing data from sensors (GPIO)

2.Socket Programming

Page 21: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua
Page 22: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua
Page 23: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

PH SENSORDISSOLVED OXYGEN SENSOR NITRATE SENSOR Temperature sensor:

Raspberry Pi - Cloud Python Coding….

Page 24: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Raspberry Pi, Cloud (Parse) Logging Library

Get the ParsePy library

Install on your pi using the command

sudo python setup.py install

Page 25: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Temperature Logging sample Python code

Page 26: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Sample Data Logging in Cloud

Page 27: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Aqua Pond Health Monitoring System (Mobile Application)

Page 28: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Welcome Screen Start Screen

Page 29: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Registration Screen Login Screen

Page 30: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Home Screen Water Quality

Page 31: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

pH Temperature

Page 32: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

PHASE – II

- Capturing images of shrimps.

- Make images available to User.

Page 33: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Python Programming : Capture an Image

Page 34: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Sample Images

Healthy Shrimps

Page 35: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

PHASE – III

- Identification of diseased shrimps from

images.

- Alert the User by sending message.

Page 36: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Shrimps

CameraDigital Image

Noise Removal

Anti-BlurFilter

Background Segmentation

Feature Extraction

Motion Detection

Black Gill detection

Density Estimation

Explanatory Schematic or Image

Page 37: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Sample Images

Diseased Shrimps

Page 38: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

Conclusion

• A Sensor suite for monitoring the water quality of aqua pond is discussed

• It would aid the aquaculture farmers to retain their profits in growing shrimps owing to good water quality

Page 39: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua

References

[1] M. C. M. Beveridge, "Cage, Aquaculture", Fishing News Book LTD., Farnham, Surrey, England. pp. 352, 198

[2] B. H. Buck, G. Krause, T. Michler, A. Berg-Pollack, M. Brenner, C. M. Buchholz, J. A. Busch, R. Fisch,M. Geisen, A. Haasbach, A. Koch, S. Kodeih, T. Manefeld, S. Meyay, S. Saphic, D. Voss, and O. Zielinksi, "Meeting (he quest for spatial efficiency: Progress and/Prospects of Extensive Aquaculture within Offshore Wind Farms", GAIA, 2007

[3] O. Zielinski, B. Cembella, and R. Heuermann, "Bio-optical sensors onboard autonomous profiling floats", Proceedings of the International Conference on Offshore Mechanics and Arctic Engineering - OMAE, Hamburg, pp. 1-6, 200

Page 40: Python based implementation of Aqua Monitoring System using Raspberry Pifossee.in/data/scipy_2015/workshop_material/Python_Raspberry_pi.pdf · Python based implementation of Aqua