Sensirion SCD30 CO2, humidity and temperature sensor

Sensirion’s SCD30 sensor module (https://www.sensirion.com/en/environmental-sensors/carbon-dioxide-sensors-co2/) is a useful device for environmental monitoring. I’ve wrapped a modified version of SparkFun’s Arduino Library (https://github.com/sparkfun/SparkFun_SCD30_Arduino_Library):

https://xod.io/libs/wayland/scd30-co2-rh-temp/

scd30

3 Likes

Nice job Matt! That was quick…Jim

Cool! Is there a way to transfer a library for MH-Z19 CO2 sensor?

Sorry it has taken me a while to reply. There are a couple of class-based arduino libraries for this sensor:


If you have experience with C++ you could try wrapping one of the above libraries - see https://xod.io/docs/guide/wrapping-arduino-libraries/.

Alternatively, since the sensor communicates via serial, it may be possible to implement everything you need in xod using the UART nodes (https://xod.io/libs/xod/uart/). Commands can be found in the sensor’s datasheet:
https://www.winsen-sensor.com/d/files/PDF/Infrared%20Gas%20Sensor/NDIR%20CO2%20SENSOR/MH-Z19%20CO2%20Ver1.0.pdf