Anda di halaman 1dari 3

IAETSD JOURNAL FOR ADVANCED RESEARCH IN APPLIED SCIENCES, VOLUME 4, ISSUE 1, JAN-JUNE /2017

ISSN (ONLINE): 2394-8442

A Novel approach for Logging Environment Parameters from


different Locations using Raspberry Pi
Ashutosh Mokashi [1], Abhishek Soudagar [2], Akash Hanjagi [3], Bahubali Ugare [4] , Prof. Sunil Hebbale [5]
[1, 2, 3, 4, 5]
CSE Department, KLE College of Engineering and Technology, Chikodi, Karnataka, India
akashhanjagi@gmail.com

ABSTRACT.
The aim of this paper is to propose a system that measures the different environmental parameters, such as
temperature, humidity and Carbon-Mono Oxide concentration, from different locations using Raspberry Pi. This system
displays the information of the environmental parameters on the users mobile or computer system. The literature survey of some
existing system shows that these environmental parameters are taken from whole city but not a specific location and the existing
system are not real time. Our system gives these environmental parameters at real time and of a specific location where the
system is implemented. This in turn would be helpful for the Asthma patient to know these environmental parameters if they are
to travel to that place, so that they can go to the specific place with preparation. The system is low-cost and highly scalable both
in terms of the type of sensors and the number of sensor nodes, which makes it well suited for a wide variety of applications
related to environmental monitoring.

Keywords: Environmental parameter logging.

1. INTRODUCTION
With over a decade of intensive research and development, wireless sensor network technology has been emerging as a viable solution to many
innovative applications. Early works on sensor networks and cyber physical systems have been focused on the development of enabling
technologies by addressing a myriad of technical challenges such as multi-hop routing, communication abstractions, middleware and operating
systems (OS), and semantic abstractions and sharing of data.

The sensor network hardware platforms are basically low-power embedded microcontroller systems with some onboard sensors and analog
I/Oports to connect sensors [1] . A suite of software components also need to be developed, including OS, sensor/hardware drivers, networking
protocols, and application-specific sensing and processing algorithms. Our system is designed using a Raspberry Pi a credit card sized computer.
Such a design has the advantages of low cost, easy to build, and easy to maintain, as compared to some earlier designs.

2. LITERATURE SURVEY
Ruchi Mittal and Bhatia propose a system in which they detect irregular patterns of sensory data with respect to time and space. They
design a system which continuously queries and monitors sensor data to detect any deviations from the norm. This is essential in detecting a
faulty sensor node and ensuring it can be quickly replaced. This system is especially helpful when detecting environmental activity like forest re.
In order to achieve desired results [2], Data preprocessing and sensor data clustering is used. In data preprocessing, the sensor data is cleaned by
putting in missing values and removing any unwanted data. Mittal and Bhatia analyzed this data cluster by plotting data, comparing them against
expected/predicted patterns and detect anomalies.

Ye and Wang in have a WSN system which is based on IRIS mote hardware platform which consists of AT mega 128 microprocessor, a RF230
radio chip and external ash memory for over the air programming. The sensors are programmed to collect and deliver sensor data periodically.
Sensor data is sent on an event basis, which means that whenever there is a sudden change in the environment, the sensor data is sent. However,
the sensors are always listening [3], i.e. they wait for changes in environment and report only once a drastic change is detected. These sensors are
user-denied and act based on requirement. The Sensors used are barometric pressure, ambient temperature, humidity, wind direction, wind
speed, and rainfall sensors. Once data from all the nodes are collected, this information is transmitted to a local base station (AT mega 128)
through multi-hop transmission. This data is stored in an embedded database SQLite3 and displayed on a web-page using TCP/IP. Ye and Wang
extend the WSN to include ZigBee technology as the wireless medium. ZigBee is a wireless standard based on IEEE802.15.4 which is low cost,
low power, low data rate and more importantly, highly reliable and secure medium of networking. The WSN is built using a coordinator node
and several sensor nodes, a workstation and a database. Raw sensor data is collected from multiple nodes.

To Cite This Article: Ashutosh Mokashi, Abhishek Soudagar, Akash Hanjagi, Bahubali Ugare and Prof. Sunil
Hebbale,. A Novel approach for Logging Environment Parameters from different Locations using
Raspberry Pi. Advances in Natural and Applied Sciences ;Pages: 181-183
182. Ashutosh Mokashi, Abhishek Soudagar, Akash Hanjagi, Bahubali Ugare and Prof. Sunil Hebbale,. A Novel approach for
Logging Environment Parameters from different Locations using Raspberry Pi. Advances in Natural and Applied
Sciences; Pages: 181-183

2.1 WSN Using Raspberry-Pi

Although the systems mentioned above are active in achieving the purpose of collecting sensor data and storing them, they do have a few
limitations that are addressed in this project. For detecting anomalies in sensor networks, creating clusters of data and inserting expected data
values and comparing them against received values is a good way of detecting faulty sensor nodes and replacing them, however, this project uses
the in-built features of My SQL servers [4], namely Triggers Delimiters, using these features of My SQL, expected data ranges can be specified
in the database table and any deviation from this value will send a trigger to alert the user that either an event has occurred or a node is
malfunctioning. This can be checked via the phone app or by logging into the server to check the latest values updated in the database and
compare them with past values.

2.2 Problem Statement

Design and Implementation of Environment monitoring system using Raspberry-Pi which is interfaced with various sensors
(Temperature, Humidity, CO). Real time data will be collected by all the sensors and will be fetched by the Web Server. This data can be
accessed by the user through web browser.

