Can I2C be sent through XBee?
Does the DCL line have to be used if there’s only one sensor (Sparkfun MPL3115A2)
That is, just the SDA line going through a pair of XBees (DIN - DOUT) will work?
Can I2C be sent through XBee?
Does the DCL line have to be used if there’s only one sensor (Sparkfun MPL3115A2)
That is, just the SDA line going through a pair of XBees (DIN - DOUT) will work?
No, SCL and SDA must be used as a pair! You need both to define start and stop conditions to be able to communicate on the bus. And aside from that, the clock line defines when the level of the data line is valid. There is no shortcutting with wires allowed here.
Neither with Xbees (Series 1). I2C bus is supposed to be bi-directional. A GPIO pin on the Series 1 cannot be configured as an input and output simultaneously. Neither can the ‘virtual wire’ be configured to do this.
But the following example of using a Programmable S2 Zigbee module suggests these can and do have dedicated I2C-bus pins.
http://examples.digi.com/programmable/c … or-ina209/
http://www.digi.com/products/xbee-rf-so … artnumbers
No experience with this, just playing the messenger here.