Difference between revisions of "Gas Sensor - MQ-2"

From Geeetech Wiki
Jump to: navigation, search
(Specification)
Line 36: Line 36:
 
==Usage==
 
==Usage==
 
[[File:MO-2 2.jpg]]
 
[[File:MO-2 2.jpg]]
 +
 +
==Example code==
 +
int sensorValue;
 +
void setup()
 +
{
 +
  Serial.begin(9600);      // sets the serial port to 9600
 +
}
 +
void loop()
 +
{
 +
  sensorValue = analogRead(0);      // read analog input pin 0
 +
  Serial.println(sensorValue, DEC);  // prints the value read
 +
  delay(100);                        // wait 100ms for next reading
 +
}
  
 
==How to buy it==
 
==How to buy it==
 
Click here to buy [Gas Sensor - MQ-2]
 
Click here to buy [Gas Sensor - MQ-2]

Revision as of 06:29, 10 May 2012

Introduction

MQ-2 1.jpg

Arduino MQ-2 gas sensor module are used in gas leakage detecting equipments in family and industry, are suitable for detecting of LPG, i-butane, propane, methane ,alcohol, Hydrogen, smoke.

Features: Wide detecting scope
Fast response and High sensitivity
Stable and long life
Simple drive circui

Specification

MQ-2 0.jpg

Detection range: 300 to 10000ppmm
The characteristics gas: 1000ppmm, isobutane
Sensitivity: R in air / Rin, typical gas ≥ 5
Sensing Resistance: 1KΩ 50ppm toluene to 20KΩ in.
Response time: ≤ 10s
Recovery time: ≤ 30s
Heat resistance: 31Ω ± 3Ω
Heating current: ≤ 180mA
Heating voltage: 5.0V ± 0.2V
Heating power: ≤ 900mW
Measuring voltage: ≤ 24V
Working conditions of ambient temperature: -20 ℃ ~ +55 ℃
Humidity: ≤ 95% RH
Environmental oxygen content: 21%
Storage conditions Temperature: -20 ° C to +70 ° C
Humidity: ≤ 70% RH

document

[MQ-2 datasheet]

Usage

MO-2 2.jpg

Example code

int sensorValue;
void setup()
{
 Serial.begin(9600);      // sets the serial port to 9600
}
void loop()
{
 sensorValue = analogRead(0);       // read analog input pin 0
 Serial.println(sensorValue, DEC);  // prints the value read
 delay(100);                        // wait 100ms for next reading
}

How to buy it

Click here to buy [Gas Sensor - MQ-2]