SlideShare a Scribd company logo
1 of 5
Download to read offline
International Journal of Engineering and Techniques - Volume 2 Issue 3, May – June 2016
ISSN: 2395-1303 http://www.ijetjournal.org Page 54
Risk Management Using Raspberry Pi and
Sensors
Sudha .H. Ayatti1
, D.Vamsi Krishna2
, Vishwajeet .R. Marathe3
, Ameya .S. Patil4
Dept. of Computer Science Engg.Gogte Institute Of TechnologyBelgaum, India
I. INTRODUCTION
Portability, low cost and flexibility of a raspberry
pi has encouraged its involvement in almost every field
of technological implementation. A credit card sized
computer, which can be programmed to the specific
requirements, can extend its scope of functionality by
connecting additional hardware to the raspberry pi’s
GPIO pins. Industries and innocents have been a victim of
several tragedies, some of many being the Bhopal gas
tragedy (2nd
-3rd
December 1984, India) where 36 tones of
poisonous methyl isocyanate was leaked into the city’s air
claiming above 4000 lives, Phillips disaster (23rd
October
1989, USA) where ethylene leak caused the blasts, and
many more. The above are perfect examples where the
disastrous outcome could have been avoided if acted early
in the initial stages of the leak or the fire.[7] Since a
round the clock human surveillance on every minute
detail of the industry can be unfeasible, a self processing,
low maintenance and a cost effective alternative is
introduced. In the field of safety management, a raspberry
pi can be used extensively. Thereby, reducing human
errors and man power. Industries being a very high risk
zone for faint errors are a perfect area to implement this
system.
The proposed system consists of a raspberry pi, a
power source, MQ6 gas sensor, DS18B20 temperature
sensor, two dc motors attached with propellers, which act
like exhaust fans, and an alarm. The hardware is
connected to the GPIO pins on the raspberry pi.[8] The
raspberry pi fetches the current values from the MQ6 gas
sensor and DS18B20 temperature sensor using a python
program. The values from the MQ6 gas sensor are stored
in the MySQL database on the raspberry pi directly. The
values from the DS18B20 temperature sensor are written
on a text file. The PHP program fetches the gas and
temperature values and displays it in a tabular form
along with date and time on the web page. The android
application fetches the latest values from the raspberry pi
with a periodic refresh rate. The raspberry pi monitors the
alarms and the exhaust fans in case of leaks or increase in
temperature. Notification is sent to the android application
within the range of the raspberry Wi-Fi.
II. Design Implementation:
A. Block Diagram
In our project, the two sensors are connected to
the Raspberry Pi 2. The Pi collects the data and stores in
MySql Database, if the Gas or Temperature values exceed
the critical value appropriate measures are taken by the
raspberry pi such as switching on the exhaust fans,
signaling alarms and alert notifications via an android
application in a smart phone. The user can even monitor
the values through the android application “Safetydroid”.
System block diagram is shown in figure1.
Abstract:
Industries have been a key part in the growth of a nation’s economy. The growth in industries has also lead to
the growth of tragedies in the past decades, out of which majority caused by oversight or Human errors. This paper
discusses a risk management system to detect hazardous gas leaks and the increase in temperature from the set value
(or critical temperature) using a raspberry pi, MQ6 gas sensor and DS18B20 temperature sensor. Appropriate
measures are taken by the raspberry pi such as switching on the exhaust fans, signaling alarms and alert notifications
via an android application in a smart phone, with respect to the situation to minimize the risk of life and property.
Keywords — Raspberry Pi, MQ6 gas sensor, DS18B20 temperature sensor, Risk Management.
RESEARCH ARTICLE OPEN ACCESS
International Journal of Engineering and Techniques - Volume 2 Issue 3, May – June 2016
ISSN: 2395-1303 http://www.ijetjournal.org Page 55
Fig. 1. Block Diagram
B. Hardware Requirements
Temperature Sensor: In this, we will use the DS18B20
Temperature sensor. It can measures temperature from -
55°C to +125°C (-67°F to +257°F) and it requires no
external components. DS18B20 temperature sensor is
shown in fig 2.
Advantages of DS18B20 Sensor:
 It has a one wire interface.
 It requires no external components.
 It is user definable and has a nonvolatile
