Control multiple xbee receiver with one xbee explorer

:disappointed_relieved:
I am a new about xbee and arduino. :~
Now I am doing the home automation which I want to use Labview to control appliance.
I will use labview(PC) to send a letter ("a""b" such kind) to the Xbee explorer then the explorer will communicate with another xbee chip which is plug in the xbee shield then plug in a Arduino uno board to active the pin which I set in the arduino program.
I finish the one-to-one control means that one explorer to one arduino.
what I want now is to add more arduino with xbee chip into the xbee network, to let the explorer can send command to multiple xbee chips.
As for the one-to-one configure setting in the X-CTU, I set the DL of the chip on the explorer to the same as the one on the arduino board.
then I know that the explorer one can not witch xbee chip it should send command to it.
But the DL only got one, how I add more xbee into this, is it need more DL also?

can anyone help me? first time write in here, sorry for my poor english =(

Let's see if I got it right:

  1. you have an Xbee module (let's call it Module 1) connected to PC through an Xbee Explorer;
  2. you have another Xbee (let's call it Module 2) on a XBee Shield connected to an Arduino Uno;
  3. you are sending messages from Module 1 to module 2;
  4. you want to know how to send messages also to other Xbee modules.

I'm assuming that you're using the Series 2 modules in AT mode (as different from API mode).

Now,
A) if you want to send the same message to all the modules at the same time (in other words, you're broadcasting the message), you only need to configure the Destination Address on Module 1 (DH & DL) as the broadcast address: DH=0x0 and DL=0xFFFF. The PAN ID must be the same on all the modules.

B) if you want to have the possibility to send differnt messages to different modules (at different times) you need to use the API mode, that allows you to set a specific destination for each message (and much more). API mode it's a bit more complicated, check out the Digi Xbee user manual to learn how to make it work

:astonished: I do some searching on the API mode. I found some example about it and one of them use the JAVA. Have any other way to use it? bec my project time is limited... hard for me to learn a new language now :fearful: =(

XD After last posting, someone give me an advice that I need use API mode.

I search in Internet, many tutorial and teaching, some use JAVA language, some use other software...Really make me confused.

My lecture told me she think I can just use the XCTU to set the address, I also think so, but she also not very clear about this part.
Can anyone give me a clear tutorial that I can follow it to set address to let the xbee explorer communicate with other two xbee chips?

now my one-to-one communicate is quiet ok, and now I want to expand my project.
These are what I have now:
xbee chips3
xbee shield
2
arduino uno2
xbee explorer
2

really thanks the person help me.. =(

My lecture told me she think I can just use the XCTU to set the address

Good advice for point-to-point work involving just twp XBees.

For point to point work involving multiple XBees, hardcoding the address of the XBee you want to talk to means that you can only talk to ONE other XBee.

Using API mode, you can, in code, define the address of the XBee you want to talk to.

Andrew Rapp's XBee library doesn't include Java examples or C# examples or Algol examples or Fortran examples. It includes Arduino examples.

:disappointed_relieved: cannot just use XCTU to address the xbee chip directly?

cannot just use XCTU to address the xbee chip directly?

For series 1 models to talk to each other, MY, DL, and PAN ID need to be set. If you use X-CTU to set MY of one XBee to 17, and DL to 43, that XBee will ONLY be able to talk to one other XBee - the one with MY = 43 - if you are using AT mode.

Using API mode, you can send messages from an XBee, regardless of it's DL value, to any XBees that you know the MY value for.

Does API mode need use any other software? I saw some tutorial in Internet, some of them use Linux, some use JAVA.
But my time is not enough now, is there any way using XCTU to let the chip work in API mode? =(

Mic_B:
A) if you want to send the same message to all the modules at the same time (in other words, you're broadcasting the message), you only need to configure the Destination Address on Module 1 (DH & DL) as the broadcast address: DH=0x0 and DL=0xFFFF. The PAN ID must be the same on all the modules.

Is this way also can use in Serial1?
bec when I setting like this, then my chip cannot write in and then test fail, cannot read also

Threads merged.

Does API mode need use any other software?

No.

I saw some tutorial in Internet, some of them use Linux, some use JAVA.

So? You only need to be concerned about the ones related to the Arduino. In other words, use Andrew Rapp's XBee library for the Arduino.

But my time is not enough now

Why did you wait so long to start?

is there any way using XCTU to let the chip work in API mode?

X-CTU is used to set the mode. After the mode is set, the Arduino has to communicate with the XBee in that mode.