This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS1115: ADS1115 max address support

Part Number: ADS1115
Other Parts Discussed in Thread: ADS1118

Hello,

I want to use ADS1115 module in my design, can I connect 5 ADS1115 modules to one controller. as in ADS1115 datasheet it is mentioned that 4 pin address select.

2C Interface: Four Pin-Selectable Addresses

thanks

  • Anjali,


    With the ADS1115, there's only four I2C addresses, so you'll only be able to put four devices onto one I2C bus.

    One alternative would be to use the ADS1118, which has similar features, but uses SPI communication. You could use a single SCLK, DIN, and DOUT from the master for all the devices. However, you would need an individual /CS for each device.


    Joseph Wu

  • Thanks Joseph,

    currently it is connected as per attached circuit. SEL0 and sEL1 are controlled in software. I'm reading U6, U7, U8, U9 and U10 in sequence.

    have assigned addresses in following way,

    Adafruit_ADS1115 ads1(0x49); /* Use this for the 16-bit version */
    Adafruit_ADS1115 ads2(0x48);
    Adafruit_ADS1115 ads3(0x4B);
    Adafruit_ADS1115 ads4(0x4A);

  • Anjali,


    It doesn't matter that the SEL0 and SEL1 are connected to two different devices that are independently controlled. There are only four I2C addresses that are available for this device and you can't run five devices with four addresses on the same bus.

    Regardless of what voltages are on SEL0 and SEL1, you are going to have at least one address where two devices will have the same address. This will cause I2C communication contention where both devices will try to respond at the same time.


    Joseph Wu

  • Thanks Jose[h, this clears my doubt.