SCD30 never has data ready

Hello Sparkfun

I am running your code example for reading out data and settings from the SCD30 (Exampl5_GetSettings.ino) on my Arduino MKR 1310 board withe the SCD30 connected via I2C.
I get this output:

"SCD30 Example

Forced recalibration factor (ppm) is 400

Measurement interval (s) is 2

Temperature offset (C) is 0.00

Altitude offset (m) is 0

Firmware version is 0x342

Auto calibration set to false

Waiting for new data

Waiting for new data

Waiting for new data

Waiting for new data"

So communication seems to work but it just continues waiting for dataā€¦
Any ideas what I am missing here?

br.
Allan

It looks like its missing settingsā€¦it needs an known altitude offset or ambient pressure. Start with example 1, then 2 is used to input your own local settingsā€¦then move on to the later examples

I tried example 1 and 2 in the order you mentioned. But still gets the same issue. See output from exampe 2 below:

"SCD30 Example

Measurement Interval: 16

Current altitude: 1600m

Current temp offset: 5.00C
ā€¦

Any ideas what could be wrong?

Update: I increased the power supply from 3V3 to 5 V and now it works well

1 Like