SlideShare une entreprise Scribd logo
1  sur  15
GAS LEAKAGE DETECTOR
USING ARDUINO WITH SMS
ALERT
SUBMITTED TO:
Mr. Alok kumar
Ast.Prof.ECE
Department
Vaibhav sharma
2100270310161
ECE-3
3rd Semester
SUBMITTED BY :
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

Contenu connexe

Similaire à EMBBEDED PPT.pptx

Qal 991 particulate monitor datasheet
Qal 991 particulate monitor datasheetQal 991 particulate monitor datasheet
Qal 991 particulate monitor datasheet
a1-cbiss
 

Similaire à EMBBEDED PPT.pptx (20)

Light level and gas monitoring system
Light level and gas monitoring systemLight level and gas monitoring system
Light level and gas monitoring system
 
intelligent braking system report
intelligent braking system reportintelligent braking system report
intelligent braking system report
 
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
 
LPG gas leekage dectection
LPG gas  leekage  dectectionLPG gas  leekage  dectection
LPG gas leekage dectection
 
IRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker SystemIRJET- Anti-Fuel Theft Checker System
IRJET- Anti-Fuel Theft Checker System
 
Qal 991 particulate monitor datasheet
Qal 991 particulate monitor datasheetQal 991 particulate monitor datasheet
Qal 991 particulate monitor datasheet
 
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
 
Presentaton on Plc & Scada
Presentaton on Plc & ScadaPresentaton on Plc & Scada
Presentaton on Plc & Scada
 
Himanth_Resume
Himanth_ResumeHimanth_Resume
Himanth_Resume
 
Anti theft & Automation using Arduino
Anti theft & Automation using ArduinoAnti theft & Automation using Arduino
Anti theft & Automation using Arduino
 
Crmt Open ecu
Crmt Open ecuCrmt Open ecu
Crmt Open ecu
 
Overheat and smoke detection with gsm
Overheat and smoke detection with gsmOverheat and smoke detection with gsm
Overheat and smoke detection with gsm
 
GSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEMGSM BASED GAS LEAKAGE DETECTION SYSTEM
GSM BASED GAS LEAKAGE DETECTION SYSTEM
 
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
 
Toxic Gas Detection-An Experiment with the Simulation Process
Toxic Gas Detection-An Experiment with the Simulation ProcessToxic Gas Detection-An Experiment with the Simulation Process
Toxic Gas Detection-An Experiment with the Simulation Process
 
6600ingles
6600ingles6600ingles
6600ingles
 
Industrial monitoring and control systems using andriod application
Industrial monitoring and control systems using andriod applicationIndustrial monitoring and control systems using andriod application
Industrial monitoring and control systems using andriod application
 
Dgs co 968-034 digital co sensor module
Dgs co 968-034 digital co sensor moduleDgs co 968-034 digital co sensor module
Dgs co 968-034 digital co sensor module
 
A PROJECT ON scada.pptx
A PROJECT ON scada.pptxA PROJECT ON scada.pptx
A PROJECT ON scada.pptx
 
Unit-III.pptx
Unit-III.pptxUnit-III.pptx
Unit-III.pptx
 

Dernier

Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
sexy call girls service in goa
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Sheetaleventcompany
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 

Dernier (20)

Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 

EMBBEDED PPT.pptx

  • 1. GAS LEAKAGE DETECTOR USING ARDUINO WITH SMS ALERT SUBMITTED TO: Mr. Alok kumar Ast.Prof.ECE Department Vaibhav sharma 2100270310161 ECE-3 3rd Semester SUBMITTED BY :
  • 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