Timeline for Connecting two Arduinos via I2C while I2C Pins A4/A5 are already in use
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 25, 2018 at 13:14 | comment | added | Jot | Thanks, I didn't think about that. So it will be 4 pins for a software i2c, 8 pins for ADDR selection, and 2 pins for the tca9548a. | |
| Sep 25, 2018 at 8:08 | comment | added | ratchet freak | @Jot But you only need 3 buses because a pair of sensors can share a bus. Also the address pins of the tca9548a can be statically tied, the actual multiplexing is done internally. You write to the tca9548a itself through I2C (that is what the address pins are for) to select which channels should be open and then it passes through the I2C bus signals to those open channels. You can then close the channel when you are done. | |
| Sep 24, 2018 at 17:30 | comment | added | Jot | Six software i2c busses requires 7 pins. That is 6 sda lines and just 1 scl line. The ADDR selection to bring one sensor in focus is easier, but requires 8 pins. The tca9548a still requires 5 pins (two i2c plus three address for 6 busses). | |
| Sep 24, 2018 at 14:41 | history | answered | ratchet freak | CC BY-SA 4.0 |