Converting A GameCube Controller To USB

The GameCube controller is a favorite among the console enthusiasts new and old, and with Nintendo’s recent release of the Smash Bros. edition of this controller, this is a controller that has been in production for a very, very long time. [Garrett] likes using the GameCube controller on his PC, but this requires either a bulky USB adapter, or an off-brand GameCube ‘style’ controller that leaves something to be desired. Instead of compromising, [Garrett] turned his GameCube controller into a native USB device with a custom PCB and a bit of programming.

First, the hardware. [Garrett] turned to the ATtiny84. This chip is the big brother of the ubiquitous 8-pin ATtiny85. The design of the circuit board is just under a square inch and includes connections for the USB differential pairs, 5V, signal, and ground coming from the controller board.

The software stack includes the micronucleus bootloader for USB firmware updates and V-USB to handle the USB protocol. There are even a few additions inspired by [Garrett]’s earlier shinewave controller mod. This controller mod turns the GameCube controller into a glowing hot mess certain to distract your competitors while playing Super Smash Bros. It’s a great mod, and since [Garrett] kept the board easily solderable, it’s something that can be easily retrofitted into any GameCube controller.

Shinewave Gamecube Controller Reacts to Smash Brothers

[Garrett Greenwood] plays Smash Brothers, and apparently quite seriously. So seriously that he needed to modify his controller with five Neopixels so that it flashed different color animations according to the combo he’s playing on the controller; tailored to match the colors of the moves of his favorite character, naturally.

All of this happens with an ATtiny85 as the brains, which we find quite ambitious. Indeed, [Garrett] started out thinking he could simply read each of the inputs from the controller directly into the microcontroller at the heart of the whole thing, but then counted up how many wires that would be, and looked at how many pins he had free (six), and thought up a better solution.

[Garrett]’s routine instead reads the single line that the Gamecube controller uses to send back to the console. The protocol is well understood, using long-short and short-long signals to encode bits. The only trick is that each bit is sent in four microseconds, so the decoding routine has to be fairly speedy. To make it work he had to do quite a bit of work. More about that, and the demo video, after the break.

Continue reading “Shinewave Gamecube Controller Reacts to Smash Brothers”

Inexpensively Replace A Worn Out N64 Joystick

The Nintendo 64 is certainly a classic video game system, with amazing titles like Mario Kart 64 and Super Smash Bros that are still being played across the world today. But, like finding new parts for a classic car, finding an original controller that doesn’t have a sad, wobbly, worn-out joystick is getting to be quite the task. A common solution to this problem is to replace the joystick with one from a Gamecube controller, but the kits to do this are about $20USD, and if that’s too expensive then [Frenetic Rapport] has instructions for doing this hack for about $2.

The first iteration of using a Gamecube stick on an N64 controller was a little haphazard. The sensitivity was off and the timing wasn’t exactly right (very important for Smash Bros.) but the first kit solved these problems. This was the $20 kit that basically had a newer PCB/microcontroller that handled the Gamecube hardware better. The improvement which drove the costs down to $2 involves modifying the original PCB directly rather than replacing it.

While this solution does decrease the cost, it sacrifices the new potentiometer and some of the easier-to-work-with jumpers, but what was also driving this project (in addition to cost) was the fact that the new PCBs were becoming harder to get. It essentially became more feasible to simply modify the existing hardware than to try to source one of the new parts.

Either way you want to go, it’s now very easy to pwn your friends in Smash with a superior controller, rather than using a borked N64 controller you’ve had for 15 years. It’s also great to see hacks like this that come together through necessity and really get into the meat of the hardware. Perhaps we’ll see this controller ported to work with other versions of Super Smash Bros, too!

Hackaday Links: March 8, 2015

Nintendo is well known for… odd… hardware integration, but this video takes it to a new level. It’s a Gamecube playing Zelda: Four Swords Adventure, a game that can use a Game Boy Advance as a controller. [fibbef] is taking it further by using the Gamecube Game Boy Advance player to play the game, and using another GBA to control the second Gamecube. There’s also a GBA TV tuner, making this entire setup a Gamecube game played across two Gamecubes, controlled with a Game Boy Advance and displayed on a GBA with a TV tuner. The mind reels.

TI just released a great resource for analog design. It’s the Analog Engineer’s Pocket Reference, free for download, if you can navigate TI’s site. There are print copies of this book – I picked one up at Electronica – and it’s a great benchtop reference.

