SlideShare a Scribd company logo
1 of 16
Download to read offline
GAS LEAKAGE DETECTOR USING
ARDUINO WITH SMS ALERT
GAS LEAKAGE DETECTOR USING ARDUINO AND MQ5 SENSOR – WITH SMS ALERT
(USING GSM MODULE) AND SOUND ALARM - ENGINEERING MAIN PROJECT
OBJECTIVES OF THE PROJECT
• Detect Gas Leakage (like LPG) using MQ5 Sensor and Arduino
• Setup an SMS based Alert Mechanism using GSM Module
• Send 3 SMS (3 alert messages) to 2 specified mobile numbers
• Sound Alarm – produce sound alert on gas leak
• Display status in an LCD using a 16×2 LCD module.
PLANNING OF COMPONENTS
• MQ5 – to sense LPG (use Digital Out to detect level status)
• Arduino
• To read MQ5 output and detect Gas Leak (through level comparison)
• To activate outputs upon gas leak – sound alarm and sms alert
• To send AT Commands to GSM Module
• To send Status message commands to LCD Module
• To Turn ON and OFF Sound Alarm
• GSM Module – for GSM Communication and to send SMS to mobile numbers
• LCD Module – to display status messages
• Speaker – to produce Alarm Sound
ARDUINO
• Arduino Uno – an electronic prototyping platform/board based on Atmega AVR
Microcontroller – Atmega328P (8 bits, 16 Mhz)
• Operates on +5 Volts
• 14 Digital I/O Pins (of which 6 are PWM)
• 6 Analog Input Pins
• 32 KB Flash Memory and 1KB EEPROM
• Serial Communication Enabled
MQ5 SENSOR MODULE
• MQ5 – is a generic gas sensor used to detect LPG presence
• The module has Digital Out and Analog Out
• Detects LPG from 200ppm to 10000ppm
• Operated on +5 Volts
• Can be used detect other gases like Methane and Alcohol as well
GSM MODULE
• SIM 900 GSM Module – is used to send SMS alerts upon gas leak
• Serial Communication is employed
• AT COMMANDS – are used to communicate with GSM Module
CIRCUIT DIAGRAM
CIRCUIT EXPLANATION-1
• Interfacing MQ5 Sensor to Arduino
• Connecting Digital Out of MQ5 to pin 7
• Interfacing GSM Module to Arduino
• Connect to PWM pins 9 and 10 of Arduino (using SoftwareSerial)
• Tx of GSM Module to 9 and Rx of GSM Module to 10
• Interfacing Speaker to Arduino
• 2N2222 is used as driving transistor
• Connect to Pin 8 of Arduino
CIRCUIT EXPLANATION-2
• Interfacing LCD Module to Arduino
• 16x2 LCD Module is used
• Data Lines (DB4,DB5,DB6,DB7) connected to 5,4,3,2 pins of Arduino (in order)
• Enable Pin connected to 11 and RS (Register Select) connected to 12
• Backlit LED is connected to Vcc (+5v) through a 560 ohms current limiting resistor
• Contrast – is adjusted by connecting VEE to a 10K Pot and +5V
PROGRAM EXPLANATION - 1
• Important Initializations and Setup
• Sensor MQ5 is assigned to pin 7 using variable ‘sensor’
• Sound Alarm Speaker is assigned to pin 8 using ‘speaker’
• ‘sensor’ – configured as Input
• ‘speaker’ – configured as output
• Software Serial communication is used with PWM pins of Arduino
• <SoftwareSerial.h> - header library is made use of!
PROGRAM EXPLANATION -2
• Important Variables
• sms_count – variable used to limit number of SMS
• Gas_Leak_Status – variable to identify ‘gas leak’ occurrence status
• gas_value – temporary variable to store gas level fetched from sensor MQ5
• Gas_alert_val – to store fetched value and to compare with set limit value (during
Scanning for Gas Leak)
• Gas_shut_val – to store fetched value and to compare with set limit value (during
checking for Gas Shut Down Process)
PROGRAM EXPLANATION-3
• Important Subroutines
• CheckGas() – has the following functions
• Scans for gas level by calling ScanGasLevel() inner subroutine
• If scanned gas value ‘Gas_alert_val==LOW’ – alert actions are invoked by calling SetAlert() inner subroutine
• Displays status messages on LCD Module – for Scanning Process and Gas Leak Alert
• CheckShutDown() – is to check if gas leak has been eliminated
• Scans for present gas level by calling ScanGasLevel() inner subroutine
• If scanned value stored in variable ‘Gas_shut_val==HIGH’ – gas leak is eliminated
• Immediately stops alarm – with digitalWrite(speaker,LOW)
• Resets the gas leak status variable and sms_count variable – to reactivate Gas Leak Scanning Process and SMS
Alert mechanism
PROGRAM EXPLANATION-4
• Important Inner Subroutines
• ScanGasLevel()
• Scans the gas level from sensor MQ5 and stores to temporary variable gas_level
• SetAlert()
• Activates sound alarm through digitalWrite(speaker,HIGH)
• Sends 3 SMS to 2 Mobile numbers by calling SendTextMessage() inner subroutine
• Outputs status message commands to LCD Module
• SendTextMessage()
• Subroutine to send AT Commands to GSM Module for sending SMS
APPLICATIONS
• Home Security – can be used in homes (especially kitchen area) to prevent
accidents due to gas leak
• Industrial Security – can be used in sensitive areas to prevent any accidents
• Enhancement – can be enhanced to measure specific gas levels to use in
industrial applications
• Automation – can be enhanced to automate electrical cut off process to
prevent short circuit
OUTPUT PHOTOGRAPH
• Read Full Project Here- Gas
Leakage Detector using Arduino
CIRCUITSTODAY
• 1000+ Electronic Circuits and
Projects
• www.circuitstoday.com
• To Buy Electronic Kits and Projects
• www.store.circuitstoday.com

