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
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 spec | Value |
|---|---|
| Measures | Methane (relative) |
| Range | 200 to 10 000 ppm |
| Interface | Analog plus digital |
| Supply voltage | 5 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
Biogas and gas leak projects
Builds that use it
Alternatives
- MQ-5 LPG sensor moduleLPG and natural gas
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.