temperature alarm settings.
Fig 2 .DS18B20 Temperature Sensor
Gas Sensor: In this, we will use MQ6 Gas Sensor. It has
high sensitivity to LPG,iso-butane and propane.[1,5]It
retorts very quickly and efficiently. It even has a long life.
MQ6 Gas Sensor is shown in fig 3.
Advantages of MQ6 Sensor:
 They can be used to detect gas leakage in Industries
and Houses.
 It has a very simple drive circuit.
 A green led is triggered after the detection of gas.
Fig 3 .MQ6 Gas Sensor
Android Module: Android is a very easy to use operating
system (OS). It is very customizable and is very amiable
kind of Operating system. Here, the part of Android
module is to keep the user updated with the Temperature
and Gas values with the exact date and time through an
Android Application (Safetydroid). Basically, in our
Android application we show;
 The latest values of Temperature and Gas.
 It even refreshes the values periodically.
 The alert notification is send to android phone when
the Temperature or gas values exceed the critical
value[2] that has been set in a particular industry.
Raspberry Pi Module: Raspberry Pi is like one of the
Microcomputers. The Raspberry Pi 2 represents one of
the best of its types. Above all, it uses Linux Operating
System. This Microcomputer is used in every field now-a-
days;[9] they are great for education projects and even to
run many modern games.[11]It is supported on Raspbian
Operating System (OS) and it uses Python as main
International Journal of Engineering and Techniques - Volume 2 Issue 3, May – June 2016
ISSN: 2395-1303 http://www.ijetjournal.org Page 56
programming Language. Raspberry Pi Module 2 is shown
Fig 4 .Raspberry Pi 2
Safety Module: Common jeopardy’s exist in many
workplaces. Our paper discusses a risk management
system to detect the exceeded Gas or Temperature value,
so the measures taken to ensure the safety are blowing an
Alarm and Switching on the Exhaust Fan wherever our
device is been fitted.[6] In our project we try eliminating
the hazardous Gas or increased temperature by the
Exhaust fan and notifying the workers by blowing an
Alarm. This particular kind of arrangement would surely
ensure the safety of workers working in that industry and
even the raw materials stored.
C .Software Requirements:
Languages:
Java Programming: It is one of the most recommended
languages by most developers to create applications for
Android devices. In our project, we use Java and Eclipse
to create an Android application “SafetyDroid”.
Python Programming: Python is a powerful
programming language that is even very easy to use with
Raspberry Pi. It even uses very fewer lines of codes as
compared to C or C++. In our project, we use Python in
order to make connections with Raspberry Pi 2.
PHP: The PHP Hypertext Preprocessor (PHP) is a
programming language that is widely used by web
developers to develop web based applications. In our
project, we use PHP in order to keep the track of the Gas
and Temperature values through the web based
application.
III. ALGORITHM
1) The proposed system continuously monitors the
industrial environment using the sensors and generates
values.
2) The generated values are then stored in the MySQL
database.
3) The generated values are used to detect whether it
exceeds the safety limit.
4) If generated values are greater than the safety limit an
alarm and the exhaust fans are started.
5) The data can be viewed continuously by connecting to
the system and viewing the web page.
6) The data can be viewed by security official or the
owner in his SafetyDroid Android app by connecting to
the system.
IV. Results and Conclusion
1. The above figure shows the execution of the generation
of values from the sensors (shown in Step 1) and stores in
the MySQL database (Step 2).
International Journal of Engineering and Techniques - Volume 2 Issue 3, May – June 2016
ISSN: 2395-1303 http://www.ijetjournal.org Page 57
2. The above figure shows the system testing the values
and starting the safety system (Step 3 of Algorithm).
3. The above figure shows the values stored in the
MySQL database in the web browser[10](Step 5 of
algorithm)
4. The above screenshot shows the SafetyDroid Android
application and displays the latest values.
(Step 6 of algorithm)
5. The above screenshot shows the complete connections
and the working of our project.
V. CONCLUSION
Risk management system is designed for industries and
household environment for gas leaks and increase in
temperature. The system continuously monitors the values
and acts accordingly to minimize risk. Being cost
effective, it can be implemented in diverse environments.
The android device periodically refreshes with the latest
values. Notification is sent to the android app when values
exceed the critical values. The gas and temperature values
along with time and date can be viewed on a webpage.
VI. FUTURE SCOPE
The raspberry pi can be connected over the internet and
can be given a dedicated IP address. This will make the
smart phone (installed with the “safetydroid” android
application) fetch the latest values from the raspberry pi
from any corner of the world. We use raspberry Wi-Fi for
cost effectiveness. By taking suitable permissions, the
raspberry pi can automatically alert the local fire station
via SMS and an email with the details of the tragedy. The
current MQ6 gas sensor can be updated to a MQ2 sensor
International Journal of Engineering and Techniques - Volume 2 Issue 3, May – June 2016
ISSN: 2395-1303 http://www.ijetjournal.org Page 58
to detect a much wider spectrum of hazardous gasses and
chemicals. Different varieties of sensors can be attached
to the raspberry pi depending on the further requirements.
Updating the python program with the additional GPIO
pins used will make it operational.
REFRENCES
[1]. Sunithaa.J, Sushmitha.D, “Embedded control system
for LPG leakage detection and prevention” International
Conference on Computing and Control Engineering
(ICCCE 2012), 12 & 13 April, 2012
[2]. V.Ramya, B. Palaniappan, “Embedded system for
hazardous gas detection and alerting” International
Journal of Distributed and Parallel Systems (IJDPS)
Vol.3, No.3, May 2012
[3]. Mr.SagarShinde, Mr.S.B.Patil,
Dr.A.J.Patil,“Development of movable gas tanker leakage
detection using wireless sensor network based on
embedded system” , International Journal of Engineering
Research and Applications (IJERA) ISSN: 2248-9622
www.ijera.com Vol. 2, Issue 6, November- December
2012, pp.1180-1183
[4]. M. B. Fish, R.T. Wainer, “Standoff Gas Leakage
detectors based on tunable diodes laser absorption
spectroscopy”
[5]. A. Mahalingam, R. T. Naayagi, N. E. Mastorakis,
“Design and Implementation of an Economic Gas
Leakage Detector”, Recent Researches in Applications of
Electrical and Computer Engineering
[6]. S. Rajitha, T. Swapna, “Security alert system using
GSM for gas leakage” International Journal of VLSI and
Embedded Systems-IJVES
[7]. Taufiq Noor Machmuda, “LPG Gas Detector and
leak prevention based microcontroller”
[8] Vladimir vujovic and mirjanmaksimovic, ―Raspberry
Pi as a Sensor Node: Performances and Constraints‖,
MIPRO 2014, 26-30 May 2014, Opatija, Croatia.
[9] Sarthak Jain, AnantVaibhav, Lovely Goyal,
―Raspberry Pi based
Interactive Home Automation System through E-mail‖,
2014 International Conference on Reliability,
Optimization and Information Technology. India, Feb 6-8
2014.
[10] NakulPadhye and PreetJain, ―Implementation Of
Arm Embedded Web Server For Das Using Raspberry Pi,
International Journal of Electrical, Electronics &
Communication Engineering, Vol. 3 No. 3 April 2013
[11] Home monitoring projects for Raspberry
Pi,http://www.projects.privateeyepi.com/home.

