Tutorial: How Arduino Control Multiple Same Address Devices by Using TCA9548A I2C Multiplexer

Introduction: Tutorial: How Arduino Control Multiple Same Address Devices by Using TCA9548A I2C Multiplexer

Description:

The TCA9548A I2C Multiplexer Module is to enable to connect devices with the same I2C address (up to 8 same address I2C) hooked up to one microcontroller. The multiplexer acts as a gatekeeper, shuttling the commands to the selected set of I2C pin with your command. The multiplexer itself is on I2C address 0x70 (but can be adjusted from 0x70 to 0x77), simply write a single byte with the desired multiplexed output number to that port, any future I2C packets will get sent to that port. In theory, you could have 8 of these multiplexers on each of 0x70-0x77 addresses in order to control 64 of the same-I2C-addressed-part

Specification:

  • 8 out of 1 bidirectional transfer switchWith
  • I2C bus and system management bus (SMBus) compatible Active low reset input
  • Three address pins at ISupports up to eight on 2C bus TCA9548A device
  • Supports voltage levels between 1.8V, 2.5V, 3.3V and 5V buses Conversion
  • Operating power supply voltage range is 1.65V to 5.5V5V voltage input
  • 0 to 400kHz clock frequency
  • Size: 30mm x 20mm
  • Color: purple

Step 1: Material Preparation

Step 2: Follow the Video Step

Step 3: Source Code and Library

Be the First to Share

    Recommendations

    • Make It Modular: Student Design Challenge

      Make It Modular: Student Design Challenge
    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Build a Tool Contest

      Build a Tool Contest

    Comments

    0
    AdamS522
    AdamS522

    Question 1 year ago on Step 3

    Can you explain purpose of having single line
    void displayLCD (int channnel,LiquidCrystal_I2C & LCD);