Ks0040 keyestudio Analog Gas Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 35: Line 35:
}</pre>
}</pre>


==Video==
==Resources ==
 
'''Video'''
 
http://www.keyestudio.com/wp/2016/05/ks0040-keyestudio-mq2-analog-gas-sensor-module/
http://www.keyestudio.com/wp/2016/05/ks0040-keyestudio-mq2-analog-gas-sensor-module/


'''Datasheet'''
http://www.keyestudio.com/files/index/download/id/1463707873/
==Buy from ==
http://www.keyestudio.com/keyestudio-analog-gas-sensor-for-arduino.html
https://www.amazon.com/Keyestudio-Analog-Alcohol-Arduino-raspberry/dp/B01766N9YE/ref=sr_1_1?ie=UTF8&qid=1479960097&sr=8-1&keywords=keyestudio+Analog+Gas+Sensor+for+Arduino
[[Category: Sensor]]
[[Category: Sensor]]

Revision as of 12:03, 24 November 2016

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 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
  • Size: 49.7*20mm
  • Weight: 8g

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);
}

Resources

Video

http://www.keyestudio.com/wp/2016/05/ks0040-keyestudio-mq2-analog-gas-sensor-module/

Datasheet

http://www.keyestudio.com/files/index/download/id/1463707873/

Buy from

http://www.keyestudio.com/keyestudio-analog-gas-sensor-for-arduino.html

https://www.amazon.com/Keyestudio-Analog-Alcohol-Arduino-raspberry/dp/B01766N9YE/ref=sr_1_1?ie=UTF8&qid=1479960097&sr=8-1&keywords=keyestudio+Analog+Gas+Sensor+for+Arduino