Description
The MH-Z19B is a small, low-cost NDIR (non-dispersive infrared) CO2 sensor module designed for indoor air quality monitoring, HVAC systems, smart home devices, and ventilation control . It detects CO2 concentration by measuring infrared absorption at the characteristic wavelength of carbon dioxide, offering good selectivity and long life without oxygen dependence.
The sensor provides UART (TTL 3.3V) and PWM outputs, making it directly compatible with Arduino, ESP32, and other microcontrollers. It operates from 4.5–5.5V DC with average current below 20mA (peak 150mA) and includes built-in temperature compensation for stable readings across its operating range . The detection chamber is gold-plated for water-proofing and anti-corrosion, and the sensor is rated for >5 years of life .
Critical limitations: The MH-Z19B has Automatic Baseline Correction (ABC) enabled by default, which assumes the lowest CO2 reading over 24 hours is 400ppm (fresh outdoor air). This makes it unsuitable for greenhouses, farms, refrigerators, or continuous-occupancy indoor spaces where CO2 never drops to baseline—the sensor will drift and produce erroneous readings . For these applications, ABC must be disabled via command, and manual calibration performed. The sensor cannot be used outdoors per Winsen’s intended application . The interface is 3.3V TTL, but it is compatible with 5V logic .
Features
-
NDIR Infrared Detection: Selective CO2 measurement with no oxygen dependence and long life .
-
UART and PWM Outputs: Dual interface options for microcontroller integration .
-
Built-in Temperature Compensation: Stable readings across the operating range .
-
Gold-Plated Chamber: Water-proof and anti-corrosion construction .
-
Wide Detection Range: 400–5000ppm standard (optional variants up to 10000ppm) .
-
Low Power Consumption: <20mA average, 150mA peak .
-
Long Lifespan: >5 years rated .
-
3.3V TTL Interface: Compatible with 5V logic systems .
Technical Specifications
| Parameter | Specification (MH-Z19B) |
|---|---|
| Detection Principle | Non-dispersive infrared (NDIR) |
| Detection Range | 400–5000ppm (standard); optional up to 10000ppm |
| Accuracy | ±(50ppm + 5% of reading) |
| Operating Voltage | 4.5–5.5V DC |
| Average Current | <20mA @ 5V |
| Peak Current | 150mA @ 5V |
| Output Interface | UART (TTL 3.3V), PWM |
| Preheat Time | 3 minutes |
| Response Time | T90 < 120s |
| Operating Temperature | -10°C to +50°C |
| Operating Humidity | 0–95% RH (no condensation) |
| Dimensions | 32.9 × 19.7 × 8.6mm |














Reviews
There are no reviews yet.