BLE防护罩与手机之间的距离

BLE防护罩与手机之间的距离

本文介绍了计算Arduino BLE防护罩与手机之间的距离的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以计算arduino蓝牙屏蔽(BLE Shield 2.1)与手机之间的距离?更具体地说,当手机在护罩的<5英尺以内时,我希望它执行一个动作.我知道BLE Beacon技术可以在一般意义上(即时,近距离,远距离)做到这一点,所以我想知道是否有可能?

Is it possible to calculate the distance between an arduino bluetooth shield (BLE Shield 2.1) and cell phone? More specifically, when the cell phone is within <5 feet of the shield, I want it to perform an action. I know BLE Beacon technology is able to do this in a general sense (immediate, near, far) so I'm wondering if it is possible?

通过堆栈溢出,我发现了以下答案,但它们都是过时的:

Looking through stack overflow, I've found the following answers but they are all dated:

答案1 答案2

我知道超声频率和激光瞄准器都是可以选择的,但是我试图将成本保持在较低水平,所以我希望使用一种无​​需使用其他工具即可计算距离的方法.

I know that ultrasonic frequency and laser sight are both options but I am trying to keep costs low so I would prefer a way in which the distance is calculated without the use of an additional tool.

推荐答案

是的,您可以将其用于基于RSSI(接收信号强度)的距离计算.您应该按照Eirik M Answer中所述在Arduino端实现iBeacon.我认为最重要的是,您必须了解BLE/iBeacon的精度.

Yes you can use it for distance calculation based on RSSI (received signal strength). You should implement iBeacon on Arduino side as stated in Eirik M answer. The most important thing in my opinion is that you have to be aware of BLE/iBeacon precision.

请仔细阅读以下文章,以确定iBeacon技术是否适合您的需求.如果是这样,实施应该是直接的.

Please read carefully the following articles to determine if iBeacon technology fits to your needs. If so, implementation should be straight forward.

广播功能和RSSI

信标实验:低能耗蓝牙设备的应用

这篇关于计算Arduino BLE防护罩与手机之间的距离的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 08:50