WifWaf / MH-Z19

For Arduino Boards (&ESP32). Additional Examples/Commands., Hardware/Software Serial
GNU Lesser General Public License v3.0
196 stars 41 forks source link

Warmup always 3 minutes. Return 0x184 and 0x22B #21

Closed PeterDirnhofer closed 3 years ago

PeterDirnhofer commented 3 years ago

First of all: Thanks for your excellent library! I observed during each poweroff/warmup: myMHZ19.getCO2(false) returns 0x184 for some seconds and for the rest of the 3 minutes 0x22B.

WifWaf commented 3 years ago

Hey, NP - are you getting the same values (*or wrong values) for 3 minutes with .getCO2(true), or just this one?

For the first seconds, you can turn on a filter with setFilter(true), it will return 0's until it's readings are valid - see if it persists.

WifWaf commented 3 years ago

Closed as no further info, feel free to open if any more issues.