Components / Sensors / MQ-7 carbon monoxide sensor module

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
MQ
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 specValue
MeasuresCarbon monoxide (relative)
Range20 to 2000 ppm
InterfaceAnalog plus digital
Supply voltage5 V
Watch out forNot 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

Alternatives

Buy at

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.