Is there a way to work with MH-Z19 NDIR CO2 sensor via xod? What should I start with?
Not 100% sure it will work, but easiest solution would be to connect power & ground, then connect PWM on sensor to an analog pin and use XOD pot node to read the voltage. You would need to figure out how to calibrate the [0,1] range of POT to CO2 values read by the sensor.
Not sure how well PWM output will be read as voltage by analog pin, though… The alternative is to use the UART interface. I don’t have any experience with that.