LPG Leakage Detection Using Arduino Uno and ESP32 Wifi Module
LPG Leakage Detection Using Arduino Uno and ESP32 Wifi Module
Technology
School Computing
DEPARTMENT OF
COMPUTING
TECHNOLOGIES
18CSP108L - MINOR
PROJEC
18CSP107L
ZEROTH T
REVIEW
1
ABSTRACT
• This paper presents an innovative LPG leakage detection system designed to enhance
safety in residential and industrial environments. The system integrates three primary
components: the Arduino Uno for data processing, the ESP32 WiFi module for wireless
communication, and the Flutter framework for developing a user-friendly mobile interface.
The Arduino Uno, equipped with gas sensors, continuously monitors the environment for
potential gas leaks. Upon detecting a leak, it communicates the data to the ESP32 WiFi
module, which then transmits the information to a cloud-based server. The Flutter-based
mobile application allows users to receive real-time alerts and monitor the status of their LPG
system remotely. This seamless integration of hardware and software components provides
an efficient and effective solution for proactive gas leak detection and prevention, thereby
reducing the risk of accidents and enhancing overall safety.
INTRODUCTION
Significance of Advanced LPG Gas Leakage Detection:
Effective gas leakage management is crucial for ensuring safety and preventing accidents.
Challenges with Traditional Methods:
Traditional methods rely on manual inspection and basic detectors, which are often time-
consuming, costly, and prone to inaccuracies.
Need for Timely Detection:
Early and accurate detection of LPG gas leaks is essential to prevent potential hazards
and reduce the risk of explosions.
Role of Modern Technologies:
3
Methodology:
Data Acquisition and Wireless Communication:
• Use gas sensors with the Arduino Uno to continuously monitor LPG levels and preprocess the data for
noise reduction.
• Transmit processed data wirelessly to a cloud-based server using the ESP32 WiFi module for remote
monitoring.
Utilize the Arduino Uno as the primary microcontroller for processing data from gas sensors.
Implement the ESP32 WiFi module for wireless communication, enabling real-time data
transmission to a cloud-based server.
Select and calibrate appropriate gas sensors to accurately detect LPG concentrations.
Software Development:
Develop a robust firmware for the Arduino Uno to handle data acquisition, preprocessing, and
communication with the ESP32 WiFi module.
Create a mobile application using the Flutter framework that offers a user-friendly interface for
real-time monitoring and alerts.
Implement backend services to handle data storage, processing, and alert management on
the cloud server.
MOTIVATION
2. Technological Innovation and Accessibility:
This project leverages cutting-edge technology to create a user-friendly and accessible solution. By
automating the detection process and providing real-time notifications, we reduce the
dependency on human intervention and expert knowledge, making safety measures more
effective and widespread.
The innovation in this LPG leakage detection project lies in the seamless integration of
hardware and software components to create an efficient, real-time monitoring system.
This project combines the strengths of the Arduino Uno, ESP32 WiFi module, and the
Flutter framework to address the critical need for reliable and prompt LPG leak
detection.
Key innovative aspects include:
Real-Time Detection and Alerts:
▪ The use of gas sensors with the Arduino Uno enables continuous monitoring of
LPG levels, ensuring that any leak is detected as soon as it occurs. The real-time
nature of this system significantly reduces response times, thereby preventing
potential hazards.
INNOVATION IDEA OF THE PROJECT
▪ Increasing Accessibility to Safety Solutions: The project seeks to make advanced safety
solutions accessible to a wider audience. By using affordable and widely available
components such as the Arduino Uno and ESP32 WiFi module, and developing a user-
friendly mobile application with the Flutter framework, the system is designed to be easily
adopted by households and businesses alike.
REFERENCES
[1] Adiapasa, MN, Nugroho, BS, & Aditya Bagus. (2022). LPG Gas Leak Early Detection Tool LPG Gas
Leak Early Detection Tool. 9(4), 1821–1830
[2] B. Jena, S. K. Pradhan, R. Jha, S. Goel, and R. Sharma, "LPG gas leakage detection system using IoT,"
*Departmentof Electrical and Electronics Engineering, ITER, SOA Deemed to be University*,
Bhubaneswar, India, Nov. 2022, available online: Feb.2023.
[3] Ahmed, Saad, Md Jubayer Rahman, and Md Abdur Razzak."Design and Development of an IoT-Based
LPG Gas Leakage Detector for Households and Industries." 2023 IEEEWorld AI IoT
Congress (AIIoT). IEEE, 2023.
[4] Made, S. W. I., Gunawan, A. A. N., Ketut, P. I., & Ketut, S. I. (2024). Design and Manufacture of LPG
Gas LeakDetection Based on Arduino Uno Using MQ-2 Sensor. Asian Journal of
Research and Reviews in Physics, 8(1), 27-32
REFERENCES
[5] Effendi, M. Makmun, Ahmad Turmudi Zy, and Sanudin Sanudin. "Implementing Internet Of Things
(IOT) Technology For Real-Time Detection And Monitoring Of LPG Gas Leaks." Jurnal Info Sains:
Informatika dan Sains 14, no. 03 (2024): 246-256.
[6] Sai, G. Nithin, K. Pavan Sai, K. Ajay, and Praveena Nuthakki. "Smart LPG Gas Leakage Detection and
Monitoring System." In 2023 5th International Conference on Smart Systems and Inventive Technology
(ICSSIT), pp. 571-576. IEEE, 2023.
[7] Munirathinam, Dhanasu, Vijayalakshmi Sekar, Aravinth Arumugam, and Tamilselvan Rajeswari
Palanisamy. "GSM based gas leakage detection system using Arduino." In AIP Conference Proceedings,
vol. 2857, no. 1. AIP Publishing, 2023.
[8] Rajendran, A., T. Happila, R. Bhuvan Harish, K. T. Prabhakaran, R. Surya, and C. Chandramaouli.
"Arduino Microcontroller Based Gas Leakage Monitoring and Alerting System." In 2023 International
Conference on Self Sustainable Artificial Intelligence Systems (ICSSAS), pp. 1561-1566.
IEEE, 2023.
REFERENCES
[9] Ravisankar, B., Manoj, D., Gurubaran, K., Senthilnathan, N., Satheesh, R., & Kesavan, T. (2023,
March). IoT based Automatic Electricity Cut off using LPG Gas Leakage Detection System. In 2023
Second International Conference on Electronics and Renewable Systems (ICEARS) (pp. 1-8) IEEE.
[10] Kurong MA, Ganteh MA, Kumar S, Hussin AF, Yusof KH, Amirrudin NA, Sapari NM. Development
of Gas Detector Using Arduino UNO. Multidisciplinary Applied Research and Innovation. 2024 May
29;5(2):186-90.
[11] Ayeni, J.K. and Akinola, S.O., 2024. IoT-Based Gas and Smoke Detection System using Blynk
application with Automatic SMS and Alarm Notifications. University of Ibadan Journal of Science and
Logics in ICT Research, 11(2),pp.98-105.
[12] Jadhav, Rahul Jalinder, P. Radhakrishnan, Dattatraya Arun Jadhav, B. Ashreetha, J. Divya, and
Saptarshi Mukherjee. "Internet of Things Enabled Gas Leakage Detection Over Industrial Areas using
Powerful MQ Series Sensor and Controller." In 2024 International Conference on
Inventive Computation Technologies (ICICT), pp. 1679-1686. IEEE, 2024
REFERENCES
6. Pub.dev - pub.dev
THANK
YOU
SRM Institute of Science & Technology
School Computing
PROJECT TITLE
LPG Gas Leakage Detection using Arduino Uno & ESP 32
Deployed Mobile App using Flutter Programming.
1
Architecture Diagram
Literature Survey:
Study Focus Area Key Findings References
3
Literature Survey:
Study Focus Area Key Findings References
3
Implementation Status:
3
Scrum Frame in Agile
•Format: Each team member reports on what they did yesterday, what they will
do today, and any impediments they are facing.
•Team Member 1:
• Yesterday: Integrated MQ2 sensor with Arduino Uno and ESP32.
• Today: Test signal transmission to the backend.
• Impediments: Need to troubleshoot minor connectivity issues.
3
• Team Member 2:
• Yesterday: Designed the notification system for the mobile app.
• Today: Implement SMS and call alert features.
• Impediments: None.
3
Functional Document :
3
Real-Time Alerts:
• Description: Sends notifications, SMS, and calls.
• Inputs: Backend signal upon gas detection.
• Outputs: Alerts sent to the user’s device.
Status:
•Gas Leakage Detection: Documented and reviewed.
•Components:
• Sensors (MQ2): Detects LPG leakage.
• Microcontroller (ESP32): Processes sensor data and sends signals.
• Backend System: Receives signals, triggers alerts.
• Mobile Application: Displays alerts, emergency features, and graphs.
Current Sprint Features:
•Integration of Components:
• Sensor to Microcontroller: Communication setup completed.
• Microcontroller to Backend: Signal processing and transmission.
• Backend to Mobile App: Notification system implemented.
3
Result Analysis:
Objective 1: Gas Leakage Detection
•Result:
• Successfully detected LPG gas leakage within 5 seconds using the MQ6
sensor.
• Accuracy: 98% detection rate under various conditions.
3
Objective 3: Mobile Application Interface
• Result:
• The app successfully displayed real-time data and provided access to
emergency contacts and SOS features.
• Graphs reflecting gas leakage trends were generated and displayed
accurately.
Analysis:
• Strengths:
• High accuracy in detection and promptness in alert delivery.
• User-friendly interface with essential emergency features.
• Areas for Improvement:
• Enhance the app's UI for better user experience.
• Optimize sensor calibration for even higher accuracy.
3
Initial Research Article:
Abstract:
This paper presents a comprehensive LPG leakage detection system utilizing
Arduino Uno and ESP32 microcontrollers, integrated with a mobile application
developed using the Flutter framework. The system aims to enhance safety by
providing real-time alerts through SMS, notifications, and a mobile app, ensuring
prompt user action in case of gas leaks. The proposed solution is designed for
both residential and industrial environments.
3
Key Findings:
•Detection Accuracy:
High sensitivity to LPG leaks, with prompt and accurate detection.
•Response Time:
Alerts generated and dispatched within 5 seconds of leak detection.
•User Experience:
The mobile app provides an intuitive interface for monitoring and managing
alerts, enhancing user safety.
Status:
•Submission:
The article is formatted according to IEEE standards and ready for submission.
3
Evaluation Metrics:
Detection Accuracy:
•Measurement:
• True Positives (TP) vs. False Negatives (FN).
• Accuracy rate based on test results.
Response Time:
•Measurement:
• Time taken from gas detection to alert activation.
• Consistently under 5 seconds.
Notification Efficacy:
•Measurement:
• Success rate of SMS and call alerts.
• Real-time updates via the mobile app.
User Feedback:
•Findings:
• Positive feedback on alert immediacy and app usability.
3
Hardware Prototype:
System Placement:
•Location: Positioned adjacent to the LPG cylinder.
•Components:
• MQ-2 sensor, Arduino Uno, ESP32, buzzer, and power supply.
Hardware Assembly:
•Enclosure: Custom-designed for secure mounting.
•Performance:
• Optimal sensor operation and hardware protection.
3
Results and Discussion:
Functionality Testing:
•Tests Conducted:
• Gas detection, alarm activation, and notification delivery.
• Multiple scenarios tested for accuracy and reliability.
Results:
•Detection:
• Accurate gas leak detection with minimal false positives.
•Alerts:
• Timely delivery of notifications and reliable app performance.
•Discussion:
• The system addresses key safety concerns in LPG environments.
• Future enhancements include broader gas detection and advanced UI.
3
Conclusion:
Summary of Achievements:
•Enhanced Safety:
• Reliable detection and prompt alerts ensure timely responses to LPG leaks.
•Technological Integration:
• Successful combination of hardware and software for comprehensive
monitoring.
•User Experience:
• Positive feedback on the system's usability and effectiveness.
3
Future Work:
•Expansion:
• Integrate additional sensors for detecting other hazardous gases.
•Machine Learning:
• Explore predictive algorithms to anticipate and prevent leaks.
Final Thoughts:
The system provides a robust solution for LPG leak detection and alerting,
improving safety protocols in both residential and industrial settings.
3
THANK
YOU
SRM Institute of Science &
Technology
School Computing
DEPARTMENT OF
COMPUTING
TECHNOLOGIES
18CSP108L - MINOR
PROJEC
18CSP107L
SECOND T
REVIEW
Arduino
ESP32 Sends SMS alert communicates with Sends an SMS within
2.1 SMS Alert
Arduino IDE, GSM when gas leak is ESP32 to send SMS 10 seconds of leak
System
Module detected. to predefined detection.
contact.
•Flutter Mobile App: Displays gas levels and sends push notifications.
•Firebase: Stores real-time data and sends updates to the mobile app.
Components Interaction:
•The MQ-2 sensor reads gas levels and sends them to the Arduino Uno.
•The Arduino processes the data and sends a signal to ESP32 when the gas concentration exceeds the
threshold.
•The ESP32 sends an SMS to the user’s mobile number, while the mobile app retrieves data from
Firebase to display real-time levels.
Outcome / Result Analysis
Objective Outcome
- Successfully detected LPG leaks with a detection time
1: Gas Detection of under 3 seconds.
- Buzzer activated within 5 seconds of detection.
- SMS alert system sent notifications to predefined
2: SMS Alerts
numbers within 10 seconds of detection.
- App displayed real-time gas levels.
3: Mobile App Integration - Users received push notifications within 5 seconds of
detection.
Category Details