Hello! I hooked up the SDC 40 to esp32 initially and couldn’t get anything but a Error trying to execute getDataReadyFlag(): Received NACK on transmit of address. So I hooked it up to an uno, which reads temp and humidity correctly but not co2.
Are you letting it run for a while? It may be just initial values that are wrong. I have a different CO2 sensor and I had to add a check if the value was within the range of valid values. If not valid, ignore it, wait a bit, and try again.