MQ-7 Carbon Monoxide Sensor The MQ-7 Carbon Monoxide Sensor is a low-cost semiconductor gas sensor designed for detecting carbon monoxide (CO) in air. It is suitable for hobby electronics, Arduino projects, ESP32 projects, educational experiments, CO detector prototypes, and general gas-sensing demonstrations. The sensor element uses tin dioxide (SnO2) as the gas-sensitive material. The sensor resistance changes when carbon monoxide is present, and this resistance change can be converted into a voltage signal using a simple external circuit with a load resistor. Unlike many other MQ gas sensors, the MQ-7 Carbon Monoxide Sensor uses a cycling heater voltage. The heater is operated alternately at a high voltage and a low voltage. This heating cycle is important for proper carbon monoxide sensing and recovery, and should be considered when designing the circuit or writing microcontroller software. Download MQ-7 Sensor Datasheet (PDF) Sensor type Semiconductor gas sensor Gas-sensitive material Tin dioxide, SnO2 Target gas Carbon monoxide, CO Typical detection range 20-2000ppm carbon monoxide Circuit voltage 5V ±0.1V AC or DC Heater voltage, high phase 5V ±0.1V AC or DC Heater voltage, low phase 1.4V ±0.1V AC or DC High heater time 60 ±1 seconds Low heater time 90 ±1 seconds Heater resistance 33Ω ±5% at room temperature Heater power consumption About 350mW Recommended load resistor About 10kΩ for calibration, adjustable range commonly 5kΩ-47kΩ Operating temperature -20°C to 50°C Storage temperature -20°C to 50°C Relative humidity Less than 95%RH Recommended initial preheat time No less than 48 hours for stable measurements Typical service life Up to 5 years under suitable operating conditions

Typical applications:

Helpful information:

Pin information The MQ-7 sensing element has 6 pins. Four pins are used for the sensing signal connections, and two pins are used for the heater. Heater connection The heater must be driven with the required high and low voltage cycle. Sensing connection Use the sensing electrodes together with a load resistor to create an analog voltage output. Important note Incorrect wiring or applying the wrong voltage to the wrong pins can damage the sensor or prevent a valid output signal.

Basic operating principle:

Recommended calibration approach:

Recommended handling and operating precautions:

Construction details:

Sensing layer SnO2 Electrode material Gold Electrode line Platinum Heater coil Ni-Cr alloy Ceramic tube Al2O3 Protective mesh Stainless steel gauze Base material Bakelite

Important safety note:

This sensor is intended for electronics projects, prototyping, education, and experimental carbon monoxide detection. It is not a ready-made certified carbon monoxide alarm, workplace safety device, automotive safety device, or life-safety instrument. Carbon monoxide is dangerous and can be deadly. For home, vehicle, workplace, or code-required CO protection, use properly certified carbon monoxide alarm equipment.