More Related Content

Similar to [IJET V2I3P10] Authors: Sudha .H. Ayatti , D.Vamsi Krishna , Vishwajeet .R. Marathe , Ameya .S. Patil

AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTION
AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTIONAN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTION
AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTIONIRJET Journal
 
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...IAEME Publication
 
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...IAEME Publication
 
IoT Based Smart Surveillance and Automation
IoT Based Smart Surveillance and AutomationIoT Based Smart Surveillance and Automation
IoT Based Smart Surveillance and AutomationIRJET Journal
 
Face Recognition using Raspberry PI for Door Lock System
Face Recognition using Raspberry PI for Door Lock SystemFace Recognition using Raspberry PI for Door Lock System
Face Recognition using Raspberry PI for Door Lock SystemIRJET Journal
 
Presentation On Advance Monitoring of Cold chain truck
Presentation On Advance Monitoring of Cold chain truckPresentation On Advance Monitoring of Cold chain truck
Presentation On Advance Monitoring of Cold chain truckPUSHP RAJ BHARTI
 
IRJET - Surveillance System for Petroleum Industry
IRJET - Surveillance System for Petroleum IndustryIRJET - Surveillance System for Petroleum Industry
IRJET - Surveillance System for Petroleum IndustryIRJET Journal
 
ARIMA Based Weather Prediction Model using IoT and Open Source Data
ARIMA Based Weather Prediction Model using IoT and Open Source DataARIMA Based Weather Prediction Model using IoT and Open Source Data
ARIMA Based Weather Prediction Model using IoT and Open Source DataIRJET Journal
 
