Robot Pi Shop

MQ-9 Carbon Monoxide, Flammable Gasses

$1.99

Shipping calculated at checkout.

Quantity

The MQ-9 Carbon Monoxide (CO) and Flammable Gas Sensor Module is a semiconductor gas sensor designed to detect carbon monoxide, methane, LPG, and other combustible gases in the surrounding air.

The sensor uses a tin dioxide (SnO₂) sensing element whose electrical resistance changes when exposed to target gases. It operates using alternating heating cycles to improve sensitivity to carbon monoxide and combustible gases.

The module features analog and digital outputs, an adjustable detection threshold, and onboard indicator LEDs, making it suitable for Arduino, ESP32, Raspberry Pi, and other microcontroller-based monitoring projects.

The MQ-9 is suitable for educational gas detection experiments, environmental monitoring prototypes, and embedded sensing applications.

Key Features

  • Multi-Gas Detection: Sensitive to carbon monoxide (CO), methane, LPG, and other combustible gases.
  • Semiconductor Technology: Uses a tin dioxide (SnO₂) sensing element.
  • Analog Output (AO): Provides a variable voltage related to sensor resistance and gas concentration.
  • Digital Output (DO): Provides a HIGH/LOW signal based on an adjustable threshold.
  • Adjustable Detection Threshold: Onboard potentiometer allows digital output threshold adjustment.
  • Dual Heating Operation: Uses alternating heater voltage levels for different gas sensing conditions.
  • 5V Module Supply: Designed for use with common microcontroller systems.
  • Onboard LED Indicators: Power and digital output status indication.
  • Compact PCB Design: Suitable for embedded electronics and sensor projects.
  • Mounting Holes: Allows installation in project enclosures.

Technical Specifications

Specification Details
Model MQ-9
Sensor Type Carbon Monoxide and Combustible Gas Sensor
Sensor Technology Metal Oxide Semiconductor (MOS)
Sensing Material Tin Dioxide (SnO₂)
Module Supply Voltage 5V DC
Target Gases Carbon Monoxide, Methane, LPG
Typical CO Detection Range 10–1,000 ppm
Typical Combustible Gas Range 100–10,000 ppm
Analog Output Variable Voltage
Digital Output HIGH/LOW Logic
Digital Threshold Adjustable Potentiometer
Heater High Voltage 5V ± 0.2V
Heater Low Voltage 1.4V ± 0.1V
High-Temperature Heating Phase Typically 60 Seconds
Low-Temperature Heating Phase Typically 90 Seconds
Sensor Preheating Extended Initial Conditioning Required
Module Interface Analog and Digital
Module Dimensions Approximately 32 × 20 mm, depending on PCB version

Pin Configuration

Pin Description
VCC 5V DC Power Supply
GND Ground
AO Analog Sensor Output
DO Digital Threshold Output

Arduino UNO Connection Example

MQ-9 Pin Arduino UNO
VCC 5V
GND GND
AO A0
DO D2 (Optional)

Arduino can read the analog output to monitor changes in sensor response or use the digital output to detect when the adjustable threshold is reached.

Note: Accurate gas measurements require calibration, correct heating cycles, and appropriate signal processing.

ESP32 Connection Example

MQ-9 Pin ESP32
VCC 5V
GND GND
AO GPIO34 Through Voltage Divider
DO Digital GPIO Through Level Shifter

Important: ESP32 GPIO pins operate at 3.3V. The MQ-9 module may produce 5V output signals, so appropriate voltage-level protection is required.

Raspberry Pi Compatibility

The MQ-9 can be used with Raspberry Pi boards using additional interface components.

  • Analog Reading: Requires an external ADC such as ADS1115 or MCP3008.
  • Digital Reading: Requires suitable 5V-to-3.3V level shifting.
  • Power Supply: Requires a suitable 5V supply.

Applications

  • Carbon monoxide sensing experiments
  • Combustible gas detection prototypes
  • Methane and LPG monitoring projects
  • Arduino gas sensing systems
  • ESP32 IoT monitoring applications
  • Raspberry Pi sensor projects
  • Environmental monitoring research
  • Educational electronics experiments
  • Laboratory gas detection demonstrations
  • Embedded gas monitoring systems
  • Automated ventilation prototypes
  • Industrial sensing research

Important Notes

  • The MQ-9 is sensitive to carbon monoxide and several combustible gases, including methane and LPG.
  • The sensor cannot reliably identify individual gases in a mixed-gas environment.
  • The MQ-9 sensing element requires alternating high- and low-temperature heating cycles for its specified gas detection performance.
  • Standard MQ-9 breakout boards may not automatically implement the required heating cycle. Constant 5V operation does not guarantee accurate gas concentration measurements.
  • The analog output does not directly represent gas concentration in ppm. Calibration is required.
  • The onboard potentiometer adjusts the digital switching threshold, not the sensor's underlying sensitivity.
  • The sensor requires initial conditioning and warm-up before stable measurements.
  • The 20-second preheating period sometimes listed for MQ-9 modules is not sufficient for full sensor conditioning.
  • Temperature, humidity, and other gases may affect readings.
  • The sensor's internal heating element becomes warm during operation.
  • Do not connect 5V output signals directly to 3.3V-only GPIO pins.
  • This module is not a certified carbon monoxide or combustible gas alarm and must not replace approved gas safety detection equipment.

Package Includes

  • 1 × MQ-9 Carbon Monoxide and Flammable Gas Sensor Module