Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
58 views

LPG Leakage Detection Using Arduino Uno and ESP32 Wifi Module

Uploaded by

danike2280
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views

LPG Leakage Detection Using Arduino Uno and ESP32 Wifi Module

Uploaded by

danike2280
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 47

SRM Institute of Science &

Technology
School Computing

DEPARTMENT OF
COMPUTING
TECHNOLOGIES
18CSP108L - MINOR
PROJEC
18CSP107L
ZEROTH T
REVIEW

LPG Gas Leakage Detection using Arduino Uno & ESP 32


PROJECT
TITLEFlutter Programming.
Deployed Mobile App using
BATCH ID: GUIDE NAME:
PG Sivaranjan - RA2111003011328 Dr. VijayaLakshmi . M
Assistant Professor
Krithick Balaji Ramesh - RA2111003011318
Department of C omputing Technologies

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:

Advances in microcontrollers, WiFi modules, and mobile applications provide new


opportunities for enhancing LPG gas leakage detection.
 Project Overview:
• In this presentation, we explore Advanced LPG Gas Leakage Detection using a

combination of Arduino Uno, ESP32 WiFi Module, and Flutter.


• This integration allows for real-time monitoring of gas levels, enhancing safety and

responsiveness in environments where LPG is used.2

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.

 Mobile Application Development:


• Develop a user-friendly mobile interface with the Flutter framework.
• Implement real-time alerts and remote monitoring features to allow users to track LPG levels and
receive notifications.
MOTIVATION
The increasing reliance on LPG (Liquefied Petroleum Gas) in both residential and industrial
settings has heightened the need for effective safety measures to prevent hazardous leaks.
Traditional methods of detecting LPG leaks often rely on manual inspections and delayed
responses, which can lead to catastrophic accidents, property damage, and even loss of life.

1. Ensuring Safety and Peace of Mind:


A key motivation behind this project is to enhance safety and provide peace of mind to users by
offering a reliable, real-time LPG leak detection system. The integration of advanced technologies
such as the Arduino Uno, ESP32 WiFi module, and the Flutter framework for a mobile interface
ensures that leaks are detected promptly, and alerts are sent immediately, allowing users to take
swift action.
SCOPE OF THE PROJECT
 Hardware Integration:

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.

3. Environmental and Economic Impact:


Preventing LPG leaks not only safeguards human lives but also has significant environmental and
economic benefits. Efficient leak detection reduces the wastage of valuable resources and
minimizes the environmental impact of gas emissions. Moreover, early detection and timely
interventions can prevent costly repairs and downtime, offering economic savings.
INNOVATION IDEA OF THE PROJECT

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

Wireless Communication for Remote Monitoring:


The ESP32 WiFi module facilitates wireless data transmission from the Arduino to
a cloud-based server, allowing for remote monitoring of LPG levels. This wireless
communication capability eliminates the need for physical presence, providing
convenience and enhancing safety.
User-Friendly Mobile Interface:
Leveraging the Flutter framework, a cross-platform mobile application is developed
to provide users with a seamless and intuitive interface. The app delivers real-time
alerts and allows users to monitor the status of their LPG systems from anywhere,
ensuring they are always informed and can act quickly in case of a leak
PURPOSE OF THE PROJECT
▪ Enhancing Safety: The foremost purpose is to safeguard lives and property by providing an
effective and reliable solution for detecting LPG leaks. Early detection and timely alerts
allow for swift action to be taken, significantly reducing the risk of explosions, fires, and
other hazards associated with LPG leaks.

▪ Promoting Sustainable Practices: The project aims to support sustainable and


environmentally friendly practices by preventing gas wastage and reducing harmful
emissions. Efficient leak detection minimizes the environmental impact and contributes to
overall sustainability.

▪ 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

 Arduino Official Documentation - arduino.cc/reference/en


 Arduino Forum - forum.arduino.cc
 Arduino Libraries - arduino.cc/en/Reference/Libraries
 ESP32 Official Documentation - docs.espressif.com/projects/esp-idf/en/latest/esp32
 Getting Started with ESP32 on Arduino IDE - randomnerdtutorials.com/getting-started-with-esp32
 ESP32 Forum - esp32.com/viewforum.php?f=2
 ESP32 Libraries for Arduino - github.com/espressif/arduino-esp32
 ESP32 Projects on Arduino - randomnerdtutorials.com/projects-esp32
 ESP32 Wi-Fi and Bluetooth - esp32.net
