SDC40 reading 0 co2

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.

“CO2(ppm):0 Temperature(C):21.3 Humidity(%RH):70.1”

I was under the impression it was self calibrating. What do I need to do here?

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.

It was going for about 5 minutes. Would it take longer than that?

Probably not. I was thinking more like a minute.

I let it go for half an hour. Temp and humidity are good, co2 still 0. Do you think I have a dud?

Probably worth contacting customer support to see what they have to say