• +965 51122049
Keyestudio MQ-2 Analog Gas Sensor module for arduino

Keyestudio MQ-2 Analog Gas Sensor module for arduino

KWD1.500KWD1.500
0%Off

Keyestudio MQ-2 Analog Gas Sensor module for arduino


 
(Out of stock)

 


Share:

Introduction

This analog gas sensor - MQ2 is used in gas leakage detecting equipment in consumer electronics and industrial markets.
This sensor is suitable for detecting LPG, I-butane, propane, methane, alcohol, Hydrogen and smoke. It has high sensitivity and quick response.
In addition, the sensitivity can be adjusted by rotating the potentiometer. 

thumb
 

 

Specification

  • Power Supply: 5V
  • Interface Type: Analog
  • Wide detecting scope
  • Quick response and High sensitivity
  • Simple drive circuit
  • Stable and long lifespan

 

Connection Diagram


thumb
 

 

Sample Code

///Arduino Sample Code
void setup()
{
  Serial.begin(9600); //Set serial baud rate to 9600 bps
}
void loop()
{
int val;
val=analogRead(0);//Read Gas value from analog 0
Serial.println(val,DEC);//Print the value to serial port
delay(100);
}



 

Result


thumb
Done wiring and powered up, upload well the code, then open the serial monitor and set the baud rate as 9600, you will see the analog value. When detecting the gas, the value will make a change.
thumb
 

 

Resources

  • Video
     

http://video.keyestudio.com/ks0040/

  • PDF and Code
     

https://fs.keyestudio.com/KS0040


Add your review

Your email address will not be published. Required fields are marked *

Please login to write review!

Upload photos

Looks like there are no reviews yet.

Related Products