An Open Source Hardware & Software Online Grid of Weather Stations for Sri Lanka

of 30 /30
UoMilan - OSHW Chemin, Bandara Introduction Early Prototyping Rationale δT Tower δT parts δT Setup MWS Tower Power Supply Wind Sensors Raingauge 1 Raingauge 2 Electronics Weather Shield Set up Software Arduino IDE istSOS PyWPS Conclusions An Open Source Hardware & Software Online Grid of Weather Stations For Sri Lanka Yann Chemin, Niroshan Bandara International Water Management Institute Univ. of Moratuwa, Fac. of Archi., Town & Country Planning Dept. April 25th, 2015

Embed Size (px)

Transcript of An Open Source Hardware & Software Online Grid of Weather Stations for Sri Lanka

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    An Open Source Hardware & SoftwareOnline Grid of Weather Stations

    For Sri Lanka

    Yann Chemin, Niroshan Bandara

    International Water Management Institute

    Univ. of Moratuwa, Fac. of Archi., Town & Country Planning Dept.

    April 25th, 2015

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Contents

    Introduction

    Early PrototypingRationaleT TowerT partsT Setup

    MWS TowerPower SupplyWind Sensors

    Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

    SoftwareArduino IDEistSOSPyWPS

    Conclusions

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    CGIAR

    Consultative Group for International Agricultural ResearchRatified on October 2nd, 2013Full Open Access & Open SourceResearch data and publication

    I International PublicGoods

    I Public Domain

    I Publications Open Access

    I FOSS models andalgorithms

    2018: all 15 CG centres, already FOSS4G Lab:(gsl.worldagroforestry.org)

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Outline

    Introduction

    Early PrototypingRationaleT TowerT partsT Setup

    MWS TowerPower SupplyWind Sensors

    Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

    SoftwareArduino IDEistSOSPyWPS

    Conclusions

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Overview

    For agricultural and hazard monitoring, WMO-level accuracyof weather data is not needed. We are introducing a low-costweather station based on Arduino for extending the Na-tional network of the Meteorological Department in Sri Lanka.

    I Low-cost, locally-made, OSHW weather station

    I National Distributed Monitoring Grid

    I Online Aggregation

    I Mobile/Web Apps

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Outline

    Introduction

    Early PrototypingRationaleT TowerT partsT Setup

    MWS TowerPower SupplyWind Sensors

    Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

    SoftwareArduino IDEistSOSPyWPS

    Conclusions

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Rationale

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Rationale

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Rationale

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Open Source Hardware Micro Weather Station v0Micro Weather Station v0:Temperature Profiler for ET models calibration

    I Arduino Pro 3.3VI Water-proof Digital Temperature SensorsI Li-ion Battery + Solar PanelI OpenLog data logger with SD cardI Cost < 100 USD

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Open Source Hardware Micro Weather Station v0

    OpenLog + Arduino Pro

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    MWS Setup

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    T Setup

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Outline

    Introduction

    Early PrototypingRationaleT TowerT partsT Setup

    MWS TowerPower SupplyWind Sensors

    Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

    SoftwareArduino IDEistSOSPyWPS

    Conclusions

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Open Source Hardware Micro Weather Station v1Micro Weather Station v1:Meteorological support for Irrigation Department in SriLanka, for faster management of rural reservoirs spilling incase of high rain intensity.

    I Lakduino (www.lakduino.com)I Weather Sensor BoardI GPRS Modem BoardI Data logger with 8/16Gb micro-SD cardI Moto battery + Solar Panel

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Open Source Hardware Micro Weather Station v0

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Wind Sensors

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Raingauge 1

    Chinese made raingauge 3D viewfrom scion.lk

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Raingauge 2

    Public Domain, locally-designed rain gaugehttps://grabcad.com/library/rain-gauge-design-1

    from scion.lk

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Electronics

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Weather Shield

    Made in country by a local SME in electronics.Picture credit: Neil Palmer (IWMI)

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Set up

    Picture credit: Niroshan Bandara (UoM)

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Outline

    Introduction

    Early PrototypingRationaleT TowerT partsT Setup

    MWS TowerPower SupplyWind Sensors

    Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

    SoftwareArduino IDEistSOSPyWPS

    Conclusions

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Arduino IDE

    Arduino IDE (http://arduino.cc) with source code foraccessing sensors and data logging.

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    istSOSI OGC SOS server implementation written in Python.

    I Sensor Observation Service standard.

    I Manage and dispatch observations from monitoringsensors

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    PyWPS

    Developed by Jachym Cepicky (http://les-ejk.cz/)

    I OGC WPS standard

    I Server side

    I Written in Python Language

    I Version 4 in the making

    I v4 Low-level API: integration withGRASS GIS

    I v4 Possible pyGRASS support

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    PyWPS system used in FESS study

    PyWPS v2 style

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Outline

    Introduction

    Early PrototypingRationaleT TowerT partsT Setup

    MWS TowerPower SupplyWind Sensors

    Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

    SoftwareArduino IDEistSOSPyWPS

    Conclusions

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Conclusions

    An Open Source Hardware/SoftwareLow-Cost Weather Station

    I Arduino: Micro-controller

    I Sensors: Rain, wind, temperature, humidity

    I Local: 80+% made in the country of use by SMEs

    I Local: Maintenance & spare parts with local SMEs

    I Local: Local shop sells rural solar power kit

    I Local: Local blacksmith for steel work

    We work with a rural tank manager from irrigationdepartment for realtime rain alerts.Red Cross is evaluating the concept for a project in Togo.Other countries are evaluating for other applications.

  • UoMilan - OSHW

    Chemin, Bandara

    Introduction

    Early Prototyping

    Rationale

    T Tower

    T parts

    T Setup

    MWS Tower

    Power Supply

    Wind Sensors

    Raingauge 1

    Raingauge 2

    Electronics

    Weather Shield

    Set up

    Software

    Arduino IDE

    istSOS

    PyWPS

    Conclusions

    Thank You

    IntroductionEarly Prototyping MWS TowerSoftwareConclusions