Difference between revisions of "Weather Station Team01"

From eLinux.org
Jump to: navigation, search
(edited)
(EDITED)
 
(9 intermediate revisions by 2 users not shown)
Line 35: Line 35:
  
 
Sensors we used are  
 
Sensors we used are  
Temperature and humidity sensor(SHIT15)
+
Temperature and humidity sensor(SHT15)
  
 
Dallas Temperature sensor(DS18B20)
 
Dallas Temperature sensor(DS18B20)
Line 51: Line 51:
 
Methane sensor(HQ 4)
 
Methane sensor(HQ 4)
  
Temperature and humidity sensor(SHIT15), Dallas Temperature sensor(DS18B20), Altitude and pressure sensor(mpl3115a2), wifi module(esp8266),Temperature and humidity sensor(HIH6130),Infrared temperature sensor, all are well protected we cannot add some outer packing to them because when we tried doing this it was giving us wrong values,eg SHIT15 was giving raised temperature inside the packing.The extra packing which we could only give was keeping all the sensors in a box and making the main sensing equipment exposing out to the environment.
+
Temperature and humidity sensor(SHT15), Dallas Temperature sensor(DS18B20), Altitude and pressure sensor(mpl3115a2), wifi module(esp8266),Temperature and humidity sensor(HIH6130),Infrared temperature sensor, all are well protected we cannot add some outer packing to them because when we tried doing this it was giving us wrong values,eg SHT15 was giving raised temperature inside the packing.The extra packing which we could only give was keeping all the sensors in a box and making the main sensing equipment exposing out to the environment.
  
 
== Installation Instructions ==
 
== Installation Instructions ==
  