Using raspberry pi to sense temperature and relative humidity
Using raspberry pi to sense temperature and relative humidityUsing raspberry pi to sense temperature and relative humidity
Using raspberry pi to sense temperature and relative humidityIRJET Journal
 
Smart Farming: A Machine Learning and IoT Approach
Smart Farming: A Machine Learning and IoT ApproachSmart Farming: A Machine Learning and IoT Approach
Smart Farming: A Machine Learning and IoT ApproachIRJET Journal
 
IRJET - IoT based Air Quality Monitoring System
IRJET - IoT based Air Quality Monitoring SystemIRJET - IoT based Air Quality Monitoring System
IRJET - IoT based Air Quality Monitoring SystemIRJET Journal
 
IRJET- Iot based Interactive Display Unit using Raspberry PI
IRJET- Iot based Interactive Display Unit using Raspberry PIIRJET- Iot based Interactive Display Unit using Raspberry PI
IRJET- Iot based Interactive Display Unit using Raspberry PIIRJET Journal
 
AGRICULTURE ENVIRONMENT MONITORING SYSTEM USING ANDROID
AGRICULTURE ENVIRONMENT MONITORING SYSTEM USING ANDROIDAGRICULTURE ENVIRONMENT MONITORING SYSTEM USING ANDROID
AGRICULTURE ENVIRONMENT MONITORING SYSTEM USING ANDROIDIRJET Journal
 
IRJET- IoT based Noise and Pollution Monitoring System
IRJET- IoT based Noise and Pollution Monitoring SystemIRJET- IoT based Noise and Pollution Monitoring System
IRJET- IoT based Noise and Pollution Monitoring SystemIRJET Journal
 
IOT BASED SMART LPG GAS DETECTOR ROBOT CONTROL BY ANDROID
IOT BASED SMART LPG GAS DETECTOR ROBOT CONTROL BY ANDROIDIOT BASED SMART LPG GAS DETECTOR ROBOT CONTROL BY ANDROID
IOT BASED SMART LPG GAS DETECTOR ROBOT CONTROL BY ANDROIDIRJET Journal
 
Gas Level Detection and Automatic Booking Using IoT
Gas Level Detection and Automatic Booking Using IoTGas Level Detection and Automatic Booking Using IoT
Gas Level Detection and Automatic Booking Using IoTIRJET Journal
 
Health Care System in Recycling Plants and Garbage Waste Disposal Sites
Health Care System in Recycling Plants and Garbage Waste Disposal SitesHealth Care System in Recycling Plants and Garbage Waste Disposal Sites
Health Care System in Recycling Plants and Garbage Waste Disposal SitesIRJET Journal
 
IRJET- Air Pollution Monitoring System using IoT
IRJET- Air Pollution Monitoring System using IoTIRJET- Air Pollution Monitoring System using IoT
IRJET- Air Pollution Monitoring System using IoTIRJET Journal
 

Similar to [IJET V2I3P10] Authors: Sudha .H. Ayatti , D.Vamsi Krishna , Vishwajeet .R. Marathe , Ameya .S. Patil (20)

AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTION
AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTIONAN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTION
AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTION
 
Serp4 iot20.ppt
Serp4 iot20.pptSerp4 iot20.ppt
Serp4 iot20.ppt
 
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...
 
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...
RASPBERRY PI BASED POLLUTION AND CLIMATE MONITORING SYSTEM USING INTERNET OF ...
 
IoT Based Smart Surveillance and Automation
IoT Based Smart Surveillance and AutomationIoT Based Smart Surveillance and Automation
IoT Based Smart Surveillance and Automation
 
Face Recognition using Raspberry PI for Door Lock System
Face Recognition using Raspberry PI for Door Lock SystemFace Recognition using Raspberry PI for Door Lock System
Face Recognition using Raspberry PI for Door Lock System
 
Presentation On Advance Monitoring of Cold chain truck
Presentation On Advance Monitoring of Cold chain truckPresentation On Advance Monitoring of Cold chain truck
Presentation On Advance Monitoring of Cold chain truck
 