More Related Content

What's hot

Project presentation on wireless lpg leakage detector
Project presentation on wireless lpg leakage detectorProject presentation on wireless lpg leakage detector
Project presentation on wireless lpg leakage detectorPETER ASIGRI
 
Gas and smoke detection system using arduino
Gas and smoke detection system using arduinoGas and smoke detection system using arduino
Gas and smoke detection system using arduinoMd.Kamrul Islam
 
Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home AutomationAbhishek Neb
 
Smart Door locking system using arduino
Smart Door locking system using arduinoSmart Door locking system using arduino
Smart Door locking system using arduinoBhawnaSingh351973
 
LPG Gas detector
LPG Gas detectorLPG Gas detector
LPG Gas detectorajay singh
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking systemArjun Singh
 
IoT home automation project
IoT home automation projectIoT home automation project
IoT home automation projectShohin Aheleroff
 
Implementation Of GSM Based Fire Alarm and Protection System
Implementation Of GSM Based Fire Alarm and Protection SystemImplementation Of GSM Based Fire Alarm and Protection System
Implementation Of GSM Based Fire Alarm and Protection SystemBUBT
 
Password based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final reportPassword based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final reportChinaraja Baratam
 
Smart street lighting control system project PPT
Smart street lighting control system project PPT Smart street lighting control system project PPT
Smart street lighting control system project PPT PetchiMuthu26
 
Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...
Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...
Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...Hitesh Kumar Singh
 
IOT BASED AIR POLLUTION MONITORING
IOT BASED AIR POLLUTION MONITORINGIOT BASED AIR POLLUTION MONITORING
IOT BASED AIR POLLUTION MONITORINGkantkamal2291
 
Embedded system for traffic light control
Embedded system for traffic light controlEmbedded system for traffic light control
Embedded system for traffic light controlMadhu Prasad
 
Home automation system
Home automation systemHome automation system
Home automation systemNaman Gautam
 
Project ideas ece students
Project ideas ece studentsProject ideas ece students
Project ideas ece studentsVatsal N Shah
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino AMIT SANPUI
 
Alcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projectAlcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projecthemanth prudhvi jidugu
 

What's hot (20)

Project presentation on wireless lpg leakage detector
Project presentation on wireless lpg leakage detectorProject presentation on wireless lpg leakage detector
Project presentation on wireless lpg leakage detector
 
Gas and smoke detection system using arduino
Gas and smoke detection system using arduinoGas and smoke detection system using arduino
Gas and smoke detection system using arduino
 
Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home Automation
 
Gas Sensor MQ-2
Gas Sensor MQ-2Gas Sensor MQ-2
Gas Sensor MQ-2
 
Smart Door locking system using arduino
Smart Door locking system using arduinoSmart Door locking system using arduino
Smart Door locking system using arduino
 
