IOT Based Gase Monitoring System Using Arduino

Description of the project There have been many incidents like explosions and fire due to LPG gas leakage. Such incidents can cause dangerous effects if the leakage is not detected at an early stage. Arduino and IOT based LPG leakage detection system is a project which will help in determinin

2025-06-28 16:28:05 - Adil Khan

Project Title

IOT Based Gase Monitoring System Using Arduino

Project Area of Specialization Internet of ThingsProject Summary

Description of the project

There have been many incidents like explosions and fire due to LPG gas leakage. Such incidents can cause dangerous effects if the leakage is not detected at an early stage. Arduino and IOT based LPG leakage detection system is a project which will help in determining gas leakage in the surrounding and send data to an IOT module.

Internet of Things (IoT) is the networking of ‘things’ by which physical things can communicate with the help of sensors, electronics, software, and connectivity. These systems do not require any human interaction and same is the case with iot based gas detection system, it does not require human attention.

Project Objectives

Description of the project

There have been many incidents like explosions and fire due to LPG gas leakage. Such incidents can cause dangerous effects if the leakage is not detected at an early stage. Arduino and IOT based LPG leakage detection system is a project which will help in determining gas leakage in the surrounding and send data to an IOT module.

Internet of Things (IoT) is the networking of ‘things’ by which physical things can communicate with the help of sensors, electronics, software, and connectivity. These systems do not require any human interaction and same is the case with iot based gas detection system, it does not require human attention.

  

LPG Gas Leakage Detector using Arduino

ARDUINO

BySaddam Jun 23, 201549

Arduino based LPG Gas Detector

While LPG is an essential need of every household, its leakage could lead to a disaster. To alert on LPG leakage and prevent any mishappening there are various products to detect the leakage. Here we have developed an Arduino based LPG gas detector alarm. If gas leakage occurs, this system detects it and makes an alert by buzing the buzzer attached with the circuit. This system is easy to build and anyone who have some knowledge of electronics and programing, can build it..

We have used a LPG gas sensor module to detect LPG Gas. When LPG gas leakage occurs, it gives a HIGH pulse on its DO pin and arduino continuously reads its DO pin. When Arduino gets a HIGH pulse from LPG Gas module it shows “LPG Gas Leakage Alert” message on 16x2 LCD and activates buzzer which beeps again and again until the gas detector module doesn't sense the gas in environment. When LPG gas detector module gives LOW pulse to arduino, then LCD shows “No LPG Gas Leakage” message

Project Implementation Method

IoT based LPG Gas Leakage Detector using ESP8266 and Arduino

LPG Gas Leakage Detector using ESP8266 and Arduino

A wide range of MQ sensors is available in the market that can measure Methane, Butane, LPG, smoke, Alcohol, Ethanol, Carbon Monoxide, Hydrogen Gas, Ammonia, etc. These sensors are widely used in Smoke Detection, Gas Detection, and Air Quality Monitoring systems. Among which we previously used the MQ4 gas sensor in the Food monitoring system and MQ135 in the Air Quality monitoring system.

Today we will use the MQ-5 sensor to build an LPG Leakage Detector using ESP8266-01. The ESP8266 will be programmed using the Arduino Uno, and after uploading the program, ESP8266 will be interfaced with the MQ-5 sensor. Here it will use IFTTT Webhooks to send Email warnings whenever the Gas sensor detects the LPG Gas.

Components Required

ESP8266-01

MQ-5 LPG Gas Sensor

Voltage Regulator (AMS1117)

Capacitor (47µf and 0.1µf)

Push Button

Lithium Polymer battery

Required Components for LPG Gas Detector

Programming ESP8266-01 Using Arduino Uno

Instead of using the FTDI board, here I am using Arduino Uno to program the ESP8266-01. To Program ESP8266-01 using Arduino Uno make a circuit as per the given diagram.

ESP8266-01 Arduino Uno Circuit Diagram

Connect the VCC and GND of ESP8266 to 3.3V and GND of Arduino, then connect CH_PD to 3.3V and GPIO_0 to GND of Arduino. Also, connect RX and TX of ESP8266 to RX & TX of Arduino Uno respectively. GPIO_0 is grounded to enable the programming mode of ESP8266. After making the circuit as per the diagram connect the Reset pin of Arduino to GND to bypass the Arduino. It will disable Arduino and upload code directly to the ESP8266 board.

Now power up the Arduino Uno and open the Arduino IDE. Select the “Generic ESP8266 Module” inboard type and upload the code. 

Arduino IDE Setup

LPG Leakage Detector Circuit Diagram

After uploading the code, remove the Arduino Uno and connect the MQ-5 gas sensor with ESP8266 as per the diagram. This system will work as an LPG leakage detector.

LPG Leakage Detector Circuit Diagram

VCC and CH_PD pins of ESP8266 are connected to the output pin of AMS1117 while the GND pin is connected to –ve rail of battery. The reset pin of ESP8266 is connected to GND through a push-button. MQ-5 sensor is connected to the GPIO2 pin of ESP8266. The positive rail of the buzzer is connected to GPIO 0 of ESP8266 through a switch.

This complete setup will be powered by the Lithium polymer Battery. The AMS117-3.3V is used to regulate 3.3V for the ESP8266-01 board.

Here we have built a small module using ESP8266-01 on perf board which can also be used in other projects:

Benefits of the Project

Applications, Advantages and Future development of IOT and Arduino based LPG Leakage Detection System

IOT and Arduino based LPG leakage detection system can be installed in Homes, Hotels, LPG Cylinder storage areas. The main advantage of this project is that it can determine the leakage and send the data over to a website, where it can be monitored and corrective actions can be taken.

If appropriate measures are taken quickly after it is reported over the IOT, it can help in saving the loss of lives and property.

We can enhance the gas leakage detection system project to detect toxic gases. Further, we can add Smoke and Fire Detectors to detect fire.

Technical Details of Final Deliverable

Technical Specifications

We have used various components in the IOT and Arduino based LPG leakage detection system. LPG Gas Sensor is used to detect the gas leakage. Arduino is used to turning ON the buzzer, to send a message to LCD and to send data to the IOT module. LCD is used to display an informative message. A buzzer is used to signal the gas leakage. And ESP8266 is used to send data over a Wi-Fi network.

Final Deliverable of the Project Software SystemCore Industry FoodOther Industries Others Core Technology Internet of Things (IoT)Other Technologies OthersSustainable Development Goals Good Health and Well-Being for PeopleRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 70000
IOT Gas seneor Equipment23500070000

More Posts