TCA9548A I2C Multiplexer: Use Multiple Devices with the Same Address on Arduino

Описание к видео TCA9548A I2C Multiplexer: Use Multiple Devices with the Same Address on Arduino

The TCA9548A I2C switch / multiplexer allows directing I2C traffic between one main bus and up to 8 other switchable buses. Two main advantages of being able to switch between separate buses are
1. Each bus can operate at a different voltage, allowing level translation between devices that talk to the same master controller
2. Devices that are configured for the same I2C address can't exist on a single bus without conflict but they can co-exist in the same system if they are isolated on separate buses.

Here's a demo project showing how to get the TCA9548A module working with Arduino, using 3 PCF8574 GPIO expanders. 2 of the expanders are configured for the same address so they are wired to 2 separate switch buses in order to interact with Arduino Uno over one main I2C bus.

Sketch and Wiring Diagram
https://github.com/GadgetReboot/TCA9548A

TCA9548A Datasheet
http://www.ti.com/lit/ds/symlink/tca9...

Adafruit TCA9548A module
https://learn.adafruit.com/adafruit-t...

Patreon:   / gadgetreboot  
#ElectronicsCreators

Комментарии

Информация по комментариям в разработке