LPG Gas detector
LPG Gas detectorLPG Gas detector
LPG Gas detector
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking system
 
IoT home automation project
IoT home automation projectIoT home automation project
IoT home automation project
 
Implementation Of GSM Based Fire Alarm and Protection System
Implementation Of GSM Based Fire Alarm and Protection SystemImplementation Of GSM Based Fire Alarm and Protection System
Implementation Of GSM Based Fire Alarm and Protection System
 
Password based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final reportPassword based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final report
 
Smart street lighting control system project PPT
Smart street lighting control system project PPT Smart street lighting control system project PPT
Smart street lighting control system project PPT
 
Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...
Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...
Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...
 
IOT BASED AIR POLLUTION MONITORING
IOT BASED AIR POLLUTION MONITORINGIOT BASED AIR POLLUTION MONITORING
IOT BASED AIR POLLUTION MONITORING
 
Embedded system for traffic light control
Embedded system for traffic light controlEmbedded system for traffic light control
Embedded system for traffic light control
 
GSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEMGSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEM
 
Home automation system
Home automation systemHome automation system
Home automation system
 
Project ideas ece students
Project ideas ece studentsProject ideas ece students
Project ideas ece students
 
Gas detection robot ppt
Gas detection robot pptGas detection robot ppt
Gas detection robot ppt
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino
 
Alcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projectAlcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking project
 

Viewers also liked

Speed checker on highway using 8051
Speed checker on highway using 8051Speed checker on highway using 8051
Speed checker on highway using 8051Rkrishna Mishra
 
Building an Innovation Strategy for your Digital Enterprise
Building an Innovation Strategy for your Digital EnterpriseBuilding an Innovation Strategy for your Digital Enterprise
Building an Innovation Strategy for your Digital EnterpriseCIO Academy Asia Community
 
Artificial Intelligence (AI) – Two Paths to ISO Compliance
Artificial Intelligence (AI) – Two Paths to ISO ComplianceArtificial Intelligence (AI) – Two Paths to ISO Compliance
Artificial Intelligence (AI) – Two Paths to ISO CompliancePECB
 
LPG – Liquefied Petroleum Gas & Gas Detection System
LPG – Liquefied Petroleum Gas & Gas Detection SystemLPG – Liquefied Petroleum Gas & Gas Detection System
LPG – Liquefied Petroleum Gas & Gas Detection SystemMonzer Salahdine
 
06. Motherboard Form Factors (Computer)
06. Motherboard Form Factors (Computer)06. Motherboard Form Factors (Computer)
06. Motherboard Form Factors (Computer)Akhila Dakshina
 
1.2 motherboard form factor
1.2  motherboard form factor1.2  motherboard form factor
1.2 motherboard form factorGagandeep Singh
 
Introduction to Motherboard
Introduction to Motherboard Introduction to Motherboard
Introduction to Motherboard Makrand Patil
 
Internal parts of a computer and their functions
Internal parts of a computer and their functionsInternal parts of a computer and their functions
Internal parts of a computer and their functionsEmily-scamell
 
Motherboard and its components
Motherboard and its componentsMotherboard and its components
Motherboard and its componentsJishnu Pradeep
 
Arduino based intelligent greenhouse Project
Arduino based intelligent greenhouse ProjectArduino based intelligent greenhouse Project
Arduino based intelligent greenhouse ProjectAmit Saini
 

Viewers also liked (12)

Speed checker on highway using 8051
Speed checker on highway using 8051Speed checker on highway using 8051
Speed checker on highway using 8051
 
Building an Innovation Strategy for your Digital Enterprise
Building an Innovation Strategy for your Digital EnterpriseBuilding an Innovation Strategy for your Digital Enterprise
Building an Innovation Strategy for your Digital Enterprise
 
Artificial Intelligence (AI) – Two Paths to ISO Compliance
Artificial Intelligence (AI) – Two Paths to ISO ComplianceArtificial Intelligence (AI) – Two Paths to ISO Compliance
Artificial Intelligence (AI) – Two Paths to ISO Compliance
 
LPG – Liquefied Petroleum Gas & Gas Detection System
LPG – Liquefied Petroleum Gas & Gas Detection SystemLPG – Liquefied Petroleum Gas & Gas Detection System
LPG – Liquefied Petroleum Gas & Gas Detection System
 
