Arduino Projects    |   Raspberry Pi  |     Electronic Circuits    |    AVR    |    PIC    |    8051    |    Electronic Projects   |   Free TI Design & Simulation Tools 

Microcontroller Based LPG Gas Leakage Detector using GSM Module

Description

Table of Contents:

Contributor: 
Ashish Sharma

The presence of dangerous LPG leakage in the cars, service station or in the storage tank environment can be detected using the Ideal Gas Sensor. This LPG gas leakage detector unit can be easily integrated into a unit that can sound an alarm or give a visual suggestion of the LPG concentration. The sensor has both admirable sensitivity and rapid response time. This sensor can also be used to sense other gases like iso-butane, propane, LNG and even cigarette smoke.

 

The output of the sensor goes LOW as soon as the LPG sensor senses any gas leakage from the storage. This is detected by the microcontroller and the LED & buzzer is turned ON. After the delay of few milliseconds, the exhaust fan is also turned ON for throwing the gas out and it continues sending message as ‘GAS LEAKAGE’ to a mobile number which is pre-defined.

 
INTRODUCTION
MQ-5 semiconductor sensor is Combustible Gas Sensitive. The MQ-5 gas sensor is made up of SnO2 which has lower conductivity in clean air. A simple electro-circuit is used here which is used to convert the changing conductivity into corresponding output signal of gas concentration. Both Methane and Propane can be detected easily by MQ-5 sensor because it has high sensitivity towards Methane, Propane and Butane. It is a low cost sensor suitable for different application.
 
BLOCK DIAGRAM FOR LPG GAS LEAKAGE DETECTOR
LGP Gas Detector Block Diagram
Block Diagram for Gas Leakage Detector
 
BLOCK DIAGRAM DESCRIPTION
MICROCONTROLLER
It is the heart of the project. It is used to control the Exhaust fan, LED and Buzzer when LPG leakage occurs. The input/ output ports of the microcontroller are used for this purpose.
 
MQ-5 LPG SENSOR
This sensor is used to sense the leakage of LPG. In normal conditions the output of this sensor is ‘high’ and it goes ‘low’, when the LPG is sensed.
 
EXHAUST FAN
The LPG is pushed out into the environment using an exhaust fan which reduces the concentration of LPG near the leakage area.
 
Buzzer
The leakage of the LPG is indicated by using the buzzer. It is 12 V DC operated buzzer.
 
LED
The leakage of the LPG is indicated by using the LED. It is 1.2 V DC operated LED.
MQ-5 LPG Gas Detector Module
MQ-5 LPG GAS DETECTOR MODULE
 

Circuit Diagram

Comments (55)

Where is the program code for

Where is the program code for this project?

@ strangeganesh: code is with

@ strangeganesh: code is with article, plz see bottom side  :)

 

code with article on every

code with article on every page, plz see at bottom  :)

When i wrote this comment it

When i wrote this comment it was not there guess the website ppl added it afterwards

what software i can use to

what software i can use to write and compile the programms for the AVR microcontrollers?

U can use AVR STUDIO or

U can use AVR STUDIO or WINAVR

to write the code for AVR microcontrollers

 is it necessary to connect

 

is it necessary to connect an opAmp to the gas sensor module.

cant we directly use only MQ-5 and give its output to ADC

Sir Ashish Sharma, This is an

Sir Ashish Sharma, This is an excellent project. I am very interested in implementing this. With all due respect sir, I would like to know more about this innovation. Can you please PM me in my email sir? vmandin@yahoo.com i am quite confused on the actual flow of the programs and how the codes are to be used. Your help will be much appreciated Sir. vmandin@yahoo.com

Sir Ashish Sharma, what an

Sir Ashish Sharma, what an awesome innovation. Amazing mental ability.I am very interested too with this project. With your permission, I would like to know this. Can you please pm me in my email sir?jrexsal@yahoo.com..Actually I dont know how to program Atmega..and wat are softwares to be needed..how codes are to be used..Any help will be highly appreciated..likewise the coding of this microcontroller sir.jrexsal@yahoo.com..thank you.

Could you please help me sir

Could you please help me sir regarding this? Sir Ashish Sharma I am very much interested with this project.I would like to know more about this also..Can you please pm me in my email sir?jrexsal@yahoo.com....I am a neophyte when it comes to atmega microcontroller.hope to hear you soon in my email.any help would be highly appreciated..thanks.. jrexsal@yahoo.com

Good day Mr. Ashish Sharma,

Good day Mr. Ashish Sharma, could you help us,

 

We are I.T students of QCPU, and we were amazed to your innovation. We would like to propose gas leak deterctor connected to VB.net in our thesis. But looks like you use a different software and application for this Gas leak detector. But still we want also to learn the software you used in this. Could you help us sir, regards to the programs u used and how u connect it to the device.

Here is our email: jangideonlongino@yahoo.com
Thankyou & Godbless.

sir can i write code in c

sir can i write code in c language

 

sir i need program code can u

sir i need program code can u please mail me my mail id is integratedvikram@gmail.com

 

sir itz a very influencive

sir itz a very influencive project.........but i want to use ATmega8 microcontroller instead ATmega16..........can i done this?

Dear all.thanks to all for ur

Dear all.

thanks to all for ur comments and love. The complete document and the code is with this  article. All of u can learn the working of this project with the help of flow chart diagram. u can use any microcontrooler, in which u are interested not only atmega. well if any one want any help after this , can post their problem on this tread or mail me at ashishpreet2009@gmail.com or can join me on facebook using my link https://www.facebook.com/asisa.sarma?ref=tn_tnmn .

 

