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.
- USB Host Shield – Circuits@home or Sparkfun
- Bluetooth dongle
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 github. 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 license and the examples are released under BeerWare license.
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
If you want to be informed when new version of this library is released, then should subscribe to this blog’s RSS feed.
History
- 2011-08-12 – v0.1 – Initial version
Pingback: Using USB Host Shield with Arduino | Hardware Fun
Nunchuck?
It’s not connecting. I’ve tried both versions of the code, as well as with 2 different models of remote…
Did you get it connect, PMARINA?
Is it possible to get data from wii remote controller infra camera? Does it work with non original remote controllers (china clones)?
Thanks!
Jarda