Plasma antennas
Plasma antennasPlasma antennas
Plasma antennas
 
Motherboard ppt
Motherboard pptMotherboard ppt
Motherboard ppt
 
06. Motherboard Form Factors (Computer)
06. Motherboard Form Factors (Computer)06. Motherboard Form Factors (Computer)
06. Motherboard Form Factors (Computer)
 
1.2 motherboard form factor
1.2  motherboard form factor1.2  motherboard form factor
1.2 motherboard form factor
 
Introduction to Motherboard
Introduction to Motherboard Introduction to Motherboard
Introduction to Motherboard
 
Internal parts of a computer and their functions
Internal parts of a computer and their functionsInternal parts of a computer and their functions
Internal parts of a computer and their functions
 
Motherboard and its components
Motherboard and its componentsMotherboard and its components
Motherboard and its components
 
Arduino based intelligent greenhouse Project
Arduino based intelligent greenhouse ProjectArduino based intelligent greenhouse Project
Arduino based intelligent greenhouse Project
 

Similar to Gas Leakage Detector using Arduino with SMS Alert - Engineering Project

EMBBEDED PPT.pptx
EMBBEDED PPT.pptxEMBBEDED PPT.pptx
EMBBEDED PPT.pptxdfcyg
 
Light level and gas monitoring system
Light level and gas monitoring systemLight level and gas monitoring system
Light level and gas monitoring systemStephen Ahiante
 
P 6168--microcontroller based-lpg_gas_detector_using_gsm_module
P 6168--microcontroller based-lpg_gas_detector_using_gsm_moduleP 6168--microcontroller based-lpg_gas_detector_using_gsm_module
P 6168--microcontroller based-lpg_gas_detector_using_gsm_moduleChitrachedu Dada Kalandar
 
IOT NodeMCU - IFTTT Templet to send SMS
IOT NodeMCU - IFTTT Templet to send SMSIOT NodeMCU - IFTTT Templet to send SMS
IOT NodeMCU - IFTTT Templet to send SMSElaf A.Saeed
 
GSM Based Vehicle Data Acquisition and Telemetry System
GSM Based Vehicle Data  Acquisition and Telemetry SystemGSM Based Vehicle Data  Acquisition and Telemetry System
GSM Based Vehicle Data Acquisition and Telemetry SystemSangeeth Soman
 
Home automation and securty using wireless networks
Home automation and securty using wireless networksHome automation and securty using wireless networks
Home automation and securty using wireless networksArun Kumar
 
Sms based notice board with 3 lcd
Sms based notice board with 3 lcdSms based notice board with 3 lcd
Sms based notice board with 3 lcdAnkur Kumar
 
intelligent braking system report
intelligent braking system reportintelligent braking system report
intelligent braking system reportSumit Kumar
 
Crmt Open ecu
Crmt Open ecuCrmt Open ecu
Crmt Open ecuFabMob
 
IRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker SystemIRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker SystemIRJET Journal
 
UVM_TB_20220621_slides-1.pdf
UVM_TB_20220621_slides-1.pdfUVM_TB_20220621_slides-1.pdf
UVM_TB_20220621_slides-1.pdfSamHoney6
 
Qal 991 particulate monitor datasheet
Qal 991 particulate monitor datasheetQal 991 particulate monitor datasheet
Qal 991 particulate monitor datasheeta1-cbiss
 
Automatic power cut and dialup in gas leakage detection
Automatic power cut and dialup in gas leakage detectionAutomatic power cut and dialup in gas leakage detection
Automatic power cut and dialup in gas leakage detectionLogic Mind Technologies
 
A PROJECT ON scada.pptx
A PROJECT ON scada.pptxA PROJECT ON scada.pptx
A PROJECT ON scada.pptxAshhadRaza1
 
plc_training_manual.pdf
plc_training_manual.pdfplc_training_manual.pdf
plc_training_manual.pdfMarioHaguila
 

Similar to Gas Leakage Detector using Arduino with SMS Alert - Engineering Project (20)

EMBBEDED PPT.pptx
EMBBEDED PPT.pptxEMBBEDED PPT.pptx
EMBBEDED PPT.pptx
 
Gsm message display
Gsm message displayGsm message display
Gsm message display
 
