logo elektroda
logo elektroda
X
logo elektroda

Connecting two or more SHT 35 sensors to the ESP8266 (ESPEasy) over I2C

tymek139 1008 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18770840
    tymek139
    Level 2  
    Hello
    I have a problem connecting two or more SHT35 sensors to one ESP8266 on the I2C bus with ESPEasy uploaded.
    When I connect one sensor everything is ok. When I connect another sensor the controller does not detect it, only one address 0x44 (of the first sensor) is in use but this sensor at this point shows zeros as indication.
    This happens whether the pull-up resistors are connected or not.
    Attempting to connect another device e.g. an OLED display gives the correct indication and the device is detected.
    Has anyone had a similar problem and could help solve it.
  • ADVERTISEMENT
  • #2 18770947
    aadeer
    Level 16  
    There are duplicate sensor addresses, have a look at the SHT35 note, you need to swap some pin from GND to VCC or vice versa, then the second sensor will have address 0x45 and you should be able to see both....
  • #3 18771298
    khoam
    Level 42  
    I2C address setting:
    Connecting two or more SHT 35 sensors to the ESP8266 (ESPEasy) over I2C .
    VDD - supply 3V3, VSS - ground
ADVERTISEMENT