469,301 Members | 2,272 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,301 developers. It's quick & easy.

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
Jan 12 '09 #1
21 12438
Plater
7,872 Expert 4TB
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
Jan 13 '09 #2
thanks plater..
i saw it..but i didnt understand how to calculate in that byte.i tried it..
Jan 15 '09 #3
Plater
7,872 Expert 4TB
What is there to calculate? It returns a -db value representing the RSSI.
There should not need to be any calculation?
Jan 15 '09 #4
@Plater
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????
Feb 19 '09 #5
@ritusingh2008
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????
Feb 19 '09 #6
@ritusingh2008
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]
Feb 19 '09 #7
Plater
7,872 Expert 4TB
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)
Feb 19 '09 #8
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
Feb 20 '09 #9
Plater
7,872 Expert 4TB
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.
Feb 20 '09 #10
@ritusingh2008
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 ?
Feb 22 '09 #11
@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 to read the RSSI,also is should be the sender and the receiver in the API ?
Feb 22 '09 #12
Plater
7,872 Expert 4TB
READ. THE. MANUAL.
This is not rocket science. The manual is free and very detailed.
Feb 23 '09 #13
Thank you for the high scientific Disclaimer
Feb 23 '09 #14
Plater
7,872 Expert 4TB
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.
Feb 23 '09 #15
hello,
yes u can find from the manual how to send the API frame..a format was clearly specified in the manual.you have to use two windows od X-CTU manual.
one to send the api format and other to saw the received format.
see this link pg num 56
u can find the required information.

thanks
Feb 27 '09 #16
Plater
7,872 Expert 4TB
@ritusingh2008
It has recently come to my attention that you all could be using the series2 XBees, if so, then I look like a jerk, because they are completely different.
Feb 27 '09 #17
@Plater
hello plater
pliz i need your consultation,can i connect 2 xbee's (series 2) via microcontroller,my application requiers to send the data from xbee 1 via wire to xbee2
Apr 20 '09 #18
Plater
7,872 Expert 4TB
The XBee units are designed to work with microcontrollers.
I no longer use them in favor of a different ZigBee solution, but I would say that series2 should work fine
Apr 20 '09 #19
@Plater
excuse me
can u give me more clarification
Apr 21 '09 #20
@Plater
Hello!I tried it under your advise.But I cann't get the response,can you give me an example like this:7E 00 06 01 22 D0 E9 00 41 E2 .Thanks very much.
Jun 2 '12 #21
Plater
7,872 Expert 4TB
@anyongning1988
I am still using the series1 one XBEEs (http://www.digi.com/products/wireles...odule#overview)
And am only familiar with the workings of those. However I would imagine they have the API documents for the other models too
Jun 4 '12 #22

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by shobhon | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.