Professional Documents
Culture Documents
Prototype
Prototype
Prototype
4TH YEAR
Computer Science
GAS LEAKING
DETECTION
-- Embedded system --
Gas Detector Prototype
Name Role
sensors Sensors must be installed in the areas which they are to monitor .
Control System After installing sensors, it’s vital to get all of them hooked up to your central control system
Alarms It needs to be plugged into the central control system, so that it will make sound as
dangerous leak is detected .
CONSTRAINTS
Costs It involves significant upfront costs for sensors infrastructure and cloud services .
Data security Transmitting data to the cloud or over internet may raise concerns about data security .
Data overload Collecting large volumes of data can lead to overload, as it a challenge to extract insights .
Initial setup Initial setup and configuration of system can be time-consuming and require knowledge .
Maintance Regular maintance is required to ensure accuracy and reliability of gas sensors .
WATER FALL(SDLC)
FEASIBILITY
STUDY
REQUIREMENT
ANALYSIS
PROJECT ANALYSIS
DESIGN
CODING & UNIT
TESTING
INTEGRATION &
SYSTEM TESTING
Deployment MAINTANCE
• Gas detection system using IoT. This unit gas detection system with
alert system detect all gases . This detector unit can detect leaks in
cars, industrial sectors and residential areas using an ideal sensor .
• Using Software development life cycle(SDLC) waterfall method we can design the required IoT
system:
Feasibility Study Requirements Design Coding Testing Deployment Maintance
Install IoT devices & infrastructure Monitor system health & security
Develop user interface(web or
mobile)
Develop project plan
Perform system integration &
performance testing
Integrate sensors and
components
Configure & optimize the system
Periodically review & enhance
Perform software testing and system system performance
debugging
Allocate resources
Buzzer
&
wifi module
SENSORS
LEDS
OHM RESISTORS
JUMPER WIRES
Use case name Gas leak
Area Industrial facilities, Houses, Cars & places with high probability of gas leaking
Actor(s) System, system’s programmer, Authorities
Description Implement and discuss a design of a gas leakage detector system with alert system that can automatically
detect and alert gas leakage.
Trigger Event Detection and alert of gas leakage.
Assumptions Hardware & software fully functional & quick remedy to event
Success Gurantee Detected successfully, no false alarms or hardware/software errors & send alarm for quick remedy & logging
events in a log system(Database) for future prevention .
• System login through web for storing Leakage analysis and Web user registeration
causes for every industrial system
• System notifies the leaks through Internet or alarm system Sensors and alarm systems
• System sends details of the gas leak and the place of the Web, SMS or Alarm Systems
leak
Analysis Diagrams
HIstory
Database
Login
Admin Account
Database
analysis
Programming
interface for Generate
upgrade system
notification
extend
Alert message
LCD VISION
Emergency
de
Part
inclu
Send data to Arduino Check leak inc
lud
e
mobile status
Emit beep alert
include
DATA FLOW DIAGRAM
Yourdon & Demarco type
Call user
Alert
log in Web
interface & Emergency
Admin Alerting Server Arduino/Detector Leakage
system individual
store reading
Information processing
Database Readings
analysis
ENTITY-RELATIONSHIP DIAGRAM
Passwor
d Alert
Login
Detect
s
Leakage
Web interface
Username
Does & Alerting
Connec
t Server
system
Connec
Messag t Arduino/Detector
e on
Admin mobile
Fixes
Readings
See
LCD Sensor Power supply Emergency
Date individual
Time Database
analysis
Device Analyze
Location Data Sound
ID
ACIVITY DIAGRAM
Start
Call user
Alert
Admin
Arduino/Detector Leakage
Emergency
individual
log in
Web Readings
interface Server End
& Alerting
system
Database
analysis
SEQUENCE DIAGRAM
Connects
Logs in database
read/Sends value
Process Data
Logs in Database
Alert
If gas leak
Silence
Else
SYSTEM DESIGN
LCD Alarm LED
Arduino
SoftwareSerial mySerial(9,
10);
data = analogRead(gasValue);
Serial.print("Gas Level: ");
Serial.println(data);
lcd.print ("Gas Scan is ON");
lcd.setCursor(0,1);
lcd.print("Gas Level: ");
lcd.print(data);
delay(1000);
delay(1000);
}
else
{
digitalWrite(buzzer, LOW);
digitalWrite(R_led, LOW); // Turn LED off.
digitalWrite(G_led, HIGH); // Turn LED on.
Serial.print("Gas Level Low");
lcd.clear();
lcd.setCursor(0,0);
lcd.print("Gas Level Normal");
delay(1000);
}
lcd.clear();
}
void SendMessage()
{
Serial.println("I am in send");
mySerial.println("AT+CMGF=1"); //Sets the GSM Module in Text Mode
delay(1000); // Delay of 1000 milli seconds or 1 second
mySerial.println("AT+CMGS=\\"+91xxxxxxxxxx\\"\
"); // Replace x with mobile number
delay(1000);
mySerial.println("Excess Gas Detected.");// The SMS text you want to send
mySerial.println(data);
delay(100);
mySerial.println((char)26);// ASCII code of CTRL+Z
delay(1000);
}
SUMMARY
Gas leakage has resulted in severe hazards, with numerous fire accidents in hotels, restaurants, and
homes cause by LPG gas leaks. Despite the gas’s smell being an indication of leakage, it may not
always be detectable. As a result, it is advisable to install an LPG gas leakage detector in hotels,
restaurants, and homes. A gas detector is a safety system an can detect gas leaks and other
emissions. mThe gas detector can connect to a control system. which can automatically stop a
process if necessary. In case of a gas leak, the gas detector can alert operators in the area by
sounding an alarm, allowing them to evacuate. The importance of this device lies in the fact that
various gases can pose a threat to living organisms, including humans and animals. Gas detectors
can detect flammable, combustilbe, toxic gases, and oxygen depletion. The reason for creating this
device is to provide an early warning of a gas leak before it can cause harm to human lie. mthere
have been many instances of gas leaks and explosions resulting in loss of life, hence the necessity of
gas detectors .