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

by mybotic in Circuits > Arduino

3669 Views, 1 Favorites, 0 Comments

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

muka depan.jpg

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

Material Preparation

litar skematik.jpg
TCA9548A.jpg
Arduino UNO.jpg
Laser sensor module.jpg
20x4 LCD i2C.jpg

Follow the Video Step

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

Source Code and Library