Introduction: Using a Wii Remote to Control WMP on a PC

Have you ever wished you could control your music from the next room?
The Remote, (or controller) sold by Nintendo for there "Wii" gaming machine (or console) is almost perfect, and if you're like me you already have one.

The WiiMote uses Bluetooth to communicate with the system and many laptops are now sold with Bluetooth built in.

The only down side is that most are sold with a class 2 adapter that is only reliable from acros the room. But if you what to be able to use it anywhere in the house you can get a class 1 USB adapter for about $40 (check the parts list for a suitable unit).

Theoreticallyall the data going to and from the WiiMote goes through a usb port (my Bluetooth adapter may be internal but it's still USB)


Step 1: Parts/Software

A short list of items you will need to continue.

WiiMote
PC running almost any version of windows, confirmed working on 2008r2 (same kernel as windows 7)
A Bluetooth adapter, the Linksys USBBT100 is the only class 1 unit I could find.


A copy of GlovePIE You have %100 Green power, right?

Step 2: Bluetooth

To connect the WiiMote to your PC just hold the 1 and 2 buttons (making sure the Wii is off or far away or it will connect to that) and follow the steps bellow.


Step 3: GlovePIE

Okay after you get GlovePIE, extract it to a folder (on the desktop is convent, but if your a clean freak, better put it in your programs folder).
Then make a shortcut to GlovePIE.exe.

Open the program and past this:

//Adjust the wait time to you liking.
if wiimote.plus then
  if var.up then
    volumeup = true
    wait 240 ms
    volumeup = false
    var.up = 0
  else
    volumeup = true
    wait 60 ms
    volumeup = false
  endif
else
  var.up = 1
endif


if wiimote.minus then
  if var.down then
    volumedown = true
    wait 240 ms
    volumedown = false
    var.down = 0
  else
    volumedown = true
    wait 60 ms
    volumedown = false
  endif
else
  var.down = 1
endif

PlayPause = WiiMote.A
NextTrack = WiiMote.Right
PrevTrack = WiiMote.Left



The original (and shown below) isn't mine but I couldn't find the source.
I wasn't that happy with it so I made some new stuff, it provides a progressive feel.

Step 4: Usage

GlovePIE is still experimental so this may not work on all systems but it's doesn't harm the PC ot WiiMote in anyway so mite as well give it a try.

Click run and open WMP, Please post if it works or not.

Left and right are to skip, A is Play/Pause Plus and Minus are volume.
Have fun and remember, if you like it rate and vote for it.

Step 5: Extra

If you don't like the stock lighting scheme you can add the code:


var.KITTspeed = 120 ms

if 0 = 0 then
  if var.kitt = 0 then
    wiimote.Leds = 1
  endif
  if var.kitt = 1 then
    wiimote.Leds = 3
  endif
  if var.kitt = 2 then
    wiimote.Leds = 6
  endif
  if var.kitt = 3 then
    wiimote.Leds = 12
  endif
  if var.kitt = 4 then
    wiimote.Leds = 8
  endif
  if var.kitt = 5 then
    wiimote.Leds = 12
  endif
  if var.kitt = 6 then
    wiimote.Leds = 6
  endif
  if var.kitt = 7 then
    wiimote.Leds = 3
  endif
  wait var.KITTspeed
  var.kitt = (var.kitt + 1) % 8
endif


To make the lights emulate Kitt.

Comments

author
doggie123 made it! (author)2015-01-20

Is there a way to do this on a Mac? It recognizes the wii remote on the bluetooth menu and will connect but their is no preferences menu or anything like that

author
The Cloak made it! (author)2012-08-15

Do you have to use an updated version of Bluesoleil? I can get my remote to connect no problem, but then when I run the program in Glove, it just sits there. I'm way back in the version of 1.6.1.4 if that helps at all.

author
VadimS made it! (author)VadimS2012-08-16

I've never used Bluesoleil, so unfortunatly I don't know.

author
mshaik made it! (author)2012-03-10

Hey it works fine,it even works for vlc player.go to view---add interface----console,it work s fine enjoy.

author
yyoshy made it! (author)2011-10-28

I can't believe this actually works! Now I don't have to even touch my mouse to listen to music!

author
samuka1010 made it! (author)2011-02-22

hey! this really works! thanks for this!!

author
PlaYer101 made it! (author)PlaYer1012011-10-09

Did you use class 1 or 2

author
hollowthekiller made it! (author)2011-02-19

How did u get here?!?!?!?!

author
VadimS made it! (author)VadimS2011-02-20

You should have a blue tooth icon in your task bar. You should get a similar window after clicking it. If you don't see one your bluetooth dongle may not be installed correctly.

author
crazydog75 made it! (author)2010-12-02

After a little searching on how to pair it on my system I got it working and its perfect! I guess I have a built in class 1 because I can use this from anywhere in the house! Great instructable man! thanks!

author
VadimS made it! (author)VadimS2010-12-02

You're lucky then. I had to order a transceiver because it would only work from about 10ft away. I'm picking up a cheep remote to mod. Should have it by the end of the week.

author
crazydog75 made it! (author)crazydog752010-12-02

I guess so, my bedroom is on the second floor where my laptop is, and I have speakers throughout the house hooked up to it. Usually I have to have my iPod and use Boxee or XBMC and a remote app, but now I can use WMP thanks to this. Much thanks again, keep up the good work.

author
djrelay made it! (author)2010-06-17

Works perfectly!

author
nbagf made it! (author)2010-06-11

just use this one instead of your very pricey bulky bluetooth adapter. here it is :http://www.dealextreme.com/details.dx/sku.11866

author
VadimS made it! (author)VadimS2010-06-12

You must have missed some of the instructable. You need a class 1 device. With a class 2 transmitter, it is good to about 10ft. The one in your link is class 3 and would only work to about 5ft. The one I linked to is a class 1 and should be good to 50ft+ inside. I don't see the point in a remote that doesn't work.

author
VadimS made it! (author)VadimS2010-06-12

Just double cheeked the item you linked to claims class 1 but I call bull. It's a cheep Chinese unit that can be had for $2 with no external antenna.

author
yoyology made it! (author)2010-06-03

Wow!

Will this work with VLC, iTunes, or other media playing software?

author
REA made it! (author)REA2010-06-06

i wrote a script for Media Player Classic. give some time and i could probably make a simple script for VLC if you want (i dont like apple, so i dont have itunes).

author
VadimS made it! (author)VadimS2010-06-04

It works with itunes but only if it's selected. Dunno about VLC.

author
yoyology made it! (author)yoyology2010-06-04

Cool! Now that I've spent some time looking at the GlovePIE website, I wonder if it could be worked out to accept input from my BlackBerry via Bluetooth. Hmmm...

author
yoyology made it! (author)2010-06-04

Ooh! Or you could add an antenna to your Bluetooth dongle to increase the range.
https://www.instructables.com/id/Increase-range-to-your-bluetooth-USB-dongle/

I'll shut up now. :-)

author
yoyology made it! (author)2010-06-04

Also, Newegg.com features a number of less expensive Bluetooth adaptors listed as "with EDR" that claim a 100m range: http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&Description=usb%20bluetooth%20adapter&bop=And&SrchInDesc=edr&Page=1&PageSize=20

About This Instructable

14,045views

22favorites

License:

Bio: I tinker with electronics and have half an electric bike that I never seem to get finished.
More by VadimS:High power flash.Using a Wii Remote to control WMP on a PCBuilding a Capacitive Liquid Sensor
Add instructable to: