adafruit / Adafruit_CircuitPython_HTU21D

CircuitPython driver for Adafruit's HTU21D-F temperature and humidity sensor
MIT License
2 stars 9 forks source link

Include delay until data is expected to be ready #14

Closed uutzinger closed 3 years ago

uutzinger commented 3 years ago

Without this delay the host is sending continuous read requests to the sensor. However the sensor is busy producing the data and does not respond to those requests. Observations with an oscilloscope indicate that each request deteriorates the SDA and SCL and potentially affects the sensor's and potentially the hosts' life time. SCA and SCL signal high level decreases and fluctuates when 0x40(R) is produced, indicating that host can not maintain a stable signal level on the i2c bus when the sensor is busy producing data.