3. BLOCK SCHEMATIC DIAGRAM


Collecting and displaying of various environmental parameters such as Carbon-mono oxide, Temperature and Humidity, to the end user, from
the nature is the main task of the system. The system will collect the environmental parameters at real time and with accuracy, the system will
store this data on the central server.

Fig 3.1: Module Diagram

The system architecture has been divided into following 3 modules:

1) Sensor module
2) Communication module
3) Server module

The Hardware module is Sensor module. Sensor module consists of Raspberry Pi, Arduino and Sensors. The Raspberry Pi is
connected to the Arduino, which in-turn is connected to the sensors. The main task of the sensor module is to sense the temperature, humidity
and carbon-mono oxide concentration from the environment and send these parameters to the Raspberry Pi. The Raspberry Pi is a credit-card
size computer. This is similar to normal computer. The operating system of the Raspberry Pi is Raspbian which is Linux based operating system.
It is programmed by using Python Language.

This module uses Python and Embedded C languages. Python is used by RPi and Arduino uses Embedded C. The sensors will be
placed in a location from where the environmental parameters have to be collected or measured. The sensors used are DHT-11 and Carbon-
Mono Oxide sensors. DHT-11 is a sensor that measures temperature and humidity. DHT-11 is a digital sensor which gives digital output to the
Arduino, whereas CO sensor is a analog sensor whose output is given to the analog input pin of the Arduino. The Arduino sends the data to RPi
using serial communication.
Communication module is responsible for sending data from RPi to Central Server. This module uses PHP to send data from RPi to
the Central Server. Server module receives data from sensors and stores it in the Central DB. This module also serves the users with the data.
The end users can log this data using a web application or browser.

3.1 Hardware
3.1.1 Raspberry-Pi

The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and
mouse. It is a capable little device that enables people of all ages to explore computing, and to learn how to program in languages like Scratch
and Python. Its capable of doing everything youd expect a desktop computer to do, from browsing the internet and playing high-definition.
video,tomakingspreadsheets,word-processingetc
183. Ashutosh Mokashi, Abhishek Soudagar, Akash Hanjagi, Bahubali Ugare and Prof. Sunil Hebbale,. A Novel approach for
Logging Environment Parameters from different Locations using Raspberry Pi. Advances in Natural and Applied
Sciences; Pages: 181-183

3.1.2 Arduino:

The Arduino is a microcontroller board based on the ATmega328 (datasheet). It has 14 digital input/output pins, 6 analog inputs, a 16 MHz
crystal oscillator, a USB connection, a power jack, and a reset button. The Arduino will be connected to the sensors which are placed at a
particular location.

3.1.3 Sensors:

3.1.3.1 DHT11

Digital Humidity and Temperature Sensor: The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor. It uses a
capacitive humidity sensor and a thermostat to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins
needed).It's fairly simple to use, but requires careful timing to grab data.

3.1.3.2 Gas Sensor MQ-7:

MQ-7 gas sensor composed by micro AL2O3 ceramic tube, Tin Dioxide (SnO2) sensitive layer , measuring electrode and heater are fixed into a
crust made by plastic and stainless steel net. The heater provides necessary work conditions for work of sensitive components. This sensor is
connected to the Arduino. It has 4 pins those are: VCC, GND (ground), D0 (digital output) and A0 (analog output).

4. CONCLUSION
In this paper, we have presented a wireless sensor network system designed with Arduino, Raspberry Pi, and a number of open-source software
packages. The system has a number of attractive features, including low-cost, compact, scalable, easy to customize, easy to deploy, and easy to
maintain. One major advantage of the design lies in the integration of the gateway node of wireless sensor network, database server, and web
server into one single compact, low-power, credit-card-sized computer Raspberry Pi, which can be easily configured to run headless (i.e.,
without monitor, keyboard, and mouse). Such a design is useful in many environmental monitoring and data collection applications. The
detailed design and measurement results presented in this paper clearly demonstrate the usefulness of such a system.

As future work, the system design presented in this paper can be expanded in a number of different aspects. For example, additional sensing
modalities can be integrated on sensor nodes to meet the needs of various monitoring applications. Also, the web interface can be further
developed to implement more functionality in data visualization, management, and analysis among many others to provide better user interface
and better user experience. Considering the limited storage space on the Raspberry Pi, it is also useful to integrate a second database server on
the Internet or on the cloud storage service, and then upload and/or synchronize the data tables between the two data storage servers. A cloud
storage is also useful in the scenarios where the base station (i.e., Raspberry Pi) resides in a private IP intranet, and it is not directly accessible
from Internet.

REFERENCES
[1] Wireless Sensor Network System Design using Raspberry Pi and Arduino for Environmental Monitoring Applications.2014, Sheikh
Ferdoush , Xinrong Li.

[2] Raspberry Pi as a Wireless Sensor Node: Performances and Constraints; MIPRO 2014, 26-30 May 2014, Optima, Croatia

[3] Wireless Sensor Network and Web based Information System for Asthma Trigger Factors Monitoring; 978-1-4673-6386-0/14/$31.00 2014
IEEE

[4] Babu. Satish, A Low-cost, Flexible, Managed, Open-Source Multipurpose Sensor Network, Unpublished paper submitted to IEEE R10
Humanitarian Conference, Sendai, Japan, 2013.

[5] Ian Somerville: Software Engineering, 8th Edition, Pearson Education, 2007.

Anda mungkin juga menyukai