Log in

View Full Version : Bluetooth with cRIO/DS?


hellochar
22-01-2009, 02:08
I want to use the accelerometer in a wiimote rather than the one given in the KoP because our readings are very jittery. I've already successfully connected the wiimote to my home PC that's using a 3rd party Bluetooth dongle, with an installation disc provided.
What I want to know:
Is it possible for me to install that 3rd party software onto the cRIO, and to plug the dongle into one of the USB ports in the DS, so I can retrieve accelerometer values from the Wiimote?

I know this is probably a stretch; the biggest problem is getting the 3rd party installation into the cRIO. Any suggestions would be appreciated. I just thought up of this a few days ago and I'm going in tomorrow to try and test things.

EHaskins
22-01-2009, 04:19
What you described isn't technically possible, and the rules prohibit other wireless communication devices on the robot or DS.

ay2b
22-01-2009, 14:38
While you are not allowed to use Bluetooth for this, what you could do is connect a Wii Nunchuck to the cRio via the I2C port. If you search online (http://twingine.com/search.php?q=wii%20nunchuck%20i2c), you should be able to find several sites which describe the data format, which looks pretty straight forward. I haven't used i2c anywhere myself, but if you search the forums here and the cRio documentation, you should find instructions on how to use i2c.

hellochar
22-01-2009, 17:20
Whoa, now that is cool. Thanks!