python based implementation of aqua monitoring system using raspberry...
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/1.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/2.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/3.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/4.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/5.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/6.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/7.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/8.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/9.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/10.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/11.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/12.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/13.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/14.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/15.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/16.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/17.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/18.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/19.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/20.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/21.jpg)
![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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/22.jpg)
![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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/23.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/24.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/25.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/26.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/27.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/28.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/29.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/30.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/31.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/32.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/33.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/34.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/35.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/36.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/37.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/38.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/39.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042517/5aa899197f8b9a72188bcc15/html5/thumbnails/40.jpg)