Pages: [1]   Go Down
Author Topic: Need Answer ASAP!  (Read 455 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How can we communicate between three XBees? one XBee is the coordinator which is connected to arduino and the remaining two XBees are the end device, they receive the commands from the coordinator and hence they must transfer the data out.
Please can any one help me?
With Respect
Logged

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 158
Posts: 2887
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't know the answer to this, but did you try reading the datasheets that come with the
XBee modules? That's what I would do.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am still searching about this, all the datasheets I found are talking about comm. between 2 XBees only and this subject is new to me and I have only few information about it!
Logged

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 158
Posts: 2887
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Since I haven't done this, I can't answer 100%, but first off, you need the S2 or ZB modules,
and not the S1 modules, since S2 have the mesh firmware.

Then, looking in the S2 datasheet downloadable from digi.com, on page 36 I see a section
on Coordinator Operation, Forming a Network, on and on. That should tell you what to do.
I imagine that's how everybody learned it.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

order - http://www.amazon.com/Building-Wireless-Sensor-Networks-Processing/dp/0596807732/ -it describes all you need (and more)
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

0
Offline Offline
Newbie
*
Karma: 1
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you are wanting the end devices to AUTOMATICALLY respond with data without any arduino sketches
then you have to consult the Xbee manual. and use the Xbee config program.

however if you have the ALL the XBEE connected to Arduino or other microprocessors, you have to
send your data in such a way so that the end device knows the message is meant for them as each
xbee has an address.

You should use the AT command  set to send out a broadcast /unicast.
Then the other 2 Xbees are also in AT command mode and your Sketch must wait for
the data to come in. When the command is received, the other 2 Xbees send their
response using the AT command set back to the coordinator.


You would need a ring buffer in your coordinator sketch to store the data
as it comes it quite fast. you then check your ring buffer to see if there
is anything to process.

Your solution is in this thread below
http://arduino.cc/forum/index.php/topic,104648.0.html

see how people are using it.
http://arduino.cc/forum/index.php?topic=61238.0



Allan
« Last Edit: December 31, 2012, 08:17:37 am by eagleeye » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am really very grateful for your help!
Logged

Pages: [1]   Go Up
Jump to: