Why is there periodic success when continuously reading SHT31?

Why is there periodic success when continuously reading SHT31?

Parents
  • Hello,

    The error code 0x0BAE0001 corresponds to NRFX_ERROR_DRV_TWI_ERR_ANACK, which means that there was an address NACK (Not Acknowledged) on the bus when trying to perform a read/write operation. This usually happens when the device is not ready to communicate, which could be the case if the delay is too short.
     
    In your case, it seems like the SHT3X sensor is not ready to communicate when the delay is less than 1000 ms. This could be due to the sensor needing more time to process or prepare the data before it can be read. See this old thread, which discusses the same issue.
    I am not familiar with this sensor, but have you checked the data sheet to see if there are any specific timing requirements for reading data?
     
    Kind Regards,
    Abhijith
Reply
  • Hello,

    The error code 0x0BAE0001 corresponds to NRFX_ERROR_DRV_TWI_ERR_ANACK, which means that there was an address NACK (Not Acknowledged) on the bus when trying to perform a read/write operation. This usually happens when the device is not ready to communicate, which could be the case if the delay is too short.
     
    In your case, it seems like the SHT3X sensor is not ready to communicate when the delay is less than 1000 ms. This could be due to the sensor needing more time to process or prepare the data before it can be read. See this old thread, which discusses the same issue.
    I am not familiar with this sensor, but have you checked the data sheet to see if there are any specific timing requirements for reading data?
     
    Kind Regards,
    Abhijith
Children
  • The Sensor SHT3x doesn't exhibit such behavior when used under the Arduino framework, especially with a cycle period of exactly 1000ms. I believe the issue doesn't originate from the SHT3x.

    Additionally, I found the link you provided at the time of my inquiry. I can confirm that the I2C connection is correct; otherwise, no temperature and humidity data would be obtained.

Related