I have recently bought a couple of xbee series 2.5 cards together with xbee explorers from sparkfun:
I have configured both cards with X-CTU using ZNET 2.5 protocol. One card is set as coordinator, another is set as router. All of the settings are X-CTU defaults, except for PAN ID and NI (node id).
The modules do locate one another and are able to send/receive packets. I am sending 20 byte packtes with 20ms delays between them @9600bps rate.
Problem: Data flows nicely from coordinator to router, but not the other way around. When I try to send something from router to coordinator, things get a bit out of control Only one packet from ~50 goes through, the communication is very unreliable and sometimes old packets arrive later than new packets.
Not only I can't send the data from router to coordinator, but trying to send anything from router will also mess up it's ability to receive data also.
In other words: everything works nice as long as the TX pin on the router is not connected.
shoud the xbees be able to send and receive at the same time? Or do they work in send OR receive mode only?
Also, I've read that series 1 are easier to setup, are they also more reliable? Series 1 has less output power, does that make a lot of difference to the operation range?
I've only ever used the series 2 xbees and a specially programmed xbee pro 900 mhz series, so can not comment on the series 1 xbee.
They can can only work in send or receive mode.
depending on how you configure the xbees there may be delays in data transmission because the xbee may be putting the data into packets before transmitting it.
For that reason I only use them for low latency tasks.
I can send data from slave to master OK.
I can not send data from master to slave (very unreliable, only a fraction of packets go through).
In my first post I put it the other way around...
I have tried to reverse the master/slave configuration (previous master xbee module converted to slave and previous slave converted to master), still the same results, so this is probably not a chip problem.
Note that on the router I had to try node detection for 3 times before it worked. Also the first lines in ATND are different: (51B4 vs 0000).
All the ZNET 2.5 settings are the same on both chips (compared manually line by line) except HW addresses and NI's. These settings are defaults from digi configuration software.
Just noticed in your first post that you are sending 20 bytes of data with only 20 milliseconds between each packet, that may be to much information too quickly.
I only ever use them for on, off commands and analog measurements and sometimes its days before I use them.
I figure if the speed is OK one way, it should also be OK the other way, but yes, I have tried to send 20 bytes with a 1000 delay and that didn't help at all. I am sure xbee should be able to handle 160bps rate
Hi - if anyone can help on this it would be great, I have a similar setup I want to know how to make two ZNET 2.5 modules talk to each other, bot necessarily at the exact same time, but reliably in two directions.
It looks like one option is to have one coordinator, and two end or router units, and make each router talk to the other via the coordinator?