NES controller uses capacitive touch instead of buttons

posted Jan 19th 2012 3:57pm by
filed under: nintendo hacks

Here’s one way to really keep the component count low. [David] developed an NES controller that doesn’t use any buttons. The copper clad has been milled to provide a pad which registers a button push based on capacitance. The board has a SIL header at the top, making it easy to plug into the Arduino board that reads the inputs.

[David] had trouble getting the Arduino pin read functions to respond fast enough for he NES console’s expectations. He ended up using commands to access the ATmega’s peripherals directly in order to achieve the target timing. Speaking of, he did his own sniffing of the communication scheme using a logic analyzer. The results of that work, as well as the board files and code are available at the site linked above. And there’s a demo of the controller used to play Super Mario Bros. in the clip after the break.

This is actually a tangential project using a PCB mill which he’s developing through Kickstarter. This certainly shows that the mills works as designed.  Read the rest of this entry »

Adjustable rapid fire for Xbox 360 controller

posted Jan 11th 2012 4:32pm by
filed under: peripherals hacks

[Shawn] wrote in to share his post outlining the addition of rapid fire to an Xbox 360 controller. He’s going all out with this mod by including a pretty beefy microcontroller. But you get a lot of functionality for that. You can just make out the trimpot below and to the right of the green A button. This tweaks the speed at which your right trigger repeats. Next to the trimmer is an amber LED which indicates whether the hack is enabled or not. The switch to the left of the D-pad simply patches the add-on circuit into the right trigger hardware.

Some might raise an eyebrow when we call the ATtiny85 used here beefy. But considering the job at hand, we’re sure a lot of the lower end of the ATtiny family will work just as well. [Shawn] soldered everything up on a piece of protoboard and removed one of the rumble motors to make room inside the controller. The video after the break is pretty shaky and out of focus, but you can clearly hear him explain how the hack works.

If you’re looking for a rapid fire mod that doesn’t require programming a chip, perhaps you could just repurpose the PWM from the LED. Read the rest of this entry »




Arcade controller will give you button envy

posted Jan 3rd 2012 6:00am by
filed under: peripherals hacks

