# Receiving weird serial Data from Xbee

**URL:** <https://forums.digi.com/t/receiving-weird-serial-data-from-xbee/22155>\
**Category:** XBee & XBee Gateway\
**Tags:** arduino-xbee, serial-communication, xbees2c, xctu, python-xbee\
**Created:** [January 25, 2021, 12:39pm UTC](https://forums.digi.com/t/receiving-weird-serial-data-from-xbee/22155 "2021-01-25T12:39:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SJSU2021](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@SJSU2021](https://forums.digi.com/u/SJSU2021)\
**Post date:** [January 25, 2021, 12:39pm UTC](https://forums.digi.com/t/receiving-weird-serial-data-from-xbee/22155/1 "2021-01-25T12:39:14Z")

</div>

Hello,

So I have a project that has a remote Arduino with 3 sensors attached and an Xbee s2c connect to my computer with a usb. In XCTU the sensor data is all correctly received but when I open the Arduino serial monitor there are weird characters right before every line of data. I think it may be the start delimiter, length, frame type, 64-bit source address, and 16-bit source address. The weird characters are the exact same before every data point. Is there any way to fix this?

---

<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:** [January 27, 2021, 10:39am UTC](https://forums.digi.com/t/receiving-weird-serial-data-from-xbee/22155/2 "2021-01-27T10:39:58Z")

</div>

Sounds like the XBee is in API mode. Try using the proper libraries on the Arduino.
