Pages: [1]   Go Down
Author Topic: Shared I2C devices  (Read 260 times)
0 Members and 1 Guest are viewing this topic.
Spain
Offline Offline
Jr. Member
**
Karma: 0
Posts: 51
I hope I'm not too old for this stuff...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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  smiley-cool
Logged

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

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 179
Posts: 8070
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.  smiley
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: