Android的工作与Arduino的工作、Android、Arduino

2023-09-04 09:21:47 作者:柠蓝浅夏

有没有人试图让Android和Arduino的相互交流?

Has anyone tried to make Android and Arduino communicate with each other?

我发现一对夫妇的项目在线:

I found a couple of projects online:

Amarino Android的Arduino的 Amarino Android-Arduino

你们有什么建议是使这两个沟通的最佳方式是什么?

What do you guys suggest is the best way to make those two communicate?

推荐答案

无论是对你的Andr​​oid手机建立一个串行电缆,像这样为G1, http://www.instructables.com/id/Android-G1-Serial-To-Arduino/.

Either build a serial cable for your Android phone, like this one for the G1, http://www.instructables.com/id/Android-G1-Serial-To-Arduino/.

或添加蓝牙模块的Arduino的,

Or add a Bluetooth module to your Arduino,

或使用以太网屏蔽你的Arduino,并通过TCP / IP连接。

or use an Ethernet-shield for your Arduino and connect via TCP/IP.

使用哪一个取决于你的项目和预算。我不知道,如果串行电缆选项存在手机比G1等。蓝牙模块有beeing无线两种的优点,阿尔杜伊诺和电话,并使用以太网盾,你可以做的Arduino通过使用端口转发在防火墙上的全球访问。

Which one to use depends on your project and your budget. I don't know if the serial cable option exists for phones other than the G1. The Bluetooth module has the advantage of beeing wireless for both, the Arduino and the phone, and using the Ethernet-shield you could make the Arduino worldwide accessible by using port-forwarding on your firewall.