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

Automatic gas detection system
Automatic  gas  detection  systemAutomatic  gas  detection  system
Automatic gas detection systemSayanSarkar55
 
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT Hari sankar
 
Women safety device with gps tracking and alerts
Women safety device with gps tracking  and alertsWomen safety device with gps tracking  and alerts
Women safety device with gps tracking and alertsPraween Lakra
 
IOT based air quality and monitoring by using arduino
IOT based air quality and monitoring by using arduinoIOT based air quality and monitoring by using arduino
IOT based air quality and monitoring by using arduinoGopikrishnateja Goli
 
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
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking systemArjun Singh
 
Home automation using arduino
Home automation using arduinoHome automation using arduino
Home automation using arduinoIkram Arshad
 
Temperature based fan speed control & monitoring using
Temperature based fan speed control & monitoring usingTemperature based fan speed control & monitoring using
Temperature based fan speed control & monitoring usingJagannath Dutta
 
Home automation using IoT
Home automation using IoTHome automation using IoT
Home automation using IoTAthira_1993
 
IoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationFarhan Ahmed Rahee
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobilesDurairaja
 
IoT home automation project
IoT home automation projectIoT home automation project
IoT home automation projectShohin Aheleroff
 
IOT BASED AIR POLLUTION MONITORING
IOT BASED AIR POLLUTION MONITORINGIOT BASED AIR POLLUTION MONITORING
IOT BASED AIR POLLUTION MONITORINGkantkamal2291
 
Smart door lock
Smart door lockSmart door lock
Smart door lockaswin5432
 

What's hot (20)

Automatic gas detection system
Automatic  gas  detection  systemAutomatic  gas  detection  system
Automatic gas detection system
 
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
 
Women safety device with gps tracking and alerts
Women safety device with gps tracking  and alertsWomen safety device with gps tracking  and alerts
Women safety device with gps tracking and alerts
 
Alcohol detector
Alcohol detectorAlcohol detector
Alcohol detector
 
Home automation with arduino
Home automation with arduinoHome automation with arduino
Home automation with arduino
 
IOT based air quality and monitoring by using arduino
IOT based air quality and monitoring by using arduinoIOT based air quality and monitoring by using arduino
IOT based air quality and monitoring by using arduino
 
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
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking system
 
Home automation using arduino
Home automation using arduinoHome automation using arduino
Home automation using arduino
 
Temperature based fan speed control & monitoring using
Temperature based fan speed control & monitoring usingTemperature based fan speed control & monitoring using
Temperature based fan speed control & monitoring using
 
Home automation using IoT
Home automation using IoTHome automation using IoT
Home automation using IoT
 
Presentation on home automation
Presentation on home automationPresentation on home automation
Presentation on home automation
 
Home automation ppt
Home automation pptHome automation ppt
Home automation ppt
 
Smart street light system
Smart street light systemSmart street light system
Smart street light system
 
IoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System Presantation
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobiles
 
IoT home automation project
IoT home automation projectIoT home automation project
IoT home automation project
 
Iot based home automation
Iot based home automationIot based home automation
Iot based home automation
 
IOT BASED AIR POLLUTION MONITORING
IOT BASED AIR POLLUTION MONITORINGIOT BASED AIR POLLUTION MONITORING
IOT BASED AIR POLLUTION MONITORING
 
Smart door lock
Smart door lockSmart door lock
Smart door lock
 

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 (14)

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
 
GSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEMGSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEM
 
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
 
Smoke Detection System
Smoke Detection SystemSmoke Detection System
Smoke Detection System
 
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

UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
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
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
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
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
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
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
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
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 

Recently uploaded (20)

UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
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
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.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
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
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
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
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
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
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
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 

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