Hmm, tried wiht the uart lib, after removing the unsupported parts, no luck either.
Posts made by noli
RE: MH-Z19 CO2 sensor
I'm currently trying to make it work (on an arduino pro mini 3.3), but won't succeed.
I keep having the following output :
CO2 - Sending data request to sensor. 1 - 40 - 1 - 0 - 1 - 21 - 3 - 15 - 0 - END Wrong starting byte from co2 sensor! (should be FF) Co2 - PPM = -1 Co2 - zzzzZZZZzzzzZZZZzzzz
Sometimes the second value is different but the first one is always 1. And obviously 1 is not FF . However I don't understand what's wrong in there.
I have to mention I'm using the MH-Z19B, and powering it with 5V, as opposed to the 3.3v of the arduino.
I also tried with the mhz19_uart lib, but didn't go further with it as the samples where not working out of the box with the z19B. Will probably give it another try, though...