This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hello,
In one-shot mode, after triggering the measurement, how much to wait before reading the sensor data so as to get valid reading?
I didn't find that it is specified in the data sheet. But this value seems affecting the reading of valid data.
Thanks!
Crane
Crane,
The minimum amount of time required to wait after triggering the measurement is specified in the datasheet as the conversion time.
If trying to read both temp and humidity, you will need to wait at least the combined conversion time for the measurements to complete. To be safe, a 2ms wait time can be used.
Thanks
-Alex Thompson
Hi Alex,
Ok got it. Would it work to rely on data ready status instead of waiting for measurement completion?
Thanks!
Crane
Crane,
Yes you can use the DRDY_STATUS (bit 7) bit in the Status register (addr 0x04) to see if the data is ready if that is easier.
Thanks
-Alex Thompson