Natural Gas Methane Sensor Module MQ-4

Natural Gas Methane Sensor Module MQ-4

Sensors
DET654
Part.No: MQ-4
€4.95
In Stock
Immediate Dispatch
MQ-4 Natural Gas & Methane Sensor Module – 5V DC, analog + TTL output, detects methane, LPG, propane, hydrogen and more. Ideal for Arduino gas leak detection projects.

 

The MQ-4 Natural Gas Methane Sensor Module (MPN: MQ-4) is a 5V DC gas detection module designed to detect combustible gases including methane, LPG, propane, butane, hydrogen, alcohol, and smoke. It provides dual-signal output — both an analog voltage signal and a digital TTL output — making it straightforward to integrate with microcontrollers for home or factory gas leakage detection applications.

Key Features

  • Dual Signal Output: Analog (AO) and digital TTL (DO) outputs available simultaneously → flexible use with both analog pins and digital interrupts
  • Wide Detection Range: 300 to 10,000 ppm → suitable for both low-level monitoring and high-concentration alarm triggers
  • High Sensitivity: Responds to methane, LPG, propane, butane, hydrogen, alcohol, and smoke → versatile for multiple gas types
  • Fast Response & Recovery: Quickly detects changes in gas concentration → ideal for real-time safety alarms
  • Long Service Life & Good Stability: Robust sensor element → reliable for long-term installations
  • 5V DC Operation: Works directly with standard Arduino power → no level shifting required for Arduino boards

Pinout & Wiring

PINSymbolDescription
1VCCPower supply – connect to 5V DC
2GNDGround
3DODigital TTL output – LOW (≈0.1V) when gas detected
4AOAnalog output – voltage proportional to gas concentration (0.1V clean air, up to 4V max concentration)

Wiring note: Connect VCC to Arduino 5V, GND to GND, AO to an analog input pin (e.g. A0) for proportional readings, and DO to a digital pin for threshold-based alerts. The onboard potentiometer allows adjustment of the DO trigger threshold.

Compatibility

  • Arduino UNO / Nano / Mega: Direct connection – module operates at 5V, matching Arduino's logic and power levels. Use analog pin for AO, digital pin for DO.
  • Raspberry Pi / ESP32 (3.3V logic): Use only the DO digital output or add a voltage divider on AO, as the analog output can reach up to 4V which exceeds 3.3V ADC limits.

Typical Applications

  • Home gas leak detector: Detect methane or LPG leaks from kitchen appliances and trigger an alarm buzzer with Arduino.
  • Factory safety monitoring: Continuous monitoring of combustible gas levels in industrial environments.
  • IoT gas alert system: Pair with ESP8266/ESP32 (via DO output) to send wireless notifications when gas is detected.
  • DIY air quality station: Log gas concentration data over time using the analog output and a data logger.
  • Educational projects: Learn analog sensor reading, threshold detection, and safety system design with Arduino.

Technical Specifications

ParameterValue
InterfaceAnalog (AO) + Digital TTL (DO)
Working Voltage5V DC
Current Consumption150 mA
Detection Range300 – 10,000 ppm
DO Output (TTL)LOW ≈ 0.1V (gas detected) / HIGH ≈ 5V
AO Output Range0.1V (clean air) – 4V (max gas concentration)
Target GasesMethane, LPG, propane, butane, hydrogen, alcohol, smoke
Dimensions32 × 22 × 27 mm
MPNMQ-4

Frequently Asked Questions

Q: What is the TTL output logic of the DO pin?
A: The DO pin outputs a LOW signal (≈0.1V) when gas concentration exceeds the threshold set by the onboard potentiometer, and HIGH (≈5V) in clean air conditions.

Q: Can I use the MQ-4 module with an ESP32?
A: Yes, but with caution. The module runs on 5V and the AO output can reach up to 4V — exceeding the ESP32's 3.3V ADC limit. It is safest to use the DO digital output with the ESP32, or add a voltage divider on the AO line.

Package Contents: 1 × MQ-4 Natural Gas Methane Sensor Module

Important: The MQ-4 sensor requires a warm-up/pre-heating period of at least 24–48 hours after first power-on for accurate and stable readings. Allow a shorter warm-up of 1–2 minutes before each measurement in normal use.
16 other products in the same category:
Product added to wishlist
Product added to compare.