
IDUINO for maker’s life
User Manual
For
MQ-2 Smoke Gas Detector Sensor
Module For Arduino (ME084)
www.openplatform.cc

IDUINO for maker’s life
Description:
MQ-2 gas sensor sensitive material used in the clean air low conductivity tin oxide
(SnO2). When there is the environment in which the combustible gas sensor,
conductivity sensor with increasing concentration of combustible gases in air
increases. Using a simple circuit to convert the change in conductivity of the gas
concentration corresponding to the output signal. MQ-2 gas sensor high on gas,
propane, hydrogen sensitivity of detection of natural gas and other flammable vapors
are also very good. This sensor can detect a variety of flammable gas, is a low-cost
sensors for a variety of applications.
Specification
Power supply needs: 5V
A gas, natural gas, city gas, smoke better sensitivity.
There are four screw holes for easy positioning ;
Has a long life and reliable stability
Rapid response and recovery characteristics
DO output: TTL digital 0 and 1 (0.1 and 5V)
Detectable concentration: 300-10000ppm
www.openplatform.cc

IDUINO for maker’s life
PinOut
Example
In this example, we use the digital output pin D13 to sense the change of environment
gas concentration. When the gas concentration arrive at some level, the buzzer is ring.
Wire connection as below:
Vcc-------------5V
Gnd-------------Gnd
D0--------------A0
********Code Begin*********
const int sensorPin= 0;
const int buzzerPin= 13;
int smoke_level;
void setup() {
Serial.begin(9600);
pinMode(sensorPin, INPUT);
pinMode(buzzerPin, OUTPUT);
}
void loop() {
smoke_level= analogRead(sensorPin);
Serial.println(smoke_level);
if(smoke_level > 200){
digitalWrite(buzzerPin, HIGH);
}
else{
digitalWrite(buzzerPin, LOW);
}
}
********Code End*********
www.openplatform.cc