# Send data from XBee3 to PC using USB Cable and Micropython

**URL:** <https://forums.digi.com/t/send-data-from-xbee3-to-pc-using-usb-cable-and-micropython/20548>\
**Category:** XBee Micropython & IDE plugin\
**Tags:** micropython, xbee3\
**Created:** [June 10, 2019, 11:22am UTC](https://forums.digi.com/t/send-data-from-xbee3-to-pc-using-usb-cable-and-micropython/20548 "2019-06-10T11:22:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kexplx](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@kexplx](https://forums.digi.com/u/kexplx)\
**Post date:** [June 10, 2019, 11:22am UTC](https://forums.digi.com/t/send-data-from-xbee3-to-pc-using-usb-cable-and-micropython/20548/1 "2019-06-10T11:22:16Z")

</div>

Hello guys,

i’m trying to set up a wireless connection using two Xbee3’s with micropython.  
I’m able to send data between the XBee’s so all the ZigBee paramters are configured correctly.  
Xbee A is powered with a battery and records sensor data which is being send to the other Xbee that is connected to my PC via USB Cable.

I’m using the MC on the ZigBees powered by Micropython.

My Question: How can i send the received sensor Data on the PC through the USB Connection to my PC and safe the data in, for example, a simple text file?

I couldn’t find any documentation about this.

Thank you so much for helping.

---

<div class="post-metadata">

**Author:** ![blueMoon](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@blueMoon](https://forums.digi.com/u/blueMoon)\
**Post date:** [October 29, 2020, 8:45am UTC](https://forums.digi.com/t/send-data-from-xbee3-to-pc-using-usb-cable-and-micropython/20548/2 "2020-10-29T08:45:01Z")

</div>

I would be interested in this, too.
