MQ-9 Gas Sensor Module (CO, Methane, LPG) for Arduino
Open this project in the Soldr app → What is Soldr.ai → wiring, code and test steps for exactly these parts
MQ-9 Gas Sensor Module
The MQ-9 gas sensor module senses carbon monoxide (CO), methane (CH₄), and liquefied petroleum gas (LPG). It’s widely used in air quality monitors and gas-sensing projects. The module outputs both analog voltage and a digital TTL signal, making it easy to integrate with microcontrollers for threshold-based alerts or concentration monitoring.
A sensor for learning projects; not a certified gas or CO detector.
Key Specifications
| Specification | Value |
|---|---|
| Gas Detected | CO, Methane, LPG |
| Detection Range | 10–1000 ppm CO; 300–10,000 ppm Methane/LPG |
| Operating Voltage | 5 V DC |
| Output Type | Analog (0–5 V) and Digital (TTL) |
| Preheat Time | 60–120 seconds (initial) |
What You Can Build With This
- Carbon monoxide sensing demo with LED indicators
- Methane level sensing project for a kitchen or basement
- Portable air quality monitor with an LCD or OLED display
- Smart home gas alert system using an ESP8266 and cloud notifications
Compatibility
The module works with any 5V microcontroller board including Arduino Uno, Nano, and Mega. It can also interface with 3.3V boards like ESP8266, ESP32, or Raspberry Pi when using a logic level shifter or voltage divider for the digital output. The analog output requires an ADC input on the host board.
Wiring Notes
Connect VCC to 5V, GND to ground, AOUT to an analog input (e.g., A0), and DOUT to a digital pin. The heater draws around 150 mA during the high-heat cycle, so avoid powering the module directly from a microcontroller’s 5V pin; use an external regulated supply.
Is this compatible with Arduino?
Yes, the MQ-9 module operates at 5V and connects directly to any Arduino board. Use an analog pin to read gas concentration and a digital pin for the threshold output.
How do I calibrate the sensor?
Allow it to preheat for at least 2 minutes. For the digital output, adjust the onboard potentiometer until the threshold triggers in clean air. For analog accuracy, expose the sensor to a known concentration and map the voltage readings.
Can it detect smoke from a fire?
The sensor is optimized for CO, methane, and LPG, not particulate smoke. It may respond weakly to combustion gases present in smoke, but it is not a substitute for a dedicated smoke detector.
Free Setup Handoff Document Included
Every Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.
What you can build with this
Shipping Information
- Prepaid Orders: ₹45 for orders up to ₹1,999, FREE shipping above ₹1,999
- COD Orders: ₹45 shipping for orders up to ₹1,999, FREE shipping above ₹1,999. COD available.
- Delivery Timeline: Dispatch in 3-7 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items