创建硬件iphone与外部设备连接。 Arduino的? [英] create hardware for iphone to connect with external device. arduino?

查看:447
本文介绍了创建硬件iphone与外部设备连接。 Arduino的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我需要创建一个简单的连接器。我想我可能需要创建一个Arduino板会从应用程序获取数据,然后将它们传输到外部设备。

hi i need to create a simple connector. I think i may need to create an arduino board that will take data from the application and then transmit them to an external device.

有是其中用户可以调整应用的滑块。当调整滑块应用程序将刚刚发送的值从应用程序到我需要将连接到外部设备的连接。

There is a slider in the application which the user can adjust. When adjusting the slider the application will just send in values from the application to the connection that i need to make which will connect to the external device.

第1步:怎样编程的iPad应用,这样它会传送给连接器?
必须有一些API来实现这一点。

Step 1: How do i program the ipad application so that it will transmit to the connecter? there must be some api to achieve this.

第二步:我需要做什么,以用于创建连接器(一个电路板,将读取简单的字符串数据进来,然后传送说一个整数回出到外部设备)等等我的iPhone可以与它沟通?

Step 2: What do i need to use to create the connecter (a circuit board which will read the simple string data coming in and then transmit say an integer back out to the external device) so that my iphone can communicate with it?

我真的需要这一个帮助。我从来没有这样做过,但我需要完成这件事。

I really need help with this one. Ive never done this before but i need to get this done.

推荐答案

为了获得访问该API的需要开发使用基座接口去跟外部硬件的应用程序,你已经成为了专为iPhone苹果公司的一员程序。这不是一个特别简单的过程。

In order get get access to the APIs necessary to develop apps that use the dock connector to talk to external hardware, you have become a member of Apple's Made for iPhone program. It's not a particularly simple process.

你最好的设计,可以使用WiFi交谈的iPhone设备,那么你可以使用标准的网络API,不需要从苹果的任何特殊权限。

You're better off designing a device that can use WiFi to talk to the iPhone, then you can use the standard networking APIs and don't need any special permission from Apple.

编辑:这个答案是5+岁​​了。它仍然是真实的,你需要在小额信贷机构程序中使用的基座接口。然而,在这一点上,大多数时候蓝牙4.0是使可使用自定义的iPhone应用程序通信的硬件最简单的方法。

This answer is 5+ years old now. It's still true that you need to be in the MFi program to use the dock connector. However, at this point, most of the time Bluetooth 4.0 is the easiest way to make hardware that can communicate with a custom iPhone app.

这篇关于创建硬件iphone与外部设备连接。 Arduino的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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