Arduino + XBEE

Hi, I am very new to Arduino and XBEE thus i would like to get some feed back on how to implement this.

Below is an example of the network i plan to implement using arduino and xbee.

Assuming each node as A,B,C,D,E, A is the coordinator. Each of this arduino is connected with a water level sensor & If the water level goes below a certain level it triggers to refill the tank to the required level. I managed to get to this part working, however because im not very familiar with xbee i want to know how i can implement the following.

  1. Can the Coordinator trigger to make all the node's refill?
  2. What library should i use if i want to control the coordinator via internet?
  3. If node B detects that the water level is low, I want trigger the alarm for the neighboring node, meaning trigger the alarm for C but not D & E
    (This is the part where i am confused, is it possible for the xbee to work in send and receive mode simultaneously? If so how can i achieve it? Should all the nodes be working in router mode???)
    Any help is appreciated.

Thanks

cipherr:

  1. Can the Coordinator trigger to make all the node's refill?

Yes.

  1. What library should i use if i want to control the coordinator via internet?
  1. If node B detects that the water level is low, I want trigger the alarm for the neighboring node, meaning trigger the alarm for C but not D & E
    (This is the part where i am confused, is it possible for the xbee to work in send and receive mode simultaneously?

Yes. Well, not exactly simultaneously, but a single XBee can intermix transmissions and receptions arbitrarily with no problem.

If so how can i achieve it?

I would use XBee ZB modules (f.k.a. Series 2), API mode, and this library:

Should all the nodes be working in router mode???

No. The ZB modules require one and only one coordinator in a network. The rest can be routers. A coordinator can do everything a router can.

HINT: Start small. Don't try to eat this elephant in a single bite. One step at a time.

hey, thank's for the help and tip. Your reply did help me a lot understand and resolved some of the confusions i had.

cipherr:
hey, thank's for the help and tip. Your reply did help me a lot understand and resolved some of the confusions i had.

You're welcome. The product manual also makes very good reading (mandatory, IMHO :smiley: ) if you're new to XBees.