Connecting Tech Pros Worldwide Forums | Help | Site Map

RSSI on xbee

Newbie
 
Join Date: Dec 2008
Posts: 12
#1: Jan 12 '09
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's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#2: Jan 13 '09

re: RSSI on xbee


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:
Quote:
- 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
Newbie
 
Join Date: Dec 2008
Posts: 12
#3: Jan 15 '09

re: RSSI on xbee


thanks plater..
i saw it..but i didnt understand how to calculate in that byte.i tried it..
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#4: Jan 15 '09

re: RSSI on xbee


What is there to calculate? It returns a -db value representing the RSSI.
There should not need to be any calculation?
Newbie
 
Join Date: Feb 2009
Posts: 12
#5: Feb 19 '09

re: RSSI on xbee


Quote:

Originally Posted by Plater View Post

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????
Newbie
 
Join Date: Feb 2009
Posts: 12
#6: Feb 19 '09

re: RSSI on xbee


Quote:

Originally Posted by ritusingh2008 View Post

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????
Newbie
 
Join Date: Feb 2009
Posts: 12
#7: Feb 19 '09

re: RSSI on xbee


Quote:

Originally Posted by ritusingh2008 View Post

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]
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#8: Feb 19 '09

re: RSSI on xbee


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)
Newbie
 
Join Date: Feb 2009
Posts: 12
#9: Feb 20 '09

re: RSSI on xbee


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
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#10: Feb 20 '09

re: RSSI on xbee


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.
Newbie
 
Join Date: Feb 2009
Posts: 12
#11: Feb 22 '09

re: RSSI on xbee


Quote:

Originally Posted by ritusingh2008 View Post

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 ?
Newbie
 
Join Date: Feb 2009
Posts: 12
#12: Feb 22 '09

re: RSSI on xbee


Quote:

Originally Posted by thothefali View Post

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 ?
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#13: Feb 23 '09

re: RSSI on xbee


READ. THE. MANUAL.
This is not rocket science. The manual is free and very detailed.
Newbie
 
Join Date: Feb 2009
Posts: 12
#14: Feb 23 '09

re: RSSI on xbee


Thank you for the high scientific Disclaimer
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#15: Feb 23 '09

re: RSSI on xbee


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.
Newbie
 
Join Date: Dec 2008
Posts: 12
#16: Feb 27 '09

re: RSSI on xbee


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
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#17: Feb 27 '09

re: RSSI on xbee


Quote:

Originally Posted by ritusingh2008 View Post

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

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.
Newbie
 
Join Date: Feb 2009
Posts: 12
#18: Apr 20 '09

re: RSSI on xbee


Quote:

Originally Posted by Plater View Post

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 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
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#19: Apr 20 '09

re: RSSI on xbee


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
Newbie
 
Join Date: Feb 2009
Posts: 12
#20: Apr 21 '09

re: RSSI on xbee


Quote:

Originally Posted by Plater View Post

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

excuse me
can u give me more clarification
Reply


Similar Mobile Development bytes