10 USING MULTIPLE I2C DEVICES WITH THE SAME ADDRESS

In your Arduino journey, you’ve likely come across devices that interface via the I2C bus, a simple two-wire data bus for which the Arduino is considered the primary device, and each additional device or IC on the bus is a secondary device. Each secondary device has its own address that allows the Arduino to communicate with it. If two or more devices have the same bus address, however, you simply can’t use them together on the same bus.

This chapter shows you how to use two or more devices with the same bus address with the help of the TCA9548A I2C switch IC. You’ll learn to:

  • Build an ...

Get Arduino for Arduinians now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.