简体   繁体   English

如何将android蓝牙与arduino连接?

[英]How to connect android bluetooth with arduino?

I want to make an android app that would connect with bluetooth module and send ASCII values for forward, back, right and left buttons pressed on app. 我想制作一个可以与蓝牙模块连接并发送ASCII值的android应用程序,用于在应用程序上按下的前进,后退,向右和向左按钮。 I have worked on android using android studio. 我曾使用android studio在android上工作。 Can I make this app for arduino using android studio or I would have to use some other tool? 我可以使用android studio为arduino制作此应用程序,还是必须使用其他工具? Explain the logic (and code if you can), try to avoid links. 解释逻辑(如果可以,请解释代码),并尽量避免链接。

A good step in between, could be Arduino with Processing . 两者之间的一个很好的步骤是带有Processing的Arduino As it provides a relative Java like language, from which you control the Arduino. 由于它提供了一种类似Java的相对语言,您可以从中控制Arduino。 (Under the hood, actual Java is used). (在后台,使用实际的Java)。

See Arduino Processing introduction videos. 请参阅Arduino处理简介视频。

Ones that is working, it should be relative strait forward to convert that to Java. 一个正在工作的人,将其转换为Java应该是相对困难的。

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

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