Shop OBEX P1 Docs P2 Docs Learn Events
XBee P-to-P Advice Needed — Parallax Forums

XBee P-to-P Advice Needed

Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
edited 2014-04-15 02:30 in Accessories
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,
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?

Thanks,
-Phil

Comments

  • Tracy AllenTracy Allen Posts: 6,658
    edited 2014-04-14 18:29
    Phil,

    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 Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-04-15 02:30
    Thanks, Tracy!

    -Phil
Sign In or Register to comment.