TCA9548A I2C MUX MODULE

SKU: HW-617

Specification and Features :

  1. 1-to-8 Bidirectional Translating Switches.
  2. Supports Hot Insertion.
  3. Low Standby Current.
  4. 1-to-8 Bidirectional Translating Switches.
  5. Active-Low Reset Input.
  6. Power Up With All Switch Channels Deselected.
  7. I2C Bus and SMBus Compatible.
  8. 5-V Tolerant Inputs.
  9. Latch-Up Performance Exceeds 100 mA Per JESD 78, Class II.

Pin Description :

Power Pins:

  • Vin – this is the power pin. Since the sensor chip uses 3-5 VDC. To power, the board, give it the same power as the logic level of your microcontroller – e.g. for a 5V micro like Arduino, use 5V.
  • GND – common ground for power and logic.

I2C Control-Side pins :

  • SCL – this is the I2C clock pin for the chip itself, connect to your microcontrollers I2C clock line.
  • SDA – this is the I2C data pin for the chip itself, connect to your microcontrollers I2C data line.
  • RST – this is the reset pin, for resetting the multiplexer chip. Pulled high by default, connect to ground to reset
  • A0 A1 A2 – these are the address selection pins for the multiplexer. By default, the multiplexer is at address 0x70 and these three pins are pulled low. Connect them to Vin to set the address to 0x71 – 0x77.
  • A0 is the lowest-significant bit (if it is pulled high, it will increase the address by 1).
  • A1 is the 2nd-lowest-significant bit (if it is pulled high, it will increase the address by 2).
  • A2 is the 3rd-lowest-significant bit (if it is pulled high, it will increase the address by 4).

I2C Multiplexed-Side pins:

  • SDx and SCx:  There are 8 sets of SDx and SCx pins, from SD0/SC0 to SD7/SC7. These are the multiplexed pins. Each one is a completely separate I2C bus set. So you have 8 I2C devices with identical addresses, as long as they are on one I2C bus each.
  • These pins do not have any pullups installed, so if you are using a chip or breakout without I2C pull-ups be sure to add them! Nicely, you can have Vin be 3.3V and have these pins pulled up to 5V (that is, they are 5V compliant).

Program : 

We suggest using this little helper to help you select the port

#define TCAADDR 0x70

void tcaselect(uint8_t i) {
if (i > 7) return;

Wire.beginTransmission(TCAADDR);
Wire.write(1 << i);
Wire.endTransmission();
}

You can then call tcaselect(0) thru tcaselect(7) to set up the multiplexer.

Note that you if you happen to have I2C devices with I2C address 0x70, you will need to short one of the Addr pins on the TCA9548 breakout to Vin in order to make it not conflict. Given that you can have 0x70 thru 0x77, just find one that’s free and you’re good to go.

Note : Product may vary in two variants TCA9548A &  PCA9548A

10 People watching this product now!

6000 +

Products

10:00am - 7pm

Working Hours

Genuine Products

Guaranteed

Description

You just found the perfect I2C sensor, and you want to wire up two, three, or more of them to your Arduino. When you realize “Oh no, this chip has a fixed I2C address, and from what I know about I2C; you cannot have two devices with the same address on the same SDA/SCL pins”. Are you out of luck? You would be if you don’t have this cool CJMCU TCA9548A I2C 8 Channel Multiple Extensions Development Board.

The CJMCU TCA9548A I2C 8 Channel Multiple Extensions Development Board is interesting in that it has an I2C address (0x70 by default) – and you basically send it a command to tell it which I2C multiplexed output you want to talk to, then you can address the board you want to address.

Reviews (0)

Reviews

There are no reviews yet.

Be the first to review “TCA9548A I2C MUX MODULE”

Your email address will not be published. Required fields are marked *