Our project [https://github.com/bandarimanojkumar/team1_sensor git repo].  
+
Our project [https://github.com/bandarimanojkumar/team1_sensor git repo].
 +
 
 +
This where you get what all we have done for our project setting up.
 +
If you are using the bone for the first time, refer the [http://elinux.org/BeagleBoardBeginners| ''Beginner's Guide''] for detailed instructions on how to setup your Beaglebone,
 +
 
 +
<br />
 +
'''1. Setting up Proxy''' (''Skip this step if you have a direct connection to the internet'')<br />
 +
 
 +
Any installation or downloads are done via the proxy server, so remember to set the proxy in your BeagleBone(after you install Debian) and host machine. Add the following lines in ''/etc/environment''
 +
http_proxy="http://10.8.0.1:8080"
 +
https_proxy="http://10.8.0.1:8080"
 +
This is the proxy server in [http://iitmandi.ac.in| ''IIT Mandi'']. Set it to point to the proxy server of your university.<br />
 +
 
 +
 
 +
'''2. Installing Debian'''<br />
 +
This project uses a BeagleBone Black running Debian Wheezy. For instructions on how to install, follow the instructions [http://elinux.org/Beagleboard:Debian_On_BeagleBone_Black| here ]<br />
 +
 
 +
 
 +
'''3. Installing required Modules'''<br />
 +
For cloud connectivity, install the 'require' module on the host by running
 +
npm install -g require
 +
<br />
 +
That is what is required for starting up
  
 
== User Instructions ==
 
== User Instructions ==
  
This information will be provided in future as our project is in beginning stage
+
The project we have done has some future aspects also so,we have done in mind of that so what we can give is what we have done in making up the sensors work with beagle bone.
 +
 
 +
Follow these steps, and you're all set!
 +
 
 +
* To get your Beaglebone talking to the web through your computer, refer this link [http://elinux.org/EBC_Setup_Scripts| ''tutorial'']. Some of these steps are repeated  everytime you restart your host. If you have a supported WiFi dongle,memorycard,or any other instrument useful for the making these sensors working please plug them up . Refer this [http://elinux.org/ECE497_Beagle_Bone_WiFi| link] for WiFi setup instructions.
 +
* Wiring diagrams, connections, and source code for this project is available at https://github.com/bandarimanojkumar/team1_sensor
 +
you can also find java script codes for wiring up and running up the sensors
  
 
== Highlights ==
 
== Highlights ==
*The sensors are placed all over our campus to get ideal values
+
*The sensors are placed all over anywhere to get ideal values.
 +
*The sensors which we are using have very less power consumption.
 +
*They are easily portable my meaning they occupy very less space,thereby not giving much problem for us.
 +
*The main advantage is that these values what we are getting are periodically updated in the phant server from where we can take the values and use them and set up a plot for our data and have a statistical data .
  
 
== Theory of Operation ==
 
== Theory of Operation ==
  
This information will be provided in future as our project is in beginning stage
+
I mentioned many sensors in the starting all in some or the other way analog sensors or i2c sensors.I mentioned each and every sensor name side of them so you people could find all the operation things needed here https://www.sparkfun.com/.
 +
 
 +
I will give working ideas and theory of operations  of some sensors used in this project:
 +
 
 +
'''1.Dallas Temperature sensor(DS18B20)'''<br />
 +
 
 +
This is a analog  temperature sensor which is more effective to use as compared to other temperature  sensors it has very good protective coating so we can keep in any place like water etc.The detailed working is given here https://github.com/bandarimanojkumar/team1_sensor and https://www.sparkfun.com/products/11050
 +
 
 +
'''2.Altitude and pressure sensor(mpl3115a2)'''<br />
 +
 
 +
This sensor gives altitude and pressure values very effectively.The operation instructions and working is given here https://github.com/bandarimanojkumar/team1_sensor and https://www.sparkfun.com/products/11084
 +
 
 +
'''3.Temperature and humidity sensor(HIH6130).'''<br />
 +
 
 +
This sensor is useful in measuring temperature and humidity the deatails of operation are given here https://www.sparkfun.com/products/11295 and https://github.com/bandarimanojkumar/team1_sensor
 +
 
 +
'''4.Hydrogen sensor (MQ 8) Methane sensor(MQ 4).'''<br />
 +
 
 +
These sensors are useful in measuring h2 concentration and metane concentration i mentioned both sensors at a time because all the sensors of this type follow similar instructions of working the details are given up here https://www.sparkfun.com/products/10916 ,https://www.sparkfun.com/products/9404 and https://github.com/bandarimanojkumar/team1_sensor
 +
 
 +
 
 +
The theory of operation relies wholly on the operation of the individual components of the project, in this case, on the individual sensors. a More information about the sensors can be found in the links given in the hardware section(in the mentioned link). The individual sensors detect data and sends it to the Beaglebone. The bone then transforms this data into a suitable format and uploads it to a central server.
  
 
== Work Breakdown ==
 
== Work Breakdown ==
  
This information will be provided in future as our project is in beginning stage
+
Major tasks involved in the making of this project were:
 +
#Interfacing the sensors to the Beaglebone
 +
#Setting up sensors in specified locations and gathering information regularly
 +
#Sending gathered data to centralized server - work with server team
 +
#Documentation of project
 +
#setting up the codes of all sensors(analog and i2c) code together in a single code so that we can send the values to the phant server
 +
 
 +
Each task was completed as a collective effort of all the team members. The total number of hours spent on making this project is around104.
 +
 
 +
The individual contributions are:
 +
{| class="wikitable"
 +
|-
 +
! Task no. !! Sadwith gogula !! Manoj !! Nitin
 +
|-
 +
| Task 1 || 38% || 35% || 27%
 +
|-
 +
| Task 2 || 33% || 33% || 34%
 +
|-
 +
| Task 3 || 35% || 35% || 30%
 +
|-
 +
| Task 4 || 34% || 29% || 37%
 +
|-
 +
| Task 5 || 29% || 34% || 37%
 +
|}
 +
<br />
  
 
== Future Work ==
 
== Future Work ==
*To learn to use various sensors with beagle bone
+
*To learn to use various sensors with beagle bone.
*To use WiFi module to connect all sensors together
+
*To choose ideal locations to place the sensors.
*To choose ideal locations to place the sensors  
+
*To choose a correct method to analyse the data received from all sensors.
*To choose a correct method to analyse the data received from all sensors
+
*An apparatus could be set-up for measuring the wind speed in the campus.The setup could be located on the rooftop of any tall building, like the academic building or the faculty quarters.
 +
*Some times there will be no power to the sensors so the data values to the server gets stopped so we have to create a back up system for this problem.
 +
* A soil moisture sensor can be used along with the sensor network to predict when plants need watering, and to keep a check on it.
 +
* The bone and sensor array can be packaged into a single module which is weather-proof and battery powered.
 +
* We could build an app to collect data automatically from the cloud and display it on a mobile device, with alarm triggers, to detect fires or storms.
  
 
== Conclusions ==
 
== Conclusions ==
Its just a beginning ........
+
This one of the project we have thinking to do for so many long days at last with help of Mr M.A yoder we have successfully completed the project.
 +
Completing the project was not easy but the basics which we have learnt in the class very useful in working with the sensors.At last we happy to know that we are well aware all different sensors and make them work at any point in our life.We will for sure use what we have learnt is extending our project forward and make this Knowledge useful in future.  
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 
{{YoderFoot}}
 
{{YoderFoot}}

Latest revision as of 03:19, 27 November 2015

Team members: Karre Nitin,Manoj Kumar,Sadwith gogula

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

(Inline Comment)

Executive Summary

This project involves setting up sensors of different kind around our campus (IIT Mandi) and collecting the data for further analysis. The sensors are of various kinds like temperature, pressure, altitude, anemometer, rainfall, gas sensors. There will be multiple sensors of each type , collecting data after every few minutes and then going off to sleep. The data collected by sensors is send to a server over WiFi and most reasonable values are selected and graph plots are displayed over the internet on a website or web-portal.

A simple prototype has been built that has been gathering temperature and pressure data on a Beagle Bone and logging the data on a separate server since 18-Aug-2015 by Mr.Mark. The current data can be seen here.

The data received from different sensors widely differ from the actual values.

Packaging

Sensors we used are Temperature and humidity sensor(SHT15)

Dallas Temperature sensor(DS18B20)

Altitude and pressure sensor(mpl3115a2)

wifi module(esp8266)

Temperature and humidity sensor(HIH6130)

Infrared temperature sensor

Hydrogen sensor (HQ 8)

Methane sensor(HQ 4)

Temperature and humidity sensor(SHT15), Dallas Temperature sensor(DS18B20), Altitude and pressure sensor(mpl3115a2), wifi module(esp8266),Temperature and humidity sensor(HIH6130),Infrared temperature sensor, all are well protected we cannot add some outer packing to them because when we tried doing this it was giving us wrong values,eg SHT15 was giving raised temperature inside the packing.The extra packing which we could only give was keeping all the sensors in a box and making the main sensing equipment exposing out to the environment.

Installation Instructions

Our project git repo.

This where you get what all we have done for our project setting up. If you are using the bone for the first time, refer the Beginner's Guide for detailed instructions on how to setup your Beaglebone,


1. Setting up Proxy (Skip this step if you have a direct connection to the internet)

Any installation or downloads are done via the proxy server, so remember to set the proxy in your BeagleBone(after you install Debian) and host machine. Add the following lines in /etc/environment

http_proxy="http://10.8.0.1:8080"
https_proxy="http://10.8.0.1:8080"

This is the proxy server in IIT Mandi. Set it to point to the proxy server of your university.


2. Installing Debian
This project uses a BeagleBone Black running Debian Wheezy. For instructions on how to install, follow the instructions here


3. Installing required Modules
For cloud connectivity, install the 'require' module on the host by running

npm install -g require


That is what is required for starting up

User Instructions

The project we have done has some future aspects also so,we have done in mind of that so what we can give is what we have done in making up the sensors work with beagle bone.

Follow these steps, and you're all set!

  • To get your Beaglebone talking to the web through your computer, refer this link tutorial. Some of these steps are repeated everytime you restart your host. If you have a supported WiFi dongle,memorycard,or any other instrument useful for the making these sensors working please plug them up . Refer this link for WiFi setup instructions.
  • Wiring diagrams, connections, and source code for this project is available at https://github.com/bandarimanojkumar/team1_sensor

you can also find java script codes for wiring up and running up the sensors

Highlights

  • The sensors are placed all over anywhere to get ideal values.
  • The sensors which we are using have very less power consumption.
  • They are easily portable my meaning they occupy very less space,thereby not giving much problem for us.
  • The main advantage is that these values what we are getting are periodically updated in the phant server from where we can take the values and use them and set up a plot for our data and have a statistical data .

Theory of Operation

I mentioned many sensors in the starting all in some or the other way analog sensors or i2c sensors.I mentioned each and every sensor name side of them so you people could find all the operation things needed here https://www.sparkfun.com/.

I will give working ideas and theory of operations of some sensors used in this project:

1.Dallas Temperature sensor(DS18B20)

This is a analog temperature sensor which is more effective to use as compared to other temperature sensors it has very good protective coating so we can keep in any place like water etc.The detailed working is given here https://github.com/bandarimanojkumar/team1_sensor and https://www.sparkfun.com/products/11050

2.Altitude and pressure sensor(mpl3115a2)

This sensor gives altitude and pressure values very effectively.The operation instructions and working is given here https://github.com/bandarimanojkumar/team1_sensor and https://www.sparkfun.com/products/11084

3.Temperature and humidity sensor(HIH6130).

This sensor is useful in measuring temperature and humidity the deatails of operation are given here https://www.sparkfun.com/products/11295 and https://github.com/bandarimanojkumar/team1_sensor

4.Hydrogen sensor (MQ 8) Methane sensor(MQ 4).

These sensors are useful in measuring h2 concentration and metane concentration i mentioned both sensors at a time because all the sensors of this type follow similar instructions of working the details are given up here https://www.sparkfun.com/products/10916 ,https://www.sparkfun.com/products/9404 and https://github.com/bandarimanojkumar/team1_sensor


The theory of operation relies wholly on the operation of the individual components of the project, in this case, on the individual sensors. a More information about the sensors can be found in the links given in the hardware section(in the mentioned link). The individual sensors detect data and sends it to the Beaglebone. The bone then transforms this data into a suitable format and uploads it to a central server.

Work Breakdown

Major tasks involved in the making of this project were:

  1. Interfacing the sensors to the Beaglebone
  2. Setting up sensors in specified locations and gathering information regularly
  3. Sending gathered data to centralized server - work with server team
  4. Documentation of project
  5. setting up the codes of all sensors(analog and i2c) code together in a single code so that we can send the values to the phant server

Each task was completed as a collective effort of all the team members. The total number of hours spent on making this project is around104.

The individual contributions are:

Task no. Sadwith gogula Manoj Nitin
Task 1 38% 35% 27%
Task 2 33% 33% 34%
Task 3 35% 35% 30%
Task 4 34% 29% 37%
Task 5 29% 34% 37%


Future Work

  • To learn to use various sensors with beagle bone.
  • To choose ideal locations to place the sensors.
  • To choose a correct method to analyse the data received from all sensors.
  • An apparatus could be set-up for measuring the wind speed in the campus.The setup could be located on the rooftop of any tall building, like the academic building or the faculty quarters.
  • Some times there will be no power to the sensors so the data values to the server gets stopped so we have to create a back up system for this problem.
  • A soil moisture sensor can be used along with the sensor network to predict when plants need watering, and to keep a check on it.
  • The bone and sensor array can be packaged into a single module which is weather-proof and battery powered.
  • We could build an app to collect data automatically from the cloud and display it on a mobile device, with alarm triggers, to detect fires or storms.

Conclusions

This one of the project we have thinking to do for so many long days at last with help of Mr M.A yoder we have successfully completed the project. Completing the project was not easy but the basics which we have learnt in the class very useful in working with the sensors.At last we happy to know that we are well aware all different sensors and make them work at any point in our life.We will for sure use what we have learnt is extending our project forward and make this Knowledge useful in future.






thumb‎ Embedded Linux Class by Mark A. Yoder