HomeMQ-2 Smoke LPG Butane Hydrogen Gas Sensor Detector Module
MQ-2 Smoke LPG Butane Hydrogen Gas Sensor Detector Module
MQ-2 Smoke LPG Butane Hydrogen Gas Sensor Detector ModuleMQ-2 Smoke LPG Butane Hydrogen Gas Sensor Detector Module
Standard shipping in 5 working days

MQ-2 Smoke LPG Butane Hydrogen Gas Sensor Detector Module

₹150
₹110
Saving ₹40
27% off
Product Description

The MQ2 Sensor Module is a complete module designed to interface with microcontrollers like Arduino, Raspberry Pi, and other development boards. It's essentially a ready-to-use version of the MQ2 gas sensor with additional components for easier integration and use in your projects.

Key Features of the MQ2 Sensor Module:

  1. Pre-wired Components: The MQ2 sensor module comes with a sensor element, heating element, and other supporting circuitry built in, making it easier to use compared to just the bare MQ2 sensor. This makes it more user-friendly for beginners.
  2. Adjustable Sensitivity (Potentiometer): Most MQ2 sensor modules have a small potentiometer (variable resistor) that allows you to adjust the sensitivity of the sensor. This feature is useful for tuning the sensor to react to certain gas concentrations more precisely.
  3. Digital and Analog Output Pins:
  • Analog Output (A0): This gives a continuous voltage proportional to the gas concentration detected. The higher the gas concentration, the higher the voltage output.
  • Digital Output (D0): This gives a HIGH/LOW digital signal that can be used to trigger a specific event, such as turning on a buzzer or activating a relay when a threshold level of gas concentration is exceeded.
  1. Heater and Sensing Element: The module includes a heating element (often a thin metal filament) that heats the sensor to an optimal temperature for gas detection. The gas interacts with the sensor material, causing a change in resistance, which is then measured.
  2. Power Supply: The MQ2 sensor module usually operates on a 5V power supply and requires a ground (GND) connection to function.

Pinout of the MQ2 Sensor Module:

Typically, the MQ2 sensor module has the following pins:

  1. VCC (Power): Connect this pin to the 5V supply from your microcontroller (e.g., Arduino).
  2. GND (Ground): Connect this to the ground of your microcontroller.
  3. A0 (Analog Output): This provides the analog voltage corresponding to the concentration of the gas detected by the sensor.
  4. D0 (Digital Output): This gives a digital HIGH/LOW signal indicating whether the gas concentration exceeds a preset threshold.
  5. S (Sensitivity Adjust Pin): This is an optional pin that can be used for adjusting the sensitivity of the sensor.

How the MQ2 Sensor Module Works:

  1. Gas Detection: The MQ2 sensor detects gases like methane (CH₄), propane (C₃H₈), carbon monoxide (CO), alcohol vapors, and smoke. It does this by passing air over the sensor’s heated surface. Gas molecules that come into contact with the sensor material cause a change in resistance.
  2. Analog Output: The more gas molecules that interact with the sensor, the greater the change in resistance, leading to a higher voltage output on the analog pin. This value can be read by the microcontroller and used to determine gas concentration.
  3. Digital Output: For simpler applications, the digital output pin can be used. Once the gas concentration exceeds a certain threshold, the output becomes either HIGH or LOW, which can trigger a response like turning on an LED, buzzer, or activating a relay.

Example Circuit (with Arduino):

Here's how you can connect the MQ2 Sensor Module to an Arduino:

  • VCC5V on the Arduino
  • GNDGND on the Arduino
  • A0 → Analog pin (e.g., A0) on Arduino for analog readings
  • D0 → Digital pin (e.g., D2) for digital threshold-based output

Example Code for Arduino:

int mq2AnalogPin = A0;   // MQ2 analog output pin
int mq2DigitalPin = 2;    // MQ2 digital output pin
int sensorValue = 0;      // Variable to store the analog sensor value

void setup() {
  Serial.begin(9600);     // Start serial communication at 9600 baud rate
  pinMode(mq2DigitalPin, INPUT);  // Set digital pin as input for threshold detection
}

void loop() {
  // Read the analog value from the MQ2 sensor
  sensorValue = analogRead(mq2AnalogPin);

  // Print the sensor value to the serial monitor
  Serial.print("Analog Value: ");
  Serial.println(sensorValue);

  // Check if the digital output is HIGH (threshold exceeded)
  int digitalValue = digitalRead(mq2DigitalPin);
  if (digitalValue == HIGH) {
    Serial.println("Gas concentration above threshold!");
  } else {
    Serial.println("Gas concentration below threshold.");
  }

  delay(1000);  // Delay for 1 second
}

Applications of MQ2 Sensor Module:

  1. Gas Leak Detection: The sensor can detect leaks of gases like methane, propane, or butane in household kitchens, factories, or industrial setups.
  2. Fire Alarm Systems: It can detect smoke and be used in fire alarm systems.
  3. Air Quality Monitoring: The MQ2 sensor can be used for monitoring air quality by detecting alcohol vapors, carbon monoxide, and other gases in the environment.
  4. Safety Devices: The module can be used in safety devices to detect dangerous gases and activate alarms or safety measures.

Calibration:

The MQ2 sensor module requires calibration to ensure accurate readings. Initially, the sensor might require a preheating period of 24-48 hours, and the potentiometer on the module can be adjusted to calibrate the sensitivity for the desired gases.



Origin : China

Brand : Generic

Share
Customer Reviews

Secure Payments

Shipping in India

Cash on Delivery

Great Value & Quality