Light level and gas monitoring system
Light level and gas monitoring systemLight level and gas monitoring system
Light level and gas monitoring system
 
P 6168--microcontroller based-lpg_gas_detector_using_gsm_module
P 6168--microcontroller based-lpg_gas_detector_using_gsm_moduleP 6168--microcontroller based-lpg_gas_detector_using_gsm_module
P 6168--microcontroller based-lpg_gas_detector_using_gsm_module
 
Presentation1
Presentation1Presentation1
Presentation1
 
IOT NodeMCU - IFTTT Templet to send SMS
IOT NodeMCU - IFTTT Templet to send SMSIOT NodeMCU - IFTTT Templet to send SMS
IOT NodeMCU - IFTTT Templet to send SMS
 
GSM Based Vehicle Data Acquisition and Telemetry System
GSM Based Vehicle Data  Acquisition and Telemetry SystemGSM Based Vehicle Data  Acquisition and Telemetry System
GSM Based Vehicle Data Acquisition and Telemetry System
 
Anti theft & Automation using Arduino
Anti theft & Automation using ArduinoAnti theft & Automation using Arduino
Anti theft & Automation using Arduino
 
Home automation and securty using wireless networks
Home automation and securty using wireless networksHome automation and securty using wireless networks
Home automation and securty using wireless networks
 
Sms based notice board with 3 lcd
Sms based notice board with 3 lcdSms based notice board with 3 lcd
Sms based notice board with 3 lcd
 
6600ingles
6600ingles6600ingles
6600ingles
 
intelligent braking system report
intelligent braking system reportintelligent braking system report
intelligent braking system report
 
Crmt Open ecu
Crmt Open ecuCrmt Open ecu
Crmt Open ecu
 
IRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker SystemIRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker System
 
UVM_TB_20220621_slides-1.pdf
UVM_TB_20220621_slides-1.pdfUVM_TB_20220621_slides-1.pdf
UVM_TB_20220621_slides-1.pdf
 
Qal 991 particulate monitor datasheet
Qal 991 particulate monitor datasheetQal 991 particulate monitor datasheet
Qal 991 particulate monitor datasheet
 
Presentaton on Plc & Scada
Presentaton on Plc & ScadaPresentaton on Plc & Scada
Presentaton on Plc & Scada
 
Automatic power cut and dialup in gas leakage detection
Automatic power cut and dialup in gas leakage detectionAutomatic power cut and dialup in gas leakage detection
Automatic power cut and dialup in gas leakage detection
 
A PROJECT ON scada.pptx
A PROJECT ON scada.pptxA PROJECT ON scada.pptx
A PROJECT ON scada.pptx
 
plc_training_manual.pdf
plc_training_manual.pdfplc_training_manual.pdf
plc_training_manual.pdf
 

Recently uploaded

Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 

Recently uploaded (20)

DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 

