Adafruit LTC4316 I2C Address Translator

Price:
Sale price A$18.01   Inc. GST
SKU:
ADA5914
50 units Ships in 7 to 10 days

Experience the convenience and versatility of Adafruit's I2C address translator, designed with a two-wire protocol that allows for effortless connections to a variety of devices such as sensors, OLEDs, and GPIO expanders. With the ability to share just four wires for both power and data, this I2C solution is highly favored among users.

I2C devices each have a unique 'address' which can be a limitation. In theory, up to 127 devices can have a 7-bit address space, but in reality, you may encounter multiple sensors with the same address. Some I2C components have the option to change the address, but not all. Alternatively, an I2C multiplexer can be used, but it requires coding adjustments to set up and switch between devices.

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 cableQT 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



    Shipping rates Australia wide and New Zealand

    Please add the items in cart and proceed to checkout to calculate shipping cost. We have range of shipping options once goods are ready to dispatch. 
    1. Regular shipping: Goods will be shipped using Australia post regular shipping service. 
    2. Express shipping: Goods will be shipped using Australia post EXPRESS shipping service. 
    3. Express split shipping: Local stock from Melbourne will be shipped ASAP (1 business day) using EXPRESS shipment while remaining items from overseas stock when arrived in Melbourne shipped using second EXPRESS shipment. 
    4. Pick up from Thomastown, Melbourne is available on appointment between 9 am to 3 pm during business days. 

      

    FAQ:

    • How do I estimate shipping for my order?
      • Add products in the shopping cart and head to the checkout page to estimate the shipping.

    Dispatch time

    Unless expressly agreed otherwise with you, we will not commence delivery of an order until we have received cleared payment of the purchase price in full.

    All orders placed before 11 am AEST (Monday to Friday) will ordinarily be processed on the same day.

    We will endeavour to ship the Products by the applicable time indicated on the website, but all times are indicative only.  All shipping times are dispatch times only, and actual delivery dates will depend on the shipping method chosen, delivery address and delivery service provider. 

    Note- Please make a note during purchase if you require any item urgently. However we cannot guarantee that we will be able to comply with any request

    *Go to Australia post delivery time calculation to get various Australia post service in your area please use our shipping postcode Thomastown, 3074 as the "from" address - https://auspost.com.au/parcels-mail/delivery-times.html?ilink=tools-open-deliv-times.

    Shipping Destinations

    We ship all products throughout mainland Australia, Tasmania and New Zealand - Including Darwin, Melbourne, Sydney, Tasmania, Adelaide, Brisbane, Perth, all metro and regional areas but do not deliver to areas in Australia where the Australia Post delivery network is not available. 

    Check Express shipping delivery coverage area at - http://auspost.com.au/parcels-mail/delivery-areas.html

    Receipt of deliveries

    Deliveries to post office boxes are not permitted where delivery is by courier. If delivery is by courier and nobody is available at the delivery address to accept delivery when delivery is attempted then the courier may either:

    • leave the relevant parcel at the unattended address (the courier will do so if specified in your delivery requirements); or
    • re-attempt delivery at a later time or date, in which case we may charge you an additional re-delivery fee. 

    Note that if a delivery is left unattended at the shipping address and is subsequently stolen then the theft is your responsibility, not ours.

    Payment & Security

    Apple Pay Google Pay Mastercard PayPal Visa

    Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.

    You may also like