Methane Gas Sensor - MQ-4

From Geeetech Wiki
Jump to: navigation, search


MQ-2 1.jpg

MQ-4 gas sensor modules are used in gas leakage detecting equipments in family and industry, are suitable for detecting of CH4,Natural gas.LNG, avoid the noise of alcohol and cooking fumes and cigarette smoke.


  • High sensitivity to CH4,Natural gas
  • Small sensitivity to alcohol, smoke
  • Fast response
  • Stable and long life
  • Simple drive circuit


MQ-4 datasheet


MQ-4 pic.jpg

MO-2 2.jpg

VCC - 5V
S   - Analog pin0

Example code

int sensorValue;
void setup()
 Serial.begin(9600);      // sets the serial port to 9600
void loop()
 sensorValue = analogRead(0);       // read analog input pin 0
 Serial.println(sensorValue, DEC);  // prints the value read
 delay(100);                        // wait 100ms for next reading

How to buy it

Click here to buy Gas Sensor - MQ-4