Arduino Projects

MQ-2 Sensor Arduino Tutorial

Overview

In This Tutorial, I will show how you interface the MQ-2 Sensor With Arduino Nano Microcontroller And How You Write the Code.

you just created soo many projects using the MQ-2 Sensor Like an Indoor Air Quality Monitoring stem, Breath Checker or Early Fire Detection System.

MQ-2 Sensor is measuring Gasses Like LPG, Smoke, Alcohol, Propane, Hydrogen, Carbon Monoxide(CO) And Methane Concentrations Anywhere From 200 To 10000ppm.

MQ Meaning

Metal Oxide Semiconductor (MOS) type Gas Sensor Also Know As Chemiresistor The Detection is based upon a change in the resistance of the sensing materials when gas comes in contact with the materials.

is used simple voltage divider when resistance will change the voltage will also change and is converted in ppm Unit.

MQ-2 Sensor Pinout

MQ2 smoke sensor pinout e1671684606184

Writing Diagram MQ-2 With Arduino

Ds18B20 Sensor1111 2

Testing Of MQ-2 Sensor

The MQ-2 Sensor is connected to the A0 PIN Number.

And The Lcd Will be connected to PIN number 12,11,10,9,8,7

Display MQ-2 Reading In Serial Monitor

Screenshot 2022 12 18 at 10.34.45 PM

Code

 

Display Mq-2 Reading In LCD Display

Screenshot 2022 12 18 at 10.35.12 PM

Screenshot 2022 12 18 at 10.35.24 PM

Code

 

If You are Interested In More Projects Then Plz Check Out 

Video

Prateek

Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker