Free Nationwide Doorstep Delivery on orders over ₹499
Home/Sensors & Modules/MQ-2 Combustible Gas & Smoke Sensor Module
MQ-2 Combustible Gas & Smoke Sensor ModuleGas & Air
Safety Guaranteed: 5V DC

Educational module designed for classroom safety projects. Operates on 5V DC USB power.

Model: MQ-2-MODVerified 5V DC

MQ-2 Combustible Gas & Smoke Sensor Module

Electrochemical metal oxide gas sensor module sensitive to LPG, propane, methane, hydrogen, and combustible smoke. Features an onboard comparator for instant digital threshold tripping and analog concentration telemetry.

Operating Voltage5V DC
Interface SignalDual Output (Analog ADC + Digital Threshold Comparator)
Stock Availability35 units ready
Retail Price (Inc. all taxes)₹189
In Stock • Dispatched in 24 Hours
1
Free Nationwide Delivery on orders over ₹499 across all Indian PIN codes

Pinout Connection Guide

Standard 2.54mm pitch connection pins designed for plug-and-play quick hookup cables:

Pin HeaderSignal NameMicrocontroller Connection Details
VCCPower (+)5V DC regulated heater & circuit power
GNDGround (-)0V reference ground
DODigital OutActive-low comparator threshold trigger
AOAnalog Out0V to 5V analog voltage proportional to gas ppm

Nova NGN & Arduino C++ Starter Code

Plug & Play sample sketch ready for compilation
const int analogPin = 34; // ESP32 ADC pin
const int digitalPin = 19;

void setup() {
  Serial.begin(115200);
  pinMode(digitalPin, INPUT);
}

void loop() {
  int gasRaw = analogRead(analogPin);
  int gasAlert = digitalRead(digitalPin);

  Serial.print("Gas Raw Level: "); Serial.print(gasRaw);
  if (gasAlert == LOW) {
    Serial.println(" -> [WARNING] Gas Detected!");
  } else {
    Serial.println(" -> Air Quality Normal");
  }
  delay(1000);
}