measure distance beween two nrf24l01

Hi

In my project i have two nrf24l01. one is transmitter and another one is receiver.

At receiver side i have to know the how far my transmitter is placed.

is it possible to do? can someone please help me

This has come up lots of time before. It is NOT possible unless you put a GPS on each Arduino and arrange for one of them to send its GPS position to another.

...R

Thank you robin for the response. i want to make some alert wen transmitter is very close to receiver. for example if transmitter is with in 5 meters range.

how this can be done?

bmg1234:
Thank you robin for the response. i want to make some alert wen transmitter is very close to receiver. for example if transmitter is with in 5 meters range.

how this can be done?

Its cannot, directly, with those modules.

Signal strength might tell you the difference between 50m and 5m, but wont tell you when the distance is within 5m.

srnet:
Its cannot, directly, with those modules.

Signal strength might tell you the difference between 50m and 5m, but wont tell you when the distance is within 5m.

how to calculate distance strength between 50m and 5m. i tried to use rpd concept when device is closer rpd is one and if its far rpd is 0.

Is there any way to calculate exact distance or signal strength?

bmg1234:
Is there any way to calculate exact distance or signal strength?

Not in the way you might think.

If you had a transmitter and receiver in a large open space clear of all obstructions and obstacles (especially people) and assuming you know the exact transmit and receive powers (difficult) and you know the exact characteristics of the antennas used (very difficult) and the antennas are ridigly fixed in position, then you can calculate distances.

If you cannot fulfill all the above criteria, forget it.

bmg1234:
Is there any way to calculate exact distance or signal strength?

Let me repeat what I said in Reply #1 - NO

...R

Robin2:
Let me repeat what I said in Reply #1 - NO

...R

Not even signal strength?

Get a length of string or a tape-measure.

bmg1234:
Not even signal strength?

Do you understand what was said in post #5 above ?

srnet:
Not in the way you might think.

If you had a transmitter and receiver in a large open space clear of all obstructions and obstacles (especially people) and assuming you know the exact transmit and receive powers (difficult) and you know the exact characteristics of the antennas used (very difficult) and the antennas are ridigly fixed in position, then you can calculate distances.

If you cannot fulfill all the above criteria, forget it.

in my case transmitter will in outside the house and receiver will be inside and fixed at one position. transmitter can be movable i want to know if transmitter is moved more than 5 meters from starting fixed place.

Put a strain guage on the tape measure

bmg1234:
in my case transmitter will in outside the house and receiver will be inside and fixed at one position. transmitter can be movable i want to know if transmitter is moved more than 5 meters from starting fixed place.

Put a gps receiver on the transmitter, when a change in position of 5 meters or more has been detected then send a signal to the receiver. A simpler method would be a 5 meter tether, when tether is disconnected signal the receiver.

Get another recvr. put servo driven, directional antennae on them, place them a known distance apart (preferably more than 5M), program the receiver mcu's to sweep the servo's, searching for the xmitr 's signal and when found, send the servo angle to yet another mcu (the master). when the master receives a servo angle from both recvr stations, triangulate and calculate the distance from the base line. reset both recvr stations and repeat the cycle. when the distance from the base line changes, use GSM to place a robo-call to tell you that the xmitr has been moved.

or

lacking a measuring tape with a strain guage (my preferred solution from above), hire some kid to watch the xmitr and come tell you if someone has moved it...

TheMemberFormerlyKnownAsAWOL:
Put a strain gauge on the tape measure

+1 again!