IRJET - Surveillance System for Petroleum Industry
IRJET - Surveillance System for Petroleum IndustryIRJET - Surveillance System for Petroleum Industry
IRJET - Surveillance System for Petroleum Industry
 
ARIMA Based Weather Prediction Model using IoT and Open Source Data
ARIMA Based Weather Prediction Model using IoT and Open Source DataARIMA Based Weather Prediction Model using IoT and Open Source Data
ARIMA Based Weather Prediction Model using IoT and Open Source Data
 
O010329296
O010329296O010329296
O010329296
 
Using raspberry pi to sense temperature and relative humidity
Using raspberry pi to sense temperature and relative humidityUsing raspberry pi to sense temperature and relative humidity
Using raspberry pi to sense temperature and relative humidity
 
Smart Farming: A Machine Learning and IoT Approach
Smart Farming: A Machine Learning and IoT ApproachSmart Farming: A Machine Learning and IoT Approach
Smart Farming: A Machine Learning and IoT Approach
 
IRJET - IoT based Air Quality Monitoring System
IRJET - IoT based Air Quality Monitoring SystemIRJET - IoT based Air Quality Monitoring System
IRJET - IoT based Air Quality Monitoring System
 
IRJET- Iot based Interactive Display Unit using Raspberry PI
IRJET- Iot based Interactive Display Unit using Raspberry PIIRJET- Iot based Interactive Display Unit using Raspberry PI
IRJET- Iot based Interactive Display Unit using Raspberry PI
 
AGRICULTURE ENVIRONMENT MONITORING SYSTEM USING ANDROID
AGRICULTURE ENVIRONMENT MONITORING SYSTEM USING ANDROIDAGRICULTURE ENVIRONMENT MONITORING SYSTEM USING ANDROID
AGRICULTURE ENVIRONMENT MONITORING SYSTEM USING ANDROID
 
IRJET- IoT based Noise and Pollution Monitoring System
IRJET- IoT based Noise and Pollution Monitoring SystemIRJET- IoT based Noise and Pollution Monitoring System
IRJET- IoT based Noise and Pollution Monitoring System
 
IOT BASED SMART LPG GAS DETECTOR ROBOT CONTROL BY ANDROID
IOT BASED SMART LPG GAS DETECTOR ROBOT CONTROL BY ANDROIDIOT BASED SMART LPG GAS DETECTOR ROBOT CONTROL BY ANDROID
IOT BASED SMART LPG GAS DETECTOR ROBOT CONTROL BY ANDROID
 
Gas Level Detection and Automatic Booking Using IoT
Gas Level Detection and Automatic Booking Using IoTGas Level Detection and Automatic Booking Using IoT
Gas Level Detection and Automatic Booking Using IoT
 
Health Care System in Recycling Plants and Garbage Waste Disposal Sites
Health Care System in Recycling Plants and Garbage Waste Disposal SitesHealth Care System in Recycling Plants and Garbage Waste Disposal Sites
Health Care System in Recycling Plants and Garbage Waste Disposal Sites
 
IRJET- Air Pollution Monitoring System using IoT
IRJET- Air Pollution Monitoring System using IoTIRJET- Air Pollution Monitoring System using IoT
IRJET- Air Pollution Monitoring System using IoT
 

More from IJET - International Journal of Engineering and Techniques

More from IJET - International Journal of Engineering and Techniques (20)

healthcare supervising system to monitor heart rate to diagonize and alert he...
healthcare supervising system to monitor heart rate to diagonize and alert he...healthcare supervising system to monitor heart rate to diagonize and alert he...
healthcare supervising system to monitor heart rate to diagonize and alert he...
 
verifiable and multi-keyword searchable attribute-based encryption scheme for...
verifiable and multi-keyword searchable attribute-based encryption scheme for...verifiable and multi-keyword searchable attribute-based encryption scheme for...
verifiable and multi-keyword searchable attribute-based encryption scheme for...
 
Ijet v5 i6p18
Ijet v5 i6p18Ijet v5 i6p18
Ijet v5 i6p18
 
Ijet v5 i6p17
Ijet v5 i6p17Ijet v5 i6p17
Ijet v5 i6p17
 
Ijet v5 i6p16
Ijet v5 i6p16Ijet v5 i6p16
Ijet v5 i6p16
 
Ijet v5 i6p15
Ijet v5 i6p15Ijet v5 i6p15
Ijet v5 i6p15
 
