Home/Support/Support Forum/Xbee with Arduino only receiving data from one Xbee

Xbee with Arduino only receiving data from one Xbee

0 votes
Hi all!

For a project I'm working on I'm using 3 Xbees (Series 2). 2 are connected via Arduino (Wireless SD shield) to a couple of sensors and sending serial data via Xbee. The third is connected to a Controllino Maxi with a Sparkfun Xbee Explorer.
I can send and receive data perfectly fine, the problem is that I can't receive data from both Xbees on the Controllino. When I have the receiving Xbee hooked up to my PC and reading with XCTU I can clearly see both streams.

The library using with the controllino: https://pastebin.com/9rDDtwhf
The code for the controllino: https://pastebin.com/0SV1MtgR
asked Sep 5, 2017 in IEEE 802.15.4 by blastermak New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Try creating a buffer in which to read the incoming data from the DO line of the XBee. Or try using hardware flow control.
answered Sep 5, 2017 by mvut Veteran of the Digi Community (12,657 points)
...