Thnking u all.

have a good day  :)

i am interested in doing this

i am interested in doing this project.can you please mail me the sourcecode at rdnrodrigues41@gmail.com

i am interested in this

i am interested in this project.can you please mail me the source code at  rdnrodrigues41@gmail.com

I need your help I need to

I need your help I need to use the lpg sensor with a raspberry Its this posible

I need 3 of this in a case,

I need 3 of this in a case, how much for each?

Mr. Sharma I need to contact

Mr. Sharma I need to contact you. I need yout help for a project

hello Mr. Sharma...          

hello Mr. Sharma...

 

           I was totally amazed by your work sir, and i am interested in it. With all your due respect may i have further explanation on its testing process. Here is my e-mail address: jl_raven6@yahoo.com

 

 

Thank you very much sir:)

Dear Frnds,Thanks for luv and

Dear Frnds,

Thanks for luv and appreciations. My personal id is contactashish10@gmail.com. if any want to personally mail me, he/she can use this mail id.

Thanks again.

 

Regards

ASHISH SHARMA

Hello Sir Sharma, I am an

Hello Sir Sharma,

 

I am an Electronics engineering student at LSPU SPCC. I want a favor to ask, can you help me on how you program the device, what software you used and the program for the system. Please respond in my emailaddress: kheiizidhee@gmail.com. Your response will be very much appreciated. Thank you in advance.

hello ashish bro....         

hello ashish bro....

                             can you please send me the circuit of the project with lcd connections to me. My mail id is albinvadakkekara@gmail.com. Thanks in advance. 

i need cicuit

i need cicuit diagran......plz help.

can you please attach the

can you please attach the curcit diagram of the programmer that you use in order to program the ATmega16??

sir i want a source code..pls

sir i want a source code..pls mail me..
pwnrockstar18@gmail.com

Well done .Sir , i need of

Well done .Sir , i need of 3g base home automation if send me details.

wonderful work sir !!!

wonderful work sir !!!

HI Sir, Really Good one and i

HI Sir,

 

Really Good one and i am interesting to doing this one please can u mail me the source code. can i do this in any 8051 IC, Presently we are using P89V51RD2 .

 

Help me out.

 

 

 

Email ID : nagappa87@gmail.com

Thanks and Regards,

Nagaraj

sir the downloaded code

sir

 

the downloaded code contains 4 .c files, wheres the total CODE

Please sir, give me a

Please sir, give me a components specifications of this project and also give the circuit diagram in detail

on my email add. snehashinde921@gmail.com

Thankyou for this idea

Thankyou for this idea sir.

But sir how can we sense the gas and how can we test the gas sensor module.???

 

Please help me with this doubt. Its urgent sir

 

Is it possible for me to contact you??

 

If possible i will be glad to take suggestions from you.

 

Thankyou

Hi! What is the overall cost

Hi! 

What is the overall cost incurred to implement this project?

Sir,This is a very good

Sir,

This is a very good project. I am interested in doing the same. But I am having some problems.

The code has code for lcd in it, even though lcd is not there in the circuit diagram representation.

Secondly, what is SL1 in the circuit diagram representation?

Third, what is the flow of the code; the order with which all c files need to be arranged?

The downloaded code contains 4 c. files. Please provide with the total code and the circuit diagram as well.

Sir, mail me the needful at potdar104@gmail.com

Hi Sir ,  I found u r project

Hi Sir , 

 

I found u r project to be very good , so i have made the circuit

but i am facing problems with the program

The zip file that u have attached contains many .C files - which file to add is a confusion

it also contains many .h(header files) how to add them to the main file

Plz help

thanku in advance

 

How can I compile it in one

How can I compile it in one hex file? There are 4 .c files and 3 .h files?

How to program it? Please reply. THank you Sir. :)

Same problem is faced by

Same problem is faced by me

can anyone pls help

There are 4 .c files and 3 .h

There are 4 .c files and 3 .h files

how to compile them into one

 Please reply. Thank you Sir. :)

hisir,its a splended project

hi

sir,its a splended project no one can refused from importance of it.dear sir i m final year student and i need ur help.

sir this project have just intial step of detection no sefty issue is spacify.so i wanna to added some security issue and like atumatic shutoff valve,and also add a fire detection i.e (gas and fire detection with atumatic security controll),further info will give u on the respons.............

hope u will reply very soon

 

May I get the program

May I get the program code,component details and circuit diagram explanation in detail?

sir,i like very much ur

sir,

i like very much ur project . and also i am doing work with this project . but i confused with some point that are about the code which have to burn in micro contrroller . i am not able to under stand the code pgm . so it is my request to you that pl send me the hex file of this project . and give the idea how did i implement that code in a sequence .

where is the actual code for

where is the actual code for this program...?the zip file contains different files...?how to arrange those?

 

the circuit diagram is not

the circuit diagram is not clear and what about the program code

 

hi there... i see on the

hi there...

 

i see on the schematic diagram, there is no xtal used.

what clock is it?

 

thanks

this board is not using

this board is not using crystal?

how could be?

and what is the clock speed?

No program is there.... 

No program is there....

 

I need circuit diagram and

I need circuit diagram and program in assembly language..

hello sir,I want to do this

hello sir,

I want to do this project.plz send me circuit diagram and discription.email :kishupatel1493@gmail.com

sir kindly tell me the range

sir kindly tell me the range of gas leakage detection??????

 

You are here