Skip to content
/ wifi_ws Public

WiFi Weather Station is to measure the temperature, humidity and battery status in real time with sensors and then transmits the data wirelessly via WiFi to Firebase and displays it using REACT.JS to produce live results displaying on a website interface.

Notifications You must be signed in to change notification settings

DKMitt/wifi_ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WiFi Weather Station

WiFi Weather Station is to measure the temperature and humidity in real time with sensors and then transmit the data wirelessly via WiFi to Firebase, a real-time cloud database, and then display the data by various web technologies in a website interface.

WiFi Weather Station

Project Status - Working, last updated 9/27/2017


Table of Contents

  • WiFi Weather Station Description
  • Features to have
  • Features to create if time or for future uses
  • Hardware used
  • Technologies used
  • How the app should work
  • How to use this app
  • File and directory structure
  • Revision history

WiFi Weather Station Description

App & Device can be used to monitor weather conditions in agricultural, industrial or commercial applications and can be expanded to monitor numerous other types of data according to the need of the client, market and by sensors available.

Project is to measure the temperature and humidity in real time with sensors and then transmit the data via WiFi to Firebase, a real-time cloud database, and then display the data with various web technologies in a website interface.

WiFi Weather App

WiFi Weather App

Features to have:

  • Use Firebase (a Backend-as-a-Service cloud storage), to store data on its real-time database to log data of temperature & humidity via WiFi
  • Viewable results by a website interface
  • Real time temperature and humidity monitoring as polled from sensor
  • Battery powered, portable device
  • Battery voltage divider, for monitoring battery voltage level - 9/12/2017

Features to create if time or for future uses:

  • Data logging of additional sensors (to display for the use in a variety of industries such as Agricultural, industrial or commercial Applications)
  • Weather forecasting provided by 3rd party source by API
  • Device location via GPS
  • Solar powered battery source to extend battery life

Hardware for project

Parts Used

  • Adafruit Feather HUZZAH ESP8266 development board with built in USB and battery charging click for image

  • DHT-11 digital temperature and humidity sensor click for image

  • 10K Ohm Resistor, 5%, 1/4 watt, Color code: Brown, Black, Orange, Gold click for image

  • 220K Ohm Resistor, 5%, 1/4 watt, Color code: Red, Red, Yellow, Gold click for image

  • 1M Ohm Resistor, 5%, 1/4 watt, Color code: Brown, Black, Green, Gold click for image

WiFi Weather Station Breadboard Layout
WiFi Weather Station Breadboard Layout

Schematic of layout

WiFi Weather Station Breadboard Layout

Code used for programming the Adafruit Feather HUZZAH ESP8266 board is located in the directory feather_huzzah_esp8266_code.

I will not be covering how to or about the code portion of the Adafruit Feather HUZZAH ESP8266 board in this description but may at some point include a separate write up on how to do that.

Technologies used for website

Description of technologies used to develop this app.

  • REACT Router 4.1.1

  • REACT.JS based using create-react-app, currently it is a thin layer on top of many amazing community projects, such as:

  • webpack with webpack-dev-server, html-webpack-plugin and style-loader Babel with ES6 and extensions used by Facebook (JSX, object spread, class properties)

  • Autoprefixer

  • Jest

  • ESLint

  • All of them are transitive dependencies of the provided npm package.

Dependecies

firebase: 4.1.3,
react: 15.6.1,
react-dom: 15.6.1,
react-router: 4.1.1,
react-router-dom: 4.1.1

How to use this app

Description of how to use the app

To start the app use the following command

"npm start" - this Runs the app in development mode.

Open http://localhost:3000 to view it in the browser.


File and directory structure

.
├── feather_huzzah_esp8266_code
│   │
│   ├── weatherStationESP8266.ino
│   │
│   ├── weatherStationESP8266-ep.ino
│   │
│   └── wsESP8266-DHT11-Firebase.ino
│ 
├── public
│   │
│   ├── assets
│   │   │
│   │   └── img
│   │       │
│   │       ├── adafruit_feather_Huzzah_ESP8266_v1_1.jpg
│   │       │
│   │       ├── adafruit-feather-huzzah-esp8266.jpg
│   │       │
│   │       ├── DHT11-Blowup.png
│   │       │
│   │       ├── ESP8266-DHT11.jpg
│   │       │
│   │       ├── schematic-1.jpg
│   │       │
│   │       ├── single1mOhm.jpg
│   │       │
│   │       ├── single10kOhm.jpg
│   │       │
│   │       ├── single220kOhm.jpg
│   │       │
│   │       ├── smart-farm.jpg
│   │       │
│   │       ├── wifiws-data.jpg
│   │       │
│   │       └── wifiws-home.jpg
│   │
│   ├── favicon.ico
│   │
│   ├── index.html
│   │
│   └── manifest.json
│
├── src
│   │
│   ├── img
│   │   │
│   │   ├── ESP8266-DHT11.jpg
│   │   │
│   │   └── smart-farm.jpg
│   │
│   ├── manifest.json
│   │
│   ├── About.js
│   │
│   ├── App.css
│   │
│   ├── App.js
│   │
│   ├── App.test.js
│   │
│   ├── Data.jss
│   │
│   ├── Home.js
│   │
│   ├── index.css
│   │
│   ├── index.js
│   │
│   └── registerServiceWorker.js
│ 
├── .gitignore
│
├── package.json
│
├── package-lock.json
│
└── README.md            

Revision History

Description of revisions made to the app - Working, last updated 9/12/2017

  • hardware layout - 7/2/2017
  • hardware prototype assembly - 7/5/2017
  • Battery voltage divider added, for monitoring battery voltage level - 9/12/17
  • hardware coding & embedding - updated 9/27/17
  • cloud database creation - 7/9/17
  • configure to send data to database - updated 7/19/17
  • testing data sending to database - updated 7/19/17
  • file and directory structure creation - updated 7/5/2017
  • website wire framing - 7/5/17
  • website coding - updated 7/19/17
  • file and directory structure cleanup - updated 7/19/17
  • final testing - updated 7/19/17

About

WiFi Weather Station is to measure the temperature, humidity and battery status in real time with sensors and then transmits the data wirelessly via WiFi to Firebase and displays it using REACT.JS to produce live results displaying on a website interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published