MQ-2 Multi-Gas Sensor – MQ-2 sensor for flammable gases & smoke detection. -Gas Sensor -Robocraze
MQ-2 Multi-Gas Sensor – MQ-2 sensor for flammable gases & smoke detection. -Gas Sensor -Robocraze
s

Robocraze BEST PRICE GUARANTEED

MQ-2 Gas Sensor Module For H2, LPG, CH4, CO, Smoke or Propane Detector Module - Buy Online in India

MQ-2 Gas Sensor Module For H2, LPG, CH4, CO, Smoke or Propane Detector Module

Rs. 86
Rs. 99
Rs. 86
Save Rs. 13
Incl. GST (No Hidden Charges) Found a better price?
Please hurry! Only 0 left in stock
SKU: TIFSS0068
  • Operating Voltage is +5V.
  • Used to detect LPG, Alcohol, Propane, Hydrogen, CO, and methane.
  • Used as a Digital or analog sensor.
  • Sensitivity of Digital pin can be varied using the potentiometer.
  • Have a long life.
  • It has a Simple drive circuit.
BEST COUPON
RC100
COPY CODE
When you shop for ₹ 2,500 required. Applicable at Checkout.
*Coupons are not applicable on Original Boards and Kits

Free shipping on Orders Above Rs 499/-

Technical Support & Easy Returns

Same Day Shipping

Earn RC Coins on Every Purchase

Cash on Delivery Available

Robocraze Academy Limited Time Offer Robocraze Academy Limited Time Offer
MQ-2 Multi-Gas Sensor – MQ-2 sensor for flammable gases & smoke detection. -Gas Sensor -Robocraze
MQ-2 Gas Sensor Module For H2, LPG, CH4, CO, Smoke or Propane Detector Module
Rs. 99 Rs. 86

MQ-2 Gas Sensor Module For H2, LPG, CH4, CO, Smoke or Propane Detector Module

Rs. 99 Rs. 86

MQ-2 Gas Sensor Module 

The MQ-2 Smoke LPG Butane Hydrogen Gas Sensor Detector Module is useful for gas leakage detection (home and industry). It is suitable for detecting H2, LPG, CH4, CO, Alcohol, Smoke, or Propane. Due to its high sensitivity and fast response time, measurements can be taken as soon as possible. The sensitivity of the sensor can be adjusted by the potentiometer

This MQ-2 Smoke and gas detector module works with 5V power, making it easy to connect to most projects. You can get two types of readings from it—an analog output, which gives you a range of values (0V to 5V) based on the gas level, or a digital output that’s either on (5V) or off (0V). 


Check out the entire range of Gas Sensors.

Also explore the exclusive collection for Sensors.

Applications:

  • Safety of home
  • Control of air quality
  • Measurement of gas level
  • Gas leakage alarms
  • IoT safety

MQ-2 Gas Sensor Module – Quick Start Guide

Wiring Guide

  • Connect VCC to Arduino 5 V.
  • Connect GND to Arduino GND.
  • Connect A0 (analog output) to Arduino analog pin A0.
  • Optional: Connect D0 (digital output) to Arduino digital pin (e.g., D2) for threshold detection.
  • Allow the sensor to pre-heat for a few minutes before use.

Arduino Code Example – Analog Read

#define sensorPin A0    // analog input pin for MQ-2
int sensorValue = 0;

void setup() {
  Serial.begin(9600);
  Serial.println("MQ-2 Gas Sensor Test");
  delay(2000);  // sensor stabilisation
}

void loop() {
  sensorValue = analogRead(sensorPin);
  Serial.print("Gas Sensor Reading: ");
  Serial.println(sensorValue);

  if (sensorValue > 400) {   // adjust threshold as needed
    Serial.println(">> Gas/Smoke Detected! <<");
  }

  delay(1000);
}

Usage Tips

  • Higher sensor values indicate higher gas concentration.
  • Adjust the threshold depending on your environment and calibration.
  • The digital output (D0) can be used for simple detection logic.
  • Ensure good ventilation and safety when testing with flammable gases.

MQ-2 vs MQ-3 vs MQ-7 – Gas Sensor Comparison

Feature MQ-2 MQ-3 MQ-7
Main target gases Combustible gases & smoke (LPG, propane, methane, hydrogen, etc.) Alcohol/ethanol vapour (also benzine, smoke to lesser extent) Carbon monoxide (CO) primarily
Typical operation voltage 5 V heater standard 5 V heater standard Complex heating cycle (e.g., 5 V then 1.4 V low-heater mode) for CO detection
Specific usage notes General-purpose gas and smoke sensor; wide detection scope but less selective More selective toward alcohol vapour; used in breathalyzers and alcohol detection systems Specialised for CO; requires heating cycle and calibration for accurate measurement
Calibration & complexity Relatively simple; heat up, read analog output Simple; read analog output, target is alcohol so environment matters More complex; proper heater cycling and careful calibration needed
Best for Home/DIY gas leak & smoke detection projects Projects detecting alcohol vapour (e.g., breath analysis, security systems) Applications where CO detection is important (ventilation, safety, industrial)
Considerations / trade-offs Not very selective; may trigger for a range of combustible gases & smoke May also respond to other vapours or solvents, not purely alcohol Higher cost, more complex setup, slower response; careful calibration required

