Ks0042 keyestudio MQ-4 Gas Sensor

From Keyestudio Wiki
Jump to: navigation, search

Introduction

MQ-4 application: it can be used in household and industrial-level gas leakage detection device to detect natural gas and methane. It is featured with wide detection range, high sensitivity, fast response and recovery time, with excellent stability, long service life and simple drive circuit.

Applicable gas: natural gas, methane
thumb

Specification

  • Detection Range: 300 ~ 10000ppm
  • Characteristic Gas: 5000ppm methane
  • Sensitivity: R in air/R in typical gas≥5
  • Resistance of Sensitive Material: 1KΩ~20KΩ in 5000ppm methane
  • Response Time: ≤10s
  • Recovery Time: ≤30s
  • Heating Resistance: 31Ω±3Ω
  • Heating Current: ≤180mA
  • Heating Power: ≤900mW
  • Heating Voltage: 5.0V±0.2V
  • Measuring Voltage: ≤24V

Working condition of MQ-4:

  • Environment Temperature: -20℃~+55℃
  • Humidity: ≤95%RH
  • Environment Oxygen Content: 21%

Storage condition of MQ-4:

  • Temperature: -20℃~+70℃
  • Humidity: ≤70%RH

Connection Diagram


thumb

Sample Code

///Arduino Sample Code
void setup()
{
  Serial.begin(9600); //Set serial baud rate at 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

https://drive.google.com/open?id=1Ba4jFDwj3ExLTbbD0i6l-vFsDeitDsY-

Buy from

Official Website

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

Amzaon Store

https://www.amazon.com/Keyestudio-Alcohol-Arduino-raspberry-Natural/dp/B01767OXFW/ref=sr_1_2?ie=UTF8&qid=1479960758&sr=8-2&keywords=keyestudio+MQ-4+Gas+Sensor+for+Arduino