I2C address

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

I2C address

Postby Luc » 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

Postby adafruit_support_rick » 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: 3158
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: I2C address

Postby Luc » 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

Postby tldr » 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: 406
Joined: Thu Aug 30, 2012 12:34 am

Re: I2C address

Postby Static » 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: 156
Joined: Thu Dec 23, 2010 5:21 pm


Return to General Project help

Who is online

Users browsing this forum: No registered users and 8 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [113]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]