GSM Based LPG Gas Leakage Detector
GSM Based LPG Gas Leakage Detector.
Objectives:
- Detect Gas Leakage (like LPG leak, Butane leak, Methane leak) or any such · petroleum-based gaseous substance that can be detected using MQ5 Sensor.
- Setup an SMS-based Alert Mechanism and send SMS (alert messages) to a specified mobile number (input inside the Arduino program).
- Produce a sound alarm upon a gas leak and stop the alarm once the gas leak is under control (gas presence in the atmosphere is under normal range).
- Display status in an LCD using a 16×2 LCD module.
GSM Based LPG Gas Leakage Detector:Requared Components:
Number | Components name | Specifications | Quantities |
01 | GSM Module | SIM900A | 01 |
02 | Microcontroller | Arduino UNO | 01 |
03 | GAS Sensor | MQ-5 | 01 |
04 | LCD Display | 16x2 | 01 |
05 | Buzzer | ----- | 01 |
06 | NPN Transistor | 2N2222 | 01 |
07 | Resistors | 100 ohm, 560 ohm | 01,01 |
08 | Variable resistor | 10 kilo ohm | 01 |
09 | Regulator IC | IC7805 | 01 |
10 | Some Connecting wire | -------- | --------- |
11 | Power Supply | 12V ,2A adaptar | 01 |
GSM Based LPG Gas Leakage Detector:CIRCUIT DIAGRAM
GSM Based LPG Gas Leakage Detector: POWER SUPPLY OF THE CIRCUIT
The proper power supply is very important for this circuit. Here MQ-5 gas sensor, display, and GSM module need a 5V supply. The MQ-5 gas sensor and display 5V supply is taken from the IC7805 output pin. And for the GSM Module 5V supply must be taken From the Arduino 5v Pin.
Because the GSM module needs more current for a communication system. The Arduino Must be connected with a 12V,2A DC power supply.
NB:
1.Never connect the GSM module and Gas Sensor in Arduino +5v pin at a time.
2.GSM Module connects with Arduino +5v pin and Arduino must connect with 12v adapter.
3.Gas Sensor connects with IC7805 output pin and input pin connect with 12 v adapter.
GSM Based LPG Gas Leakage Detector: WORKING PRINCIPLE
After all, the connection, when the power supply provides the network LED of GSM, will blink every second which indicates that the GSM module is not connected to the mobile network. Once the connection is established successfully, the LED will blink continuously every 3 seconds. Now, this device is ready for the test.
When the system will detect gas leakage for a room it will take the following steps.
- Scan Gas & Display in LCD
After activation, the device will continuously scan gas and show the result in the LCD display. If there is no gas, then the display will show Gas Leakage’. If there is any gas found, the display will show - ‘Gas leakage’.
- Detection of Gas
If there is the presence of any gas the display shows ‘Gas Leakage’.
- Start Alarm
- Send SMS
When the sensor finds any gas leakage in-room or where the device installed, it immediately sends a notification on mobile. There will be an automatic messaging system that will send SMS to cell phone numbers.
- Stop Alarm & Reset
If the gas sensor cannot find any gas leakage, then it shows that there is no gas l leaking and keeps on scanning for gas.
GSM Based LPG Gas Leakage Detector: ARDUINO PROGRAM
#Include <LiquidCrystal.H>
#Include <SoftwareSerial.H>
LiquidCrystal Lcd(12, 11, 5, 4, 3, 2);
SoftwareSerial MySerial(9, 10);
Int BuzzerPin=8;
Int Lpg_sensor=7;
Int Gas_value;
Void Setup(){
PinMode(BuzzerPin,OUTPUT);
PinMode(Lpg_sensor,INPUT);
MySerial.Begin(9600); // Setting The Baud Rate Of GSM Module
Serial.Begin(9600); // Setting The Baud Rate Of Serial Monitor (Arduino)
Lcd.Begin(16,2);
}
Void Loop() {
Gas_value=DigitalRead(Lpg_sensor);
If(Gas_value==1)
{
DigitalWrite(BuzzerPin,HIGH);
Lcd.Print (" Gas Leakage ");
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=\"+8801xxxxxxxxx\"\R"); // Replace X With Mobile Number
Delay(1000);
MySerial.Println("Gas Is Leaking, Please Check Your Kitchen Gas Cylinder");// The SMS Text You Want To Send
Delay(1000);
MySerial.Println((Char)26);// ASCII Code Of CTRL+Z,The Stopping Character
Delay(200);
Lcd.Clear();
Delay(500);
}
Else
{
DigitalWrite(BuzzerPin,LOW);
Lcd.Print ("No Gas Leakage ");
Delay(6000);
Lcd.Clear();
Delay(500);
}
}
GSM MODULE (SIM900A mini):
Description:
SIM900A Modem is built with Dual Band GSM/GPRS based SIM900A modem from SIMCOM. It works on frequencies 900/ 1800 MHz. SIM900A can search these two bands automatically. The frequency bands can also be set by AT Commands. The baud rate is configurable from 1200-115200 through AT command.
The GSM/GPRS Modem is having an internal TCP/IP stack to enable you to connect with the internet via GPRS. SIM900A is an ultra-compact and reliable wireless module. This is a complete GSM/GPRS module in an SMT type and designed with a very powerful single-chip processor integrating AMR926EJ-Score, allowing you to benefit from small dimensions and cost-effective solutions.
Specifications:
- Dual-Band 900/ 1800 MHz
- Voltage Supply: DC5V
- GPRS multi-slot class 10/8GPRS mobile station class B
- Compliant to GSM phase 2/2+Class 4 (2 W @850/ 900 MHz)
- Class 1(1 W @ 1800/1900MHz)
- Control via AT commands(GSM 07.07,07.05, and SIMCOM enhanced AT Commands)
- Low power consumption: 1.5mA(sleep mode)'
- Operation temperature:-40°C to +85 °C
- Status indicator(D5): It will flash continuously whenever the call arrives otherwise it is left ON.
- Network LED(D6): This led will blink every second which indicates that the GSM module is not connected to the mobile network. Once the connection is established successfully, the LED will blink continuously every 3 seconds.
- Size: 24 * 24 * 3mm
GSM Based LPG Gas Leakage Detector: ADVANTAGES
1) This project is easy to use. And this project is fully automated so no human attention is required.
2) This project avoids the accident or the fire which is caused due to leakage of LPG gas.
3) Low power consumption and reliability.
4) The system enables monitoring of gas leakage in remote locations and thereby leads to a faster response time in the events of a leakage condition.
GSM Based LPG Gas Leakage Detector: DISADVANTAGES
1) This project is sensitive to the power supply.
2) This project uses a mobile communication system so it needs GSM networks.
3) It required to balance on SIM card for Sending SMS.
FUTURE DEVELOPMENT OF THIS PROJECT
Voice feedback systems can be included in GSM-based LPG leakage detection systems. Users will get intimation through pre-recorded voice messages. we can add other gas sensors like Smoke sensor, Alcohol sensor along with the LPG detector circuit. Or even we can add temperature, fire sensor, light sensors depending upon the application of the project.
This Project completed by
1.Md.Rubel Hossain----EEE, JUST
2.Ashikur Rahman------EEE, JUST
3.Akash Shaha-----------EEE, JUST
4.Abdullah An Noman--EEE, JUST
Post Comment