Connecting Tech Pros Worldwide Forums | Help | Site Map

Zigbee/Xbee Signal Strength Measurement (RSSI)

Newbie
 
Join Date: Nov 2008
Posts: 2
#1: Nov 16 '08
Hey guys, I was kind of hoping that someone could help me out with a project I am working on for school...

We are desigining a robot that someone will approach, and the robot will ask the user if they would like to go to room A, B, or C. (keep in mind all the rooms are in a striagh hallway with no turns).

We have decided to put Xbee modules at each room and an additional xbee module on the robot. In front of each room, we would like to take a signal strength reading from all 3 stationary xbee modules and kind of "tringulate" the robot's location this way (in front of each room, the RSSI of each xbee modules theoretically should be noticably different).

I understand that the pin 6 of the xbee module is the RSSI pin, but i need to know how to set the xbee module mounted on the robot to communicate with the 3 stationary modules and take readings from stationary module. It probably has to do with setting the robot's module to broadcast mode.

Also i have read that i may need to use a PWM filter, but am not sure since I want to receive the signal strength at the sender, not the receiver.

Any help would be greath, thanks!

RedSon's Avatar
Site Moderator
 
Join Date: Jan 2007
Location: America
Posts: 3,393
#2: Nov 17 '08

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


Sorry... we get Zigbee and Xbee questions from time to time, but we have no experts on this forum with enough knowledge to be helpful...

Google is your friend.
Newbie
 
Join Date: Nov 2008
Posts: 2
#3: Nov 17 '08

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


Alright, thanks anyways!
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#4: Nov 18 '08

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


If you use maxstream's XBEE_API to communicate, every communicated message will contain the RSSI value in one of the bytes in the frame.
The RSSI is not a "strength" measurement so much as it is a measurement of interference. i.e. The smaller the number the better...
markmcgookin's Avatar
Moderator
 
Join Date: Dec 2006
Location: Northern Ireland / England
Posts: 546
#5: Nov 19 '08

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


Quote:

Originally Posted by Plater

If you use maxstream's XBEE_API to communicate, every communicated message will contain the RSSI value in one of the bytes in the frame.
The RSSI is not a "strength" measurement so much as it is a measurement of interference. i.e. The smaller the number the better...

Someone tie plater's showlaces together ... we can trap him here and he can answer all the xigbee questions
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#6: Nov 19 '08

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


If you do a search on "xbee" in this forum, you will see i pretty much DO answer all the xbee questions (my experiance is only with the xbee, not with other zigbee protocol implementations)
Newbie
 
Join Date: Feb 2009
Posts: 3
#7: Feb 24 '09

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


Quote:

Originally Posted by Plater View Post

If you use maxstream's XBEE_API to communicate, every communicated message will contain the RSSI value in one of the bytes in the frame.
The RSSI is not a "strength" measurement so much as it is a measurement of interference. i.e. The smaller the number the better...

hi plater
i'm new here,my project is to send the RSSI value to the base station to localize and track the xbee tag ,i have 4 xbee reader(fixed points),now i'm tring to communicat at first between the tag and one reader ,the problem that i could not read the messag receive in api mode to find the bit 7 rssi.
now my idea is to put the xbee tag in api mode but receive the message from xbee reader with transparent mode(api=0),is this way is right i mean can i communicat between xbee - api=1 and other api=0?????????
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#8: Feb 24 '09

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


If all you are doing is trying to find the RSSI of surrounding devices then I recomend using the AT ND command. Check it out in the manual, it just scans for nearby XBees giving serialnumber, rssi, etc for each device it finds.
Newbie
 
Join Date: Feb 2009
Posts: 3
#9: Feb 24 '09

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


Quote:

Originally Posted by Plater View Post

If all you are doing is trying to find the RSSI of surrounding devices then I recomend using the AT ND command. Check it out in the manual, it just scans for nearby XBees giving serialnumber, rssi, etc for each device it finds.

thanks plater for feedbak,but may be ATND indicates the RSSI of the last hop only.i read many times the packet receive with api is better to read the rssi but i could not communicat between 2 xbees with api.
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#10: Feb 24 '09

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


ATND does a scan against ALL XBee devices it can find. The RSSI provided is the measurement between the XBee that issued the command and the the XBEE it found (Note: It can find and return multiple XBees/RSSIs with a single call)

If you want to read the RSSI from an API packet, you have to get the remote XBEE to send a message back.
Newbie
 
Join Date: Feb 2009
Posts: 3
#11: Feb 24 '09

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


Quote:

Originally Posted by Plater View Post

ATND does a scan against ALL XBee devices it can find. The RSSI provided is the measurement between the XBee that issued the command and the the XBEE it found (Note: It can find and return multiple XBees/RSSIs with a single call)

If you want to read the RSSI from an API packet, you have to get the remote XBEE to send a message back.

thanks plater again for feedback,that is i meant in my first letter to you,to use the api mode my idea is to send message from remot xbee( which present xbee reader as i told you befor) in transparent mode api=0,and the xbee tag receive this message in api=1(as a packet)to find the accuracy rssi
is this idea right???
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#12: Feb 25 '09

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


I am not sure you can do that, as the XBee's internals handle the packet formationing.
Newbie
 
Join Date: Feb 2009
Posts: 12
#13: Feb 25 '09

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


Quote:

Originally Posted by dove View Post

thanks plater again for feedback,that is i meant in my first letter to you,to use the api mode my idea is to send message from remot xbee( which present xbee reader as i told you befor) in transparent mode api=0,and the xbee tag receive this message in api=1(as a packet)to find the accuracy rssi
is this idea right???

.[/quote]

hi plater ,ATND have not contain the RSSI in xbee seres 2,pliz clarify what do u ment do u main(youto get the remote XBEE to send a message back)???
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#14: Feb 25 '09

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


Ahh, there's the key phrase everyone was leaving out.
You are using the series2 modules, which use the Zigbee mesh.

You're on your own with those, as I haven't used them.
Their manual is found here though: http://ftp1.digi.com/support/documen...90000976_B.pdf
RedSon's Avatar
Site Moderator
 
Join Date: Jan 2007
Location: America
Posts: 3,393
#15: Feb 25 '09

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


We love Plater!
Newbie
 
Join Date: Feb 2009
Posts: 12
#16: Jun 20 '09

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


Quote:

Originally Posted by Plater View Post

If you use maxstream's XBEE_API to communicate, every communicated message will contain the RSSI value in one of the bytes in the frame.
The RSSI is not a "strength" measurement so much as it is a measurement of interference. i.e. The smaller the number the better...

dear,
i'm trying to sendATND from one xbee through ATMEL89c052 to another xbee,
the second just retriev the first line(MY),it should retriv 10 lines,by the way ,sending +++ is success with retriv ok.do you have any idea
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#17: Jun 22 '09

re: Zigbee/Xbee Signal Strength Measurement (RSSI)


Unless there is something new in the series2 for sending AT commands to a remote modem, the AT commands generally only apply to the local modem
Reply


Similar Mobile Development bytes