TOP

Grove - Gas Sensor(MQ2)

From Wiki 来自痴汉的爱
Jump to: navigation, search

Contents

Introduction

The Grove - Gas Sensor(MQ2) module is useful for gas leakage detecting(in home and industry). It can detect LPG, i-butane, methane, alcohol, Hydrogen, somke and so on. Based on its fast response time. measurements can be taken as soon as possible. Also the sensitivity can be adjusted by the potentiometer.


Model: SEN90512P

Twig-Gas Sensor.bmp

Features

  • Wide detecting scope
  • Stable and long life
  • Fast response and High sensitivity

Application Ideas

  • Gas leakage detecting
  • Toys

Mechanic Dimensions

Electronic Characterstics

Items  Parameter name Min Type Max Unit
System Characteristics
VCC  Working Voltage  4.9 5  5.1 V
 PH  Heating consumption 0.5 -  800 mW
 RL  Load resistance    can adjust    
 RH  Heater resistance -  33 -  Ω
 Rs Sensing Resistance  3 -  30   kΩ

Usage

Hardware Installation

Connect this module to the analog pin of Grove. You can gain the present voltage through the SIG pin. The higher the concentration of the gas, the bigger the output voltage of the SIG pin. Sensitivity can be regulated by rotating the potentiometer. Please note the best preheat time of the sensor is about 24 hours. For the detailed information about the MQ-2 sensor please refer to the datasheet.

Grove-Gas sensor.jpg

Programming

Connect the module with Grove Shield using A0 like the picture above. Use the program below to gain the voltage. You can see the voltage will go higher if the concentration of the gas increments.

void setup() {
  Serial.begin(9600);
}
 
void loop() {
  float vol;
  int sensorValue = analogRead(A0);
  vol=(float)sensorValue/1024*5.0;
  Serial.println(vol,1);
}

Support

Ask questions on Seeed forum.

Version Tracker

Revision Descriptions Release
v0.9b Initial public release 16,Aug,2011

Resources

How to buy

Click here to buy from Seeedstudio Bazaar.

See Also

Other related products,resources and projects.

Licensing

This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are licensed under GPL/LGPL, see source code files for details.

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Navigation
Collections
Toolbox