0

I am looking for a solution to pair 3 or more bluetooth devices to be able to draw distance and direction in reference to each other.

Allowing each device to see the other devices positioning, placing each device in center view of its own display.

Considering developing an app if possible...

Can use phones as the beacons or arduino/raspberry devices that can feed the APP (android).

Display sample.

On another note: WiFi is on the table....

2 Answers2

0

Nice idea! There isn't a method that reurtn the distance between two smatphone with bluetooth, but maybe you can calculate it with bluetooth's signal strength. Here a question that deals with it but i fear that it depends on bluetooth module of each smartphone...

Community
  • 1
  • 1
Nicolas
  • 155
  • 1
  • 2
  • 12
  • It really is, imagine Aliens (the movie) the motion sensor that the marines had... Now imagine using this between your team mates in a game of woodsball (paintball)..;O) – Ramon Mueses Mar 24 '17 at 18:40
  • I think the way to go is with the signal strength (Bluetooth or WiFi) and calibrate each device. Example: freind stand here with your device (predetermined 10 feet) read signal strength, now stand here (20 feet) and POW signal strength = aprox. distance. Now to tackle the triangulatión: – Ramon Mueses Mar 24 '17 at 18:50
  • Have the device do the same with a second (or more beacons) and read the data from those beacons (including compass info), POW, triangulation. Directión + Distance. – Ramon Mueses Mar 24 '17 at 18:52
0

-

  1. Connecting more than 2 devices?

Checkout BluetoothAdapter class using which you can connect two devices (one as a server and another client), So if u could with connect 3 phones (1 Server and 2 client). Both client devices will have to communicate through server device refer to this Bluetooth doc and this

  1. About calculating distance?

There is no way you can calculate distance between bluetooth connected devices, and calculating it from signal strength would be fuzzy (eg. any other object between devices can lead to signal distortion and lead to miscalculation). Good luck

Community
  • 1
  • 1
NotABot
  • 781
  • 7
  • 24