How to Connect MQ2 Gas Sensor to Arduino

How to Connect MQ2 Gas Sensor to Arduino © CC BY-NC-SA

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.

  • 13,957 views
  • 1 comment
  • 6 respects

Components and supplies

Apps and online services

About this project

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:

Circuit

MQ2 Connections with Arduino:

MQ2 Connections with Arduino and IIC LCD Display:

Connections

Arduino              MQ2

  • AO                       A0
  • 5V                     VCC
  • GND                   GND

Code

Watch Video

For more projects and tutorials visit our website.

Code

Arduino
https://create.arduino.cc/editor/electronicsprojectshub/1b084772-3144-4952-bc51-f2b63b727e63/preview?embed

Comments

Similar projects you might like

Arduino And MQ2 Gas Sensor

Project showcase by Mahamudul Karim Khondaker

  • 13,310 views
  • 9 comments
  • 19 respects

Smoke Detection using MQ-2 Gas Sensor

by Aritro Mukherjee

  • 310,120 views
  • 51 comments
  • 195 respects

How to Use a Gas Sensor (MQ-2)

by MisterBotBreak

  • 1,725 views
  • 0 comments
  • 7 respects

Soil Moisture Sensor With LCD Display

Project tutorial by Patel Darshil

  • 35,971 views
  • 10 comments
  • 55 respects

MQ-4 Natural Gas Sensor Experiment Based on Arduino

Project tutorial by Andrew85

  • 3,623 views
  • 1 comment
  • 7 respects
Add projectSign up / Login