如何使用蓝牙来测量两个iphone设备之间的距离? [英] How to measure distance between two iphone devices using bluetooth?

查看:1071
本文介绍了如何使用蓝牙来测量两个iphone设备之间的距离?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想做好以下使用蓝牙的东西。

I'd like to do something in the following using bluetooth.


  1. 测量和显示我的iPhone多远是从另一个iPhone。

  2. 我的iPhone的显示方向。

例如,

我想显示在我的iPhone应用程序下面的内容。

I'd like to display something in the following on my iPhone application.

我的iPhone连接到另一部iPhone:哈利的iPhone

My iPhone is connected to another iPhone:Harry's iPhone.

在这种情况下,


  • 距离:3米45.3厘米(精度:横行)

  • 方向:东北(8之一可用方向)

有谁知道如何做到这一点?
如果我得到了答案,那将是非常感激的。

Does anyone know how to do this? If I get the answer, that'll be very thankful.

期待的好消息。

感谢。

推荐答案

使用蓝牙对于本地化是一个非常著名的研究领域(的 REF。)。简短的回答是:你不能。信号强度是不是两个连接的蓝牙设备之间的距离的良好指标,因为它太受环境条件(有设备之间的一个人?如何车主抱着他/她的设备吗?有一堵墙?是否有任何RF反射面?)。使用蓝牙,你充其量只能获得数米的距离分辨率,但你无法计算的方向,甚至没有大致

Using bluetooth for localization is a very well known research field (ref.). The short answer is: you can't. Signal strength isn't a good indicator of distance between two connected bluetooth devices, because it is too much subject to environment condition (is there a person between the devices? How is the owner holding his/her device? Is there a wall? Are there any RF reflecting surfaces?). Using bluetooth you can at best obtain a distance resolution of few meters, but you can't calculate the direction, not even roughly.

您可以通过使用多个蓝牙设备和三角测量的各种信号强度获得更好的效果,但即使在这种情况下,很难比你的估计数米更准确。

You may obtain better results by using multiple bluetooth devices and triangulating the various signal strength, but even in this case it's hard to be more accurate than few meters in your estimates.

这篇关于如何使用蓝牙来测量两个iphone设备之间的距离?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