Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Arduino - Xbee - RSSI - Distance Measurement
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ardan  
View profile  
 More options Oct 22 2012, 3:58 pm
From: ardan <dano...@gmail.com>
Date: Mon, 22 Oct 2012 12:58:33 -0700 (PDT)
Local: Mon, Oct 22 2012 3:58 pm
Subject: Arduino - Xbee - RSSI - Distance Measurement

Hi all,
I am very beginer in both arduino and xbee. I do some project to measuring
distance using rssi feature from xbee. Is anyone have experience on this?
Actually i already got the rssi by reading from arduino, but i have no idea
how to calculate the rssi to get the distance (in meters or mm). Have you
any solution? Your help will be very helpfull for me. Sorry, my english is
not good enough.. :)
Thanks in advance..

ardan,


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mattia Fiorini  
View profile  
 More options Oct 22 2012, 4:59 pm
From: Mattia Fiorini <mattia.fior...@gmail.com>
Date: Mon, 22 Oct 2012 22:59:27 +0200
Local: Mon, Oct 22 2012 4:59 pm
Subject: Re: Arduino - Xbee - RSSI - Distance Measurement

Hy Ardan,

I'm a newbie in arduino & xbee project too, but your idea seems not too
good...
Because the relation between RSSI (which is a measure of strength of radio
signal between two radios) and the phisical distance between the radios is
not ax exact relation, many other variables are involved in determining the
quality of radio link (and so also the RSSI value). Moreover the RSSI
change by moving of some [mm] the two radios is uncommensurable, it's many
order of magnitude fewer that the white noise, so you can't measure it.

I suggest you to look for some ultrasonic distance sensor capable, with
arduino, to measure distance from [cm] to [m] deoending on model... and
with arduino, xbee and an ultrasonic distance sensor you can measure
distance also wifi... :)

I hope these suggestions will be useful for you,

Best,

Mattia

2012/10/22 ardan <dano...@gmail.com>

--
Ing. Mattia Fiorini
Environmental Engineer
Natural and Industrial risk management
Ph.D. student @ CIMA Research Foundation
www.cimafoundation.org
+39 347 4752373
mattia.fior...@gmail.com
mattia.fior...@cimafoundation.org

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ardan  
View profile  
 More options Oct 22 2012, 6:28 pm
From: ardan <dano...@gmail.com>
Date: Mon, 22 Oct 2012 15:28:54 -0700 (PDT)
Local: Mon, Oct 22 2012 6:28 pm
Subject: Re: Arduino - Xbee - RSSI - Distance Measurement

Hi Mattia,