MQ Gas Sensors – Troubleshooting Tips

  • False Readings: Ensure proper ventilation and avoid placing the sensor near strong fumes, alcohol, or other interfering gases if you want specific detection.
  • Calibration Issues: Pre-heat the sensor for the recommended time (typically a few minutes to hours depending on sensor) before taking readings.
  • Threshold Setting: Adjust threshold values in your code carefully; raw analog readings vary between sensors even of the same type.
  • Environmental Factors: Temperature and humidity affect readings; use in stable environments or implement compensation if needed.
  • Power Supply Stability: Use a stable 5 V supply; fluctuations can cause erratic readings.
  • Sensor Age / Wear: MQ sensors degrade over time; if readings are inconsistent, consider replacing the sensor.

Package Includes:

  • 1 x MQ2 Gas Sensor Module

MQ2 Gas Sensor Specifications

Model  MQ2 Gas Sensor 
Operating Voltage  5V (DC)
Analog Output Voltage 0V to 5V
Digital Output Voltage 0V or 5V (TTL Logic)
Dimensions  3.6 x 2 x 1 cms
Weight  5 grams

1. How to test MQ2 gas sensor?

To test the module, connect it to a microcontroller and apply power. Introduce a small amount of smoke or LPG near the sensor element. If the analog or digital output value changes in response, you can confirm the MQ2 gas sensor is working properly.

2. How to calibrate MQ2 gas sensor?

Proper calibration begins with allowing the sensor to preheat for several hours to reach a stable baseline reading. Afterward, you can expose it to a target gas and set a threshold in your code to fine-tune its sensitivity. This process ensures your gas detector sensor provides more reliable and consistent results.

3. How to connect MQ2 gas sensor to Arduino?

To connect the sensor to your Arduino, simply wire VCC to 5V, GND to ground, and the analog output (A0) pin to one of the Arduino's analog inputs. With this setup and some simple code, you can build your own gas leak sensor. This configuration is perfect for creating a simple LPG gas detector sensor for safety applications.

4. How to connect MQ2 gas sensor to NodeMCU?

To interface the MQ-2 gas sensor with a NodeMCU, connect the sensor's VCC pin to a 3.3V or 5V source and its GND pin to ground. Then, wire the sensor's analog output to NodeMCU’s analog pin (usually A0) to read its values. This simple connection allows you to create a WiFi-enabled gas detection system.

5. How to use gas sensor with Arduino?

Using the MQ2 gas sensor with an Arduino involves reading the analog voltage from the sensor's output pin. You can program the Arduino to monitor these readings and trigger an alarm when they exceed a certain threshold. This setup allows you to create a functional gas leak sensor capable of detecting smoke or LPG.

6. How to calculate gas sensor readings?

First, you need to read the analog value from the sensor’s A0 pin and convert it to a voltage. To get accurate readings, you must then use this voltage along with the sensor's resistance ratio and refer to the characteristic curves in the datasheet. This allows you to estimate the gas concentration in ppm and turn your project into a functional gas detector sensor.

7. How to choose the sensing material in gas sensors?

The choice of sensing material is critical for the performance of gas sensors, as it determines which gases can be detected. This MQ-2 model uses tin dioxide (SnO2) because of its high sensitivity to a wide range of combustible gases. This makes it an effective and affordable choice for a general-purpose LPG gas sensor.

8. How to connect 2 gas sensors to Arduino?

To connect 2 gas sensors to a single Arduino, wire their power and ground pins in parallel. The key is to connect the output of each sensor to separate Arduino analog pins, such as A0 and A1. This allows your code to read each one independently, creating a system with multiple gas leak sensors for wider area coverage.

Shipping Policy

  • All orders confirmed before 3:00 PM IST are shipped the same day, barring rare pickup delays on holidays or disturbances.
  • Delivery time in Metro cities is 1–3 days; for other locations, it is 3–7 days. Delivery varies based on location and courier service.

Return & Refund Policy

  • Return window: 7 days from receipt unless stated otherwise.
  • No refunds or replacements after the return window.
  • Returns are accepted only for non-working or damaged products.
  • Initiate return requests via a Support ticket or contact us at +91-8123057137.
  • Refunds are processed within 3–4 working days after inspection and approval.

You May Also Like

Recently Viewed Products