I2C multiplexer TCA9548A
Lets you use eight sensors that share the same I2C address.
Function8-channel I2C switch
Supply voltage1.65 to 5.5 V
InterfaceI2C (0x70 to 0x77)
Logic level3.3 or 5 V
InterfacesReviewedMPN TCA9548AUsed in 1 project
In short
What is the I2C multiplexer TCA9548A and what is it used for?
Lets you use eight sensors that share the same I2C address. Makers use it for several identical sensors.
How it works
A set of switches that connect the main I2C bus to one or more of eight branches.
Key specifications
| Interface module spec | Value |
|---|---|
| Function | 8-channel I2C switch |
| Supply voltage | 1.65 to 5.5 V |
| Interface | I2C (0x70 to 0x77) |
| Logic level | 3.3 or 5 V |
Pinout
VIN GND1.65 to 5.5 V
SDA SCLUpstream I2C
A0 A1 A2Address (0x70 to 0x77)
SD0 SC0 to SD7 SC7Eight downstream buses
RSTReset
How to use it
Write 1 << channel to address 0x70 to pick a bus, then talk to the sensor as usual. Use it to connect several sensors with the same fixed address.
Applications
Several identical sensors
Builds that use it
Alternatives
- MCP23017 I/O expander moduleMore pins, not more buses
Common questions
What is the I2C multiplexer TCA9548A used for?
In maker projects: several identical sensors.
How does the I2C multiplexer TCA9548A work?
A set of switches that connect the main I2C bus to one or more of eight branches.
What voltage does the I2C multiplexer TCA9548A need?
1.65 to 5.5 V.
How do I connect the I2C multiplexer TCA9548A to an Arduino or ESP32?
I2C (0x70 to 0x77). Pins: VIN GND (1.65 to 5.5 V), SDA SCL (Upstream I2C), A0 A1 A2 (Address (0x70 to 0x77)), SD0 SC0 to SD7 SC7 (Eight downstream buses), RST (Reset).
What can I use instead of the I2C multiplexer TCA9548A?
MCP23017 I/O expander module.