Ijet v5 i6p14
Ijet v5 i6p14Ijet v5 i6p14
Ijet v5 i6p14
 
Ijet v5 i6p13
Ijet v5 i6p13Ijet v5 i6p13
Ijet v5 i6p13
 
Ijet v5 i6p12
Ijet v5 i6p12Ijet v5 i6p12
Ijet v5 i6p12
 
Ijet v5 i6p11
Ijet v5 i6p11Ijet v5 i6p11
Ijet v5 i6p11
 
Ijet v5 i6p10
Ijet v5 i6p10Ijet v5 i6p10
Ijet v5 i6p10
 
Ijet v5 i6p2
Ijet v5 i6p2Ijet v5 i6p2
Ijet v5 i6p2
 
IJET-V3I2P24
IJET-V3I2P24IJET-V3I2P24
IJET-V3I2P24
 
IJET-V3I2P23
IJET-V3I2P23IJET-V3I2P23
IJET-V3I2P23
 
IJET-V3I2P22
IJET-V3I2P22IJET-V3I2P22
IJET-V3I2P22
 
IJET-V3I2P21
IJET-V3I2P21IJET-V3I2P21
IJET-V3I2P21
 
IJET-V3I2P20
IJET-V3I2P20IJET-V3I2P20
IJET-V3I2P20
 
IJET-V3I2P19
IJET-V3I2P19IJET-V3I2P19
IJET-V3I2P19
 
IJET-V3I2P18
IJET-V3I2P18IJET-V3I2P18
IJET-V3I2P18
 
IJET-V3I2P17
IJET-V3I2P17IJET-V3I2P17
IJET-V3I2P17
 

Recently uploaded

Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsSachinPawar510423
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptNarmatha D
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...Amil Baba Dawood bangali
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptxNikhil Raut
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE
 

Recently uploaded (20)

Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documents
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.ppt
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx
 

