# Xbee receive/send sensor data

**URL:** <https://forums.digi.com/t/xbee-receive-send-sensor-data/21417>\
**Category:** Python\
**Tags:** api-mode, xbee\
**Created:** [June 1, 2020, 2:55am UTC](https://forums.digi.com/t/xbee-receive-send-sensor-data/21417 "2020-06-01T02:55:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin91](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@Martin91](https://forums.digi.com/u/Martin91)\
**Post date:** [June 1, 2020, 2:55am UTC](https://forums.digi.com/t/xbee-receive-send-sensor-data/21417/1 "2020-06-01T02:55:24Z")

</div>

Hi.  
Is there python code that can make one xbee to receive sensor data from another, wireless?

---

<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:** [June 1, 2020, 9:03am UTC](https://forums.digi.com/t/xbee-receive-send-sensor-data/21417/2 "2020-06-01T09:03:44Z")

</div>

Martin,

There are send and receive examples but you would need to add an external protocol to do what you want. That is, you would need to create a protocol that says, when I receive X, do y.

Digi Support

---

<div class="post-metadata">

**Author:** ![Martin91](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@Martin91](https://forums.digi.com/u/Martin91)\
**Post date:** [June 1, 2020, 2:57pm UTC](https://forums.digi.com/t/xbee-receive-send-sensor-data/21417/3 "2020-06-01T14:57:34Z")

</div>

Can you guide me to the examples, that you mentioned?

---

<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:** [June 2, 2020, 12:01pm UTC](https://forums.digi.com/t/xbee-receive-send-sensor-data/21417/4 "2020-06-02T12:01:55Z")

</div>

Martin,

Launch your PyCharm application. Choose File from the top menu, then select New XBee Micro Python Application Project, Select the XBee you are working with, It should be listed.
