SlideShare une entreprise Scribd logo
1  sur  11
MQ-4 SENSOR
Interface with Arduino UNO
MQ-4 Sensor Pins (From Left)
Two Pins from Left
A0 (Analog
Output) and D0
(Digital Output)
01
GnD for Ground
or Negative
02
VCC for 5V Power
Supply
03
MQ-4 Sensor with Arduino UNO
In the schematic,
there are two resistors
connected to the
Arduino digital pins
and LEDs. The
resistance is 220 Ohm
MQ-4 Sensor with Arduino UNO
As a natural gas sensor, the MQ-4 Natural Gas Sensor is a fast and reliable
sensor with a high sensitivity to natural gas and methane, also good sensitivity
to propane and butane. This natural gas sensor has a long life and low cost and
is widely used for gas leak detection. At the same time, two LED lights are used
in the project to display the gas concentration:
•Green light: it means the natural gas concentration is below the critical value.
•Red light: alert! The natural gas concentration has exceeded the critical value.
MQ-4 Gas Sensor Pins
The MQ-4Arduino sensor has four pins:
• Positive VCC (+5V)
• Ground GND
• Digital output
• Analog output
Mq 4 sensor
Mq 4 sensor
Mq 4 sensor
Mq 4 sensor
Mq 4 sensor
Mq 4 sensor

Contenu connexe

Tendances

Fire Alarm System Project
Fire Alarm System ProjectFire Alarm System Project
Fire Alarm System ProjectRinkuNahar
 
Light level and gas monitoring system
Light level and gas monitoring systemLight level and gas monitoring system
Light level and gas monitoring systemStephen Ahiante
 
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO pptAUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO pptRavi Shankar
 
Design, Construction and Testing of Combustible Gas Leakage Detector for Auto...
Design, Construction and Testing of Combustible Gas Leakage Detector for Auto...Design, Construction and Testing of Combustible Gas Leakage Detector for Auto...
Design, Construction and Testing of Combustible Gas Leakage Detector for Auto...Md. Muntasir R- Rafi
 
temperature controller
temperature controllertemperature controller
temperature controllershahsamkit73
 
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
 
Gas & smoke detector Report
Gas & smoke detector ReportGas & smoke detector Report
Gas & smoke detector ReportToushik Paul
 
Temparature alarm
Temparature alarmTemparature alarm
Temparature alarmDIVYA S
 
wireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detectionwireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detectionJOLLUSUDARSHANREDDY
 
Automated Smoke Detected Exhaust Fan
Automated Smoke Detected Exhaust FanAutomated Smoke Detected Exhaust Fan
Automated Smoke Detected Exhaust FanHamzanadeem96
 
Zigbee based intelligent helmet for coal miners
Zigbee based intelligent helmet for coal minersZigbee based intelligent helmet for coal miners
Zigbee based intelligent helmet for coal minersEcwayt
 

Tendances (17)

GSM BASED FIRE ALARM SYSTEM
GSM BASED FIRE ALARM SYSTEMGSM BASED FIRE ALARM SYSTEM
GSM BASED FIRE ALARM SYSTEM
 
Fire Alarm System Project
Fire Alarm System ProjectFire Alarm System Project
Fire Alarm System Project
 
Light level and gas monitoring system
Light level and gas monitoring systemLight level and gas monitoring system
Light level and gas monitoring system
 
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO pptAUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
 
Ndir co2 sensor cozir-w
Ndir co2 sensor   cozir-wNdir co2 sensor   cozir-w
Ndir co2 sensor cozir-w
 
Design, Construction and Testing of Combustible Gas Leakage Detector for Auto...
Design, Construction and Testing of Combustible Gas Leakage Detector for Auto...Design, Construction and Testing of Combustible Gas Leakage Detector for Auto...
Design, Construction and Testing of Combustible Gas Leakage Detector for Auto...
 
temperature controller
temperature controllertemperature controller
temperature controller
 
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
 
Gas & smoke detector Report
Gas & smoke detector ReportGas & smoke detector Report
Gas & smoke detector Report
 
Temparature alarm
Temparature alarmTemparature alarm
Temparature alarm
 
wireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detectionwireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detection
 
Gas leakage alarm
Gas leakage alarmGas leakage alarm
Gas leakage alarm
 
Push button station
Push button stationPush button station
Push button station
 
Presentation1 (1)
Presentation1 (1)Presentation1 (1)
Presentation1 (1)
 
Automated Smoke Detected Exhaust Fan
Automated Smoke Detected Exhaust FanAutomated Smoke Detected Exhaust Fan
Automated Smoke Detected Exhaust Fan
 
LPG gas leekage dectection
LPG gas  leekage  dectectionLPG gas  leekage  dectection
LPG gas leekage dectection
 
Zigbee based intelligent helmet for coal miners
Zigbee based intelligent helmet for coal minersZigbee based intelligent helmet for coal miners
Zigbee based intelligent helmet for coal miners
 

Similaire à Mq 4 sensor

Similaire à Mq 4 sensor (20)

Sensors.pptx
Sensors.pptxSensors.pptx
Sensors.pptx
 
37 en-1-especificaciones
37 en-1-especificaciones37 en-1-especificaciones
37 en-1-especificaciones
 
Ard ui no fire alarm system
Ard ui no fire alarm systemArd ui no fire alarm system
Ard ui no fire alarm system
 
Final year Engineering project
Final year Engineering project Final year Engineering project
Final year Engineering project
 
alcho.pptx
alcho.pptxalcho.pptx
alcho.pptx
 
Arduino
ArduinoArduino
Arduino
 
ir sensor.docx
ir sensor.docxir sensor.docx
ir sensor.docx
 
Informant 2 datasheet 0
Informant 2 datasheet 0Informant 2 datasheet 0
Informant 2 datasheet 0
 
Arduino Thermometer
Arduino ThermometerArduino Thermometer
Arduino Thermometer
 
Project(itv 205) smart restaurant menu ordering system using arduino
Project(itv 205) smart restaurant menu ordering system using arduinoProject(itv 205) smart restaurant menu ordering system using arduino
Project(itv 205) smart restaurant menu ordering system using arduino
 
A Project Reports On SMOKE DETECTOR
A Project Reports On SMOKE DETECTORA Project Reports On SMOKE DETECTOR
A Project Reports On SMOKE DETECTOR
 
Smart Blind stick by using arduino uno and sensor
 Smart Blind stick  by using arduino  uno  and sensor Smart Blind stick  by using arduino  uno  and sensor
Smart Blind stick by using arduino uno and sensor
 
Electronics sensors IoT applications
Electronics sensors IoT applicationsElectronics sensors IoT applications
Electronics sensors IoT applications
 
Color Sensor.pptx
Color Sensor.pptxColor Sensor.pptx
Color Sensor.pptx
 
Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3
 
Lab2ppt
Lab2pptLab2ppt
Lab2ppt
 
garden solar alarm lamp
garden solar alarm lampgarden solar alarm lamp
garden solar alarm lamp
 
Garden security lighting with intrusion alarm
Garden security lighting with intrusion alarmGarden security lighting with intrusion alarm
Garden security lighting with intrusion alarm
 
Arduino
ArduinoArduino
Arduino
 
Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3
 

Plus de Saurabh Bhartiya

Plus de Saurabh Bhartiya (9)

Dc motor & wheel with l298 n motor driver
Dc motor & wheel with l298 n motor driverDc motor & wheel with l298 n motor driver
Dc motor & wheel with l298 n motor driver
 
Jdbc drivers
Jdbc driversJdbc drivers
Jdbc drivers
 
4 wheel base
4 wheel base4 wheel base
4 wheel base
 
3 wheel base
3 wheel base3 wheel base
3 wheel base
 
Introduction to design thinking
Introduction to design thinkingIntroduction to design thinking
Introduction to design thinking
 
BlueJ Two
BlueJ TwoBlueJ Two
BlueJ Two
 
Bluej
BluejBluej
Bluej
 
Annual report updated into 82
Annual report updated into 82Annual report updated into 82
Annual report updated into 82
 
Curriculam Vitae
Curriculam VitaeCurriculam Vitae
Curriculam Vitae
 

Dernier