[IJET V2I3P10] Authors: Sudha .H. Ayatti , D.Vamsi Krishna , Vishwajeet .R. Marathe , Ameya .S. Patil

  • 1. International Journal of Engineering and Techniques - Volume 2 Issue 3, May – June 2016 ISSN: 2395-1303 http://www.ijetjournal.org Page 54 Risk Management Using Raspberry Pi and Sensors Sudha .H. Ayatti1 , D.Vamsi Krishna2 , Vishwajeet .R. Marathe3 , Ameya .S. Patil4 Dept. of Computer Science Engg.Gogte Institute Of TechnologyBelgaum, India I. INTRODUCTION Portability, low cost and flexibility of a raspberry pi has encouraged its involvement in almost every field of technological implementation. A credit card sized computer, which can be programmed to the specific requirements, can extend its scope of functionality by connecting additional hardware to the raspberry pi’s GPIO pins. Industries and innocents have been a victim of several tragedies, some of many being the Bhopal gas tragedy (2nd -3rd December 1984, India) where 36 tones of poisonous methyl isocyanate was leaked into the city’s air claiming above 4000 lives, Phillips disaster (23rd October 1989, USA) where ethylene leak caused the blasts, and many more. The above are perfect examples where the disastrous outcome could have been avoided if acted early in the initial stages of the leak or the fire.[7] Since a round the clock human surveillance on every minute detail of the industry can be unfeasible, a self processing, low maintenance and a cost effective alternative is introduced. In the field of safety management, a raspberry pi can be used extensively. Thereby, reducing human errors and man power. Industries being a very high risk zone for faint errors are a perfect area to implement this system. The proposed system consists of a raspberry pi, a power source, MQ6 gas sensor, DS18B20 temperature sensor, two dc motors attached with propellers, which act like exhaust fans, and an alarm. The hardware is connected to the GPIO pins on the raspberry pi.[8] The raspberry pi fetches the current values from the MQ6 gas sensor and DS18B20 temperature sensor using a python program. The values from the MQ6 gas sensor are stored in the MySQL database on the raspberry pi directly. The values from the DS18B20 temperature sensor are written on a text file. The PHP program fetches the gas and temperature values and displays it in a tabular form along with date and time on the web page. The android application fetches the latest values from the raspberry pi with a periodic refresh rate. The raspberry pi monitors the alarms and the exhaust fans in case of leaks or increase in temperature. Notification is sent to the android application within the range of the raspberry Wi-Fi. II. Design Implementation: A. Block Diagram In our project, the two sensors are connected to the Raspberry Pi 2. The Pi collects the data and stores in MySql Database, if the Gas or Temperature values exceed the critical value appropriate measures are taken by the raspberry pi such as switching on the exhaust fans, signaling alarms and alert notifications via an android application in a smart phone. The user can even monitor the values through the android application “Safetydroid”. System block diagram is shown in figure1. Abstract: Industries have been a key part in the growth of a nation’s economy. The growth in industries has also lead to the growth of tragedies in the past decades, out of which majority caused by oversight or Human errors. This paper discusses a risk management system to detect hazardous gas leaks and the increase in temperature from the set value (or critical temperature) using a raspberry pi, MQ6 gas sensor and DS18B20 temperature sensor. Appropriate measures are taken by the raspberry pi such as switching on the exhaust fans, signaling alarms and alert notifications via an android application in a smart phone, with respect to the situation to minimize the risk of life and property. Keywords — Raspberry Pi, MQ6 gas sensor, DS18B20 temperature sensor, Risk Management. RESEARCH ARTICLE OPEN ACCESS
  • 2. International Journal of Engineering and Techniques - Volume 2 Issue 3, May – June 2016 ISSN: 2395-1303 http://www.ijetjournal.org Page 55 Fig. 1. Block Diagram B. Hardware Requirements Temperature Sensor: In this, we will use the DS18B20 Temperature sensor. It can measures temperature from - 55°C to +125°C (-67°F to +257°F) and it requires no external components. DS18B20 temperature sensor is shown in fig 2. Advantages of DS18B20 Sensor:  It has a one wire interface.  It requires no external components.  It is user definable and has a nonvolatile temperature alarm settings. Fig 2 .DS18B20 Temperature Sensor Gas Sensor: In this, we will use MQ6 Gas Sensor. It has high sensitivity to LPG,iso-butane and propane.[1,5]It retorts very quickly and efficiently. It even has a long life. MQ6 Gas Sensor is shown in fig 3. Advantages of MQ6 Sensor:  They can be used to detect gas leakage in Industries and Houses.  It has a very simple drive circuit.  A green led is triggered after the detection of gas. Fig 3 .MQ6 Gas Sensor Android Module: Android is a very easy to use operating system (OS). It is very customizable and is very amiable kind of Operating system. Here, the part of Android module is to keep the user updated with the Temperature and Gas values with the exact date and time through an Android Application (Safetydroid). Basically, in our Android application we show;  The latest values of Temperature and Gas.  It even refreshes the values periodically.  The alert notification is send to android phone when the Temperature or gas values exceed the critical value[2] that has been set in a particular industry. Raspberry Pi Module: Raspberry Pi is like one of the Microcomputers. The Raspberry Pi 2 represents one of the best of its types. Above all, it uses Linux Operating System. This Microcomputer is used in every field now-a- days;[9] they are great for education projects and even to run many modern games.[11]It is supported on Raspbian Operating System (OS) and it uses Python as main
  • 3. International Journal of Engineering and Techniques - Volume 2 Issue 3, May – June 2016 ISSN: 2395-1303 http://www.ijetjournal.org Page 56 programming Language. Raspberry Pi Module 2 is shown Fig 4 .Raspberry Pi 2 Safety Module: Common jeopardy’s exist in many workplaces. Our paper discusses a risk management system to detect the exceeded Gas or Temperature value, so the measures taken to ensure the safety are blowing an Alarm and Switching on the Exhaust Fan wherever our device is been fitted.[6] In our project we try eliminating the hazardous Gas or increased temperature by the Exhaust fan and notifying the workers by blowing an Alarm. This particular kind of arrangement would surely ensure the safety of workers working in that industry and even the raw materials stored. C .Software Requirements: Languages: Java Programming: It is one of the most recommended languages by most developers to create applications for Android devices. In our project, we use Java and Eclipse to create an Android application “SafetyDroid”. Python Programming: Python is a powerful programming language that is even very easy to use with Raspberry Pi. It even uses very fewer lines of codes as compared to C or C++. In our project, we use Python in order to make connections with Raspberry Pi 2. PHP: The PHP Hypertext Preprocessor (PHP) is a programming language that is widely used by web developers to develop web based applications. In our project, we use PHP in order to keep the track of the Gas and Temperature values through the web based application. III. ALGORITHM 1) The proposed system continuously monitors the industrial environment using the sensors and generates values. 2) The generated values are then stored in the MySQL database. 3) The generated values are used to detect whether it exceeds the safety limit. 4) If generated values are greater than the safety limit an alarm and the exhaust fans are started. 5) The data can be viewed continuously by connecting to the system and viewing the web page. 6) The data can be viewed by security official or the owner in his SafetyDroid Android app by connecting to the system. IV. Results and Conclusion 1. The above figure shows the execution of the generation of values from the sensors (shown in Step 1) and stores in the MySQL database (Step 2).
  • 4. International Journal of Engineering and Techniques - Volume 2 Issue 3, May – June 2016 ISSN: 2395-1303 http://www.ijetjournal.org Page 57 2. The above figure shows the system testing the values and starting the safety system (Step 3 of Algorithm). 3. The above figure shows the values stored in the MySQL database in the web browser[10](Step 5 of algorithm) 4. The above screenshot shows the SafetyDroid Android application and displays the latest values. (Step 6 of algorithm) 5. The above screenshot shows the complete connections and the working of our project. V. CONCLUSION Risk management system is designed for industries and household environment for gas leaks and increase in temperature. The system continuously monitors the values and acts accordingly to minimize risk. Being cost effective, it can be implemented in diverse environments. The android device periodically refreshes with the latest values. Notification is sent to the android app when values exceed the critical values. The gas and temperature values along with time and date can be viewed on a webpage. VI. FUTURE SCOPE The raspberry pi can be connected over the internet and can be given a dedicated IP address. This will make the smart phone (installed with the “safetydroid” android application) fetch the latest values from the raspberry pi from any corner of the world. We use raspberry Wi-Fi for cost effectiveness. By taking suitable permissions, the raspberry pi can automatically alert the local fire station via SMS and an email with the details of the tragedy. The current MQ6 gas sensor can be updated to a MQ2 sensor
  • 5. International Journal of Engineering and Techniques - Volume 2 Issue 3, May – June 2016 ISSN: 2395-1303 http://www.ijetjournal.org Page 58 to detect a much wider spectrum of hazardous gasses and chemicals. Different varieties of sensors can be attached to the raspberry pi depending on the further requirements. Updating the python program with the additional GPIO pins used will make it operational. REFRENCES [1]. Sunithaa.J, Sushmitha.D, “Embedded control system for LPG leakage detection and prevention” International Conference on Computing and Control Engineering (ICCCE 2012), 12 & 13 April, 2012 [2]. V.Ramya, B. Palaniappan, “Embedded system for hazardous gas detection and alerting” International Journal of Distributed and Parallel Systems (IJDPS) Vol.3, No.3, May 2012 [3]. Mr.SagarShinde, Mr.S.B.Patil, Dr.A.J.Patil,“Development of movable gas tanker leakage detection using wireless sensor network based on embedded system” , International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 2, Issue 6, November- December 2012, pp.1180-1183 [4]. M. B. Fish, R.T. Wainer, “Standoff Gas Leakage detectors based on tunable diodes laser absorption spectroscopy” [5]. A. Mahalingam, R. T. Naayagi, N. E. Mastorakis, “Design and Implementation of an Economic Gas Leakage Detector”, Recent Researches in Applications of Electrical and Computer Engineering [6]. S. Rajitha, T. Swapna, “Security alert system using GSM for gas leakage” International Journal of VLSI and Embedded Systems-IJVES [7]. Taufiq Noor Machmuda, “LPG Gas Detector and leak prevention based microcontroller” [8] Vladimir vujovic and mirjanmaksimovic, ―Raspberry Pi as a Sensor Node: Performances and Constraints‖, MIPRO 2014, 26-30 May 2014, Opatija, Croatia. [9] Sarthak Jain, AnantVaibhav, Lovely Goyal, ―Raspberry Pi based Interactive Home Automation System through E-mail‖, 2014 International Conference on Reliability, Optimization and Information Technology. India, Feb 6-8 2014. [10] NakulPadhye and PreetJain, ―Implementation Of Arm Embedded Web Server For Das Using Raspberry Pi, International Journal of Electrical, Electronics & Communication Engineering, Vol. 3 No. 3 April 2013 [11] Home monitoring projects for Raspberry Pi,http://www.projects.privateeyepi.com/home.