Sharing I2C

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Phil_Rounds
 
Posts: 57
Joined: Thu Aug 07, 2014 5:12 pm

Sharing I2C

Post by Phil_Rounds »

How does one physically share the I2C terminals? I want to run 2 or 3 devices on one device. Also, how does one set the jumpers on a MPC4725 and/or ADS1115?

User avatar
Franklin97355
 
Posts: 23939
Joined: Mon Apr 21, 2008 2:33 pm

Re: Sharing I2C

Post by Franklin97355 »

To share the i2c bus you connect devices to the i2c pins and give them unique addresses. for the mcp4725
A0 allow you to change the I2C address. By default (nothing attached to A0) the address is hex 0x62. If A0 is connected to VDD the address is 0x63. This lets you have two DAC boards connected to the same SDA/SCL I2C bus pins.
for the ads1115
2C Addressing
The ADS11x5 chips have a base 7-bit I2C address of 0x48 (1001000) and a clever addressing scheme that allows four different addresses using just one address pin (named ADR for ADdRess). To program the address, connect the address pin as follows:
0x48 (1001000) ADR -> GND
0x49 (1001001) ADR -> VDD
0x4A (1001010) ADR -> SDA
0x4B (1001011) ADR -> SCL

User avatar
Phil_Rounds
 
Posts: 57
Joined: Thu Aug 07, 2014 5:12 pm

Re: Sharing I2C

Post by Phil_Rounds »

Thanks for that info. For the physical connections from the SDA/SLC pins on the Arduion to the breakout boards do I just splice them?

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: Sharing I2C

Post by adafruit_support_bill »

Yes. You can splice the wires.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”