Tags: Gas, Detection, Sensor, MQ2, Module, for, Arduino, AVR, Pic

MQ 2 Gas Detection Sensor Module for Arduino or any Microcontroller

  • 15.00 AED
    • Ex Tax:15.00 AED
    • Brands Keyestudio
    • Product Code: MQ2
    • Availability: In Stock
    Gas Sensor MQ2 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, measurement can be taken as soon as possible. The sensitivity of the sensor can be adjusted by ..

    Gas Sensor MQ2 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, measurement can be taken as soon as possible. The sensitivity of the sensor can be adjusted by potentiometer

    in this illustration we will wire the GAS SENSOR MQ2 Module, these device is very useful for GAS leakage detection in home or industry it can detect H2, LPG, CH4, CO, Alcohol or Propane. This device is very sensitive and fast response time and measuring and also can be adjusted onboard by the trimmer potentiometer.

    The GAS Sensor is using an Analog output, and should be connected to MCU Analog input. 

    Required Components

    • Arduino Board
    • MQ-2 Sensor / H2, LPG, CH4, CO, Alcohol or Propane Sensor
    • Jumper Wires / DuPont Wires
    • Solder Less Bread Board

    Wiring Diagram

    Gas-sensor-MQ-2-Wiring-Diagram-Schematics-Pinout

    Arduino Sketch


    //********************************************

    // 14CORE Sample Test code for threshold to detect any 

    // increase/decrease in gas concentration. 

    // INDUSTRIAL GAS CONCENTRATION SENSOR

    // Analog Sense for MQ02 - MQ012

    //********************************************

    */

     

    float voltage_Sense;  //Float var voltage_sense

    float sensor_value; //Float var sensor value

     

    void setup() {

      Serial.begin(9600); //Start Serial Communication Baud rate 9600

    }

     

    void loop() {

      sensor_value = analogRead(A0); //Read value from analog A0

      voltage_Sense = sensor_value/1024*5.0; // Voltage / 1024 * 5.0

     

      Serial.print("voltage_Sense = ");

      Serial.print(voltage_Sense);

      Serial.println("Voltage");

      delay(1000); // Delay at 1 second

    }

    //********************************************


    Download MQ-2 Data Schematics here | Pdf

    Download MQ2 Circuit Diagram | Pdf

    There are no reviews for this product.

    Write a review

    Please login or register to review