Adafruit LTC4316 I2C Address Translator - Stemma QT / Qwiic

SKU: ADA5914 Brand: Adafruit
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...
$18.10 AUD, inc GST
$16.45 AUD, exc GST

Available with a lead time
Expect dispatch between Jul 24 and Jul 26

Quantity Discounts:

  • 10-25 $15.80 (exc GST)
  • 25+ $15.30 (exc GST)
- +

0 from local stock, 1 supplier stock; your order will dispatch between Dec 1 to Dec 10. And yes, stock levels and lead times are accurate!

Shipping:

  • $6+ Standard (5+ days*, tracked)
  • $10+ Express (2+ days*, tracked)
  • FREE Pickup (Newcastle only - must order online*)

Shipping costs may increase for heavy products or large orders.

Exact shipping can be calculated on the view cart page.

*Conditions apply, see shipping tab below.

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, Adafruit use XOR bitwise math.

OK that's a little confusing so let's work through an example. Say Adafruit 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 Adafruit 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) They 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 they 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, Adafruit 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 cableQT Cable is not included, but Adafruit 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

    Product Comments

    Exact shipping can be calculated on the view cart page (no login required).

    Products that weigh more than 0.5 KG may cost more than what's shown (for example, test equipment, machines, >500mL liquids, etc).

    We deliver Australia-wide with these options (depends on the final destination - you can get a quote on the view cart page):

    • $3+ for Stamped Mail (typically 10+ business days, not tracked, only available on selected small items)
    • $6+ for Standard Post (typically 6+ business days, tracked)
    • $10+ for Express Post (typically 2+ business days, tracked)
    • Pickup - Free! Only available to customers who live in the Newcastle region (must order online and only pickup after we email to notify you the order is ready). Orders placed after 2PM may not be ready until the following business day.

    Non-metro addresses in WA, NT, SA & TAS can take 2+ days in addition to the above information.

    Some batteries (such as LiPo) can't be shipped by Air. During checkout, Express Post and International Methods will not be an option if you have that type of battery in your shopping cart.

    International Orders - the following rates are for New Zealand and will vary for other countries:

    • $11+ for Pack and Track (3+ days, tracked)
    • $16+ for Express International (2-5 days, tracked)

    If you order lots of gear, the postage amount will increase based on the weight of your order.

    Our physical address (here's a PDF which includes other key business details):

    Unit 18, 132 Garden Grove Parade
    Adamstown
    NSW, 2289
    Australia

    Take a look at our customer service page if you have other questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.

    Have a product question? We're here to help!

    Write Your Own Review

    Guides

    The Maker Revolution

    The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...
    The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...

    Projects

    Analogue Quad Oscillator Drone Synth

    I have a peer-reviewed study on my desk and it confidently tells me that all the capacitors...
    I have a peer-reviewed study on my desk and it confidently tells me that all the capacitors...

    Raspberry Pi Microscope

    The Raspberry Pi Microscope was put together to help with soldering PCBs that have small surface mo...
    The Raspberry Pi Microscope was put together to help with soldering PCBs that have small surface mo...

    Accurate IoT Clock With ESP8266

    Being punctual is important. Hence accurate time is required. Clocks tend to miss out when it comes...
    Being punctual is important. Hence accurate time is required. Clocks tend to miss out when it comes...
    Feedback

    Please continue if you would like to leave feedback for any of these topics:

    • Website features/issues
    • Content errors/improvements
    • Missing products/categories
    • Product assignments to categories
    • Search results relevance

    For all other inquiries (orders status, stock levels, etc), please contact our support team for quick assistance.

    Note: click continue and a draft email will be opened to edit. If you don't have an email client on your device, then send a message via the chat icon on the bottom left of our website.

    Makers love reviews as much as you do, please follow this link to review the products you have purchased.