REFERENCES
1. Flutter Documentation - flutter.dev/docs

2. Firebase Flutter Documentation - firebase.flutter.dev/docs/overview

3. Flutter and Arduino: How to Connect - medium.flutterdevs.com/how-to-connect-


flutter-to-arduino-6663e9a7124a

4. Flutter Sensors Plugin - pub.dev/packages/sensors

5. State Management in Flutter - flutter.dev/docs/development/data-and-backend/state-


mgmt

6. Pub.dev - pub.dev
THANK
YOU
SRM Institute of Science & Technology
School Computing

DEPARTMENT OF COMPUTING TECHNOLOGIES

18CSP108L – MINOR PROJECT


FIRST REVIEW

PROJECT TITLE
LPG Gas Leakage Detection using Arduino Uno & ESP 32
Deployed Mobile App using Flutter Programming.

BATCH I D: GUI DE NAME:


P G Sivaranjan - RA2111003011328 Dr. Vijaya Lakshmi . M
Assistant Professor
Krithick Balaji Ramesh - RA2111003011318 Department of C omputing Technologies

1
Architecture Diagram
Literature Survey:
Study Focus Area Key Findings References

Developed an early detection tool aimed at


Adiapasa et al. (2022) LPG Gas Leak Early Detection minimizing accidents through timely alerts and [1]
efficient detection.

Integrated IoT for real-time monitoring and


Jena et al. (2022) IoT-Based Approaches remote alerting, enhancing safety in both [2]
households and industries.

Explored IoT-based LPG detection systems,


Ahmed et al. (2023) IoT-Based Approaches improving response times and safety in various [3]
environments.

Implemented an Arduino-based LPG detection


Made et al. (2024) Arduino-Based Detection system using MQ-2 sensors, focusing on [4]
simplicity and cost-effectiveness.

Designed a system using Arduino and MQ-2


Effendi et al. (2024) Arduino-Based Detection sensors, highlighting its effectiveness and ease of [5]
implementation.

3
Literature Survey:
Study Focus Area Key Findings References

Introduced a smart detection and


monitoring system using advanced
Sai et al. (2023) Smart and Automated Systems [6]
technologies for efficient LPG gas
management.

Implemented GSM modules and IoT


platforms for automatic notifications and
Munirathinam et al. (2023) GSM and IoT Integration [7]
remote monitoring via mobile
applications.

Focused on integrating GSM with IoT for


Ayeni & Akinola (2024) GSM and IoT Integration automated detection and notifications in [11]
LPG leak systems.

Highlighted gas leakage detection


Jadhav et al. (2024) Industrial Applications systems for industrial use, utilizing [12]
advanced sensors and controllers for
scalability.
User Stories with Acceptance Criteria:
• Gas Leakage Detection:
• User Story: Detect LPG gas leakage and alert the user.
• Acceptance Criteria: The MQ2 sensor must detect gas leakage within 5
seconds and trigger the alert system.
• Real-Time Alerts:
• User Story: Send immediate alerts through calls, SMS, and notifications.
• Acceptance Criteria: Alerts should be delivered within 10 seconds of
detection.
• Mobile Application Interface:
• User Story: Provide an app interface for emergency response and data
visualization.
• Acceptance Criteria: The app must allow users to contact emergency
services and display historical gas leakage data in graphs.

3
Implementation Status:

•Gas Leakage Detection: Completed and tested successfully.

•Real-Time Alerts: Implemented and integrated with the backend.

•Mobile Application: UI/UX design completed, development in


progress.
.

3
Scrum Frame in Agile

Objective: Track the progress of project activities and ensure continuous


communication among team members.

•Format: Each team member reports on what they did yesterday, what they will
do today, and any impediments they are facing.

Sample Daily Updates:

•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.

Standup Meeting Outcomes:


•Identified and resolved connectivity issues with the ESP32.
•Progressed on the integration of real-time alert systems.

3
Functional Document :

Overview of Functional Documents:

•Purpose: Define the functionality of each user story in detail.


•Template: Follow the provided template to document functionality.

