I have to setup a star network, with a central PC (the coordinator) that sends commands to some Arduino’s (the end devices).
Each arduino has to control lights, manage scenic effects, and so I need the commands to be delivered to end devices as quickly as possible and possibly simultaneously to all the receivers.
I’ve 2 xbee modules (XB24-ZB) to test this setup, but unfortunately the result is far from being acceptable.
I’ve tried to configure the coordinator in AT mode and I’ve also set the DH and DL parameters in broadcast mode (0 and FFFF), but the performances were really poor (3-5 seconds delay and packets lost).
So I’ve configured everything in API mode:
The coordinator is set as follows:
XB24-ZB - ZIGBEE COORDINATOR API - 21A7
Settings: All default, except AP:2
The End device is set as follows:
XB24-ZB ZIGBEE END DEVICE API - 29A7
All default, except:
DL: address low of coordinator
DH: address hight of coordinator
The delay between packets seems to be about 30ms.
if I change the end device from ZIGBEE END DEVICE API to ZIGBEE ROUTER API the delay decreases to about 21-29ms (If you want I’ll post the code and more accurate results).
To sum this up, my application would benefit a lot from a 10ms delay or something like that, how can I achieve such a result?
Thanks in advance!