CS404 Data Display of Weather station

From eLinux.org
Revision as of 12:54, 26 November 2015 by Gopalkriagg (talk | contribs) (User Instructions)
Jump to: navigation, search

thumb‎ Embedded Linux Class by Mark A. Yoder

Team Members:
1. Gopal Krishan Aggarwal
2. Siddhartha G
3. Sri Venkat

Grading Template

I'm using the following template to grade. Each slot is 10 points. 0 = Missing, 5=OK, 10=Wow!

00 Executive Summary
00 Installation Instructions 
00 User Instructions
00 Highlights
00 Theory of Operation
00 Work Breakdown
00 Future Work
00 Conclusions
00 Demo
00 Not Late
Comments: I'm looking forward to seeing this.

Score:  00/100

Executive Summary

The goal of the parent project - Local Weather Station through Remote Sensor Network, under which this projects comes, was to build and deploy a remote data network to gather environmental data from around campus and display it on a standard web interface. It is based on a model using a central server with sensors (temperature, humidity, pressure, etc.) attached to remote clients. The clients use wifi and/or Ethernet to report data back to the server. A wide range of remote clients were considered (BeagleBone, Arduino, ESP8266, etc.) making it easy to interface other types of clients in the future. Phant is used to implement the server. It presents the data in graphical form on a web server through Plotly.

Our roal: We displayed the gathered data in a human consumable form. The displayed data is interactive i.e. users are able to zoom in, to see data of higher resolutions of time and interact in many more ways - thanks to Plotly javascript library. Extensive use of jQuery has been done to add additional features to webpage, like automatic refreshing to fetch only latest datapoints, option to toggle annotations, add new annotations, view last 24 hours, last week and last months data. Option to report a problem becomes activated if latest data is not coming. Three parameters temperature, pressure and humidity are plotted.


[Doubts as to what will go here]

Installation Instructions

User does not need to install anything to view the plots and related stuff. A good web-browser with javascript enabled is all that is required.

User Instructions

The displayed can be seen here. It may not be visible to people outside IIT Mandi's network.

Latest weather conditions can be seen on second line in the image below:
{Insert Image here}
Initially past 1 month's data is fetched which take considerable time to load(about 20 seconds normally). This is plotted as shown in the graph above. User can on the first page see Temperature and Pressure Plots. Graph is properly labelled and hovering over data points brings up the corresponding data points values in the form of annotations. User can click on right side on Pressure or Temperature which toggles the corresponding plot's visibility. Double clicking zooms out of the graph. Data is displayed according to local time standard. By clicking on the buttons below user can toggle between last month, last week or last 24 hours' plot.
Annotations can be toggled by clicking on the toggle button.
User can add annotations to the plot which will be saved on the server and will be displayed to anyone who later opens the website.
The plot is automatically refreshed every 1 minute but user can do this manually too by clicking the refresh button.
User can see Humidity and Temperature plot by clicking on corresponding link which opens up a different webpage.


In a vast campus like ours, seldom are the temperature readings consistent at different places. Hence, it is our objective to gather weather inputs at several points in the campus and then deduce the mean of these readings to get a generalised value. In addition to this, we are interested in generating the statistical figures such as standard deviations and graphs for the weather changes, in the campus.

Theory of Operation

The theory of operation relies wholly on the operation of the individual components of the project, in this case, on the individual sensors and the wifi module.

Work Breakdown

Future Work

We would try and install a suitable set-up for measuring the wind speed in the campus. The setup could be located on the rooftop of any tall building.


As of now, we have done the groundwork to deal with the sensors and wifi module handed over to us. In the near future, we are planning to install sensor apparatus in a few whereabouts in the campus.

thumb‎ Embedded Linux Class by Mark A. Yoder