WiiRemote is an Arduino library which allows you to interact with a WiiRemote from Arduino.
WiiRemote Arduino library allows you to access the following
- Key press events
- Accelerometer readings
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.
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.
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
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.
This library is based on Tomo Tanaka original library. Most of the credit for the library goes to him.
If you want to be informed when new version of this library is released, then should subscribe to this blogâ€™s RSS feed.
- 2011-08-12 â€“ v0.1 â€“ Initial version
Pingback: Using USB Host Shield with Arduino | Hardware Fun
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)?