Posts | Comments

Planet Arduino

Archive for the ‘wii’ Category

There is a boring part of every computer introduction class that shows how a computer is made up of input, output, and processing. Maybe it wouldn’t be so boring if the input device was a nunchuck. [Brian Lough] thinks so and he belligerently asserts that nunchucks are the best input device ever. With a simple connection to a Wii controller and an associated library, you get access to an analog joystick, two buttons, and an accelerometer.

The nunchuck is meant to plug into a Wii controller and the connection is I2C, so that’s trivial to interface to an Arduino or other small microcontroller. The only issue is making the connection. We might have just snipped the wires, but [Brian] prefers to use a small breakout board that plugs into the stock connector and provides solder points for your own cable. There are options for the breakout boards, and [Brian] has his own design that you can get from OSHPark for about a buck for three boards. You can also just jam wire into the connector, but that’s not always robust.

The controllers use 3.3V which isn’t unusual these days. There’s an available library that makes reading them easy. Obviously, not all applications will be a natural fit, but we did like them on the Tetris game [Brian] created. It is also natural for any kind of motion control like his gimbal mount example.

Even if you don’t have junk Wii controllers hanging around, they are common enough on the resale market and you can buy new third-party controllers without spending much. Makes us sorry we threw away ours in the last move.

If you want to get serious hacking a nunchuck, you can go full custom. Or, just give up, and turn one into a Raspberry Pi.

Jun
01

Wiimote Controlled Extermination: Dalek-Style

arduino hacks, bluetooth, dalek, Doctor Who, Raspberry Pi, Raspi, Shrimp, wii, wiimote Comments Off on Wiimote Controlled Extermination: Dalek-Style 

Dalek Build

Convention-goers have likely strolled past a number of Daleks: the aliens drive around the event space, spouting threats of extermination and occasionally slapping folks with a rotating eyestalk. [James Bruton] has been hard at work building this Wii-remote-controlled Dalek with his fellow hackers at the SoMakeIt Hackerspace (you may remember our write-up from earlier this year).

Most Dalek builds seat a driver inside the body at the helm of a salvaged electric wheelchair, where they plunk around using a joystick control and simmer in an increasingly potent aroma. This version started like most, with a wooden structure from plans sourced at Project Dalek. Inside, however, [James] and his crew have tapped into the wheelchair’s motor controller to feed it a PWM signal from an Arduino Shrimp, which is linked to a Raspi. The Pi receives a Bluetooth signal from a Wiimote, and, through their custom Python script, directs the Dalek with ease.

They’re still working on finishing the Dalek’s body, but they’re using some clever tactics to push onward: using a 3D-printer to solve some of the nuanced styling choices. They’ve uploaded a gallery with additional photos on Facebook, and you can watch them goofing around with their creation (losing their balance and nearly exterminating themselves) in a video after the break.


Filed under: Arduino Hacks, Raspberry Pi
Aug
18

Video Game Shield code updated to support knock-off Nunchuck controllers

arduino, nunchuck, video game shield, wii Comments Off on Video Game Shield code updated to support knock-off Nunchuck controllers 

Just a quick update to let you all know that the code for the Video Game Shield has been updated to support knock-off Nunchucks! What does this mean? Well, for a long time the standard way of interfacing with the Nintendo Wii Nunchucks from an Arduino (using the I2C two-wire protocol) didn’t really work with the cheap knock-off (off-brand) Nunchucks for sale at places like Deal Extreme and Ebay. Fortunately, we recently stumbled upon some updated code that works with all Nunchucks, official as well as knock-off, so we’ve tested it out and updated the Video Game Shield code.

The new code can be found on our download page as well as the Video Game Shield repository at GitHub.

We are shopping around trying to find the best of the cheap knock-off Nunchucks, so look forward to us adding them to the Wayne & Layne store in the near future!



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook