当Arduino遇见Android
我阅读了 Android 开放配件开发套件,我注意到:
Android 3.1 平台(也向后移植到 Android 2.3.4)引入 Android 开放附件支持,允许外部 USB 硬件( Android USB 配件)可与 Android 设备进行交互 特殊的“配件”模式。
那么,Arduino Mega 2560 ADK 应该可以与 3.1 以上的 Android 设备配合使用吗?因为我试图让它工作,但我的设备当前是 2.2.1,所以我想这就是它无法工作的原因...
尽管如此...为什么 IOIO 板 可与 1.5 设备配合使用吗?因为IOIO也是基于Android Open ADK的?
有人知道吗...?
或者有什么方法 Mega ADK 能够与 android 2.X 通信......?
I read the Android Open Accessory Development Kit and I noticed that:
The Android 3.1 platform (also backported to Android 2.3.4) introduces
Android Open Accessory support, which allows external USB hardware (an
Android USB accessory) to interact with an Android-powered device in a
special "accessory" mode.
So, the Arduino Mega 2560 ADK is supposed to work with android device above 3.1? 'Cause I tried to make it work, but my device is currently 2.2.1, so i guess that's why it wasn't working...
Despite that... Why is the IOIO board working with the 1.5 device? Because the IOIO is also based on the Android Open ADK?
Does anyone have a clue...?
Or is there any way the Mega ADK is able to communicate with android 2.X...?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这取决于你使用什么arduino库将arduino连接到android。据我所知... Arduino Mega 2560 ADK 有一个 USB 主机接口,可以从 android 2.2.3 开始通信
您可以查看 Google 的 ADK 文档
it depends on what arduino libraries do you use to connect the arduino to android. as far as I know... Arduino Mega 2560 ADK has an USB host interface and can communicate starting with android 2.2.3
you can check Google's ADK documentation