IOT BASED SMART SYSTEM FOR LPG LEAKAGE DETECTION,CONTROL AND PREVENTION
Create New

IOT BASED SMART SYSTEM FOR LPG LEAKAGE DETECTION,CONTROL AND PREVENTION

Project period

10/30/2019 - 11/30/2019

Views

43

5



IOT BASED SMART SYSTEM FOR LPG LEAKAGE DETECTION,CONTROL AND PREVENTION
IOT BASED SMART SYSTEM FOR LPG LEAKAGE DETECTION,CONTROL AND PREVENTION

Nowadays gas leakage and detection is a major problem in our daily life. Also, gas wastage is a major issue that needs to be countered.LPG gas is highly flammable and can inflict damage to life and property gas leakage in open or closed areas can prove to be dangerous. The traditional gas leakage detector systems though have great precision, fail to acknowledge a few factors in the field of alerting the people about the leakage. Therefore we are using IoT technology to make a gas leakage system and having smart alerting techniques. To avoid such a situation, a considerable effort has been developed for detecting gas leakage. Our main aim is to develop a device that can automatically detect the gas, trip the main circuit board by using a relay and the status of the system can be remotely determined by IoT to alert by making calls and SMS. Blynk also detects the leakage of the gas. 

Why: Problem statement

Safety is proactive, and the cheapest option of preventing accidents and mishaps. Gas leakage induced fire is a menace that has occurred in different parts of the world. LPG gas is supplied via cylinders for household use and cases of gas leakage from the cylinder, the supply hose or the gas burner has been recorded by different users over the years with some resulting in gas explosion,  property destruction, injury, and fatality. So, we desired to implement the existing system -additionally, we added the Blynk application through IoT and designing the three-level category of PPM value, to upload to the software, finally, the PPM level has to attain the maximum level, the relay will the main circuit board. 

How: Solution description

The revolutionary IoT technology in Home automation provides security, comfort, convenience and energy efficiency with the help of smart devices and apps on their smartphones or other networked devices. IoT technology in smart home systems is aimed at simplifying life – the devices operate together, share data within themselves, automate actions based on the preferences of the homeowners. In the next few years, a home will not only remain a physical entity where well stay but a well-connected entity that will also be a critical information provider and command centre. 

Block diagram of LPG gas leakage detection this using Arduino mega +wifi R3 for power consumption. To designed using this buzzer, exhausted fan. IoT and Arduino + wifi R3 module (ATmega 2560+ESP 8266) based LPG   leakage detection system senses the LPG gas with the help of an LPG gas sensor. LPG gas sensor interfacing with Arduino is implemented in this project. The entire working of the system can be achieved by executing a C++ code and installing the required sensor libraries. 

How is it different from competition

If the gas sensor detects the leakage, that is if the leakage is less than 200(PPM) the system will only give the alert by indicating the user by turn on the buzzer. If the leakage is less then or equal to 600(PPM)the alert will be indicating by which the gas leakage will be displayed on the LCD(Blynk app). If the LPG leakage is greater than the 900(PPM), it will trip the main circuit board and the exhaust fan is turned ON  by using a relay.

 

Who are your customers

  • Our main aim of avoiding the fire accident in commercial fields. LPG, as a fuel for all Industrial and Commercial requirements, is categorized as Non-Domestic LPG. 
  • HP GAS has a high calorific value, it is clean and green and can be used in a variety of applications in various Industrial and Commercial establishments like Hotels, Restaurants, Bakeries, Caterings, Ceramics, Roto-moulding, Boilers, Metallurgical units, Iron & Steel Industries, Textiles, Tea, Coffee, Automotive sector, Agriculture sector, Construction, Poultry, Food Processing, Aerosol manufacturing, Pharmaceuticals, Plastic Industry, Glass manufacturing, Gold making, Powder coating, Paint drying, Aluminum melting, etc.

Project Phases and Schedule

Phase 1:
  • To survival, the existing projects and collected the base papers.
  • Make a proposed system and implement it on the existing system.
  • Prepared the block diagram, flow chart and taken a complete content sheet.

Phase 2:

  • Follow the flow chart to design the program.
  • Workout the Arduino programming software for the project.
  • Instructed the command, to the software.
  • Uploaded and checking procedures are done.

Phase 3:

  • Follow the Block diagram to construct the project.
  • Select the hardware connection and connected them.

