Go Down

Topic: Shared I2C devices (Read 396 times) previous topic - next topic

britesc

Hi,
I intend to link 4 or 5 Arduino's via I2C.
If I add devices such as an I2C RTC onto the same backbone, will each of the Arduino's be able to address the I2C RTC device etc?

Thanks as always,

jB  8)
=====================================================
My Grandkids think I'm cool but, actually I'm partially sighted so sorry for any typos

johnwasser

The ATmega328P supports multimaster operation on the I2C bus but that may not be supported by the Wire library so you may need to manipulate the registers directly.  Read the "2-wire Serial Interface" part of the datahseet.  It's only about 30 pages.  :)
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up