I2C Hub for connecting multiple I2C devices?

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

I2C Hub for connecting multiple I2C devices?

Postby corb » Sun Apr 01, 2012 6:35 am

It's great that I2C allows you to connect multiple devices to your Arduino but I haven't found any good way to handle the connections. I'm looking for a really simple board that has five or six I2C connections on it (ideally just 4 pin JST RE but could be any standard connector). I think the pins can just be passively connected. I could try to make one, but the odds of me correctly soldering 24 pins that are that close together are about 1 in never. I've seen one I2C hub on the market but it only has 4 connectors which means if you daisy chain two of them you only end up with 5 usable connections.

Also, THANKS for producing the 3v/5v I2C level convertor - just got one of those which will solve my problem of mixing 3v and 5v i2c devices.
corb
 
Posts: 2
Joined: Sat Mar 10, 2012 11:10 pm

Re: I2C Hub for connecting multiple I2C devices?

Postby franklin97355 » Sun Apr 01, 2012 12:37 pm

As long as the devices have unique addresses you just connect them to the same two pins. The connections will depend on the device layout you have. What devices are you trying to use?
User avatar
franklin97355
 
Posts: 1764
Joined: Mon Apr 21, 2008 1:33 pm

Re: I2C Hub for connecting multiple I2C devices?

Postby corb » Sun Apr 01, 2012 3:12 pm

I can get them all working together but it's a wiring mess. I'd like a simple I2C hub (like an Arduino Sensor shield) that I can plug them all into. I reconfigure things a lot and plugging in five connectors is a lot easier (and less prone to error) than trying to connect up 20 individual wires. The I2C items are:

LCD shield, Compass , color sensor, MP3 board. I can put JST RE connectors on all of them, which is my favorite connector because it's compact and easy to make your own custom cables but I need a simple board to plug them into. I have a bunch of analog and digital sensors and I just plug them into a Mega I/O sensor shield.

I'm playing around with a robot that has 1 distance sensor, 5 proximity sensors (left, right, rear, front down, rear down), 3 servos, 2 drive motors, a sound sensor, a motion detector, a temperature sensor, a gps, an SD card, 2 motor encoders plus the I2C: LCD shield, Compass , color sensor, MP3 board. I'm also potentially adding XBEE, an RFID reader and an arm. It's already a mess of cables and without IO shields and 3 or 4 pin connectors it gets really ugly. It's enough just getting all the separate libraries for that stuff to behave with each other.
corb
 
Posts: 2
Joined: Sat Mar 10, 2012 11:10 pm

Re: I2C Hub for connecting multiple I2C devices?

Postby railman » Sun Apr 08, 2012 7:01 am

I think this is what your looking for. It has three I2C connections on board.

Image

http://www.seeedstudio.com/wiki/index.p ... ase_Shield

http://www.seeedstudio.com/depot/grove- ... th=132_134
User avatar
railman
 
Posts: 20
Joined: Sun Feb 06, 2011 7:57 am
Location: Miami


Return to Other Arduino products from Adafruit

Who is online

Users browsing this forum: No registered users and 3 guests

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


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
Android[6]
 
BeagleBone[23]
 
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]