Sensors that can detect other sensors?

Hey guys,

I'm new to arduino and electronics. I was wondering if there was a sensor that could detect another sensor's position relative to its own position.

For example, I have a sensor in my hand, and there is a sensor on the table. The sensor on the table could detect that the sensor in my hand is 10 meters away from it or something like that.

Is this possible to attain or make?

Radio receivers and transmitters could work.

You are using the word "sensor" very loosely.

One way might be an Arduino with a GPS module that knows its own position and can send that data to another Arduino which would also have a GPS. The receiving Arduino could then calculate the distance from the difference in positions.

But that would really only work over longer distances and out in the open where there is clear line of sight to the GPS satellites.

I can't think of any way to that sort of thing inside a room unless the room was set up with some objects at known locations that the Arduino could use to identify its position. However that sort of thing would probably be more practical with cameras and that probably means a RaspberryPi rather than an Arduino.

...R

That's possible but it takes expensive stuff... There are GPS locators that use a local "beacon" to get more accuracy than GPS alone.

Most "everyday" distance measurement systems work by sending out an ultrasonic pulse and measuring how long it takes before the sound bounces off the object. (So, the distance is calculated from the time delay and the speed of sound.) But of course, that requires a relative large and "hard" object to bounce the sound off of.

You can do something similar with radio waves (like how GPS works) but radio waves travel too fast relative to the Arduino's clock/processor so with the Arduino you can't measure the time it takes for radio waves to travel a few meters.

Thanks for all of the help guys.

@Black_Toast, do not cross-post. Other thread removed.