Hi,
I’m trying to make somerhing very simple, but as I’m a total noob, I think somerhing is wrong with my presets.
I just want to make a wireless serial connection between a mikrokopter and my computer. I’ve got two Xbee Pros Series 2 (zb). They work very fine for a minute, and then, the data begins to lag. I’ve set the Timeout Packetisation to 0. So, I guess my End device goes to sleep or something. But I’m pretty sure I’ve shut down the sleep mode.
When I switch the Coordinator ON, the green LED (RSSI) on the USB board is lit, and the red LED blinks. Nothing happens on the Rx and Tx LEDs. On the Router, the green LED is lit, the red LED blinks twice as fast as the one on the coordinator, and TX and Rx blink very fast…
At this stage, the data is quite fluid (not real time, but still ok). After a minute or so, the data stops to refresh for about a minute, then it comes back for a few seconds, and then it’s dead… The Rx led on the Router stops blinking…
A couple of question, are you working in AT or API mode?, the data sending is constant? (are you always sending and receiving data?).
You can make a test in AT mode : set the computer module as coordinator and set in the destination address the other module address. Set the other module has router and set the destination address high and low in 0000. I made some tests in API mode and have the same problem, but no in AT mode. Remember that the module have buffers for the sending and receiving data, is those are full the data begins to be droped!
Hi,u’d better use oscilloscope to check Xbee’s ON / SLEEP pin(pin13).I used XBP24BZ7 before,and in end device mode,the module must in one kind of sleep mode,though u set SM: 0,in fact it was in the cycle sleep mode,and pin13 will be high and low.On behalf of personal point of view.