Hello. I am wondering if it would be possible to connect and programm to I2C sensor units on one arduino (Arduino Uno WiFi rev2). And if yes how would i do it? I have a Shield that would allow me to plug 2 of them.
Thanks!
Plug two in.
Yes, but I would only have to upload one program for both or would I have to time it somehow. Otherwise, the data would overlap, right?
No.
I2C is a digital bus system, normally one controller talks to up to 127 devices.
Devices are selected by their I2C address.
Thanks a lot!
With 7-bit Slave Address, total addressable devices are 128 (27) of which 0x00 - 0x07 and 0x78- 0x7F are reserved addresses. So, actual addressable slave devices on the I2C Bus are: 112 (128 - 16).
Quote:
The I2C specification has reserved two sets of eight addresses,
1111XXX and 0000XXX. These addresses are used for special purposes.
1 Like
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.