Model No. MH-Z19B Detection Gas CO2 Working voltage ~ V DC Average current < 20mA (@5V power supply) Peak current 150mA (@5V power supply) Interface level V (Compatible with 5V) Detection Range Please refer to Part5. Output signal Serial Port (UART) (TTL level ) PWM Analog output(DAC) (default ~2V)
MH-Z19B 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 compensation; and it has UART output and PWM output. It is developed by the tight integration of mature infrared absorbing gas detection technology ...
automatic_baseline_calibration (Optional, boolean): MH-Z19 has automatic calibration procedure. The automatic calibration cycle is every 24 hours after powered on. Set this value to false to disable ABC on boot (it’s better if you use sensor indoor). Set this value to true to enable ABC on boot. Doesn’t send calibration command if not set (default sensor logic will be used).
Winsen Infrared CO2 Module MH-Z19 / MH-Z19B / MH-Z14 serial "api" implementation. MH-Z19 Datasheet. MH-Z19B Datasheet. MH-Z14 Datasheet. This crates proposes two kinds of functions: functions for parsing response read from the uart; functions to create command payload to send to the sensor though the uart.