Hi, I am working in my first project with Xbee Series 2 and Arduino.
I need to send information from one XBee S2 Coordinator to several XBee S2 EndDevices.
I achieve to communicate the Coordinator to the first of the EndDevices with these configuration (i am using Moltosenso Iron):
The EndDevice was able to launch a program in Arduino.
But when I configure the rest of the devices, they are not been able to receive the signals from the Coordinator.
I use the same configuration parameters from the first EndDevice, same DH, DL, PANID, CH, BD, but I was not able to change the SL.
I don't know if that has something to do. Maybe I have to do something different with the addressing when the communication is Broadcast.
I just need to send a Broadcast order from the Coordinator and that several EndDevices (7 Xbee) receive that order and launch a code in Arduino.
That is for now, after i will need the devices to recognize each other, but thats other part of the project.
I'll appreciate if someone could help me.
Here is the configuration I use for two of the other EndDevices, but it did'nt work:
End Devices or Routers? They're a bit different....In any case, seems to me that you should take a look at the XBee user manual (on the Digi website): the networking options of the modules can be quite complex.
About your configuration: do you know what DH and DL really mean?
They're the address (serial number, stored as SH and SL) of the receiver: assuming you're working in AT mode, your coordinator is configured to talk ONLY to a module having SH (Serial High) = 13A200 and SL (serial Low) = 40616282 which is, BTW, the SH and SL of your first router.
No other XBee can receive any packet from your coordinator, unless you change DH and DL on the coordinator itself setting them equal to SH and SL of the receiver module.
To send a broadcast message you have to use the broadcast address, setting on the coordinator DH = 0x0 and DL = 0xFFFF.
I'm trying to configurate End Devices. It is much clearer with your explanation.
I'm a designer and is the first time I see these kind of stuff, bit numbers, code, etc... but little by little i'm getting into it.
Well, I am working in AT mode and I changed the DH to 0 and the DL to FFFF of the Coordinator and still no answer.
I don't know if I have to change the DH and the DL of the End Devices as well. Or change something else.
I'm trying different alternatives with their DH and DL to see if something different happens.
I'm getting into the user manual.
I'm not a programmer so I will appreciate any help or tip to understand this.
If there is some example or some tutorial of Broadcasting or Point-to-Multipoint configuration that you know it would be great to see it.
Cheers