Environmental monitoring proof of concept.
My better half who is studying applied science and in her final year for getting her degree, as I write this, questioned me about monitoring CO2 gas concentrations in a small closed environment for a period of about 20 weeks.
The first thing that interested me was, how do you measure the amount of CO2 in the atmosphere accurately. Surprizingly Wikipedia about CO2 has information on the gas itself, but no information on detection techniques and how to measure it in atmosphere on tera firma, unless you have a spacecraft, and I don't.
Turned my research to environmental engineering and found that there were multiple ways to do this, with the 'most' accurate and cost effective method using the fact that the gas CO2 absorbes infrared light at a specific frequency, now there is something we can work with! Again to my surprise, "CO2 sensor modules" were readily available, even with direct I2C communication options, and calibrated as well (?), ready to be integrated with any microcontroller. Could not resist to try and get some operational real data...
The graph below is the result of combining a SCD43 I2C gas sensor to a ESP8266 programmed to take reading every 5 minutes and send these via WiFi to a network server which checks and registers the values in a database. From here an interface via a web server is available to request the results the graph displays.