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.

  • 3,487 views
  • 0 comments
  • 3 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

  • 4,444 views
  • 6 comments
  • 13 respects

Smoke Detection using MQ-2 Gas Sensor

by Aritro Mukherjee

  • 213,130 views
  • 36 comments
  • 133 respects

MQ-4 Natural Gas Sensor Experiment Based on Arduino

Project tutorial by Andrew85

  • 1,490 views
  • 1 comment
  • 7 respects

Soil Moisture Sensor With LCD Display

Project tutorial by Patel Darshil

  • 19,349 views
  • 4 comments
  • 37 respects

Displaying Sensor Values on LCD

by Wimpie van den Berg

  • 42,769 views
  • 4 comments
  • 36 respects

Touch Sensor and Sound Sensor Controlling AC/DC Lights

Project showcase by Anbumachi

  • 1,262 views
  • 2 comments
  • 5 respects
Add projectSign up / Login