Let me first say that I am very inexperienced with the Arduino or Bluetooth communications in general.
This is my application: I want to make a color matcher/selector using the Nintendo wiimote as a controller. I want to use two Arduino boards... one Arduino BT which will accept data from the wiimote and output the color information via the DMX protocol to a light bar. I've found code for DMX and have verified it works.
Color will either be selected using wiimote buttons and motion or it can be chosen through the use of a color sensor. The color sensor will be housed in a Nintendo nunchuk with the meat replaced by an Arduino micro or nano. I've seen plenty of examples for making custom wiimote peripherals so this shouldn't be a problem.
What I don't know is how to use the Bluetooth communication on my Arduino BT board... and how to make it see the wiimote. I have seen no examples specific to the Arduino BT or bluetooth in general. I know how to set the wiimote in "discoverable mode" if that is important, I know the name and device address of the wiimote. I know all of the messages I am looking for and the data of interest.
I guess what I don't know is how to get started. If I could recognize and parse out just one Bluetooth message from the wiimote I would be golden.
I would also like to be able to send data to the wiimote from the Arduino BT, but that is not particularly important.
I understand that the wiimote has trouble talking with some Bluetooth devices, and that currently is my main worry.
If anyone could offer sample code or advice on how to use Bluetooth with the Arduino BT it would be greatly appreciated.
I still haven't been able to find any information or examples for using Bluetooth with the Arduino BT.
Still, it seems that communication with the Wiimote should at least be possible, as HID is apparently supported by the WT11 on the board.
The module won't just recognize and start talking to the wiimote though... I assume the wiimote needs to see some kind of message from the WT11 before it will start transmitting data...
I thought the intent with Arduino BT was an arduino board with a bluetooth to serial module onboard instead of USB to serial, so instead of having to plug the project in with USB to upload new sketches, you just pair it up with your computer and use it like that.
It isn't simply just to add a different method of uploaded sketches. I don't see how that could possibly justify a cost about four times as much.
Besides, people have mentioned projects on these forums where they used an Arduino BT to communicate with a cellphone. My only real problem is how I make the connection between the two devices.
I read already that the WT11 supports HID (which is what the wiimote is) so communication should be possible to establish.
Anyway, there seems to be some good information in that datasheet I hadn't noticed before. Thanks for the links.
According the the people at Bluegiga the WT11 serves as a HID client but not HID host.
I'm trying to find some way around this... but I don't expect to have any luck.