C++ UART MH Z19 CO2 Carbon dioxid sensor



What are the potential health effects of carbon dioxide? (CO2)
MainRoutes of Exposure: Inhalation
Inhalation: Low concentrations are not harmful.
Higher concentrations can affect respiratory function and cause excitation followed by depression of the central nervous system.
A high concentration can displace oxygen in the air.
If less oxygen is available to breathe, symptoms such as rapid breathing, rapid heart rate, clumsiness, emotional upsets and fatigue can result.
As less oxygen becomes available, nausea and vomiting, collapse, convulsions, coma and death can occur. Symptoms occur more quickly with physical effort.
Lack of oxygen can cause permanent damage to organs including the brain and heart.

co2UART - Measuring CO2 with an Raspberry PI and the MHZ19(B)


Original version https://www.raspberrypi.org/forums Background information can be found here.


Version 2.00 exports data to a file and can be imported in a spreadsheet
Version 2.00 (Modifications by eSJeKo)


There where some issues with the exporfile(name) and the data was written to the file (solved)
Version 2.01 (Modifications by eSJeKo)


To do: A display would be nice but the size of the case would be much bigger so I will develop a version with a tri-color-led.