I started a new project in which I'm trying to create and program a new controller for the Wii.
I begun by implementing the accelometer and the gyroscope and it works perfectly ! I'm now working on the wireless communication between the controller and the Wii. I'm using a bluetooth module from microship RN-52-DS.
The tests between the module and the computer work very well, but when i can't discover the Wii bluetooth so it will be kinda hard to communicate with it using my bluetooth module.
Have you any ideas of how can I find the bluetooth adress of the Wii ?
As soon as i finish my project I'll share it on the Forum !
Thank you for your help!
PS: Sorry for my bad english..
Nabil.B
Engineering student
ENSICAEN, FRANCE
I think the problem is there are several types of bluetooth stack (HID, SPP, AVRCP, A2DP etc) and most all Arduino compatible BT modules are SPP (serial) only.
Thank you for your answer Riva, I didn't know that !
But communicating with the Wii will only use SPP, the problem is that I don't know how to connect my bluetooth module to the Wii. I also tried with the developement kit sold by microchip RN-52-EK, but i cannot discover the Wii bluetooth module.
What stack profile does the Wii use then? I thought it was HID. The RN52 board will support several profiles according to there blurb but HID is not one of them
Supported Bluetooth Profiles:
A2DP stereo audio (sink mode, SBC codec)
AVRCP media player remote control
HFP/HSP can accept a phone call from mobile phone
SPP allows serial data over UART
iAP Profile discovery
EDIT:
Just found this so it is HID. Not sure where to go from here.
Oh thank you, i thought i would communicate with the Wii using SPP.
So i have to use a RN-42 bluetooth module, and use another microcontroller in order to succeed to connect my controller to the Wii ?
Unless you are a hardware developer for Nintendo, and can rewrite the core operating system and firmware in the Bluetooth-module in the wii, there is no chance in hell to communicate with the Wii over SPP.
The WII is hardcoded to use HID, and the protocol standard is under NDA, and you will need to be a registered Nintendo-developer, to get the information required to make your own controller - or start reverse-engineering it.