Difference between revisions of "Making a Wii remote talk to Pure Data (PD)"

From CCRMA Wiki
Jump to: navigation, search
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
Making a Wii remote talk to PD could be fun. You have a pretty-accurate/not-over-sensitive accelerometer inside a Wii remote. Also, there are a bunch of LEDs and a pager motor (vibrator) inside the Wii that can be used for a lot of fancy purposes.
+
Making a Wii remote talk to PD could be fun. You have a pretty-accurate/not-over-sensitive accelerometer inside a Wii remote. Also, there are a bunch of LEDs and a pager motor (vibrator) inside the Wii that can be used for a lot of fancy purposes. In this guide, we assume that you are running Ubuntu on the Beagleboard. You need a bluetooth dongle to let the Beagleboard and the Wii remote pair with each other. To finish this task, we need to install a bunch of Ubuntu packages and PD patches.
 
+
In this guide, we assume that you are running Ubuntu on the Beagleboard. You need a bluetooth dongle to let the Beagleboard and the remote pair with each other. To finish this task, we need to install a bunch of Ubuntu packages and PD patches.
+
 
== Procedure ==
 
== Procedure ==
1) Plug in the dongle into the Beagleboard. Ubuntu should detect the dongle automatically and supply it with the necessary drivers. Check the status of the dongle with the command '''lswm'''. If '''lswm''' is not installed, you should run the command '''sudo apt-get install lswm'''. Once the package is installed, run the command '''lswm''' just to make sure the dongle plugged into the computer.
+
1) Plug in the dongle into the Beagleboard. Ubuntu should detect the dongle automatically and supply it with the necessary drivers. Check the status of the dongle with the command '''lsusb'''. If '''lsusb''' is not installed, you should run the command '''sudo apt-get install lsusb'''. Once the package is installed, run the command '''lsusb''' just to make sure the dongle plugged into the computer.
 +
2) Install the '''bluez''' package: We do the same as we did in step 1 to install packages.
 +
3) Once ''bluez'' has been installed,

Revision as of 13:00, 17 November 2010

Introduction

Making a Wii remote talk to PD could be fun. You have a pretty-accurate/not-over-sensitive accelerometer inside a Wii remote. Also, there are a bunch of LEDs and a pager motor (vibrator) inside the Wii that can be used for a lot of fancy purposes. In this guide, we assume that you are running Ubuntu on the Beagleboard. You need a bluetooth dongle to let the Beagleboard and the Wii remote pair with each other. To finish this task, we need to install a bunch of Ubuntu packages and PD patches.

Procedure

1) Plug in the dongle into the Beagleboard. Ubuntu should detect the dongle automatically and supply it with the necessary drivers. Check the status of the dongle with the command lsusb. If lsusb is not installed, you should run the command sudo apt-get install lsusb. Once the package is installed, run the command lsusb just to make sure the dongle plugged into the computer. 2) Install the bluez package: We do the same as we did in step 1 to install packages. 3) Once bluez has been installed,