Thanks for your suggestions. Actually i felt pessimist when i look at the
RSSI value and it's continously changing even both my xbees not moving. So
it seems not accurate, isn't it? But before i try another solution, i mean
before change the device using ultrasonic or the other, i still curious how
to calculate the RSSI become distance between two radios even it's not
accurate. Can you give me some help? :(

Thanks,
Ardan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Mendez  
View profile  
 More options Oct 23 2012, 7:32 am
From: Alex Mendez <twist...@gmail.com>
Date: Tue, 23 Oct 2012 04:32:54 -0700 (PDT)
Local: Tues, Oct 23 2012 7:32 am
Subject: Re: Arduino - Xbee - RSSI - Distance Measurement

Hi,

You can't do that because the signal you recieve from one module that is 10
meters away might be the same that one which is 2 meters away but behind a
wall. You can't not get an accurate relation because you are ignoring
factors like noise in the system from other RF emitions, obstacles,etc.

You might be able to get something more close to the real distance if you
had many recievers and know their position and getting the signal from the
node that you wan't to know but even like that you would get a poor
aproximation. That would be something like triangulation.

Anyway, don't even waste time going that way....

Later!

El martes, 23 de octubre de 2012 00:28:54 UTC+2, ardan escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ardan  
View profile  
 More options Oct 23 2012, 1:18 pm
From: ardan <dano...@gmail.com>
Date: Tue, 23 Oct 2012 10:18:40 -0700 (PDT)
Local: Tues, Oct 23 2012 1:18 pm
Subject: Re: Arduino - Xbee - RSSI - Distance Measurement

Hi Alex,

Thanks for spend time and thought on this. As you said in the last, yes, i
do triangulation in this case. I used 4 xbee in a room not more than 10m x
10m, 3 fix in position and 1 as traceable. So, what i had done is having
rssi from tracable xbee. Next step, i will do :

1. Plot the rssi measurement in array / excel / i dunno still have no idea
for better serial data logging. Any idea? (at least i can do serial data
logging for any works later)
2. Because i do it in small room with no any obstacles, i'll try measure
the distance based on rssi.

OK, just ignore point 2 then. I will focused for the first, where i still
dont understand how to plot real time serial data from uart/usb/rs232 in an
array or excel or saving in the database for monitoring the serial data
value. so we can do post processing then.. I hope someone can help me.. :(

Almost forget, i use Visual Studio 2010 and C++. If we can do in another
programming languages, please let me know! I will learn it too..
Thanks in advance Masters..

regards,
ardan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mauricio Bustos  
View profile  
 More options Oct 23 2012, 8:20 pm
From: Mauricio Bustos <m...@bustos.org>
Date: Tue, 23 Oct 2012 17:20:35 -0700
Local: Tues, Oct 23 2012 8:20 pm
Subject: Re: Arduino - Xbee - RSSI - Distance Measurement

Hi Ardan,

I wouldn't quite give up on distance measurement using RSSI.  A question to
answer for yourself is how accurate you need to be.  If the configuration
of the radio (housing, obstacles, motion etc.) is controlled, I would
recommend coming up with some empirical observations and then fitting a
signal loss model.  The moving RSSI observations could be smoothed out and
the fact that you have multiple fixed points helps tremendously.  I use
RSSI for crude distance measuring and have been pleased with the results
(I'm not requiring precision however, just gross relative positioning for a
few radios).

Set up your XBees to heartbeat and then record those observations.  See
what you get and how stable the model is.

Good luck,
mauricio


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Mendez  
View profile  
 More options Oct 24 2012, 3:45 am
From: Alex Mendez <twist...@gmail.com>
Date: Wed, 24 Oct 2012 00:45:20 -0700 (PDT)
Local: Wed, Oct 24 2012 3:45 am
Subject: Re: Arduino - Xbee - RSSI - Distance Measurement

Hi,

if you have setup 5 of them in known positions you might get some useful
data as Mauricio points out. What I'd suggest is that you take several
measures of every RSSI reading which would make it more reliable, the more
you take, the more reliable it is.

To plot it would depend on what you are using. But the easiest way I think
would be trying to log the data with Bray's terminal<https://sites.google.com/site/terminalbpp/> or
I would make a program with whatever you prefer, C++ , Java , Python... and
recieve the serial data and with that make a CSV file with your data and
then import the file to excel which will make it really easy to plot.

You could also make easily a program with Processing that would plot your
data in real time.

Those are the easiest ways I come up with right now.

Good luck!

El martes, 23 de octubre de 2012 19:18:41 UTC+2, ardan escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ardan  
View profile  
 More options Nov 2 2012, 6:16 pm
From: ardan <dano...@gmail.com>
Date: Fri, 2 Nov 2012 15:16:56 -0700 (PDT)
Local: Fri, Nov 2 2012 6:16 pm
Subject: Re: Arduino - Xbee - RSSI - Distance Measurement

Thanks Mauricio n Alex..

Since i said i am newbe using xbee, i got my hard work this week.. and i
face the new problem, how to measure (packet data) transfer time travel..?
i have been looking for some sample code but i got nothing.. do i need
additional RTC? or i can use internal timer of arduino? anyone have sample
code for me? i'm feeling stuck in this way.. omg :(
sorry for bothering all of you, but your help will very usefull for me
doing this and i really appreciate it..

regards,
ardan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »