I have to read out the teperature and humidity of four independent SHT31 sensors with the help of an ESP32. Is there any prefered way to do this, since the only examples I can find online are only with one sensor. I have no access to the address pins of the sensors.

Thank you in advance for any help!


Try using TS3A5018, part from TI. You can then connect 4 independent I2C devices (SHT31).

There are also dedicated I2C channel multiplexers such as these. enter image description here

Below is the example for I2C multiplexer from TI

enter image description here


Yes, reading 4 SHT31 is possible with an ESP32.

If you have the analog version, readout is quite trivial: you simply use 8 analog inputs (2 for each) to read the signal.

If you have the digital version, which has an I2C interface, you need to control each sensor's address pin separately to select the specific sensor you want to read. Otherwise, there will be an address collision on the bus.

  • Thank you! The problem is, that I have no access to the address pins – zet0 Aug 21 '20 at 21:52
  • @zet0 Then you need to get I2C bus multiplexers, to get each chip on its own bus lines – chrisl Aug 21 '20 at 23:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.