Page 2
Zhengzhou Winsen Electronics Technology Co., Ltd www.winsensor.com Intelligent Infrared CO2 Module (Model: MH-Z19) User’s Manual (Version: 1.0) Valid from: 2015.03.03 Zhengzhou Winsen Electronics Technology Co., Ltd ISO9001 certificated company Tel: 0086-371-67169097 Fax: 0086-371-60932988 Email: sales@winsensor.com Leading gas sensing solutions supplier in China...
Page 3
Statement This manual’s copyright belongs to Zhengzhou Winsen Electronics Technology Co., LTD. Without the written permission, any part of this manual shall not be copied, translated, stored in database or retrieval system, also can’t spread through electronic, copying, record ways.
MH-Z19 NDIR CO2 Module 1. Profile MH-Z19 NDIR infrared gas module is a common type, small size sensor, using non-dispersive infrared (NDIR) principle to detect the existence of CO 2 in the air, with good selectivity, non-oxygen dependent and long life. Built-in temperature sensor can do temperature compensation; and it has UART output and PWM output.
Page 5
Zhengzhou Winsen Electronics Technology Co., Ltd www.winsensor.com 4. Technical Parameters and Structure Product Model MH-Z19 Target Gas Working voltage 3.6 ~ 5.5 V DC Average current < 18 mA Interface level 3.3 V 0 ~ 0.5% VOL optional (refer UART...
Zhengzhou Winsen Electronics Technology Co., Ltd www.winsensor.com 5. Pins Description Pin 6 Vin (voltage input) Pin 7 Pin 1 Vout (output voltage 3.3V, output current lower than 10mA) Pin 9 Pin 5 HD (zero calibration, low level above 7 seconds) (Factory Reserved) Pin 2 UART (RXD) 0~3.3V digital input...
Page 7
Zhengzhou Winsen Electronics Technology Co., Ltd www.winsensor.com 7. Output Data Reading 7.1 PWM output (taking PWM output of 0~2000ppm detection range as example) CO2 output range: 0ppm-2000ppm Cycle: 1004ms ± 5% High level output for beginning: 2ms ± 5% Middle of cycle: 1000ms ±...
Page 8
Zhengzhou Winsen Electronics Technology Co., Ltd www.winsensor.com 7.2 Transmit Data Vin-5V power GND- Power Ground RXD connect sensor TXD TXD connect sensor RXD You can read gas concentration via UART directly, no need to calculate. 7.2.1 Communication Protocol A. General Settings...
Page 10
Zhengzhou Winsen Electronics Technology Co., Ltd www.winsensor.com 7.2.2 Program: C language char getCheckSum(char *packet) char i, checksum; for( i = 1; i < 8; i++) checksum += packet[i]; checksum = 0xff – checksum; checksum += 1; return checksum; 8. Notes 8.1 Do not use the sensor in the high dusty environment for long time.
Need help?
Do you have a question about the MH-Z19 and is the answer not in the manual?
Questions and answers