M5Stack MQ-5 Gas Unit (STM32G030)

2025-11-04T15:10:33+00:00

Price: 5.30

The M5Stack Unit MQ is a smart gas detection module built around the MQ-5 sensor and STM32 MCU, designed to detect combustible gases like propane and methane. It connects via I2C to share voltage, ADC, temperature, and firmware data, and supports continuous and intermittent heating modes for faster response or lower power use. Perfect for smart homes, air quality systems, and industrial safety applications.

The M5Stack Unit MQ is a combustible gas detection unit based on the semiconductor gas sensor (MQ-5), integrated with an MCU (STM32G030F6P6). It is mainly used for detecting combustible gases (such as propane, methane, etc.) in the environment.

This unit communicates with various host devices via the I2C interface and can obtain internal reference voltage, sensor voltage, 12-bit and 8-bit ADC raw values, firmware version, thermistor temperature, and other information.

It supports two heating modes to bring the sensor to the optimal operating temperature: continuous heating mode and intermittent heating mode. In continuous heating mode, the sensor heats up faster and responds with data more quickly. In intermittent heating mode, the heating cycle can be flexibly configured to optimize device power consumption. This product is suitable for various safety and monitoring applications such as smart homes, air quality detection, and industrial safety.

Note: Please do not use this sensor for critical home/industrial/commercial carbon monoxide sensing applications. Intended for development and learning/hobby purposes only.

Features

Built-in STM32 core controller

I2C communication interface

Supports detection of various combustible gases (such as LPG, methane, etc.)

Supports two modes: continuous heating and intermittent heating with customizable periods

Integrated thermistor for device temperature monitoring

Readable internal reference voltage and sensor voltage

Standard MQ sensor interface, compatible with multiple sensors (such as MQ-2, MQ-3, MQ-7, MQ-135, etc.)

Development Platform:

Arduino

UiFlow2

Specifications

Specification | Parameter
MCU | STM32G030F6P6@32-bit ARM Cortex-M0+ processor
Sensor | MQ-5 combustible gas sensor
Communication Interface | I2C @0x11, address configurable

Operating Current

Off mode: DC 5.02V@6.88mA
Continuous heating mode: DC 5.05V@188.89mA

Detected Gases | LPG, methane
Detection Range | 300 ~ 10000ppm (methane, propane)
Recommended Preheat Time in Continuous Heating Mode | 20s
Product Size | 64.0 x 24.0 x 25.0mm
Product Weight | 19.3g

Resources

Documentation

Package Contents

1 x Unit MQ

1 x HY2.0-4P Grove Cable (20cm)