[Aaron's] arcade controller really makes us want to put in a button order. There aren’t any secrets hidden in his design or fabrication, but he did a remarkably clean job of putting it together.

The housing is a writing box he bought at the hardware store (but he also shows off an emtpy Xbox 360 case hosting the same control layout). It has a hinged cover which is perfect for getting at the components inside, and is also at a nice angle for your wrists during long gaming session.

An Xbox 360 controller provides the connectivity for the device. Obviously it will work with the Microsoft hardware, but all modern operating systems have methods available for interfacing with these controllers as well. In the video after the break you can see [Aaron] gut the controller, soldering wires to all of the button pads and connecting those to some terminal strips. This makes the wire organization inside quite clean. He uses crimp connectors to jumper the buttons and joy stick to the other side of the terminals. Add  a nice paint job and you’ve got a controller that will look right at home in your living room.

Read the rest of this entry »

Pick up that can, [Jeri]

posted Dec 4th 2011 10:01am by
filed under: misc hacks, peripherals hacks

We all need an excuse to play Half-Life 2 sometimes. [Jeri Ellsworth] put together a My First Crowbar controller to throw a few headcrabs across the room. It’s pretty much Half-Life 2 for the Wii.

The build is very simple – just a tilt switch hot glued to the underside of a childs-size crowbar. Two leads go from the tilt switch to the contacts on a (PS3?) controller. All you need to do to attack is swing the crowbar wildly.

[Jeri] has us wondering what other awesome game controllers could be made. Of course we’ve been wanting a real-life Gravity Gun or Portal Gun for years now, but right now we’re thinking about a real Katamari. We might need more hot glue.

As far as building our own, we’re thinking about using one of the Cheap DIY tilt switches we saw the other day. It’s a simple build, and sure looks like a lot of fun.

Read the rest of this entry »

N64 controller input using an ATtiny85

posted Oct 13th 2011 3:35pm by
filed under: Microcontrollers

[Larsim] worked out the timing necessary to read button and joystick data from an N64 controller using an ATtiny85 microcontroller. The project was spawned when he found this pair of controllers in the dumpster. We often intercept great stuff bound for the landfill, especially on Hippie Christmas when all the student switch apartments at the same time.

Instead of cracking the controllers open and patching directly to the buttons, [Larsim] looked up the pinout of the connector and patched into the serial data wire. In true hacker fashion, he used two 5V linear regulators and a diode in series to step his voltage source down to close to 3.6V, as he didn’t have a variable regulator on hand. It does sound like this causes noise which can result if false readings, but that can be fixed with the next parts order.

The controller waits for a polling signal before echoing back a response in which button data is embedded. This process is extremely quick, and without a crystal on hand, the chip needs to be configured to use its internal PLL to ramp the R/C oscillator up to 16Mhz. With the chip now running fast enough, an external interrupt reads the serial response from the controller, and the code reacts based on that input.

It seems the biggest reason these N64 controllers hit the trash can is because the analog joystick wears out. If you’ve got mad skills you can replace it with a different type.




PlayStation 3 controller made fully remappable

posted Oct 11th 2011 12:01pm by
filed under: playstation hacks

[Hazer] managed to take a PlayStation 3 SixAxis controller and modify it so that all of the buttons can be remapped in hardware. Aside from this being really cool, he had a good reason for doing it. Regular readers should remember the feature regarding [Chuck Bittner's] internet petition calling for button mapping as a feature in all games. As the industry still hasn’t taken up the torch in this area, [Hazer] developed this mod for [Chuck] to use and has released it for any others out there who wish to give it a try.

The hardware alterations are pretty hardcore. On the left of the image, just below the rumble motor, a DIP microcontroller is nestled dead-bug style. This is a PIC 18F14K50. It’s running a bootloader, and has its own USB port on the opposite side of the controller. By cutting traces and soldering to vias, this chip intercepts button presses and shoots them off to the controller’s processor based on alternative mapping stored in EEPROM. There’s a helper app that lets you plug the controller into a computer to specify what each button does, including features like toggle for the buttons. Check out [Chuck's] thoughts on the hardware in the video after the break.

Read the rest of this entry »

SNES gamepad coversion to USB

posted Sep 25th 2011 12:01pm by
filed under: peripherals hacks, nintendo hacks, android hacks

[Kekszumquadrat] wanted to use a classic controller to play emulator games on his Android tablet so he set out to convert an SNES gamepad to connect via USB. He found an old USB keyboard at a yard sale for about 3 Euros. He knew that the emulator he prefers has the option of remapping all the inputs to keyboard keys which means a USB keyboard has all of the electronics he would need to pull this off.

Once he had separated the keyboard circuitry from the case [Kekszumquadrat] plugged it into his Linux box and used Xev to establish how the keyboard matrix is set up. Xev is a common package that opens up an active window on the X desktop. When run from command line, any events that happen to the window will be echoed along with verbose data about that event. When it comes to keypresses, you’ll get the keycode you need. He simply shorted columns and rows until he found the desired mapping, then it was on to soldering.

The SNES controllers are very simple devices. As we’ve seen with previous projects, they use a serial-to-parallel shift register to gather button data and send it to the console. [Kekszumquadrat] simply soldered between button traces and keyboard matrix contacts. Once he finished, the keyboard parts were tucked inside of the controller case and he’s left with a USB controller that appears to be unaltered.

Using classic game controllers with a wii

posted Sep 19th 2011 9:01am by
filed under: wii hacks

[Bruno]‘s Wii RetroPad Adapter was sent into the tip line, and we’re loving the possibility of using Playstation 2, Genesis, NES and SNES controllers with our Wii.

While there are commercial solutions that connect an NES or SNES controller to a Wii, everything connects to the GameCube port and there is no adapter for Sega or Playstation controllers. For his build, [Bruno] used an ATmega168 to read data from the classic controllers and translate that to the Wiimote I2C bus. Think of it as a new classic controller with the same form factor your 8-year-old self knew and loved.

The schematic for the build is very simple and [Bruno] has all the software out in the open. Even the PCB is single sided and looks like it would be a great candidate for a homebrew PCB. There’s no indication [Bruno] is trying to monetize his creation, so he’s either doing right, or so very wrong. Check out the Dualshock 2/Mario 3 demo of this board after the break.

Read the rest of this entry »




Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

Send us your hacks






     




Hacks

Resources