Connecting Tech Pros Worldwide Help | Site Map

xbee relay network

Newbie
 
Join Date: Dec 2008
Posts: 12
#1: Dec 4 '08
Hello,

I am recently using Xbee radios.I need to develop a relay network using 3 radios.how is it possible?
I am using X-CTU software.
Is it possible to develop a relay network using only X-CTU software.
And i have another doubt.Is C or Matlab programming is possible in Xbee's.
If so how can we do it.
Please answer to my doubts.

Thanks
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#2: Dec 4 '08

re: xbee relay network


You can program in anything you want, the code doesn't run on the XBees.
The XBee's expose their interface as a UART (TTL I believe?, they only do like 3Volt signals)

As for how to make a network out of them, that's not really for us to decide. Its up to you. You could read up on network topology, i'm sure wikipedia has some good entries on it.
Me, I would probably just broadcast a propriatary message format. Each XBee examines the message, and if it is the first time they have seen it and its not directed to them, they re-broadcast it. Otherwise they either ignore it or respond with a response broadcast of somesort.
Newbie
 
Join Date: Dec 2008
Posts: 12
#3: Dec 6 '08

re: xbee relay network


Thank you for your information Plater.
How will your Xbee decide that message is for it or not.
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#4: Dec 8 '08

re: xbee relay network


You would write code on a smart type device (a microcontroller perhaps, or a real computer if you don't have access to that type of hardware)
And then examine the message content to see if it was directed at that particular xbee
Newbie
 
Join Date: Dec 2008
Posts: 12
#5: Dec 15 '08

re: xbee relay network


can you please expalin in detali or mail me to my ID ritusingh.xxx@gmail.com
what type of micro-controller r u using?
do u mean we need to program the microcontroller and give the data to xbee and transmit it to the other xbee?
Please explain me in detail.Thanking you.
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#6: Dec 15 '08

re: xbee relay network


Any micro-controller with a compatible UART will work, I currently use the PIC microcontrollers (I think microchip is the official brand)
But you could build your code on the computer just fine if you are using the XBIBs
Newbie
 
Join Date: Dec 2008
Posts: 12
#7: Dec 16 '08

re: xbee relay network


hello Plater

I am sending data through API data frame.how can we get the RSSI value from it.
How to capture that data?
is it possible through CRO?
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#8: Dec 16 '08

re: xbee relay network


The API data frame has a byte dedicated to RSSI. Check the API manual to see which byte it is
Newbie
 
Join Date: Dec 2008
Posts: 12
#9: Dec 23 '08

re: xbee relay network


I am using xbib rs-232 board.how to program xbee radio to it?
Is C or Matlab programming compatible with these radios?
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#10: Dec 24 '08

re: xbee relay network


I don't think you are getting me.

YOU DO NOT WRITE CODE THAT RUNS ON THE XBEE.

You don't write code that goes on a mouse or a keyboard(* well there are fancy keyboards but still)

You write code that talks over a serial port, and the xbee listens.

I suggest you actually LOOK at the documentation that goes with the XBEEs
Newbie
 
Join Date: Dec 2008
Posts: 12
#11: Dec 29 '08

re: xbee relay network


i understood plater.
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#12: Dec 29 '08

re: xbee relay network


Quote:

Originally Posted by ritusingh2008 View Post

i understood plater.

Oh, sorry then. It kept seeming like you were asking what language to write code in to run on the XBees.
If you can access the serial ports from C or matlab, then you can program in them
Newbie
 
Join Date: Dec 2008
Posts: 12
#13: Jan 5 '09

re: xbee relay network


ya
Thankq very mcuh for the information.
Newbie
 
Join Date: Dec 2008
Posts: 12
#14: Feb 27 '09

re: xbee relay network


i am using xbee series 1 radios.
can any one tell me how to broadcast the message to two radios and get the message back from them
Reply