MQ-7 carbon monoxide sensor module
CO sensor that needs a cycled heater voltage for good readings.
MeasuresCarbon monoxide (relative)
Range20 to 2000 ppm
InterfaceAnalog plus digital
Supply voltage5 V
SensorsReviewedMPN MQ-7Used in 3 projects
In short
What is the MQ-7 carbon monoxide sensor module and what is it used for?
CO sensor that needs a cycled heater voltage for good readings. Makers use it for CO alarms (learning only).
How it works
A tin dioxide sensor that becomes more sensitive to CO when its heater is cycled.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Carbon monoxide (relative) |
| Range | 20 to 2000 ppm |
| Interface | Analog plus digital |
| Supply voltage | 5 V |
| Watch out for | Not a certified alarm |
Pinout
VCC5 V
GNDGround
DODigital threshold
AOAnalog
How to use it
The datasheet uses a heater cycle of 60 s at 5 V and 90 s at 1.4 V, with readings at the end of the low phase; most modules run the heater at a constant 5 V, which gives only rough trends. Never rely on it as a CO alarm.
Applications
CO alarms (learning only)
Builds that use it
Alternatives
- MQ-9 CO and flammable gas sensor moduleCO plus combustible gases
Common questions
What is the MQ-7 carbon monoxide sensor module used for?
In maker projects: CO alarms (learning only).
How does the MQ-7 carbon monoxide sensor module work?
A tin dioxide sensor that becomes more sensitive to CO when its heater is cycled.
What voltage does the MQ-7 carbon monoxide sensor module need?
5 V.
How do I connect the MQ-7 carbon monoxide sensor module to an Arduino or ESP32?
Analog plus digital. Pins: VCC (5 V), GND (Ground), DO (Digital threshold), AO (Analog).
What can I use instead of the MQ-7 carbon monoxide sensor module?
MQ-9 CO and flammable gas sensor module.
