Remote-sensor-network
Embedded Linux Class by Mark A. Yoder
Team members: (Sensor Team 02) Kansul Mahrifa, Ahmed Karanath and Thejas Babu.
Contents
Grades
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
Want to know what temperature is it outside? Or wether you need your coat/sunglasses when you go out? The Weather Station Project collects weather info from locations around the Kamand campus and gives real-time insights. Know how warm it is in the mess, or how hot it is in the boy's hostel. A variety of sensors (temperature, humidity, carbon monoxide concentration, et cetera) are interface with a Beagle bone, which sends the data to the cloud.
This project is mainly focused on the sensors for gathering weather related information. The primary objectives include sensing the weather related information in and around the campus and transmitting the collected information to the server.
Packaging
These are the hardware used for this project:
- BeagleBone Black
- Temperature and humidity sensor(HTU21D)
- Carbon monoxide concentration sensor (MQ7)
- Barometric pressure sensor (BMP180)
- Realtek WiFi module (RTL8188CU)
- Breadboard, a couple of wires and resistors.
Installation Instructions
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's all we need to get started!
User Instructions
This project is pretty easy to setup. Follow these steps, and you're all set!
- To get your Beaglebone talking to the web through your computer, refer this awesome tutorial. Some of these have to be done everytime you restart your host. If you have a supported WiFi dongle, plug it in and you're good to go. Refer this link for WiFi setup instructions.
- Wiring diagrams, connections, and source code for this project is available at https://github.com/mkanz/the-sensor-team-2.
Highlights
This local weather station is
- Lightweight and small in size
- Portable
- Consumes very little power
The best part is you can access your data from anywhere in the world! Go out of town and pull up a link to see how things are like at campus. Or find out if you need to get that extra jacket when you come back.
Theory of Operation
The sensors used in this project are: 1.HTU21D - Temperature and humidity sensor This is an i2c sensor that gives temperature and humidity readings. Pretty accurate, but not all that stable.
2.MQ7 - carbon monoxide sensor An analog sensor that gives relative values of Carbon Monoxide concentration in the air. requires preheating and cyclic heating. We weren't able to calibrate it since we didn't have any CO environment in the campus. It is a dangerous gas and exercise caution while calibrating.
3.BMP180 -Barometric pressure sensor"" Another i2c sensor which gives raw pressure readings.
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. a More information about the sensors can be found in the links given in the hardware section. 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:
1) Interfacing the sensors to the Beaglebone
2) Setting up sensors in specified locations
3) Sending gathered data to centralized server - work with server team
4) Documentation of project
Tasks 1 and 4 are ongoing as of now. Tasks 2 and 3 will be done on completion of task 1.
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, like the academic building or the faculty quarters. Another suggestion is using the soil moisture sensor along with the sensor network to predict when plants need watering, and to keep a check on it.
Conclusions
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 locations in the campus.
Embedded Linux Class by Mark A. Yoder