The MQ-6 LPG Gas Sensor Module is a semiconductor gas detection module designed primarily for detecting liquefied petroleum gas (LPG), propane, butane, and isobutane in the surrounding environment.
The sensor uses a Metal Oxide Semiconductor (MOS) sensing element made from tin dioxide (SnO2). Its electrical resistance changes when exposed to combustible gases, allowing the module to monitor relative changes in gas concentration.
The MQ-6 offers high sensitivity to LPG-related gases and comparatively lower sensitivity to alcohol vapors and smoke under specified conditions.
Featuring analog and digital outputs, an adjustable digital detection threshold, and 5V operation, the module can be integrated with Arduino, ESP32, Raspberry Pi (with additional interfacing), and other compatible microcontrollers.
It is suitable for educational gas detection projects, IoT monitoring prototypes, and embedded sensing applications.
Key Features
-
LPG Detection: Designed for detecting liquefied petroleum gas.
-
Propane and Butane Sensitivity: Suitable for monitoring propane, butane, and isobutane.
-
High Gas Sensitivity: Responds to changes in combustible gas concentrations.
-
Analog Output (AO): Provides a variable voltage related to gas concentration.
-
Digital Output (DO): Provides a HIGH/LOW signal based on an adjustable detection threshold.
-
Adjustable Detection Threshold: Onboard potentiometer allows digital trigger adjustment.
-
5V Operating Voltage: Compatible with common microcontroller projects using appropriate interfacing.
-
Reduced Cross-Sensitivity: Generally less sensitive to alcohol vapors and smoke than to its primary target gases.
-
Onboard Indicator LEDs: Power and digital detection status indication.
-
Compact PCB Design: Suitable for embedded electronics and sensor projects.
-
Reusable Sensor: Designed for repeated gas detection measurements.
Technical Specifications
| Specification |
Details |
| Product Model |
MQ-6 |
| Sensor Type |
Combustible Gas Sensor |
| Sensor Technology |
Metal Oxide Semiconductor (MOS) |
| Sensing Material |
Tin Dioxide (SnO2) |
| Operating Voltage |
5V DC |
| Primary Target Gas |
LPG |
| Detectable Gases |
Propane, Butane, Isobutane |
| Typical Detection Range |
200–10,000 ppm LPG |
| Analog Output |
Variable Voltage, Approximately 0–5V |
| Digital Output |
HIGH/LOW, TTL Logic |
| Digital Output Levels |
Approximately 0V or 5V |
| Detection Threshold Adjustment |
Onboard Potentiometer |
| Interface |
Analog and Digital |
| Sensor Heating |
Internal Heating Element |
| Preheating |
Required for Stable Measurements |
| Module Connection |
4-Pin Interface |
Pin Configuration
| Pin |
Description |
| VCC |
5V DC Power Supply |
| GND |
Ground |
| AO |
Analog Gas Sensor Output |
| DO |
Digital Threshold Output |
Arduino UNO Connection Example
| MQ-6 Pin |
Arduino UNO |
| VCC |
5V |
| GND |
GND |
| AO |
A0 |
| DO |
D2 (Optional) |
The Arduino can monitor relative changes in LPG concentration using the analog output or detect when the adjustable digital threshold is reached.
ESP32 Connection Example
| MQ-6 Pin |
ESP32 |
| VCC |
5V |
| GND |
GND |
| AO |
GPIO34 Through Voltage Divider |
| DO |
Digital GPIO Through Level Shifter |
Important: The MQ-6 module operates at 5V, while ESP32 GPIO pins operate at 3.3V. Use an appropriate voltage divider or level shifter before connecting the sensor outputs.
Raspberry Pi Compatibility
The MQ-6 can be used with Raspberry Pi boards for LPG sensing experiments.
-
Analog Reading: Requires an external ADC module such as ADS1115 or MCP3008.
-
Digital Reading: Requires suitable 5V-to-3.3V level shifting.
-
Power Supply: Requires a suitable 5V power source.
Applications
- LPG detection experiments
- Propane and butane sensing projects
- Gas monitoring prototypes
- Arduino and ESP32 gas detection systems
- IoT combustible gas monitoring
- Smart home automation experiments
- Educational electronics projects
- Environmental sensing demonstrations
- Industrial gas monitoring research
- Robotics and embedded sensor systems
- Automated ventilation prototypes
Important Notes
-
The MQ-6 is primarily designed for LPG, propane, butane, and isobutane detection.
- The sensor may respond to other combustible gases and cannot reliably identify individual gases in a mixed environment.
- The analog output does not directly provide gas concentration in ppm. Accurate measurements require calibration.
- The onboard potentiometer adjusts the digital detection threshold, not the sensor's underlying sensitivity.
- The sensor requires preheating before stable readings can be obtained. Initial conditioning may require extended operation according to manufacturer recommendations.
- Temperature, humidity, and airflow can affect sensor readings.
- The internal heating element becomes warm during operation.
- Do not connect the module's 5V output signals directly to 3.3V-only GPIO pins.
- The MQ-6 is intended for educational, experimental, and non-safety-critical monitoring applications.
- This module is not a certified LPG leakage alarm and must not replace approved combustible gas safety detectors.
Package Includes