Key Functionalities Documented:

•Gas Leakage Detection:


• Description: Detects LPG gas and triggers alert.
• Inputs: Sensor data from MQ2.
• Outputs: Signal to backend, triggering notifications.

3
Real-Time Alerts:
• Description: Sends notifications, SMS, and calls.
• Inputs: Backend signal upon gas detection.
• Outputs: Alerts sent to the user’s device.

•Mobile App Features:


• Description: Emergency contacts, SOS, and graphical data.
• Inputs: User interaction, backend data.
• Outputs: User interface with real-time updates.

Status:
•Gas Leakage Detection: Documented and reviewed.

•Real-Time Alerts: Documented, pending final review.

•Mobile App: In progress.


3
Architecture Document :
•Purpose: Visualize the overall system architecture.

•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.

Objective 2: Real-Time Alerts and Notifications


•Result:
• Instant alerts were sent to users via SMS, notifications, and calls within 10
seconds of detection.
• User feedback indicates high satisfaction with the speed and reliability of
alerts.

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:

Research Article Overview:


• Title:
"IOT-Driven LPG Leakage Detection System Using Arduino Uno, ESP32, and
Flutter-Based Mobile App for Real-Time Alerts“

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

LPG Gas Leakage Detection using Arduino Uno & ESP 32


PROJECT
TITLEFlutter Programming.
Deployed Mobile App using
BATCH ID: GUIDE NAME:

PG Sivaranjan - RA2111003011328 Dr. Vijaya Lakshmi M


Assistant Professor
Krithick Balaji Ramesh - RA2111003011318 Department of C omputing
Technologies
Product Backlog with Epics and User Stories

Epic User Story Acceptance Criteria

User Story 1.1: As a homeowner, I - The MQ-2 sensor detects gas


want the system to monitor LPG levels concentration and triggers a local
Epic 1: Gas Detection and Monitoring in real-time, so I can be notified of any alarm if it exceeds a set threshold.
dangerous leaks. - The sensor reads data in real-time
and updates every 5 seconds.

User Story 2.1: As a homeowner, I - The system sends an SMS to a


want to receive an SMS alert when the predefined number when gas is
Epic 2: Real-time Alerting System LPG concentration exceeds safe levels, detected above the safety threshold.
so I can take action even if I’m not at - The SMS is sent within 10 seconds of
home. detection.

User Story 3.1: As a homeowner, I


Epic 3: Mobile Application for want to monitor LPG levels and - The app displays real-time gas levels.
Monitoring receive notifications through a mobile - Users receive push notifications
app. when gas is detected.
Functional Document

User Story Hardware/Software Description How It Works Acceptance Criteria


Monitors LPG levels; Successfully detects
MQ-2 Sensor, Detects LPG
activates buzzer LPG leaks and
1.1 Gas Detection Arduino Uno concentration and
when threshold is triggers a local
Arduino IDE triggers an alarm.
exceeded. alarm.

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.

Connects to sensor Shows real-time


Displays real-time
3.1 Mobile App Flutter Framework, system via Firebase; updates and sends
gas levels and sends
Integration Firebase notifies users when notifications
notifications.
a leak is detected. instantly.
Architecture Document
Architecture Overview:

•MQ-2 Sensor: Monitors LPG concentration.

•Arduino Uno: Receives sensor data and activates the alarm.

•ESP32: Sends SMS alerts when gas is detected.

•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.

- System performed as expected with minimal delays in


alerting users via SMS and mobile notifications.
Analysis
- Improvements needed in sensor calibration to reduce
false positives in fluctuating environmental conditions.
Sprint Retrospective Document

Category Details

- Sensor integration and real-time gas monitoring


worked smoothly.
What Went Well - SMS alert system functioned reliably under test
conditions.
- Mobile app provided a user-friendly interface for real-
time monitoring.

- Sensor calibration needed adjustments to avoid false


Challenges alarms in varying temperature conditions.
- Initial delays in SMS transmission due to network
issues.

- Investigate ways to stabilize sensor performance


Action Items for Improvement under different environmental conditions.
- Improve network redundancy to ensure reliable SMS
delivery.
Snippet of Code: Code examples showcasing key functionalities
(e.g., sensor reading, alert triggering)

You might also like