pdf-icon

Unit MQ

SKU:U199

Description

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.

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

Includes

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

Applications

  • Smart home
  • Air quality detection
  • Industrial safety

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
Package Size 138.0 x 93.0 x 25.0mm
Gross Weight 24.7g

Schematics

PinMap

HY2.0-4P Black Red Yellow White
PORT.A GND 5V SDA SCL

Model Size

Datasheets

Softwares

Arduino

Internal Firmware

Protocol

Data Valid Flag and Control Pin Level States in Different Modes

  • Off Mode:
  • Continuous Heating Mode:
  • Intermittent Heating Mode (In the following Figure 1 and Figure 2, the high/low level time of the control pin is different, but the data valid flag becomes effective after 20s of continuous high level, and becomes invalid immediately after switching to low level):

Figure 1:

Figure 2:

Video

  • Unit MQ Function Introduction