Measuring distance with RF module

Hi everybody,

i`m new with arduino... i would like to mesure a distance according the power signal of arduino module...

I have a main arduino card, and 4 radio transmitters. The 4 transmitters can move everywhere independently.

I would like that the main arduino board continuously measures the signal strength of each transmitter and then display an estimated distance from each transmitter to the main arduino board.

I found a few lines of code, but I couldn't do anything right ... i'm lost...

Have you got any idea about coding this?

Thank you very much

Transmitter frequency ?
https://www.analog.com/media/en/technical-documentation/data-sheets/AD8310.pdf

Pin 4 to arduino + DC voltmeter program

Measuring received signal strength is a very poor method for measuring distance, for most potential applications it wont work.

Moving the orientation of the receiver and transmitter antennas can vary the apparent distance by a factor of 10 or more. Similar changes can happen because of objects in the way or radio reflections from nearby objects.

It can be made to work in large open spaces, with no nearby objects and where all the antennas are kept rigidly fixed in place.

The LoRa SX1280 radio devices have the capability of measuring distances between two devices using special internal firmware. Works from a few metres to 80km+ (reception conditions permitting).

First, thank you for your repply...

ok, i want to put a kind of radio module attached to some objects i have... if i am too far away from the object ( 2meters, 10 meters or 20 meters according to the settings), the main arduino rings... it's a kind of tracking device...

so the distance is small, no more than 20 meters... maybe there is a better technical solution as radio... i tried with bluetooth, but it didn'nt work really... i can not use gps, because i want that the system works inside as well

Your question comes up every few days, and there are no good answers. With hobby modules, radio does not work to measure distances. "Nearby" or not is sometimes, but not always possible.

Indoor tracking is difficult and expensive. Pozyx is a successful commercial solution.

Indoors ?

Thats even worse, walls and what they are composed of can cause huge differences in signal propagation.

If there was an easy, and cheap, method of indoor localisation you would expect it to be easy to find.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.