Two I2C devices with same address

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
s0170071
Normal user
Posts: 36
Joined: 21 Oct 2017, 20:49

Two I2C devices with same address

#1 Post by s0170071 » 13 Nov 2017, 09:31

Hi guys,

I would like to connect two SHT25 sensors, however, they do not provide the possibility to adjust their address.
How would I do that ? Found this

https://hackaday.com/2015/08/12/i2c-bus ... nal-touch/

but I am wondering is there some sort if soft I2C available ?

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Two I2C devices with same address

#2 Post by papperone » 13 Nov 2017, 19:53

You need an I2C multiplexer like TCA9548A but it's not yet supported by ESPEasy as it requires major rework on the I2C handling routines...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Drum
Normal user
Posts: 300
Joined: 07 Feb 2016, 11:56

Re: Two I2C devices with same address

#3 Post by Drum » 13 Nov 2017, 23:08

Sometimes the best solution is to use a separate unit.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Two I2C devices with same address

#4 Post by grovkillen » 14 Nov 2017, 07:47

Yes, as long as you have space for it I tend to use multiple units instead of packing one unit.

The downside is that my cheap APs are struggling with the increasing number of clients, not that the data transfer is rising but that the many clients is making the APs a tad unstable.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 119 guests