Close

Source code for using the MH-Z14A CO2 sensor

A project log for Growing vegetables in sealed containers

I want to work out whether or not it is possible to grow vegetables indoors in sealed, airtight containers.

will.stevenswill.stevens 01/28/2018 at 21:280 Comments

I've put my source code for using the CO2 sensor (on Linux) here:

https://github.com/WillStevens/co2_sensor

It makes use of a command for turning off 'Automatic Baseline Correction', and also a command for setting the range of the sensor. Both commands can be found in the Chinese version of the documentation for the sensor, here:

http://style.winsensor.com/pro_pdf/MH-Z14A.pdf

Discussions