Console Controllers for JAMMA Boards

Back in the day, and by that we mean the late 80s and early 90s, arcade machines started using the JAMMA standard, a means for a single arcade board to be wired in to the controllers, video output, and other ephemera found in arcade cabinets. Since then, quite a few people have amassed a collection of these vintage arcade boards. Putting them to use requires a means of providing power, video output and controller connections. The usual way of wiring in a joystick and buttons is with a wiring harness, but [Mike] and [Jasen] are connecting Xbox 360 and PS3 controllers to their machines with the help of a Raspberry Pi Hat.

[Mike] and [Jasen] created Project Kajitsu to replace the expensive ‘Supergun’ controllers arcade game collectors usually use to play Street Fighter, X-Men, and Battletoads. They’re using the USB ports on a Raspberry Pi B+ to listen to two XBox or PS3 controllers and translate button mashing into something these old games can understand.

The guys are using a custom Linux Kernel that boots in just a few seconds, providing the bare minimum of an OS to support the controllers. The board itself is extremely simple; just a few bus transceivers, caps, resistors, and headers. They have an iPhone-quality vertical video proof of concept video (below), and although they’re still figuring out the best way to simplify the Bluetooth pairing process, they’re well on their way to supporting wireless controllers.

This board only provides controller input. If you have one of these old boards, you will need video output. That’s another project entirely, but very simple if you have an SCART monitor.

Continue reading “Console Controllers for JAMMA Boards”

PSP Lithium Hack Could Be Called the Franken-Cell

You assume that you’ll be able to get parts forever… after all: The Internet. But what if you can’t justify paying the price for them? [Cristi C.] was in this situation, not wanting to fork over $30+ for a replacement PSP battery. The handheld gaming rig itself was just discontinued this year but supposedly the batteries have been out of production for some time. What you see above is the controller board from an original battery, with the cell from a camera battery.

The key is protection. The chemistry in Lithium cells of several types brings a working voltage of around 3.7V. Swapping the cells — even if they are different capacities — should work as protection circuits generally measure current, voltage, and sometimes temperature as they charge in order to know when the cell is full. With this in mind [Christi] cracked open a used Canon NB-6L type battery and grabbed the prismatic cell as a replacement for the pouch cell in the Sony S110 case (PDF). The Canon cell is enclosed in a metal case and is just a bit smaller than the pouch was. This means with careful work it fit back inside the original plastic enclosure.

On a somewhat related note, be careful when sourcing brand-x batteries. Some manufacturers implement checks for OEM equipment but there are ways around that.

The Homebrew XBox 360 And PS3 portable

Cross

For the past few years now, [Downing] has been working on the dream of all console modders – a console made in the last ten years made portable. He’s spend a lot of time on the effort, and now thanks to a commission, he’s finally done it. Not just one console, either: this thing makes both the Xbox 360 and PS3 a handheld, battery-powered device thanks to some awesome wireless tech and a great deal of skill.

A few months ago, [Downing] and friends [Hailrazer] and [RDC] started a Kickstarter for the Cross Plane, a portable device that uses a wireless HDMI transmitter to offload the heavy and hot parts of running a game to a console, while the display and controls are kept portable. That Kickstarter didn’t see the success [Downing] was looking for, but that didn’t stop one enthusiastic supporter from commissioning a piece.

The display in the Cross Plane is a 7″ HD display, and the latency on the WHDMI transmitter is just about 1ms – basically unnoticeable. The controls on the front of the portable are wired to ‘controller packs’ that plug into the back, one for Xbox and one for PS3. The build quality is immaculate, and if you’ve ever wanted to know how to expertly finish a 3D printed part so it looks like it came off an assembly line, you should probably check out the build log.

Video walkthrough below.

Continue reading “The Homebrew XBox 360 And PS3 portable”

Remote Control Anything With A PS3 Controller

back

When looking for a remote control for your next project, you might want to look in your living room. Wii controllers are a hacker’s favorite, but wagging an electronic wand around isn’t the greatest for remote control planes, cars, tanks, and multicopters. What you need for this is dual analog controls, something every playstation since the 90s has included.

