Reading RSSI pin off XBee to determine signal strength help!

Xbee projects like the adapter, xbee tutorials, tweetawatt/wattcher, etc. purchased at Adafruit

Moderators: adafruit_support_bill, adafruit

Reading RSSI pin off XBee to determine signal strength help!

Postby Khamey » Thu Feb 21, 2013 2:49 pm

I have an XBee Pro S2B connected to the adafruit breakout board and I have a wire directly soldered to pin 6 (RSS) connected to a digital pin of my Arduino UNO. I am trying to use the pulseIn command as described here: http://log.liminastudio.com/itp/physica ... e-rssi-pin
The signal coming from the RSS pin is supposedly a pulse and should be able to indicate signal strength. I can digital read the pin and it goes from high to low when observing the serial monitor, but as a pulse in function it doesn't provide any useful information.

this is my code:

RSSIDuration = pulseIn (RSSIPin, LOW, 200);
Serial.print(RSSIDuration);
Serial.println();

Any help would be greatly appreciated.
Khamey
 
Posts: 3
Joined: Thu Feb 21, 2013 2:36 pm

Re: Reading RSSI pin off XBee to determine signal strength help!

Postby adafruit_support_bill » Thu Feb 21, 2013 3:42 pm

Hi. I have moved this post to the appropriate forum and locked the 2 duplicate posts. Please do not double (or triple) post.
User avatar
adafruit_support_bill
 
Posts: 16061
Joined: Sat Feb 07, 2009 9:11 am

Re: Reading RSSI pin off XBee to determine signal strength help!

Postby thefatmoop » Thu Feb 21, 2013 11:11 pm

page 32 in the xbee data sheet talks about additional settings for rssi pwm. Page 51 goes into more detail about what the duty means. So your pulsein() reading should be linear to the DB above sensitivity. I'd suggest you calculate duty then calculate db with a linear function fit with the data they gave.
http://www.sparkfun.com/datasheets/Wire ... asheet.pdf
thefatmoop
 
Posts: 221
Joined: Tue Aug 19, 2008 3:36 pm


Return to XBee products from Adafruit

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]