XBee AT/API Reliability
December 20, 2010
Hi all, I'm trying to control 4 servos with 4 pot via xbee, setup as follows:
Tx: Arduino connected to 4 pots(pins 0-3) & XBee (Series 2.5)
Rx: Arduino connected to 4 servos (pins 5, 6, 10, 11) & XBee (Series 2.5)
The Tx side will map the pot values (0-180) and send them over to Rx.
I've setup the XBees in AT Mode using guibot's tutorial but the order of the 4 values @ the Rx end jumbles up at times.
Thus, I'm trying out the API mode with the Xbee library but with no success.
I've tested the Series2_Tx & Series2_Rx examples in the library but I'm getting 2 flash on the led, which translates to:
// local XBee did not provide a timely TX Status Response -- should not happen
Is AT mode sufficient for what I'm attempting? How should I go about with the API mode?