Giter VIP home page Giter VIP logo

weathermon_sparkcore's Introduction

Spark Core Weather Monitor using BMP085, DHT22, TSL2561 and Sound Sensor

A beginner level sample application to monitor weather. The application reports Temperature, Humidity, Altitude, Dew Point, Luminosity and Sound Level and uses BMP085. DHT22, TSL2561 and a low cost Sound Sensor. The application publishes events in every 1 minute.

###Wiring###

  1. TSL2561 Vcc to 3.3V
  2. TSL2561 GND to GND
  3. TSL2561 SCL to D1
  4. TSL2561 SDA to D0
  5. BMP085 Vcc to 3.3V
  6. BMP085 GND to GND
  7. BMP085 SCL to D1
  8. BMP085 SDA to D0
  9. DHT22 Vcc to 3.3V
  10. DHT22 GND to GND
  11. DHT22 Signal to D4
  12. Sound Sensor Vcc to 3.3V
  13. Sound Sensor GND to GND
  14. Sound Sensor Signal to A0

enter image description here

###How to run the application### Load the sample application into the Spark Core. Open the weathermon.html, enter Core ID, Access Token, Event Name and press Subscribe to Events button.

There are two separate modules in this sample, Spark Core application and HTML page to view the published events. The Spark Core application publishes events in the form sensor name=sensor value|unit. The HTML page uses JavaScript to parse the event data and display values from the sensor. The HTML page first asks Core ID and Access Token and uses this to subscribe to the events.

Screenshots

Initial page asking Core ID and Access Token enter image description here

Sensor display enter image description here

weathermon_sparkcore's People

Contributors

krvarma avatar

Watchers

Mathieu Ruellan 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.