xbee relay network

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ritusingh2008
    New Member
    • Dec 2008
    • 12

    xbee relay network

    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
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    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.

    Comment

    • ritusingh2008
      New Member
      • Dec 2008
      • 12

      #3
      Thank you for your information Plater.
      How will your Xbee decide that message is for it or not.

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        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

        Comment

        • ritusingh2008
          New Member
          • Dec 2008
          • 12

          #5
          can you please expalin in detali or mail me to my ID ritusingh.xxx@g mail.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.

          Comment

          • Plater
            Recognized Expert Expert
            • Apr 2007
            • 7872

            #6
            Any micro-controller with a compatible UART will work, I currently use the PIC microcontroller s (I think microchip is the official brand)
            But you could build your code on the computer just fine if you are using the XBIBs

            Comment

            • ritusingh2008
              New Member
              • Dec 2008
              • 12

              #7
              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?

              Comment

              • Plater
                Recognized Expert Expert
                • Apr 2007
                • 7872

                #8
                The API data frame has a byte dedicated to RSSI. Check the API manual to see which byte it is

                Comment

                • ritusingh2008
                  New Member
                  • Dec 2008
                  • 12

                  #9
                  I am using xbib rs-232 board.how to program xbee radio to it?
                  Is C or Matlab programming compatible with these radios?

                  Comment

                  • Plater
                    Recognized Expert Expert
                    • Apr 2007
                    • 7872

                    #10
                    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

                    Comment

                    • ritusingh2008
                      New Member
                      • Dec 2008
                      • 12

                      #11
                      i understood plater.

                      Comment

                      • Plater
                        Recognized Expert Expert
                        • Apr 2007
                        • 7872

                        #12
                        Originally posted by ritusingh2008
                        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

                        Comment

                        • ritusingh2008
                          New Member
                          • Dec 2008
                          • 12

                          #13
                          ya
                          Thankq very mcuh for the information.

                          Comment

                          • ritusingh2008
                            New Member
                            • Dec 2008
                            • 12

                            #14
                            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

                            Comment

                            Working...