How to connect Wii balance board with 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.
I'm new with android and Bluetooth development
The Wii Balance Board is the bundled input device with the Wii game Wii Fit. It is a wireless device, using standard Bluetooth technology to communicate with the Wii.
Remove the Battery Cover on the bottom of the Wii Balance Board. Press and release the SYNC Button on the Wii Balance Board. The Power LED on the board will start blinking. Press and release the SYNC Button on the console while the Power LED on the board is still blinking.
Use FitScales to convert your Wii Balance Board into an Android-connected scale. A Wii Balance Board, provided you have one lying around in the house, can easily be turned into a scale, and all you need is the FitScales Android app.
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)
Have a look at this open source project: http://code.google.com/p/android-bluez-ime/
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.
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).
I also found these resources on WiiBrew.org:
http://wiibrew.org/wiki/Wiimote
http://wiibrew.org/wiki/Wii_Balance_Board
I used the Wiimote link to understand the Bluez-IME code.
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.
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.
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.
I just stumbled across this app on the store: FitScales
And the developer has shared his code on github: paulburton / fitscales
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With