翻译 · Winsen Infrared CO2 Module MH-Z19 / MH-Z19B / MH-Z14 serial "api" implementation. MH-Z19 Datasheet. MH-Z19B Datasheet. MH-Z14 Dahasheet. 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.
翻译 · mh-z19. Read CO 2 concentration from mh-z19 sensor and handle it. cabling. Connect RPi & mh-z19 as: 5V on RPi and Vin on mh-z19; GND(0v) on RPi and GND on mh-z19; TxD and RxD are connected to cross between RPi and mh-z18; Followings are example of cabling, but you can free to use other 5v and 0v Pin on the RPi.