如何与And​​roid连接Wii的平衡板And、roid、Wii

2023-09-13 00:33:45 作者:形同陌路

如何使用机器人连接Wii的平衡板?

How to connect Wii balance board with android?

时有任何有用的库Android和如何使用它?

Is there are any useful Library in android and how to use it?

我现在的目标是将其连接在一起,可以从它接收数据。

My goal now is to connect it together and can receive data from it.

我是新与Android和蓝牙的发展

I'm new with android and Bluetooth development

推荐答案

我发现这个答案很有用:是否有可能在Android设备读取Wii手柄和双节棍的信息?(与感谢@Ben Mordue下面引用)

I found this answer useful: Is it possible for an android device to read information from the wii controller and nunchuck? (quoted below with thanks to @Ben Mordue)

看一看这个开源项目:    HTTP://$c$c.google.com/p/android-的bluez-IME /

Have a look at this open source project: http://code.google.com/p/android-bluez-ime/

我第一次安装在Galaxy Nexus的APK文件和它的作品。我已经检查了code出回购和它建立精美,而且比较容易理解。

Update:

I first installed the APK file on Galaxy Nexus and it works. I have checked the code out of the repo, and it builds fine, and it relatively easy to understand.

它有3个项目 - 使用Wiimote的,你需要安装所有3个项目。一来是只是用来作为标志,以使服务能够尝试一个Wiimote的(考虑到不是所有的ROM支持HID互动这一水平)。

It comes in 3 projects - to use Wiimote, you need to install all 3 projects. The one is just used as a flag to allow the service to try for a Wiimote (considering not all ROMs support that level of HID interaction).

我还发现这些资源WiiBrew.org:

I also found these resources on WiiBrew.org:

http://wiibrew.org/wiki/Wiimote

http://wiibrew.org/wiki/Wii_Balance_Board

我用Wiimote的链接,了解配合bluez-IME code。

I used the Wiimote link to understand the Bluez-IME code.

昨天晚上,我得到了董事会与我的Andr​​oid手机正常通信。我由开始的配合bluez-IME code上面链接,并修改它的基础上wiibrew.org信息这样做。

Last night I got the board to communicate with my Android phone correctly. I did this by starting with the Bluez-IME code linked above, and modifying it based on the wiibrew.org info.

诀窍是,平衡板是像一个扩展一个Wiimote的。因此,它像一个双节棍和经典控制器,只是用不同的设备ID去寻找。

The trick is that the Balance Board is like a wiimote with an Extension. So its like a Nunchuk or Classic Controller, but just with a different device ID to look for.

有关我最初的演示中,我只是寻找了一个使用双节棍所有code,并复制了一个平衡板。然后初始化模式来使用的信道0x32,具体根据wiibrew平衡板页。

For my initial demo, I just searched for all code that uses a Nunchuk, and duplicated it for a Balance Board. Then to initialise the MODE to use channel 0x32, as per the wiibrew Balance Board page.

我对面这个程序无意中发现了这家店: FitScales

I just stumbled across this app on the store: FitScales

和开发者分享他在github code: paulburton / fitscales

And the developer has shared his code on github: paulburton / fitscales