Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

i2c help please
#2

Hi,

I2C is a bi-directional bus, so strictly there should be a buffer at each end of a "long" cable, assuming that the SHT31 and host have similar drive capabilities (I haven't checked the data of either).  But for a 3 feet connection a buffer shouldn't be needed at all.

The main requirement is to reduce crosstalk betwen SDA and SCL, which is why they should not be twisted (or ideally even run very close) together.  The GND and VCC are assumed to be "clean" (no ac signal) so shouldn't produce any crosstalk; the presence of a dc "bias"on VCC  is irrelevant because we only need to consider capacitive coupling through the "insulation".  Most of the advice in your link looks very good, particularly using a 12 v pullup (if necessary), provided that the catching/clamp diodes are fitted reliably, preferably at both ends.

But the best aim is to keep the capacitance on SDA and SCL as low as possible, so (for example) using individually-screened coaxial cores would be a bad idea.  Unless there is severe "local" electrical interference (e.g. a large Switched-Mode Power Supply), perhaps the simplest interconnection would be a flat "ribbon" cable with the ETH/VCC on the two inside cores and SDA/SCL on the two outside cores.

All the above is based on a single master-slave interface, but if there are multiple slaves then a single "buffer" may help to isolate a "long" cable from a cluster of slaves and the host.  

Cheers,  Alan.
Reply


Messages In This Thread
i2c help please - by danner - 02-06-2017, 04:41
RE: i2c help please - by AllyCat - 02-06-2017, 10:07
RE: i2c help please - by danner - 02-06-2017, 18:33
RE: i2c help please - by AllyCat - 02-06-2017, 21:19
RE: i2c help please - by danner - 02-06-2017, 21:48
RE: i2c help please - by danner - 02-06-2017, 23:30
RE: i2c help please - by werk_ag - 03-06-2017, 02:36
RE: i2c help please - by danner - 05-06-2017, 11:20
RE: i2c help please - by danner - 14-06-2017, 20:57
RE: i2c help please - by werk_ag - 15-06-2017, 00:38
RE: i2c help please - by hornychz - 14-06-2017, 22:08
RE: i2c help please - by Barrow4491 - 15-06-2017, 02:52
RE: i2c help please - by danner - 15-06-2017, 02:58



Users browsing this thread: 1 Guest(s)