Raspberry Pi – How to use a Wiimote!

In this tutorial I show you how to use a Nintendo Wiimote with your Raspberry Pi. By the end of this video you will be able to receive button presses from the Wiimote, as well as raw accelerometer data. This is very easy to do over the simple Bluetooth protocol and you will then have a wireless controller that is perfect for tasks such as robot control. All you need is a dongle and a Wiimote!

Information:

Here is the Bluetooth dongle I use in the tutorial: http://www.amazon.co.uk/TINY-WIRELESS-BLUETOOTH-ADAPTER-DONGLE/dp/B0013BFQUE/ref=sr_1_3?ie=UTF8&qid=1396868444&sr=8-3&keywords=bluetooth+dongle

Here is an official list of all the Raspberry Pi compatible Bluetooth dongles: http://elinux.org/RPi_VerifiedPeripherals#USB_Bluetooth_adapters

If you don’t have an official Wiimote you can pick one up from here: http://www.amazon.co.uk/Nintendo-RVLACJW1-Wii-Controller/dp/B000IMWK2G/ref=sr_1_1?ie=UTF8&qid=1396868792&sr=8-1&keywords=official+wii+controller

NOTE: I have not tested this tutorial extensively with third party Wiimotes and so I cannot guarantee they will work at all. I would recommend being safe and going for an official model such as the above.

Finally here is a link to the GitHub repository I use in the video: https://github.com/the-raspberry-pi-guy/Wiimote

I hope that you enjoy this tutorial and if you do please drop me a subscription, like or share. If you have any issues with this video then please address them to me at: theraspberrypiguy@gmail.com

Thanks for watching!

The Raspberry Pi Guy

Y U NO SUBSCRIBE?!

18 comments on “Raspberry Pi – How to use a Wiimote!
  1. corey lamartiniere says:

    amazing tutorial

  2. corey lamartiniere says:

    amazing post. seems too easy especially for a newb like me. thanks

  3. Bantammenace says:

    Excellent tutorial. It worked really well with my RPi A+ and Pluggable BT dongle.

    Ultimately I want to control Picamera and Pan-tilt using the wiimote.
    First however I would like to know how to autorun wiimote.py after login ?

    I am a few meters from my RPi and do not want to have a wifi connexion to it. (I am trying to minimise the power consumption of the RPi, hence the Pluggable BT dongle).
    I am using a bluetooth serial connexion at the momebnt allowing me to access the CLI remotely from my Smartphone but would prefer it if I could get wiimote.py to autorun after login.

    Any pointers would be greatly appreciated.

    Keep up the good work.

    • Bantammenace says:

      Sorry I forgot to mention. I’ve set the RPi up with autologin so its just a case of powering it up to get logged into the CLI. Perhaps I ought to get the RPi to flash an LED or something when its ready to be paired with the wiimote. Any suggestions ?

  4. tony davis says:

    My bluetooth dongle is able to scan an see the Wiimote using HCItool Scan, but the script will not connect to the Wiimote. Not sure if I’m doing something wrong, but I am stuck.

    Any assistance is appreciated.

    Thanks!

  5. Kenneth Henriksson says:

    My Raspberry-Pi doesn´t understand the command git . What is missing in my installed environment?

    Please help me understand why, because I´d like to test your Wiimote hack.

    Best Regards
    Kenneth

  6. Antony says:

    Connected up the wiimote to a pi 3 this morning. Works without problem. not being a programmer though I have a question. How do I now control the robot with the wiimote? I have the robot set up as per your instructions in your other tutorials and it works fine from the keyboard. Do you have a prebuilt program to enable me to connect the 2? Or can you do a tutorial on the subject please?

  7. Antony says:

    repeat of previous post
    Connected up the wiimote to a pi 3 this morning. Works without problem. not being a programmer though I have a question. How do I now control the robot with the wiimote? I have the robot set up as per your instructions in your other tutorials and it works fine from the keyboard. Do you have a prebuilt program to enable me to connect the 2? Or can you do a tutorial on the subject please?

  8. Adam says:

    I keep running into “No wiimotes found” every time I use the wiimote.py command. What can I do to make sure my wiimote is available for pairing?

  9. Henry says:

    I’m looking to possibly use wiimotes as lightguns for MAME games. Is the pointing feature of wiimotes compatible using this method, or only buttons and gyroscope functionality? Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

*