Shop Learn Blog Forums
Register Login
Register Login

Select your location

Pick where your order is going and we'll show prices in your currency with the right taxes, so the total at checkout is what you pay. Nothing more is due on delivery.

European Union

  • No exchange rate fees
/
Your cart is empty
Raspberry PiPicoPimoroniAdafruitBreakoutsBadgewareSmart HomeComponentsToolsNew PopularDeals!
DisplaysCamerasLED StripsSensorsRoboticsAudioRetro/ArcadeYukonFeatherTinyFXComponentsMerchandise

Departments

New PopularDeals!
Raspberry Pi
  • Shop all Raspberry Pi
  • Raspberry Pi Boards
  • Kits & Bundles
  • Accessories
  • Arcade & Retro Gaming
  • Merchandise
  • Displays
  • HATs & GPIO
  • Robotics
  • Cameras
  • Books
  • Networking
  • Industrial
Pico
  • Shop all Pico
  • Development Boards
  • Pico Aboard
  • Bases & Packs
  • Displays
  • Kits & Bundles
  • Arcade & Retro Gaming
  • Environmental
  • Robotics
  • Cameras
  • Industrial
  • Networking
  • Books
  • Power
  • Audio
  • Prototyping
  • Components
Pimoroni
  • Shop all Pimoroni
  • Badgeware
  • TinyFX
  • Yukon
  • Picade
  • Pibow
  • Breakouts
  • Displays
  • Raspberry Pi
  • Pico
Adafruit
  • Shop all Adafruit
  • Breakouts
  • Displays
  • Feather
  • Raspberry Pi
  • Arcade & Retro Gaming
Breakouts
  • Shop all Breakouts
  • Sensors
  • Qw/ST Compatible
  • Audio
  • Environmental
  • Cellular
  • Wireless
  • Storage
  • Cameras
  • Robotics
  • Accelerometers
  • GPS
  • RTC
  • ADC / DAC
  • Prototyping
  • Power
  • Input
  • Displays
Badgeware
  • Shop all Badgeware
  • Badges
  • Addons
Smart Home
  • Shop all Smart Home
  • Smart Home Hubs
  • Connectivity
  • Sensors
  • Devices
  • Power
  • Lighting
Components
  • Shop all Components
  • Parts
  • Motors & Servos
  • Inputs
  • Audio
  • Headers & Connectors
  • Fasteners
  • Wire & Cables
  • Batteries
  • LED Strips
Tools
  • Shop all Tools
  • Toolkits
  • Hand Tools
  • Soldering
  • Measurement & Test
  • Storage
Displays
Cameras
LED Strips
Sensors
Robotics
Audio
Retro/Arcade
Yukon
Feather
  • Shop all Feather
  • Development Boards
  • FeatherWings
TinyFX
Merchandise
  • 58,681 reviews rated 4.8 out of 5!
  • Ships today on orders before 2pm
  • Delivery to Norway tracked, duties calculated at checkout
  • No fuss returns we're here to help

Search

Filter

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Adafruit

Adafruit LTC4316 I2C Address Translator

Adafruit LTC4316 I2C Address Translator - On the fly address translation for I2C devices! Adafruit LTC4316 I2C Address Translator Adafruit LTC4316 I2C Address Translator Adafruit LTC4316 I2C Address Translator Adafruit LTC4316 I2C Address Translator Adafruit LTC4316 I2C Address Translator Adafruit LTC4316 I2C Address Translator

Adafruit LTC4316 I2C Address Translator

ADA5914

On the fly address translation for I2C devices!

Select an option:

  • Default Title

Your e-mail address will not be used for any other purpose

Thanks! We'll e-mail you when this arrives.

  • This is a pre-order - more information here

Why 400,000+ customers love us

We're an official Adafruit reseller

  • Tracked shipping
  • No return fees
  • Human support
  • Secure checkout
  • Trading since 2012

Video introduction

On the fly address translation for I2C devices!

Adafruit has hundreds of designs that use I2C - a two-wire protocol that can let you quickly connect sensors, OLEDs, GPIO expanders, and more. Folks love I2C because you can simply connect 4 wires for power and data, and even better, share those wires with multiple devices!

