Blue Melon
Views

BM9001 Wiimote manual

From BlueMelon


BM9001.gif

Introduction

The Wiimote is an ideal controller for interactive devices. Besides a number of buttons the Wiimote incorporates three accelerometers and two IR sensors. These sensors allow movement tracking of the Wiimote. You can use the sensor data streaming from the Wiimote to control equipment in totally new ways.

Installation

The software package consists of a number of independent installes which have to be executed one by one. At the moment the software has been tested with Windows 2000 and Windows XP.

Bluesoleil

Do not use the drivers from the bluetooth dongle CD. The correct BlueSoleil drivers can be found on the included CD.

C# .Net framework

Install the .NET framework (available on the CD).

Wiimote monitor

The WiimoteMonitor.exe apllication starts the BlueSoleil driver and connects to available Wiimotes. When the program is started hold the 1+2 Wiimote buttons until the connection is established. Should the connection be lost the application will try to reconnect the Wiimote within 5 seconds. During the reconnection you should again hold the 1+2 Wiimote buttons pressed.

OSC (Open Sound Control) client

On the CD you can find an OSC client "WiimoteOSC.bat". This application starts an UDP OSC client. The client sends its Wiimote sensor data to a local UDP port 7771 and receives actuator commands on UDP port 7770.

Example interfaces

Max/MSP

MaxMspWiimote.gif


OSC reference

At the moment the OSC (Open Sound Control) software sends and receives the following messages:

Accelero meters

 /wiimote/accel/x (float)
 /wiimote/accel/y (float)
 /wiimote/accel/z (float)
 

IR

The Wiimote uses an IR sensor which can detect two IR LEDs.

 /wiimote/ir/1/x (float)
 /wiimote/ir/2/x (float)
 /wiimote/ir/1/y (float)
 /wiimote/ir/2/y (float)
 /wiimote/ir/1/found (int)
 /wiimote/ir/2/found (int)
 /wiimote/ir/1/size (int)
 /wiimote/ir/2/size (int)
 

Buttons

 /wiimote/button/A (int)
 /wiimote/button/B (int)
 /wiimote/button/one (int)
 /wiimote/button/two (int)
 /wiimote/button/plus (int)
 /wiimote/button/minus (int)
 /wiimote/button/up (int)
 /wiimote/button/down (int)
 /wiimote/button/left (int)
 /wiimote/button/right (int)

Actuators

The OSC client receives the following messages:

 /wiimote/leds (int,int,int,int)
 /wiimote/rumble (int)


         

 

This page was last modified 12:40, 23 August 2007.