RSSI on xbee | Newbie | | Join Date: Dec 2008
Posts: 12
| | |
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
|  | Moderator | | Join Date: Apr 2007 Location: New England
Posts: 7,161
| | | 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
| | | re: RSSI on xbee
thanks plater..
i saw it..but i didnt understand how to calculate in that byte.i tried it..
|  | Moderator | | Join Date: Apr 2007 Location: New England
Posts: 7,161
| | | 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
| | | re: RSSI on xbee Quote:
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????
| | Newbie | | Join Date: Feb 2009
Posts: 12
| | | re: RSSI on xbee Quote:
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????
| | Newbie | | Join Date: Feb 2009
Posts: 12
| | | re: RSSI on xbee Quote:
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]
|  | Moderator | | Join Date: Apr 2007 Location: New England
Posts: 7,161
| | | 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
| | | 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
|  | Moderator | | Join Date: Apr 2007 Location: New England
Posts: 7,161
| | | 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
| | | re: RSSI on xbee Quote:
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 ?
| | Newbie | | Join Date: Feb 2009
Posts: 12
| | | re: RSSI on xbee Quote:
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 ?
|  | Moderator | | Join Date: Apr 2007 Location: New England
Posts: 7,161
| | | 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
| | | re: RSSI on xbee
Thank you for the high scientific Disclaimer
|  | Moderator | | Join Date: Apr 2007 Location: New England
Posts: 7,161
| | | 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
| | | 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
|  | Moderator | | Join Date: Apr 2007 Location: New England
Posts: 7,161
| | | re: RSSI on xbee Quote:
Originally Posted by ritusingh2008 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
| | | re: RSSI on xbee Quote:
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 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
|  | Moderator | | Join Date: Apr 2007 Location: New England
Posts: 7,161
| | | 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
| | | re: RSSI on xbee Quote:
Originally Posted by Plater 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
|  | Similar Mobile Development bytes | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,471 network members.
|