Git Product home page Git Product logo

weatherstation's Introduction

WeatherStation

Open source weatherstation developed in IoT style. Publishes data to PlotLy and local web server.

The bread board illustration

Sensors

The station is based on Rasberry Pi Zero platform, which means that almost any digital sensor can be easily integrated into the platform. With additional ADC modules, analog sensors could also be included.

Temperature

The current version has two temperature probes (more can be easily added). The probes are based on DS18b20 digital sensor and should be accurate within 0.5C in -10C to 85C range.

Humidity

Humidity is measured insie the case and utilises DHT11 digital temperature sensor. This sensor is accurate to 5% with in 20%-80% range.

Pressure

The pressure is measured with BMP180 which is capable of sensing pressure changes as low as 0.02 hPa, which means that altitude changes of 0.17m could be detected. The pressure sensor is also placed inside the case.

Usage

The weatherstation should be paired with a corresponding mini wifi router so that it automatically connects to it. Once connected, it will automatically pull the latest code version from this GitHub repository and start publishing data to its own webserver and to plotly.

Viewing the data

The data can be viewed at https://plot.ly/dashboard/BeckyWeather:10/view by anyone. The internal web server can be accessed from the mini routers wifi network and can be seen at http://192.168.8.100

Configuring

The main script of the program is fairly rudimentary and more of a proof of concept, but it does offer few options for configuring the data. The most important value affecting the usage is the

resolution_secs = 5

Parameter which determines how often the data is captured. This affects how much history is retained as plotly supports roughly 10 000 data points and the internal web server holds roughly 10 times more. Increasing this delay will make the data more sparse and enables the user to see much further into the history but hides weather events that happen quickly.

Schematic

The actual construction of this particular project was done on a strip board but any type of prototype board will do. Solderless breadboards are recommended for the prototyping phase.

The schematic of the project can be found below: The bread board illustration

weatherstation's People

Contributors

joonasmelin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.