One things folks don't like about I2C is that each device requires it's own unique 'address'. You can only have one device with a 0x20 address, for example, so while in theory you could have up to 127 device, each for the 7-bits of address space available, in reality you will quickly bump into two sensors with the same address. Many I2C components have jumpers or switches that allow changing the address, but not all. And some only let you pick between two values. One solution is to use an I2C multiplexer,  and these work pretty well, but they require some noodling in your code to set up the 'plexer and then switch between the devices being plexed.

The Adafruit LTC4316 I2C Address Translator is another solution, with some magic sprinkled inside. This chip does on the fly address translation. There's an 'input I2C' half, and an 'output I2C' half. And any devices on the 'output' half will automatically have their addresses translated from the input half. Specifically, each device will have bit A6 flipped  (most-significant-bit of the address) and then bits A4 and A5 can also be flipped or kept the same, with the two DIP switches on board. To determine the translated address, we use XOR bitwise math.

OK that's a little confusing so let's work through an example. Say we have an AHT20 connected on the output side of this breakout. The AHT20 does not have an adjustable I2C address: it's fixed at 0x38. If both DIP switches are ON, then only A6 is flipped. That means the I2C controller on the input side will see 0x38 XOR 0x40 = 0x78 address. If we flip the A5 switch off, now it will be 0x38 XOR 0x60 = 0x58 and if both switches are off, now bits A4, A5 and A6 will be flipped, so 0x38 XOR 0x70 = 0x48. As far as the AHT20 is concerned, it will happily still see I2C writes and reads on 0x38, but from the I2C controller's perspective, the device is responding on the new address.

If you need more than 4 address translation options (two switches give you 4 options) we also have a spot where you can solder an XOR_LOW resistor for setting the 'bottom' 3 bits by soldering in a resistor value according to the datasheet. It can get confusing quickly so we definitely recommend using an I2C scanner to debug. Note also that you have to reset the LTC if you change the translation address with resistors or the DIP switches: the translation value is picked up on chip boot and isn't on-the-fly adjustable without a toggle of the Enable pin.

While this chip is magical, there's a few things to watch for: it doesn't seem to support clock-stretching so not for funky chips like BNO055. Just because you can change the address on the fly, doesn't mean the drive supports it! Some firmware is expecting a specific address and it may not be trivial to change the address. Check the driver to make sure you know how to change the address, to the new value.

To get you going fast, we spun up a custom-made PCB in the STEMMA QT form factor, making it easy to interface. The STEMMA QT connectors on either side are compatible with the SparkFun Qwiic I2C connectors. This allows you to make solderless connections between your development board and the LTC4316 or to chain it with a wide range of other sensors and accessories using a compatible cable. QT Cable is not included, but we have a variety in the shop. 

Technical Details

Product Dimensions: 25.2mm x 17.7mm x 5.8mm / 1.0" x 0.7" x 0.2"

Product Weight: 1.9g / 0.1oz

Learn

  • Primary Guide: Adafruit LTC4316 I2C Address Translator
  • Working with Multiple Same Address I2C Devices

Guides & tutorials

Can't get enough?

Follow us on your favourite social platform for new stuff, curious creations and the occasional electronic oddity. Show us what you're making too - we love seeing where our bits and pieces end up.

Or join our newsletter for fresh arrivals, product announcements and other useful nonsense, delivered directly to your inbox.

The Good Ship Pimoroni

We're here to help curious people make interesting things. Robots, gadgets, home automation, blinking lights, questionable contraptions - whatever you're building, we reckon technology is much more fun when you can poke at it, pull it apart and make it your own.

We design kits, breakout boards and all manner of colourful electronic oddities to make getting started easy and experimenting fun - from your first blinking LED to your latest gloriously overcomplicated creation.

More about our story

Useful links (we hope)

FAQs Shipping information Returns Contact support Support forums Wholesale and education Pimoroni customs Distributor map

Pimoroni Ltd.

Unit 1, Parkway Business Park, Parkway Drive, Sheffield, S9 4WN, United Kingdom
Registered in England and Wales Company №: 07510759 VAT Reg №: GB140870721
Terms & Conditions Privacy Policy

It's dangerous to go
alone! Take this

†