I2C address
Moderators: adafruit_support_bill, adafruit

I2C address

by Luc on Sat Nov 10, 2012 2:41 pm

Hi friends,

1- Does someone knows if these i2c boards can be used in the same i2c bus?
INA219 High Side DC Current Sensor Breakout - 26V ±3.2A Max
ADXL335 - 5V ready triple-axis accelerometer
BMP085 Barometric Pressure/Temperature/Altitude Sensor
DS1307 Real Time Clock breakout board


they dont have configurable pins i2c address like:
ADS1115 16-Bit ADC - 4 Channel with Progrmmable Gain Amplifier

2 - Does someone knows about add one more "simulated" (but funcional) I2C port in Raspberry pi?

Thanks
Luc
 
Posts: 10
Joined: Thu Nov 08, 2012 12:14 am

Re: I2C address

by adafruit_support_rick on Sat Nov 10, 2012 4:05 pm

Luc wrote:1- Does someone knows if these i2c boards can be used in the same i2c bus?
INA219 High Side DC Current Sensor Breakout - 26V ±3.2A Max
ADXL335 - 5V ready triple-axis accelerometer
BMP085 Barometric Pressure/Temperature/Altitude Sensor
DS1307 Real Time Clock breakout board

They all have different I2C addresses, except for the ADXL335, which is not an I2C device:

INA219 : address 0x40
BMP085 : address 0x77
DS1307 : address 0x68

ADXL335 - three analog outputs.

All three can be used on the same bus.

2 - Does someone knows about add one more "simulated" (but funcional) I2C port in Raspberry pi?

I have not done this. Someone else may know.
User avatar
adafruit_support_rick
 
Posts: 12016
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: I2C address

by Luc on Sat Nov 10, 2012 4:10 pm

Thank you so much.
Luc
 
Posts: 10
Joined: Thu Nov 08, 2012 12:14 am

Re: I2C address

by tldr on Sun Nov 11, 2012 11:50 am

a while back phil burgess wrote about an i2c bus embedded in the hdmi interface. wonder if that can be gotten at on the pi.
"If I had known it was harmless, I would have killed it myself." - Phillip K. Dick, A Scanner Darkly
User avatar
tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 12:34 am

Re: I2C address

by Static on Tue Dec 04, 2012 12:54 pm

During my Raspberry Pi reading, someone posted about nullifying one of the I2C lines (Voltage? Ground?) into an I2C device to enable multiple I2C devices with the same address on the same bus. You'd tie up a GPIO port for each I2C device with a conflicting port, but you should be able to do it.
Static
 
Posts: 180
Joined: Thu Dec 23, 2010 5:21 pm