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

Transcript
Page 1: 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

Page 2: 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

Contents

Introduction

Early PrototypingRationaleδT TowerδT partsδT Setup

MWS TowerPower SupplyWind Sensors

Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

SoftwareArduino IDEistSOSPyWPS

Conclusions

Page 3: 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

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)

Page 4: 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

Outline

Introduction

Early PrototypingRationaleδT TowerδT partsδT Setup

MWS TowerPower SupplyWind Sensors

Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

SoftwareArduino IDEistSOSPyWPS

Conclusions

Page 5: 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

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

Page 6: 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

Outline

Introduction

Early PrototypingRationaleδT TowerδT partsδT Setup

MWS TowerPower SupplyWind Sensors

Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

SoftwareArduino IDEistSOSPyWPS

Conclusions

Page 7: 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

Rationale

Page 8: 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

Rationale

Page 9: 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

Rationale

Page 10: 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

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

I Arduino Pro 3.3V

I Water-proof Digital Temperature Sensors

I Li-ion Battery + Solar Panel

I OpenLog data logger with SD card

I Cost < 100 USD

Page 11: 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

Open Source Hardware Micro Weather Station v0

OpenLog + Arduino Pro

Page 12: 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

MWS Setup

Page 13: 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

δT Setup

Page 14: 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

Outline

Introduction

Early PrototypingRationaleδT TowerδT partsδT Setup

MWS TowerPower SupplyWind Sensors

Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

SoftwareArduino IDEistSOSPyWPS

Conclusions

Page 15: 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

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

Page 16: 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

Open Source Hardware Micro Weather Station v0

Page 17: 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

Wind Sensors

Page 18: 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

Raingauge 1

Chinese made raingauge 3D viewfrom scion.lk

Page 19: 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

Raingauge 2

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

from scion.lk

Page 20: 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

Electronics

Page 21: 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

Weather Shield

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

Page 22: 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

Set up

Picture credit: Niroshan Bandara (UoM)

Page 23: 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

Outline

Introduction

Early PrototypingRationaleδT TowerδT partsδT Setup

MWS TowerPower SupplyWind Sensors

Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

SoftwareArduino IDEistSOSPyWPS

Conclusions

Page 24: 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

Arduino IDE

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

Page 25: 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

istSOSI OGC SOS server implementation written in Python.

I Sensor Observation Service standard.

I Manage and dispatch observations from monitoringsensors

Page 26: 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

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

Page 27: 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

PyWPS system used in FESS study

PyWPS v2 style

Page 28: 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

Outline

Introduction

Early PrototypingRationaleδT TowerδT partsδT Setup

MWS TowerPower SupplyWind Sensors

Raingauge 1Raingauge 2ElectronicsWeather ShieldSet up

SoftwareArduino IDEistSOSPyWPS

Conclusions

Page 29: 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

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.

Page 30: 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

Thank You