# I2C with XBee?

**URL:** <https://forums.digi.com/t/i2c-with-xbee/18759>\
**Category:** XBee Programamble (S2C & 900 HP)\
**Tags:** i2c, sensor, xbee\
**Created:** [September 28, 2017, 11:36am UTC](https://forums.digi.com/t/i2c-with-xbee/18759 "2017-09-28T11:36:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nitram\_M](https://avatars.discourse-cdn.com/v4/letter/n/ed8c4c/32.png) [@Nitram\_M](https://forums.digi.com/u/Nitram_M)\
**Post date:** [September 28, 2017, 11:36am UTC](https://forums.digi.com/t/i2c-with-xbee/18759/1 "2017-09-28T11:36:53Z")

</div>

Is it possible to connect the XBee directly with an HX711 (communication like I2C)?

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [September 28, 2017, 11:40am UTC](https://forums.digi.com/t/i2c-with-xbee/18759/2 "2017-09-28T11:40:20Z")

</div>

No the XBee module does not have an I2C port in which to connect with. This can only be done on an XBee that is using a Programmable versions with the proper code on the secondary FreeScale processor.

---

<div class="post-metadata">

**Author:** ![Nitram\_M](https://avatars.discourse-cdn.com/v4/letter/n/ed8c4c/32.png) [@Nitram\_M](https://forums.digi.com/u/Nitram_M)\
**Post date:** [October 9, 2017, 8:55am UTC](https://forums.digi.com/t/i2c-with-xbee/18759/3 "2017-10-09T08:55:47Z")

</div>

Which software would you propose?  
Is there any user guide for programming i2c on XBee?

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [October 9, 2017, 8:59am UTC](https://forums.digi.com/t/i2c-with-xbee/18759/4 "2017-10-09T08:59:13Z")

</div>

As stated before. The XBee modules do not support I2C. The programmable versions which come with a 2nd processor use a DIO line and bit bang the data out to read I2C data. Yes, there is an example within the Code warrior and ESP code offered on Digi’s web site.

---

<div class="post-metadata">

**Author:** ![arunnediyasala](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@arunnediyasala](https://forums.digi.com/u/arunnediyasala)\
**Post date:** [March 26, 2018, 5:02pm UTC](https://forums.digi.com/t/i2c-with-xbee/18759/5 "2018-03-26T17:02:10Z")

</div>

I have a programmable XBee, then I try to use I2C but I am unable to see any CLK from my master XBee. My I2C device is sparkfun TSL2561 but I am not able to see any clock signal from the master. Also tried in oscilloscope I am getting 3.3V .My XBee is XBee pro S2C . Any body know why I am unable to connect to my I2C devices.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [April 30, 2018, 4:01pm UTC](https://forums.digi.com/t/i2c-with-xbee/18759/6 "2018-04-30T16:01:04Z")

</div>

Are you running the I2C sample app for the programmable? have you assigned a pin for that function?

---

<div class="post-metadata">

**Author:** ![arunnediyasala](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@arunnediyasala](https://forums.digi.com/u/arunnediyasala)\
**Post date:** [May 1, 2018, 1:10pm UTC](https://forums.digi.com/t/i2c-with-xbee/18759/7 "2018-05-01T13:10:37Z")

</div>

Yes. Now I can assign address of the device. But I can not able to read data from that
