
This is an MQ-5 gas sensor module that detects LPG, natural gas and coal gas in the air. It gives an analog output and a digital output with an adjustable threshold, and runs from a 5V supply with a 4-pin header. It suits Arduino gas leak projects, kitchen gas monitoring demos and student sensor experiments.
Overview
This is an MQ-5 gas sensor on a small breakout board. The MQ-5 is a semiconductor (tin dioxide, SnO2) sensor that responds to LPG, natural gas (methane) and coal or town gas. In clean air the sensor has low conductivity, and when one of these gases is present the conductivity rises with the gas concentration. The board turns that change into a voltage that a microcontroller can read. The board in the photo is blue, with the metal-mesh sensor can, a 4-pin header (VCC, GND, DO, AO) already soldered, and a blue trimmer potentiometer.
The datasheet detection range is about 200 to 10000 ppm, and some versions of the datasheet give 300 ppm as the lower end. The AO pin gives an analog voltage that rises with gas concentration, and the DO pin switches when the level passes the threshold set by the trimmer, using a comparator on most boards. Use AO when you want a number, and DO when you want a simple alarm signal.
To start, power the module from 5V, connect AO to an analog pin on the Arduino and read it with analogRead. The sensor has a built-in heater, so it draws some current and gets warm. The datasheet says it needs a long preheat for stable readings, so leave it powered before you trust the numbers. Raw readings are not calibrated, so a calibration step is needed to get ppm values.
This is a hobby sensor for learning and prototypes. Do not rely on it as the only safety alarm for gas leaks in a home or kitchen. Compared with the MQ-6, which is tuned more towards LPG and butane, the MQ-5 covers LPG, natural gas and coal gas, which makes it a general flammable gas sensor of this type.
| Sensor | MQ-5 (SnO2 metal oxide semiconductor) |
|---|---|
| Target Gases | LPG, natural gas (methane), coal gas |
| Detection Range | About 200 to 10000 ppm (datasheet) |
| Supply Voltage | 5V DC |
| Heater Voltage | 5V |
| Outputs | Analog (AO) and digital (DO) |
| Digital Threshold | Adjustable with the trimmer potentiometer |
| Header Pins | 4 (VCC, GND, DO, AO), fitted |
| Heater | Built in, needs warm-up time |
| Board Colour | Blue |
FAQ
The MQ5 gas sensor module costs ৳145 at DazzleVolt. We deliver in Chittagong and nationwide.
It reacts to LPG, natural gas and coal gas. It cannot tell the gases apart, it only shows that one of them is present.
The MQ-5 is a general sensor for LPG, natural gas and coal gas. The MQ-6 is tuned more towards LPG and butane. Choose the sensor that matches the gas you want to detect.
The MQ-5 has a built-in heater, so it gets warm in normal use. It also needs warm-up time before readings settle. Leave it powered for longer before you trust the values.
Use AO to read the gas level as a number with analogRead. Use DO for a simple on and off alarm, and turn the trimmer to set the level at which it switches.
No. This is a hobby sensor for learning and prototypes. It is not a certified gas detector, so do not rely on it alone for safety.
Customer feedback
── More from Gas Sensor ──