连接一个iPhone到Arduino的蓝牙 [英] Connect an iPhone to Arduino over Bluetooth

查看:2687
本文介绍了连接一个iPhone到Arduino的蓝牙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够让我的iPhone应用程序内传达给我的Arduino通过蓝牙。
我发现,支持以下协议的一些蓝牙盾:BCSP,DUN,LAN,GAP SDP,RFCOMM,L2CAP和。从我发现谷歌上搜索时一点是,iPhone是隐藏它的蓝牙堆栈走?!?它是否正确?难道真的没有机会让我的iPhone与其他蓝牙设备没有越狱通信(如其中据我所知,将被要求如果我使用btstack:的 HTTP://$c$c.google.com/p/btstack/

I would love to be able to let my iPhone-App communicate to my Arduino over Bluetooth. I found some Bluetooth shields that support the following protocols: BCSP, DUN, LAN, GAP SDP, RFCOMM, and L2CAP. From what i found while googling a bit, is that the iPhone is hiding it's bluetooth stack away?!? Is this correct? Is there really no chance to let my iPhone communicate with an other bluetooth enabled device without jailbreaking (which as far as I know would be required if i'd use btstack: http://code.google.com/p/btstack/)?

如果蓝牙确实是不可能的,有什么其他的方法(预计WLAN),你会建议,以实现通信?
我很想知道的是类似于此:<一href=\"http://theiopage.blogspot.com/2011/08/yanis-android-wireless-eos-controller.html\">http://theiopage.blogspot.com/2011/08/yanis-android-wireless-eos-controller.html

If bluetooth is really not possible, what other ways (expect WLAN) would you suggest to realize a communication? What I would love to realize is something like here: http://theiopage.blogspot.com/2011/08/yanis-android-wireless-eos-controller.html

感谢您的任何提示!

推荐答案

有多种连接技术可用。

正如其他人提及的,标准蓝牙(3.0)是由MFI程序控制。连接到非jailbroke iPhone的唯一方法就是加入MFI计划。

As others have mentioned, standard Bluetooth (3.0) is controlled by the MFi program. The only way to connect to a non-jailbroke iPhone is to join the MFi program.

串行访问很有趣。你必须加入小额信贷机构的分配的串行设备,但你可以使用 Redpark串行电缆连接你的的iPhone到串行设备。

Serial access is interesting. You have to join MFi to distribute a serial device, but you can use the Redpark Serial Cable to connect your own iPhone to a serial device.

有几种方法来蓝牙LE设备连接到Arduino。一个我用的是 RedBearLabs BLE盾牌。它的工作原理pretty织补好。

There are several ways to connect Bluetooth LE devices to the Arduino. One I've used is the RedBearLabs BLE Shield. It works pretty darn well.

您也可以使用WiFi的串行桥接连接到一个Arduino。我曾与 WiFly 设备。

You can also connect to an Arduino using a WiFi-serial bridge. I've had success with the WiFly device.

一个关于BLE盾牌整齐的东西,WiFly是你不必使用目标C或Macintosh的 - 尽管这是一种选择,当然。您可以通过 techBASIC 同时访问,就在iPad或iPhone上运行。

One of the neat things about the BLE Shield and WiFly is you don't have to use Objective C or a Macintosh--although that's an option, of course. You can access both through techBASIC, running right on the iPad or iPhone.

您可以大概判断出这些对自己有一定的研究和努力,但这些连接技术(再加上一些不直接适用于Arduino的),​​也包括在的建筑iPhone和iPad的电子设备,O'Reilly出版一本新书。

You can probably figure these out on your own with some research and effort, but these connection technologies (plus a few more that don't apply directly to Arduino) are also covered in Building iPhone and iPad Electronics Devices, a new book from O'Reilly.

这篇关于连接一个iPhone到Arduino的蓝牙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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