[Marcel] created a replacement electronics board for the Sony DualShock 3 controller for just this purpose. With this board, an XBee, and an old controller, it’s easy to add dual analog control and a whole lot of buttons to any project using an XBee receiver.

The replacement board is based on the ATMega328p uC, includes a Lipo charge circuit and power supply, and inputs for the analog sticks and all the button boards inside the DualShock controller.

Yes, we have seen an earlier version of [Marcel]‘s project before, but this time he’s added a few new features – the rumble now works and thanks to multiple people unable or unwilling to spin a few boards, [Marcel] has put up an Indiegogo campaign.

Video below.
Continue reading “Remote Control Anything With A PS3 Controller”

USB Keyboard And Mouse For The PS4

If you’d like to play BattleCallSpaceMarine on the Playstation 4 with a keyboard and mouse – and have an unfair advantage over everyone else playing on a console – you’d normally be out of luck. Sony implemented a fair bit of software to make sure only officially licensed controllers are able to talk to the console. It took a while, but [Frank Zhao] has figured out why keyboard and mouse doesn’t work on PS4, and created a device to enable these superior input devices.

Sony engineers decided – or were told – that the PS4 shouldn’t be able to connect to any old USB device. To that end, they made the console issue challenges to a DualShock controller to make sure the official controller is always connected over Bluetooth.

[Frank]‘s device solves this problem by taking the USB output from a keyboard and mouse, doing the CRC calculations, and sending them out over Bluetooth. Because the PS4 constantly issues challenges and responses of the authentication procedure, a real DualShock controller needs to be connected to the device at all times. Still, if you want a keyboard and mouse on the PS4, this is the way to do it.

All the sources and layouts are up on [Frank]‘s github where you’re free to create your own. This isn’t a finished product quite yet; [Frank] still needs to do a redesign of the circuit. Judging from the response of his earlier attempt at keyboards and mice on the PS4, though, this may be a successful product in the works.

UsbXlater for PS4 Keyboard And Mouse Action

USB

[Frank Zhao]—an awesome guy, an inadvertent Hackaday contributor, and an Adafrut fellow—has come up with a device to use a keyboard and mouse with Playstation 4 games. He calls it the UsbXlater, and even if [Frank] can’t get it working with his PS4, it’s still going to be an awesome tool.

On the board are two USB ports and an STM32F2 microcontroller. The micro provides a USB host interface and a USB device interface, enabling it to translate mouse movements and keystrokes into something a PS4 can understand.  While this project was originally designed to use a keyboard and mouse on [Frank]‘s shiny new PS4, it’s not quite working just yet. He’s looking for a few gamer/dev folks to help him suss out the communication between a keyboard/mouse, the UsbXlater, and a PS4.

Of course, even if this device is never used for what it’s designed for, it’s still a very, very interesting tool. With two USB ports, the UsbXlater could act as a signal generator for USB devices and hosts, analyze USB traffic, or provide other applications that haven’t even been thought of yet.

[Frank] is hitting his head against the wall trying to figure out the PS4 protocol, so if you have some USB skills, feel free to hit him up for a blank PCB, though preference falls to people who will game with it and to those with a USB traffic analyzer. If you lack the skills for USB development, [Frank] is still looking for a better name for his device.

Modifying a PS4 Dualshock4 Controller to Use a Mouse and Keyboard

[Mori] wanted to use his keyboard and mouse to play his favorite games on the PS4, so he decided to modify his Dualshock4 controller to feed it custom input signals.

In the heart of this build is an STM32F407 discovery board, which is connected to a USB hub. To perform this hack, [Mori] tore open the Dualshock4 controller to find the PCB traces coming from the sticks and buttons. He then used the STM32F407 and 2 Digital to Analog Converters (DACs) to create similar signals. Unfortunately for us, [Mori] only released the schematics but not the firmware. Our guess is that he had to configure the microcontroller as a USB host, enumerate the mouse/keyboard, parse the HID reports and feed the controller the corresponding inputs.

We embedded a video of the hack in action after the break. If you own a PS4, you may also want to see how to disable the Dualshock LEDs.

Continue reading “Modifying a PS4 Dualshock4 Controller to Use a Mouse and Keyboard”