WiiRemote Library for Arduino

WiiRemote is an Arduino library which allows you to interact with a WiiRemote from Arduino.

Features

WiiRemote Arduino library allows you to access the following

  • Key press events
  • Accelerometer readings

Setup

You need the following connected to an Arduino to use this library.

You also need the v1.0 of USB Host library to be included in your Arduino library folder for this library to work.

Examples

The library has the following example sketches.

  • WiiAccelerometer – An example sketch that shows how to gather WiiRemote’s Accelerometer data.
  • WiiNormalMode – An example sketch that shows how to listen to button press events, when you know the Bluetooth address of your WiiRemote.
  • WiiInquiryMode  – An example sketch that shows how to listen to button press events, even if you don’t know the Bluetooth address of your WiiRemote.

Download

You can download the library from my github page. The examples are there inside the /examples folder. After downloading place the WiiRemote folder inside your Arduino’s /library folder

License

The library is released under GPL licence and the examples are released under BeerWare licence.

I would, however, consider it a great courtesy if you could email me and tell me about your project and how this code was used, just for my own continued personal gratification.

Credits

This library is based on Tomo Tanaka original library. Most of the credit for the library goes to him.

Stay updated

I would be posting updates about this library in my blog and in Twitter. If you want to be informed when new version of this library is released, then you can either subscribe to this blog’s RSS feed or follow me in Twitter.

History

  • 2011-08-12 – v0.1 – Initial version

0 Comments so far

Trackback URI | Follow up comments through RSS Feed | Post a comment

You are the first one to start the discussion.

Leave a Reply