XBee P-to-P Advice Needed
Phil Pilgrim (PhiPi)
Posts: 23,514
I've got a classroom situation situation with six ActivityBots and six laptop computers. Each computer will have its own XStick1 and each bot will have its own XBee S1. I would like to configure for point-to-point comms between each laptop and its associated bot only, without interfering with other laptop-bot pairs.
I've configured each XStick/XBee pair so that the destination address of each points to the other. That takes care of not communicating with units you don't want to communicate with. But in a classroom situation like mine,
Thanks,
-Phil
I've configured each XStick/XBee pair so that the destination address of each points to the other. That takes care of not communicating with units you don't want to communicate with. But in a classroom situation like mine,
1. Should I also assign each pair a different channel? Or can they coexist okay with all using the same channel?
2. And how about the Pan ID? Is it okay if they're all the same?
2. And how about the Pan ID? Is it okay if they're all the same?
Thanks,
-Phil
Comments
Your setup probably okay unless the airwaves are extremely busy. Each XBee will retry up to 3 times if it doesn't hear an ACK. The number of retries can be modified with ATRR. A quiet channel can help too. Use ATED for energy detect.
Another parameter that can affect success is the packetization timeout, ATRO.
-Phil