Fire and Gas Accident Avoider Using GSM Modem:
Fire causes huge loss of lives and properties every year in the world. Some of the main causes are insufficient fire defense materials, electric short circuit from faulty electrical wiring, presence of inflammable materials and violation of fire safety and lack of adequate awareness etc. Existing fire protection system does not work on the intensity of fire and moreover raises only alarm whenever fire is detected.
Sensor Technology:
The preference and development of sensor has increased which offers small dimensions, less power consumption and high reliability. Advancement of sensor technology has been boosted up by high-speed and low-cost electronic circuits which not only provide technical solutions but also improve the quality, reliability and efficiency of the products.
Main Characteristics of Sensor:
Small size, low cost, limited processing power, low battery capacity, and short-range communications. A Wireless Sensor Networks consist of huge number of sensor nodes and is a set of hundreds or thousands of micro sensor nodes that have capabilities of sensing, establishing wireless communication between each other and doing computational and processing operations.
Motivation:
The development of city gas has become an important symbol of urban modernization, but the resulting problem of gas safety using is becoming more and more serious, especially the outdoor pipeline network leakage, matter has become the priority of development of gas undertakings. Then emergencies and feasible measures and suggestions are put forward to make sure the safety operation of gas pipeline. Due to the large number of laying pipe and using for a long time, gas pipeline accidents occur frequently. So that gas sensor and fire sensor are advised to use in the industries to avoid fire accident.
OBJECTIVES AND SCOPE OF THE PROJECT:
1. Detect Gas Leakage (like LPG leak, carbon-monoxide leak) or any such petroleum based gaseous substance that can be detected using MQ series Sensor.
2. An SMS based Alert Mechanism and send SMS to mentioned mobile number which is given in the Arduino program
3. When the fire is detected the alarm system is turned ON, the alarm get stop when the fire is under control or maintained at constant temperature.
4. 16×2 LCD module will display the status.
Hardware and Software requirements:
1. R3Arduino NANO
2. Gas Sensor MQ6
4. LCD
5. DC Motor (FAN)
6. LED / Lamp (Light)
7. Driver Circuit
8. Power Supply (+5V, +12V)
Software requirements:
1. Arduino IDE
2. Proteus 8 Professional
GSM (Global System for Mobile) which is capable of receiving data from the surrounding and sending data over wireless medium is called GSM. The devices that provides to the wireless extends personal, household, public, business and any area that’s not affected by them now likely will be in the future. In daily life many of us see and interact with smart gadgets to our internet connected Smartphone’s, which have containing accelerometers, gyroscope, GPS and sometime heart rate monitor.
Applications of GSM:
1. mobile operator
2. manufacture of smart devices
3. Banks and payment solution
4. Automobile industry
5. Airlines
6. Health
Wireless sensor network which deploy large number of sensors and data is received and transmitted to particular system for processing. There are many techniques to detect the fire. Some of those techniques include fire detection using image processing and sensors, fire detection using CCTV technology, Fire detection using zigbee.
TESTED ARDUINO NANO CODE:
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
const int redLed = 4;
int greenLed = 6;
const int buzzer = 5;
int smokeA0 = A0;
const int flame = 2;
int Flame = HIGH;
int sensorThres = 150;
void setup()
{
pinMode(redLed, OUTPUT);
pinMode(buzzer, OUTPUT);
pinMode(greenLed, OUTPUT);
pinMode(smokeA0, INPUT);
pinMode(flame, INPUT);
lcd.init();
lcd.backlight();
lcd.clear();
Serial.begin(9600);
lcd.begin(16,2);
}
void loop()
{
int analogSensor = analogRead(smokeA0);
Serial.print(“Pin A0: “);
Serial.println(analogSensor);
lcd.print(“Smoke Level: “);
lcd.print(analogSensor-50);
lcd.setCursor(0, 1);
lcd.print(“Flame low”);
Flame = digitalRead(flame);
if (Flame== LOW)
{
lcd.setCursor(0, 1);
lcd.print(“Flame High”);
digitalWrite(redLed, HIGH);
delay(5000);
digitalWrite(buzzer, HIGH);
delay(5000);
digitalWrite(greenLed, LOW);
}
if (analogSensor-50 > sensorThres)
{
digitalWrite(redLed, HIGH);
digitalWrite(buzzer, HIGH);
Serial.println(“AT+CMGF=1”);
delay(1000);
Serial.println(“AT+CMGS=\”+91xxxxxxxxxxxx\”\r”); // your cell number
Serial.println(“Flre And Smoke Alert”);
Serial.println((char)26);
digitalWrite(greenLed, LOW);
}
else
{
digitalWrite(redLed, LOW);
digitalWrite(greenLed, HIGH);
digitalWrite(buzzer, LOW);
}
delay(500);
lcd.clear();
}