This library provides a class for reading temperature, relative humidity and CO2 level from the Voltcraft CO-100 air quality measuring device. It has been reported that it also works on the Voltcraft CO-60, although I have not been able to confirm that myself.
The code is written for the Arduino and Digistump Oak, an ESP8266 device. It should be possible to run this on many other devices as well.
The code comes with two examples that read the data from the CO-100:
- a sketch for Arduino which writes measured values to serial output.
- a sketch for Digistump Oak which publishes measured values to a Mosquitto MQTT topic.
This code is released under the GPL v3.