Skip to content

datduyng/particle-iot-weather-station

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather station

Section

Overview

  • This project interact the particle with thingspeak.
  • Particle electron module will retrieve data from weather shield via I2C bus
  • In the front end, Thingspeak will receive the data from weather shield and from OpenWeathermap Database
  • User will view the most accurate data averaging from all channel.
  • Public Thingspeak channel can be view Here
  • front end of project overview(refer to picture)

data

Working Flowchart

weatherstationflowchart

Components

Wiring

528e2775757b7fb0668b4567

  • plug the 2 wire that control the windspeed and rain sensor to the weather shield
  • additionaly
    • SDA(arduino) -> SDA(electron-pinD0)
    • SCL(arduino) -> SCL(electron-pinD1)

troubleshooting on wiring process

Interact with thingspeak

  • https://thingspeak.com/
  • create an account
  • create a channel
  • go to channel setting
  • create more field(a channel- data get send from your device to thingspeak)

thingspeak

  • In my sketch, I use field 4,5,6 for example.
  • note: make sure your field number match with field number on thingspeak.
  • access to [email protected]() for more example code .

matlab visualization app

  • example of matlab code that graph 2 field with filled area

filledgraph

matlab analysis app

  • this app allow you to run a program
  • retrieve data using matlab given a period of time
  • retrieve data from field.
  • example show a matlab program that calculate and display avaerage humidity

TimeControl app

example code

Data export

  • Thingspeak allow you to export your data from fields to diffrence format(JSON,XML,CSV)
  • simply click "Public view" or "Private view" then click on "Data Export"

Other feature

interact with firebase(DB)

What other people have done?