Go Down

Topic: i2c beginner question (Read 1 time) previous topic - next topic


Feb 11, 2010, 04:14 pm Last Edit: Feb 11, 2010, 04:15 pm by strus_fr Reason: 1

I successfully plug an i2c RTC clock with my Arduino board.
Now, I have other i2c components that I would like to plug also (EEPROM for example, and probably more to come).

What kind of electronic component should I buy (not a serial to parallel Shift-register I guess... )?

Does someone has an example of such a wiring? ... may be also a piece of code  ;)

Thanks !


What kind of electronic component should I buy

One with a different address to the first device.
Per Arduino ad Astra


well, does that mean that I only have to put them in series?  :-/


No, I2C is a bus, the devices are in parallel.
All the SCLKs are connected together, and all the SDAs are connected together.
Per Arduino ad Astra


ok, so what is the purpose of the i2c i/o expander I saw here:

is it needed only if you have the same address?


That device is a way of adding extra digital I/O pins to a design, it isn't any kind of bus repeater.
Per Arduino ad Astra


ok, I think it is clearer now. Thanks

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131