简体   繁体   English

我如何通过Adobe Air通过USB将Arduino连接到android?

[英]How can I connect Arduino to android over usb with adobe air?

I'm quite knowledgeable of as3 and writing programs/apps in flash cs6. 我对as3和在Flash CS6中编写程序/应用程序非常了解。 I've also played around with my arduino uno, which I've read is psuedo-java. 我还玩过我的arduino uno,我读过的是psuedo-java。 Very little knowledge of c languages. 对C语言的了解很少。

I've seen people using Bluetooth to connect to an arduino with adobe air. 我见过人们使用蓝牙通过adobe air连接到arduino。 I have an xbee shield but not the little BT adapter with it. 我有xbee防护罩,但没有小BT适配器。 I don't want to rely on BT connection anyway. 我还是不想依靠BT连接。 I want it plugged in directly to my spare android phone's USB port. 我希望将其直接插入备用Android手机的USB端口。

I have used a usbhost program to connect thumb drives and game controllers, so I know that USB hosting is possible. 我已经使用usbhost程序连接了拇指驱动器和游戏控制器,所以我知道USB托管是可能的。 Tried it with arduino and i get lights. 用arduino试了一下,我就亮了。 I want to write a flash/as3 program to control the arduino while taking advantage of the phone's capabilities, such as camera, WiFi, bt and also the graphical interface that I can create flash. 我想编写一个flash / as3程序来控制arduino,同时利用手机的功能,例如相机,WiFi,bt以及我可以创建闪光灯的图形界面。 How do I go about this? 我该怎么办? I haven't found an ane for this. 我还没有为此感到烦恼。

我已经使用眨眼示例对它进行了测试并与Arduino uno一起成功。如果您对此感兴趣, 查看此。https://github.com/GIGATeam/UsbExtension

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM