Description: MQ-2 Smoke & Gas Sensor Module
MQ-2 gas sensor has high sensitivity to LPG, Propane and Hydrogen, also could be used to Methane and other combustible steam, it is low cost and suitable for various applications.
Using high-quality dual-panel design, with a power indicator and TTL signal output instructions; With a the DO switch signal (TTL) output, and AO analog signal output; TTL output valid signal is low level; (When the low level output signal lights, it can be connected directly to the microcontroller or relay module)
TTL output signal can be connected directly to a microcontroller IO port or connect to the relay module, potentiometer is used to adjust the output level transition threshold
- Wide detecting scope
- Stable and long life
- Fast response and High sensitivity
- Analog and Digital Outputs
- Trigger Level configuration Potentiometer
- Model: FC-22-A
- Operating voltage: DC 5V
- Analog Output (AO): 0~5V analog output voltage
- Digital Outout (DO): 0V or 5V output
- Configuration: Through Potentiometer (adjusts the output level transition)
- Preheat Duration: 20s
- VCC (+5V)
- GND (0V)
- DO (Digital Out)
- AO (Analog Out)
Selecting between Sensor type and module type:
When it comes to measuring or detecting a particular Gas the MQ series Gas sensors are the most commonly used ones. These sensors can either be purchased as a module or as just the sensor alone. If you are trying to only detect (not measuring ppm) the presence of a gas then you can buy it as a module since it comes with an op-amp comparator and a digital out pin. But if you planning to measure the ppm of a gas it is recommended to buy the sensor alone (without module).
Where to use MQ-2 Gas sensor:
The MQ-2 Gas sensor can detect or measure gasses like LPG, Alcohol, Propane, Hydrogen, CO and even methane. The module version of this sensor comes with a Digital Pin which makes this sensor to operate even without a microcontroller and that comes in handy when you are only trying to detect one particular gas. When it comes to measuring the gas in ppm the analog pin has to be used, the analog pin also TTL driven and works on 5V and hence can be used with most common microcontrollers.
So if you are looking for a sensor to detect or measure gasses like LPG, Alcohol, Propane, Hydrogen, CO and even methane with or without a microcontroller then this sensor might be the right choice for you.
How to use MQ-2 Sensors to detect gas:
Using an MQ sensor it detects a gas is very easy. You can either use the digital pin or the analog pin to accomplish this. Simply power the module with 5V and you should notice the power LED on the module to glow and when no gas it detected the output LED will remain turned off meaning the digital output pin will be 0V. Remember that these sensors have to be kept on for pre-heating time (mentioned in features above) before you can actually work with it. Now, introduce the sensor to the gas you want to detect and you should see the output LED to go high along with the digital pin, if not use the potentiometer until the output gets high. Now every time your sensor gets introduced to this gas at this particular concentration the digital pin will go high (5V) else will remain low (0V).
You can also use the analog pin to achieve the same thing. Read the analog values (0-5V) using a microcontroller, this value will be directly proportional to the concentration of the gas to which the sensor detects. You can experiment with this values and check how the sensor reacts to different concentration of gas and develop your program accordingly.
How to use the MQ-2 sensor to measure PPM:
If you are looking for some accuracy with your readings then measuring the PPM would be the best way to go with it. It can also help you to distinguish one gas from another. So to measure PPM you can directly use a module. A basic wiring for the sensor from datasheet is shown below.
The procedure to measure PPM using MQ sensor is the same but few constant values will vary based on the type of MQ sensor used. Basically, we need to look into the (Rs/Ro) VS PPM graph given in the datasheet (also shown below).
The value of Ro is the value of resistance in fresh air and the value of Rs is the value of resistance in Gas concentration. First, you should calibrate the sensor by finding the values of Ro in fresh air and then use that value to find Rs using the formulae
Once we calculate Rs and Ro we can find the ratio and then use the graph shown above we can calculate the equivalent value of PPM for that particular gas.
- Detects or measure Gases like LPG, Alcohol, Propane, Hydrogen, CO and even methane
- Air quality monitor
- Gas leak alarm
- Safety standard maintenance
- Maintaining environment standards in hospitals
2D model of MQ-2 Gas sensor:
If you purchased sensor then you can use the following dimensions to create your own PCB for your application
- 1 x MQ-2 Smoke & Gas Sensor Module