Components / Sensors / MQ-4 methane sensor module

MQ-4 methane sensor module

Gas sensor most sensitive to methane and natural gas.

MeasuresMethane (relative)
Range200 to 10 000 ppm
InterfaceAnalog plus digital
Supply voltage5 V
SensorsReviewedMPN MQ-4Used in 3 projects
MQ
In short

What is the MQ-4 methane sensor module and what is it used for?

Gas sensor most sensitive to methane and natural gas. Makers use it for biogas and gas leak projects.

How it works

A heated metal-oxide layer tuned for methane and natural gas.

Key specifications

Sensor specValue
MeasuresMethane (relative)
Range200 to 10 000 ppm
InterfaceAnalog plus digital
Supply voltage5 V

Pinout

VCC5 V
GNDGround
DODigital threshold
AOAnalog

How to use it

Warm it up and read AO against a baseline. Mount it high, as methane is lighter than air. Learning use only.

Applications

Alternatives

Buy at

Common questions

What is the MQ-4 methane sensor module used for?

In maker projects: biogas and gas leak projects.

How does the MQ-4 methane sensor module work?

A heated metal-oxide layer tuned for methane and natural gas.

What voltage does the MQ-4 methane sensor module need?

5 V.

How do I connect the MQ-4 methane sensor module to an Arduino or ESP32?

Analog plus digital. Pins: VCC (5 V), GND (Ground), DO (Digital threshold), AO (Analog).

What can I use instead of the MQ-4 methane sensor module?

MQ-5 LPG sensor module.