Key facts
- Brand
- Winsen
- Model
- MH-Z19B
- Category
- sensor
- Industry
- Industrial
- Documents
- 3
- Languages
- ZH
- Last added
- 2026-10-03
Start here

Winsen MH-Z19B CO2 Sensor User Manual
This manual describes the MH‑Z19B non‑dispersive infrared (NDIR) CO₂ sensor, its features, technical specifications and recommended applications such as HVAC, air‑quality monitoring and smart home devices. It includes detailed pin definitions, output options (UART, analog, PWM) and wiring instructions.
The document also explains how to perform zero‑point and span calibrations manually or via UART commands, outlines UART communication settings, and lists safety and handling precautions to ensure reliable long‑term operation. This manual is written in Chinese.
Winsen MH-Z19B specifications
| Supply voltage | 4.5 – 5.5 V DC |
|---|---|
| Average current | <20 mA @5 V |
| Peak current | 150 mA @5 V |
| Interface voltage level | 3.3 V (compatible with 5 V) |
| Measurement range | 0 – 10 000 ppm (selectable) |
| Output signals | UART (TTL 3.3 V), PWM, Analog (0.4–2 V default) |
| Pre‑heat time | 3 min |
| Response time | <120 s |
| Operating temperature | 0 – 50 °C |
| Operating humidity | 0 – 95 % RH (no condensation) |
All Winsen MH-Z19B documents by type
Day-to-day operation, settings and troubleshooting. Start here if the product is already set up.
Questions answered in these manuals
Which output types does the MH‑Z19B provide?
The sensor offers three output options: a UART (TTL) serial interface, an analog voltage output (0.4–2 V default, configurable to 0–3 V), and a PWM signal.
What is the recommended operating environment for the sensor?
The sensor should be kept in a well‑ventilated space, away from heat sources and direct sunlight, with supply voltage between 4.5 V and 5.5 V and a minimum current of 150 mA.
What principle does the MH-Z19B use to detect CO2?
It uses the non-dispersive infrared (NDIR) principle to detect CO2 in air.
What output methods does the MH-Z19B provide?
It provides UART, analog (DAC), and PWM outputs.
What is the measurement range of the MH-Z19B?
The sensor offers selectable ranges including 400~2000ppm, 400~5000ppm, and 400~10000ppm.
How do I calculate the CO2 concentration from the PWM output?
The formula depends on the selected range; for example, for 400-2000ppm, Cppm=2×(TH-2ms), where TH is the high-level time.
