Ks0042 keyestudio MQ-4 Gas Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<br>
==Introduction==
==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.
MQ-4 can be used in household and industrial-level gas leakage detection device to detect natural gas and methane. <br>
 
It is featured with wide detection range, high sensitivity, fast response and recovery time, with excellent stability, long service life and simple drive circuit.<br>
Applicable gas: natural gas, methane
Applicable gas: natural gas, methane <br>
<br>[[File:Ks0042.jpg|500px|frameless|thumb]]<br>
<br>[[File:Ks0042.jpg|500px|frameless|thumb]]<br>


<br>
==Specification==
==Specification==
*Detection Range: 300 ~ 10000ppm
*Detection Range: 300 ~ 10000ppm
Line 16: Line 19:
*Heating Power: ≤900mW
*Heating Power: ≤900mW
*Heating Voltage: 5.0V±0.2V
*Heating Voltage: 5.0V±0.2V
*Measuring Voltage: ≤24V
*Measuring Voltage: 5V


<br>
===Working condition of MQ-4:===
===Working condition of MQ-4:===
*Environment Temperature: -20℃~+55℃
*Environment Temperature: -20℃~+55℃
*Humidity: ≤95%RH
*Humidity: ≤95%RH
*Environment Oxygen Content: 21%
*Environment Oxygen Content: 21%


<br>
===Storage condition of MQ-4:===
===Storage condition of MQ-4:===
*Temperature: -20℃~+70℃
*Temperature: -20℃~+70℃
*Humidity: ≤70%RH
*Humidity: ≤70%RH
<br>


==Connection Diagram ==
==Connection Diagram ==
<br>[[File:Ks0042-2.png|700px|frameless|thumb]]<br>


<br>[[File:4222.png|500px|frameless|thumb]]<br>
<br>


==Sample Code ==
==Sample Code ==
Line 46: Line 53:
Serial.println(val,DEC);//Print the value to serial port
Serial.println(val,DEC);//Print the value to serial port
delay(100);
delay(100);
}</pre>
}
</pre>
 
<br>[[File:Ks0042-1.png|600px|frameless|thumb]]<br>


<br>
==Resources ==
==Resources ==


'''Video'''
* '''Video'''<br>
http://video.keyestudio.com/ks0040/


http://www.keyestudio.com/wp/ks0040/
* '''code'''<br>
https://fs.keyestudio.com/KS0042


'''Datasheet'''
<br>


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


==Buy from ==
*[https://www.keyestudio.com/free-shipping-keyestudio-mq-4-natural-gas-methane-sensor-detection-module-for-arduino-p0014.html    '''Official Website''']
'''Official Website'''


http://www.keyestudio.com/keyestudio-mq-4-gas-sensor-for-arduino.html
*[https://www.aliexpress.com/store/product/Free-sgipping-Keyestudio-MQ-4-natural-gas-methane-sensor-detection-module-for-arduino/1452162_32626342649.html?spm=2114.12010612.8148356.27.59aa74983nH3cH    '''Shop on aliexpress''']


'''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


[[Category: Sensor]]
[[Category: Sensor]]

Latest revision as of 15:02, 7 January 2021


Introduction

MQ-4 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: 5V


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


thumb


Resources

  • Video

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

  • code

https://fs.keyestudio.com/KS0042


Buy from