Resources Required

Software:
  •  Blynk is a Platform with iOS and Android apps to control Arduino this likes over the Internet. It's a digital dashboard where you can build a graphic interface for your project by simply dragging and dropping widgets.
  •  Blynk shows the real-time monitoring of gas and heat and shows the usage of gas for every hour. 
  •  The Mega2560 contains a trace that can be cut to disable the auto-reset. The pads on either side of the trace can be soldered together to re-enable it. It is labeled "RESET-EN". Able to disable the auto-reset by connecting a 110-ohm resistor from 5V to the reset line. 
  • Digital pins 0 to 13 (and the adjacent AREF and GND pins), analog inputs 0 to 5, the power header, and ICSP header are all in equivalent locations. Further, the main UART (serial port) is located on the same pins (0 and 1), as are external interrupts 0 and 1 (pins 2 and 3 respectively). SPI is available through the ICSP header on both the Mega2560 and analog inputs 4 and 5). Please note that I2C is not located on the same pins on the Mega (20 and 21) (analog inputs 4 and 5).

Hardware:

  • An MQ  2 gas sensor that can be calibrated to detect leakage levels based on surroundings. The installation generates a sound alert using the buzzer on the detection of a dangerous leakage. The project utilizes the 434 MHz RF module so the alarm can be installed anywhere within the building and even multiple alarms can be installed within a building.
  • To record the Arduino, there is no mystery at all. You only need to set up the Mega Arduino 2560. board as if it were a traditional Arduino.
  • The gas sensor after sensing value is greater than the threshold value then Arduino will perform its programmed tasks.
  • Buzzer starts beeping and exhausting fans will fan out all enclosed gas from the environment.
  • IoT modules will send the data to the blynk application through clouds. It will display the LCD to alert the users anywhere.
  • If the leakages attain the maximum level, the main power supply will be tripped by using a relay. its shows the exhausting fan is switched on, the main power supply is cut off.  

Download:
Project Code Code copy
/* Your file Name : lpg_gas_leakage_.ino */
/* Your coding Language : arduino */
/* Your code snippet start here */
 #define BLYNK_PRINT Serial
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>
BlynkTimer timer;
char auth[] = "cd706cfd0d254506836b5d4fe0d62e26";
char ssid[] = "HUAWEI-7602";
char pass[] = "45670998";

#define EspSerial Serial3

// or Software Serial on Uno, Nano...
//#include <SoftwareSerial.h>
//SoftwareSerial EspSerial(2, 3); // RX, TX

// Your ESP8266 baud rate:
#define ESP8266_BAUD 115200

ESP8266 wifi(&EspSerial);

int n;

void setup()
{

  Serial.begin(9600);

  delay(10);

  // Set ESP8266 baud rate
  EspSerial.begin(ESP8266_BAUD);
  delay(10);

  Blynk.begin(auth, wifi, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
  pinMode(12,OUTPUT);
  pinMode(11,OUTPUT);
  pinMode(9,OUTPUT);
  pinMode(8,OUTPUT);
  timer.setInterval(1000L, sendUptime);
}


void sendUptime()
{
  Blynk.virtualWrite(V1, n);
}
void loop()
{
  Blynk.run();
  timer.run();
  
  n=analogRead(A0);
  Serial.println(n);
  
  if(n≤200)
  {
     digitalWrite(12,LOW);
    digitalWrite(11,HIGH);
    digitalWrite(9,HIGH);  
        
  }
  
  if(n≤200)
  {
      digitalWrite(12,HIGH);
      digitalWrite(11,LOW);
       digitalWrite(9,LOW); 
  }

}
if(200≤600)
  {
     digitalWrite(12,LOW);
    digitalWrite(11,HIGH); 
    digitalWrite(7,HIGH);    
  }  
  if(200≤600)
  {
      digitalWrite(12,HIGH);
      digitalWrite(11,LOW); 
      digitalWrite(7,LOW);  
  }

}if(600≥900)
  {
     digitalWrite(12,LOW);
    digitalWrite(11,HIGH); 
    digitalWrite(8,HIGH);    
  }
  
  if(600≥900)
  {
      digitalWrite(12,HIGH);
      digitalWrite(11,LOW);   
      digitalWrite(8,LOW);  
  }

}
View on Github
IoT based smart system for LPG gas leakage detection

Comments

Leave a Comment

Post a Comment