A few months ago, a life-size elephant (baby elephants are pretty small…) was 3D printed at the Amsterdam airport. A model of the elephant was broken up into columns about two meters tall. How did they print something two meters tall? With this add-on for a Ultimaker. It flips an Ultimaker upside down, giving the printer unlimited build height. The guy behind this – [Joris van Tubergen] – is crazy creative.

And you thought TV was bad now. Here’s the pitch: take a show like Storage Wars or American Pickers – you know, the shows that have people go around, lowball collectors, and sell stuff on the Internet – and put a “Tech” spin on it. This is happening. That’s a post from a casting producer on the classic cmp message boards. Here’s the vintage computer forums reaction. To refresh your memory, this is what happens when you get ‘tech’ on Storage Wars. Other examples from Storage Wars that include vastly overpriced video terminals cannot be found on YouTube. Here’s a reminder: just because it’s listed on eBay for $1000 doesn’t mean it’ll sell on eBay for $1000.

Gamecube Robot is More Than Meets The Eye

[Joshua] had his old Gamecube kicking around. Rather than let it gather dust, he took it into the machine shop at Harvey Mudd College and used its body as the shell of a mobile robot. With a bit of thought, it turns out that you can fit quite a lot inside the rather small Gamecube case. [Joshua] started with a couple of R/C plane style brushless outrunner motors. These motors generally give more torque and spin slower than their inrunner counterparts. Several thousand RPM was still too fast to directly drive the LEGO tires though. He needed a gear reduction.

Gears and tight spaces usually send people running for the SDP/SI website. We’ve used SDP/SI parts before, and have found that they make incredibly accurate gears and assemblies. Things can get pricey, however, when you’re buying two of everything. In search of a solution a bit more within his college-student-budget, [Joshua] looked at radio control servos. R/C servos have some rather strong output gears, especially the metal gear variety. Even with strong gears, parts do break in crashes, so replacement gear sets are available and cheap. [Joshua] settled on gears made for Hitec servos. His next problem was finding a pinion gear for his motors. That turned out to be easy, as 64 pitch gears commonly used in RC cars mesh with metric servo gears.  The final results are great. His robot has tons of torque and plenty of speed to zip around. The only thing it’s missing is a brain. Videos after the break.

Continue reading “Gamecube Robot is More Than Meets The Eye”

Handheld Console Build-off

gc

The above pic isn’t a new Wii U controller from Nintendo – it’s the product of the 2013 Portable Build-Off Challenge over at the Made By Bacteria forums. Every year the Bacman forums hold a contest to build the best portabalized console, and like every year this year’s entries are top-notch.

One of the more interesting projects this year is a handheld PlayStation 2 put together by [Gman]. It uses a PS2 Slim motherboard and a dualshock 2 controller along with a 4-inch screen to stuff an entire PS2 into a convenient handheld gaming device. [Gman] ditched the CD drive and opted to play games off the USB drive, a clever substitution that really reduces the size and power consumption.

In our humble opinion, the best looking console mod is the one shown above by [Bungle]. It’s a portable GameCube stuffed inside a handmade case with a WiiKey Fusion that allows games to be played off an SD card. It’s an amazing build, and we can only hope [Bungle] will make a few molds of his case.

The entire contest has an incredible display of console modding expertise, and is well worth a look.

An Open Source Hardware Modchip

OSHW XenoGC Clone

Many Hackaday readers might remember the days of buying modchips from somewhat questionable sources. These little devices connect to a gaming system to circumvent security measures, allowing you to run homebrew games (and pirated games, but lets not focus on that). [Guillermo] built an open source hardware Gamecube modchip based on the XenoGC.

The XenoGC was a popular modchip back in the Gamecube days, and its source was released in a forum post. A Wiki page explains how to build a clone of the device based on an ATtiny2313.  Most modchips were closed source, but this project lets you look at how they work. You can browse the XenoGC source on Google Code to learn more about the exploit itself. You’ll find the AVR code, which manipulates the DVD drive over a serial interface, in the XenoAT folder.

[Guillermo]’s hardware is available from OSHPark, so you can easily order boards. He’s also hosted the design files on Github. With one in hand, you can start building homebrew for the Gamecube, which can probably be picked up for around $25 nowadays.