You've just found the perfect I2C sensor and want to connect two, three, or more of them to your Arduino, but then you realize: "Uh oh, the chip has a fixed I2C address, and from what I know about I2C, you can't have two devices with the same address on the same SDA/SCL pins!" Are you out of luck? You would be if you didn't have this ultra-cool TCA9548A 1-to-8 I2C multiplexer!
Finally, there's a way to connect up to 8 I2C devices with the same address to a microcontroller. This multiplexer acts as a gatekeeper, forwarding commands to the selected set of I2C pins.
Using it is quite simple: The multiplexer itself has the I2C address 0x70 (but can be set from 0x70 to 0x77). You can simply send a single byte with the desired multiplexed output number to the port, and all future I2C packets will be sent to that port. Theoretically, you could use 8 of these multiplexers at addresses 0x70 to 0x77 to control 64 devices with the same I2C address.
As with all Adafruit breakouts, we've brought this nice chip to a breakout board for you, so you can use it on a breadboard with capacitors and pull-ups as well as pull-downs, making usage a breeze. Some headers are required, and once soldered, you can plug it into a breadboard. The chip itself is compatible with both 3V and 5V, so you can use it with any logic level.
Technical details:
Compatible hardware | Arduino |
Item number | 5998569 |
Manufacturer | Adafruit |
Category | Electronics modules |
Manufacturer no. | ada-2717 |
Release date | 12.1.2016 |
Sales rank in Category Electronics modules | 26 of 9186 |
Compatible hardware | Arduino |
Module type | Siren |
Shield | I/O shield |
CO₂-Emission | |
Climate contribution |
Length | 30.50 mm |
Weight | 1.80 g |
Length | 9.50 cm |
Width | 6.50 cm |
Height | 0.50 cm |
Weight | 8 g |
How often does a product of this brand in the «Electronics modules» category have a defect within the first 24 months?
Source: Digitec GalaxusHow many working days on average does it take to process a warranty claim from when it arrives at the service centre until it’s back with the customer?
Source: Digitec GalaxusUnfortunately, we don't have enough data for this category yet.
How often is a product of this brand in the «Electronics modules» category returned?
Source: Digitec Galaxus