How to Use a Wii Nunchuk with an Arduino

When the Nintendo Wii was released in 2006, there was a lot of talk about their new weird control system. In place of a typical control pad, players would use a one-handed “remote” with infrared sensors and accelerometers in place of a joystick. For those games that required additional controls, players would use an accessory controller in their off-hand.

This ‘accessory’ controller is the Nunchuk. A strange, bean-shaped attachment with a joystick, two buttons, and a three-axis accelerometer. Although the Nunchuk had a lukewarm response when it was first released, it’s the perfect controller for makers who want to add some fine control to their projects.

Although I’m writing this post with Arduino in mind, most of this information also applies to using a Nunchuk with something like a Raspberry Pi or an ARM-based board.

Let’s get started!

Continue reading “How to Use a Wii Nunchuk with an Arduino”

Repurposing the Staples Easy Button

If you’re looking for a big project button, you can find it at Staples.

Introduced as part of their “That Was Easy” marketing campaign in 2005, the easy button is a large red button that, when pressed, says the phrase “that was easy” via a small speaker.

Its low price of $6.99 is enticing. What if instead of buying a purpose-built large button, we can repurpose an Easy Button for our projects instead?

Continue reading “Repurposing the Staples Easy Button”

How to Control Anything on Arduino Using MIDI

I’ve been messing around with MIDI for my musical floppy drive project, and it was surprisingly difficult to find detailed information on how to get started with Arduino’s MIDI library. So in this post I’m going to show you, in detail, how to use this library to control anything on an Arduino using MIDI.

Continue reading “How to Control Anything on Arduino Using MIDI”