
This is an MQ-9 gas sensor module that detects carbon monoxide and flammable gases such as methane and LPG. It gives an analog output and a digital output with an adjustable threshold, and runs from a 5V supply. It suits Arduino gas leak projects, air monitoring demos and student sensor experiments.
Overview
This is an MQ-9 gas sensor on a small breakout board. The MQ-9 is a semiconductor (metal oxide) sensor. Its resistance changes when carbon monoxide or flammable gases are in the air, and the board turns that change into a voltage you can read with a microcontroller. The board in the photo is blue, with the metal-mesh sensor can on top, a blue trimmer potentiometer and a 4-pin header (VCC, GND, DO, AO).
The datasheet range is about 10 to 1000 ppm for carbon monoxide and about 100 to 10000 ppm for flammable gases such as methane and LPG. The AO pin gives an analog voltage that rises with gas concentration, and the DO pin goes high or low when the level passes the threshold set by the trimmer, using an LM393 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 and read it with analogRead. The sensor has a heater, so it draws a fair amount of current and gets warm. It needs time to warm up, and the datasheet recommends a long preheat for stable readings. Module guides give anything from a few minutes to 24 hours, so allow time before you trust the numbers. Raw readings are not calibrated, so you need a calibration step 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 or carbon monoxide in a home or workplace. Compared with the MQ-7, which is aimed mainly at carbon monoxide, the MQ-9 also senses flammable gases.
| Sensor | MQ-9 (metal oxide semiconductor) |
|---|---|
| Target Gases | Carbon monoxide, methane, LPG and other flammable gases |
| CO Range | About 10 to 1000 ppm |
| Flammable Gas Range | About 100 to 10000 ppm |
| Supply Voltage | 5V DC |
| Outputs | Analog (AO) and digital (DO) |
| Digital Threshold | Adjustable with the trimmer potentiometer |
| Header Pins | 4 (VCC, GND, DO, AO) |
| Comparator | LM393 on most boards |
| Heater | Built in, needs warm-up time |
| Board Colour | Blue |
FAQ
The MQ9 gas sensor module for carbon monoxide and flammable gas costs ৳145 at DazzleVolt. We deliver in Chittagong and nationwide.
It reacts to carbon monoxide and to flammable gases such as methane and LPG. It cannot tell the gases apart, it only shows that one of them is present.
The MQ-9 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.
Raw readings are not in ppm. You need to calibrate it in clean air and use the curves in the datasheet, or use a library built for the MQ-9.
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 or carbon monoxide detector, so do not rely on it alone for safety.
Customer feedback
── More from Gas Sensor ──