Electronic – Wiring multi node devices with i2c

groundloopsi2c

I wanted to confirm that my approach is correct for wiring multiple devices together communicating over I2C when each node is utilizing DC\DC converters. Should I be including a ground connection over the I2C cable (#1) or would that cause a ground loop with the main 20 foot GND connection.

enter image description here

Best Answer

Since your power supplies are not isolated (and the micros thus share a common ground), an additional ground wire should not be necessary as long as the common ground is beefy enough, and is kept out of the vicinity of strong EM fields (don't run it next to 110V or 220V 50/60Hz). Minor differences between the grounds at the micro side shouldn't cause problems with logic level detection. If you want to be sure that nothing couples onto the communication lines, use a shielded cable, but only connect the shield to ground on one side. This will avoid any ground loops.

Better immunity from grounding issues can be obtained using a differential communications scheme or isolation transformers, but the likelihood is that they won't be needed in this case.