RSSI on xbee

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

    RSSI on xbee

    Hello,
    I have transmitted an APi frame fron one xbee radio to other.I am able to receive it in 2nd xbee radios.I can see it xbee terminal.If i want to find the RSSI value for it how can i calculate it.
    Can anyone please explain it detail?

    Thanks
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Again all of this is very well explained in the XBEE manual you seem so bent on not looking at.
    If you are transmitting with the AT modem commands, you can use the ATDB command.
    From the XBEE manual:
    - DB (Received Signal Strength) Command
    <Diagnostics> DB parameter is used to read the
    received signal strength (in dBm) of the last RF
    packet received. Reported values are accurate
    between -40 dBm and the RF module's receiver sensitivity.
    Absolute values are reported. For example: 0x58 = -88 dBm (decimal). If no packets have been
    received (since last reset, power cycle or sleep event), “0” will be reported.

    If you are transmitting using the xbee API, then
    For the 64bit Rx(Receive) packet the RSSI is contained in the 13th byte
    For the 16bit Rx(Receive) packet the RSSI is contained in the 7th byte

    Comment

    • ritusingh2008
      New Member
      • Dec 2008
      • 12

      #3
      thanks plater..
      i saw it..but i didnt understand how to calculate in that byte.i tried it..

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        What is there to calculate? It returns a -db value representing the RSSI.
        There should not need to be any calculation?

        Comment

        • thothefali
          New Member
          • Feb 2009
          • 12

          #5
          xbee

          Originally posted by Plater
          Again all of this is very well explained in the XBEE manual you seem so bent on not looking at.
          If you are transmitting with the AT modem commands, you can use the ATDB command.
          From the XBEE manual:



          If you are transmitting using the xbee API, then
          For the 64bit Rx(Receive) packet the RSSI is contained in the 13th byte
          For the 16bit Rx(Receive) packet the RSSI is contained in the 7th byte
          Hello . I hope you can help me.transmitting using the xbee API, i need to know exactlly wich bit bit in the { 64bit Rx(Receive) packet the RSSI is contained in the 13th byte,also practically how to capture this rssi????

          Comment

          • thothefali
            New Member
            • Feb 2009
            • 12

            #6
            Originally posted by ritusingh2008
            Hello,
            I have transmitted an APi frame fron one xbee radio to other.I am able to receive it in 2nd xbee radios.I can see it xbee terminal.If i want to find the RSSI value for it how can i calculate it.
            Can anyone please explain it detail?

            Thanks
            Hello . I hope you can help me.transmitting using the xbee API, i need to know exactlly wich bit bit in the { 64bit Rx(Receive) packet the RSSI is contained in the 13th byte,also practically how to capture this rssi????

            Comment

            • thothefali
              New Member
              • Feb 2009
              • 12

              #7
              Originally posted by ritusingh2008
              Hello,
              I have transmitted an APi frame fron one xbee radio to other.I am able to receive it in 2nd xbee radios.I can see it xbee terminal.If i want to find the RSSI value for it how can i calculate it.
              Can anyone please explain it detail?

              Thanks
              hello,at first i'm very intersting with u r qustion ,beacuse my project is similler to ur topic ,i need u r help first how can i enter api? if u can contact me to discuss about my project pliz join me at [DELETED]
              Last edited by RedSon; Feb 19 '09, 04:18 PM. Reason: DO NOT POST YOUR EMAIL ADDRESS IN A PUBLIC FORUM

              Comment

              • Plater
                Recognized Expert Expert
                • Apr 2007
                • 7872

                #8
                Again, all of that information is found in the FREE reference guide that maxstream provides for their XBee product.
                For the 64bit receive message, yes the 13th bit is the RSSI (which makes it 12 on a zero based index)

                Comment

                • thothefali
                  New Member
                  • Feb 2009
                  • 12

                  #9
                  thank u plater for ur reply
                  1- i want to ask u if u have any source that explain how to install xbee series 2 API(i want to learn first how to install API in the xbee series 2)?

                  2- what is exactlly frame should be send to read the RSSI in the 2nd xbee ?

                  3- how to capture this RSSI in expermental ,should be connect microcontroller to read the 13th byt or 7th byt?

                  i will wait u r feedback

                  thnk u very much and your kind concern will be highly appreciated

                  best regardes

                  Comment

                  • Plater
                    Recognized Expert Expert
                    • Apr 2007
                    • 7872

                    #10
                    1) The X-CTU software that comes with the XBIB handles upgrading the firmware on the XBEE modules, there is a nice section for it in that software.

                    2) If you have two XBEEs, called them A and B, and you are attached to A, to get the RSSI of talking to B, you need to get B to send you an API packet

                    3) I use microcontrolers on each XBEE and I program those to create API messages and send/receive them.

                    Comment

                    • thothefali
                      New Member
                      • Feb 2009
                      • 12

                      #11
                      Originally posted by ritusingh2008
                      Hello,
                      I have transmitted an APi frame fron one xbee radio to other.I am able to receive it in 2nd xbee radios.I can see it xbee terminal.If i want to find the RSSI value for it how can i calculate it.
                      Can anyone please explain it detail?

                      Thanks
                      hello...
                      i'm very intrersted with ur qusion,beacuse i have the same project,pliz tell me the API frame exactly shuld be send from on xbee to another,also is should be the sender and the receiver in the API ?

                      Comment

                      • thothefali
                        New Member
                        • Feb 2009
                        • 12

                        #12
                        Originally posted by thothefali
                        hello...
                        i'm very intrersted with ur qusion,beacuse i have the same project,pliz tell me the API frame exactly shuld be send from on xbee to another,also is should be the sender and the receiver in the API ?
                        hello...
                        i'm very intrersted with ur qusion,beacuse i have the same project,pliz tell me the API frame exactly shuld be send from on xbee to another to read the RSSI,also is should be the sender and the receiver in the API ?

                        Comment

                        • Plater
                          Recognized Expert Expert
                          • Apr 2007
                          • 7872

                          #13
                          READ. THE. MANUAL.
                          This is not rocket science. The manual is free and very detailed.

                          Comment

                          • thothefali
                            New Member
                            • Feb 2009
                            • 12

                            #14
                            Thank you for the high scientific Disclaimer

                            Comment

                            • Plater
                              Recognized Expert Expert
                              • Apr 2007
                              • 7872

                              #15
                              Yes well it took me 30seconds to find the part in the manual about it.
                              Since you've never opened it, do a search on RSSI in the manual and there will be plenty for you to use.
                              Or see any of the various other posts about the XBees and RSSI in the forum where it's been beaten to death.

                              Comment

                              Working...