Introduction to Heat Exchangers: Principle, Types and Applications
Introduction to Heat Exchangers: Principle, Types and ApplicationsIntroduction to Heat Exchangers: Principle, Types and Applications
Introduction to Heat Exchangers: Principle, Types and ApplicationsKineticEngineeringCo
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesRashidFaridChishti
 
Low rpm Generator for efficient energy harnessing from a two stage wind turbine
Low rpm Generator for efficient energy harnessing from a two stage wind turbineLow rpm Generator for efficient energy harnessing from a two stage wind turbine
Low rpm Generator for efficient energy harnessing from a two stage wind turbineAftabkhan575376
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfAshrafRagab14
 
Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)NareenAsad
 
Multivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptxMultivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptxalijaker017
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxKarpagam Institute of Teechnology
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1T.D. Shashikala
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdfAlexander Litvinenko
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfragupathi90
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Nitin Sonavane
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2T.D. Shashikala
 
AI in Healthcare Innovative use cases and applications.pdf
AI in Healthcare Innovative use cases and applications.pdfAI in Healthcare Innovative use cases and applications.pdf
AI in Healthcare Innovative use cases and applications.pdfmahaffeycheryld
 
Supermarket billing system project report..pdf
Supermarket billing system project report..pdfSupermarket billing system project report..pdf
Supermarket billing system project report..pdfKamal Acharya
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxCHAIRMAN M
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdfKamal Acharya
 
Lesson no16 application of Induction Generator in Wind.ppsx
Lesson no16 application of Induction Generator in Wind.ppsxLesson no16 application of Induction Generator in Wind.ppsx
Lesson no16 application of Induction Generator in Wind.ppsxmichaelprrior
 
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...jiyav969
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AISheetal Jain
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoninghotman30312
 

Dernier (20)

Introduction to Heat Exchangers: Principle, Types and Applications
Introduction to Heat Exchangers: Principle, Types and ApplicationsIntroduction to Heat Exchangers: Principle, Types and Applications
Introduction to Heat Exchangers: Principle, Types and Applications
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
 
Low rpm Generator for efficient energy harnessing from a two stage wind turbine
Low rpm Generator for efficient energy harnessing from a two stage wind turbineLow rpm Generator for efficient energy harnessing from a two stage wind turbine
Low rpm Generator for efficient energy harnessing from a two stage wind turbine
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdf
 
Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)
 
Multivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptxMultivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptx
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdf
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
AI in Healthcare Innovative use cases and applications.pdf
AI in Healthcare Innovative use cases and applications.pdfAI in Healthcare Innovative use cases and applications.pdf
AI in Healthcare Innovative use cases and applications.pdf
 
Supermarket billing system project report..pdf
Supermarket billing system project report..pdfSupermarket billing system project report..pdf
Supermarket billing system project report..pdf
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
 
Lesson no16 application of Induction Generator in Wind.ppsx
Lesson no16 application of Induction Generator in Wind.ppsxLesson no16 application of Induction Generator in Wind.ppsx
Lesson no16 application of Induction Generator in Wind.ppsx
 
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoning
 

Mq 4 sensor

  • 2. MQ-4 Sensor Pins (From Left) Two Pins from Left A0 (Analog Output) and D0 (Digital Output) 01 GnD for Ground or Negative 02 VCC for 5V Power Supply 03
  • 3. MQ-4 Sensor with Arduino UNO In the schematic, there are two resistors connected to the Arduino digital pins and LEDs. The resistance is 220 Ohm
  • 4. MQ-4 Sensor with Arduino UNO As a natural gas sensor, the MQ-4 Natural Gas Sensor is a fast and reliable sensor with a high sensitivity to natural gas and methane, also good sensitivity to propane and butane. This natural gas sensor has a long life and low cost and is widely used for gas leak detection. At the same time, two LED lights are used in the project to display the gas concentration: •Green light: it means the natural gas concentration is below the critical value. •Red light: alert! The natural gas concentration has exceeded the critical value.
  • 5. MQ-4 Gas Sensor Pins The MQ-4Arduino sensor has four pins: • Positive VCC (+5V) • Ground GND • Digital output • Analog output