Arduino Learns The Martial Arts With Nunchucks Input Device

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.

Continue reading “Arduino Learns The Martial Arts With Nunchucks Input Device”

A 3D Printed Micro:Bit Nunchuk

As [Paul Bardini] explains on the Thingiverse page for his “Micro:Bit Hand Controller”, the Bluetooth radio baked into the BBC’s educational microcontroller makes it an ideal choice for remotely controlling things. You just need to give it a nice enclosure, a joystick, a couple of buttons, and away you go. You can even use the integrated accelerometer as another axis of control. This is starting to sound a bit familiar, especially to gamers.

While it might not come with the Official Nintendo Seal of Quality, the 3D printable enclosure [Paul] has come up with for the Micro:Bit certainly takes more than a little inspiration from the iconic Wii “Nunchuck” controller. He’s jostled around the positions of the joystick and momentary buttons a bit, but it still has that iconic one-handed ergonomic styling.

In a particularly nice touch, [Paul] has built his controller around a Micro:Bit breakout board from SparkFun that allows you to plug the microcontroller in via its edge connector. This means you can pull the board out and still use it in other projects. The only other connection to the controller leads to the battery, which uses a two pin JST-PH plug that can easily be removed.

Thanks to this breakout board, the internal wiring is exceptionally simple. The joystick (the type used in a PS2 controller) and the buttons are simply soldered directly to pins on the breakout board. No passives required, just a few short lengths of flexible wiring to snake through the printed enclosure.

The Thingiverse page only has the STLs for the two halves of the controller, and no source code for the Micro:Bit itself. But it shouldn’t be terribly hard to piece together the basic functionality with example code that’s floating around out there. Especially since you can run Python on them now. Of course, you could also add Bluetooth to the original Wii version if you’re not looking to reinvent the wheel nunchuck.

Digital Mouse Trap

Plenty of PC games rely on the mouse for input, and browser games are no exception. Unfortunately though, this isn’t always the most intuitive controller. [Nathan Ramanathan] combined a couple hacks to get the controller he wanted for playing browser games like Agar and Slither. No rodents were harmed in this project.

The games he wanted to dominate were top-down view so there was no need to move the mouse far from the center of the screen. For a more intuitive interface, a Wii nunchuck with its integrated joystick was selected. Nunchucks were notoriously hackable. An Arduino converted the nunchuck’s data into mouse movements. Inside the computer, Autohotkey kept the mouse pointer reined in where it was useful. Autohotkey was a scripting tool for executing keyboard and mouse macros.

The result was a joystick which controlled these browser games exactly the way you would expect a joystick to control a game. Mouse functionality, including standard and fast scrolling, was an added bonus so games like Minecraft aren’t left behind. The ergonomics of the nunchuck make us wonder why it hasn’t been seen in more wearable hacks.

Custom game controllers are no stranger to Hackaday readers. We’ve seen them built from LEGO blocks, automobiles, and even a decorative rug.

Continue reading “Digital Mouse Trap”

Cronk The Gonk Droid

The ‘Gonk’ droids from the Star Wars universe are easy to overlook, but serve the important function of mobile power generators. Here on Earth, [bithead942]’s life-size replica droid fulfills much the same purpose.

Cronk — functionally an oversized USB charging hub with a lot of bells and whistles — is remotely controlled by a modified Wii Nunchuck very controller similar to the one [bithead942] used to control his R2-D2. With the help of an Adafruit Audio FX Mini, an Adafruit Class D 20W amp, and two four-inch speakers, the droid can rattle off some sound effects as it blows off some steam(really, an inverted CO2 duster). An Arduino Mega acts as Cronk’s brain while its body is sculpted from cast-able urethane foam for its light weight and rigidity. It also houses a FPV camera, mic, and DVR so it can be operated effectively from afar.

And, it can dance!

Continue reading “Cronk The Gonk Droid”

This Isn’t The R2-D2 Controller You’re Looking For

Who loves a good R2-D2 robot? Everyone, but especially young Star Wars fans who — frustratingly — have no problem spotting a controller and spoiling the illusion of an R2 unit brought to life. [Bithead942]’s concealed his R2-D2’s remote and re-establishes the illusion of an autonomous droid — no Jedi mind-tricks necessary.

[Bithead942] prefers to accompany his droid in traditional a Rebel Alliance pilot’s suit, so that gives him a bit of extra space under the jumpsuit to help conceal the controller. Dismantling a Frsky Taranis X9D controller, [Bithead942] meditated on how to use it while so concealed. In a stroke of insight, he thought of his unused Wiimote nunchucks, and launched into the build.

Continue reading “This Isn’t The R2-D2 Controller You’re Looking For”

Wireless Nunchuck R/C Remote!

[Dan], admirably rose to the occasion when his son wanted a new toy. Being a dedicated father — and instead of buying something new — he took the opportunity to abscond to his workbench to convert a Wiimote Nunchuck into a fully wireless controller for his son’s old r/c car — itself, gutted and rebuilt some years earlier.

Unpacking the nunchuck and corralling the I2C wires was simply done. From there, he combined a bit of code, an Arduino pro mini, and two 1K Ohm resistors to make use of an Aurel RTX-MID transceiver that had been lying around. Waste not, want not.

A TI Stellaris Launchpad is the smarts of the car itself, in concordance with a TB6612FNG motor controller. The two Solarbotics GM9 motors with some 3D printed gears give the car some much needed gusto.

Continue reading “Wireless Nunchuck R/C Remote!”

Knockoff Game Controller Makes A Fine Remote Shutter Release

remote-shutter-release

[Duncan Murdock] received a Canon DSLR camera for Christmas and wanted a remote shutter release to go along with it. Since nary a store was open on Christmas, he was pretty much out of luck. Scrounging around in his parts drawer, he found all sorts of goodies waiting to be reused, including a knockoff Wii nunchuck.

He pulled the original cable from the nunchuck and replaced it with an old telephone wire, attaching a 2.5mm plug to the end. The plug goes directly into his camera’s control port, allowing him to trigger the auto focus and shutter mechanisms with the push of a button.

We like the idea of a junk controller being recycled for use in a camera, though we think it has far more potential than being used as a simple wired trigger. If both the nunchuck and camera were fitted with some sort of wireless interface (Bluetooth, IR, etc), we think it would make a great addition to any hobby photographer’s kit.