Arduino Projects

How to Connect MQ2 Gas Sensor to Arduino

MQ2 sensor

MQ2 Gas Sensor to Arduino

MQ2  Sensor is a gas module and it is suitable to detect Hydrogen, LPG, Smoke, CO, and Alcohol. It has high sensitivity and fast response time to measure and take the data.Sensitivity can be adjusted by potentiometer behind it

mq2 sensor

MQ2 Sensor Pin Configuration

mq2 sensor pin configuration

Circuit

MQ2 Connections with Arduino

mq2 arduino

MQ2 Connections with Arduino and IIC LCD Display

mq2 arduino connections

Connections

Arduino              MQ2

AO                       A0

5V                     VCC

GND                   GND

Code

Download MQ2 Library

Download I2C LCD Display Library

Watch Video

Considerations for the detection of hydrocarbon gases for risk control

  1. Methane is lighter than air (possibility of accumulation under roofs)
  2. Ethane is slightly heavier than air (possibility of pooling at ground levels/pits)
  3. Propane is heavier than air (possibility of pooling at ground levels/pits)
  4. Butane is heavier than air (possibility of pooling at ground levels/pits)

About the author

Electronics Projects Hub

3 Comments

Leave a Reply