
This is an MQ-7 gas sensor module made for sensing carbon monoxide (CO). 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 CO detection experiments, air monitoring demos and student sensor projects.
Overview
This is an MQ-7 gas sensor on a small breakout board. The MQ-7 is a semiconductor (metal oxide) sensor that is made mainly for carbon monoxide. When CO is in the air the sensor resistance drops, and the board turns that change into a voltage that a microcontroller can read. The board in the photo has the sensor in a grey plastic cap with a metal mesh on top, a 4-pin header (VCC, GND, DO, AO) already soldered, and a blue trimmer potentiometer.
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. Detection ranges differ between datasheets, so treat the readings as a rough indication, not a measurement.
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 and gets warm. The manufacturer datasheet describes a heating cycle of about 60 seconds at 5V and 90 seconds at a low voltage of about 1.4V to 1.5V for best CO sensing. Simple breakout boards like this one usually feed the heater a steady 5V, so for careful CO work you need extra circuitry or a calibration step. Allow warm-up time before you trust the values.
This is a hobby sensor for learning and prototypes. It is made for carbon monoxide, it is not a smoke detector, and you should not rely on it as the only safety alarm in a home or workplace. Compared with the MQ-9, which also senses flammable gases, the MQ-7 is the usual choice when the target is carbon monoxide.
| Sensor | MQ-7 (metal oxide semiconductor) |
|---|---|
| Target Gas | Carbon monoxide (CO) |
| Supply Voltage | 5V DC |
| Heater Voltage | 5V (datasheet cycle: about 60 s at 5V, 90 s at about 1.4V to 1.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 MQ7 gas sensor module costs ৳165 at DazzleVolt. We deliver in Chittagong and nationwide.
No. The MQ-7 is made for carbon monoxide. It is not a smoke detector, so do not use it as a fire or smoke alarm.
The MQ-7 is made mainly for carbon monoxide. The MQ-9 senses carbon monoxide and flammable gases. Choose the sensor that matches the gas you want to detect.
The datasheet describes switching the heater between 5V and a low voltage, about 60 seconds and 90 seconds, for best CO sensing. Simple modules like this one usually give the heater a steady 5V, so readings are only a rough indication.
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 CO detector, so do not rely on it alone for safety.
Customer feedback
── More from Gas Sensor ──