Gas Leakage Detector using Arduino with SMS Alert - Engineering Project

  • 1. GAS LEAKAGE DETECTOR USING ARDUINO WITH SMS ALERT GAS LEAKAGE DETECTOR USING ARDUINO AND MQ5 SENSOR – WITH SMS ALERT (USING GSM MODULE) AND SOUND ALARM - ENGINEERING MAIN PROJECT
  • 2. OBJECTIVES OF THE PROJECT • Detect Gas Leakage (like LPG) using MQ5 Sensor and Arduino • Setup an SMS based Alert Mechanism using GSM Module • Send 3 SMS (3 alert messages) to 2 specified mobile numbers • Sound Alarm – produce sound alert on gas leak • Display status in an LCD using a 16×2 LCD module.
  • 3. PLANNING OF COMPONENTS • MQ5 – to sense LPG (use Digital Out to detect level status) • Arduino • To read MQ5 output and detect Gas Leak (through level comparison) • To activate outputs upon gas leak – sound alarm and sms alert • To send AT Commands to GSM Module • To send Status message commands to LCD Module • To Turn ON and OFF Sound Alarm • GSM Module – for GSM Communication and to send SMS to mobile numbers • LCD Module – to display status messages • Speaker – to produce Alarm Sound
  • 4. ARDUINO • Arduino Uno – an electronic prototyping platform/board based on Atmega AVR Microcontroller – Atmega328P (8 bits, 16 Mhz) • Operates on +5 Volts • 14 Digital I/O Pins (of which 6 are PWM) • 6 Analog Input Pins • 32 KB Flash Memory and 1KB EEPROM • Serial Communication Enabled
  • 5. MQ5 SENSOR MODULE • MQ5 – is a generic gas sensor used to detect LPG presence • The module has Digital Out and Analog Out • Detects LPG from 200ppm to 10000ppm • Operated on +5 Volts • Can be used detect other gases like Methane and Alcohol as well
  • 6. GSM MODULE • SIM 900 GSM Module – is used to send SMS alerts upon gas leak • Serial Communication is employed • AT COMMANDS – are used to communicate with GSM Module
  • 8. CIRCUIT EXPLANATION-1 • Interfacing MQ5 Sensor to Arduino • Connecting Digital Out of MQ5 to pin 7 • Interfacing GSM Module to Arduino • Connect to PWM pins 9 and 10 of Arduino (using SoftwareSerial) • Tx of GSM Module to 9 and Rx of GSM Module to 10 • Interfacing Speaker to Arduino • 2N2222 is used as driving transistor • Connect to Pin 8 of Arduino
  • 9. CIRCUIT EXPLANATION-2 • Interfacing LCD Module to Arduino • 16x2 LCD Module is used • Data Lines (DB4,DB5,DB6,DB7) connected to 5,4,3,2 pins of Arduino (in order) • Enable Pin connected to 11 and RS (Register Select) connected to 12 • Backlit LED is connected to Vcc (+5v) through a 560 ohms current limiting resistor • Contrast – is adjusted by connecting VEE to a 10K Pot and +5V
  • 10. PROGRAM EXPLANATION - 1 • Important Initializations and Setup • Sensor MQ5 is assigned to pin 7 using variable ‘sensor’ • Sound Alarm Speaker is assigned to pin 8 using ‘speaker’ • ‘sensor’ – configured as Input • ‘speaker’ – configured as output • Software Serial communication is used with PWM pins of Arduino • <SoftwareSerial.h> - header library is made use of!
  • 11. PROGRAM EXPLANATION -2 • Important Variables • sms_count – variable used to limit number of SMS • Gas_Leak_Status – variable to identify ‘gas leak’ occurrence status • gas_value – temporary variable to store gas level fetched from sensor MQ5 • Gas_alert_val – to store fetched value and to compare with set limit value (during Scanning for Gas Leak) • Gas_shut_val – to store fetched value and to compare with set limit value (during checking for Gas Shut Down Process)
  • 12. PROGRAM EXPLANATION-3 • Important Subroutines • CheckGas() – has the following functions • Scans for gas level by calling ScanGasLevel() inner subroutine • If scanned gas value ‘Gas_alert_val==LOW’ – alert actions are invoked by calling SetAlert() inner subroutine • Displays status messages on LCD Module – for Scanning Process and Gas Leak Alert • CheckShutDown() – is to check if gas leak has been eliminated • Scans for present gas level by calling ScanGasLevel() inner subroutine • If scanned value stored in variable ‘Gas_shut_val==HIGH’ – gas leak is eliminated • Immediately stops alarm – with digitalWrite(speaker,LOW) • Resets the gas leak status variable and sms_count variable – to reactivate Gas Leak Scanning Process and SMS Alert mechanism
  • 13. PROGRAM EXPLANATION-4 • Important Inner Subroutines • ScanGasLevel() • Scans the gas level from sensor MQ5 and stores to temporary variable gas_level • SetAlert() • Activates sound alarm through digitalWrite(speaker,HIGH) • Sends 3 SMS to 2 Mobile numbers by calling SendTextMessage() inner subroutine • Outputs status message commands to LCD Module • SendTextMessage() • Subroutine to send AT Commands to GSM Module for sending SMS
  • 14. APPLICATIONS • Home Security – can be used in homes (especially kitchen area) to prevent accidents due to gas leak • Industrial Security – can be used in sensitive areas to prevent any accidents • Enhancement – can be enhanced to measure specific gas levels to use in industrial applications • Automation – can be enhanced to automate electrical cut off process to prevent short circuit
  • 15. OUTPUT PHOTOGRAPH • Read Full Project Here- Gas Leakage Detector using Arduino
  • 16. CIRCUITSTODAY • 1000+ Electronic Circuits and Projects • www.circuitstoday.com • To Buy Electronic Kits and Projects • www.store.circuitstoday.com