jh295
2
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