Two Joysticks Talk To FPGA Arcade Game Over A VGA Cable

We really love when hacks of previous hacks show up in the tip line. It shows how the hardware hacking community can be a feedback loop, where one hack begets the next, and so on until great things are everywhere. This hacked joystick port for an FPGA Pac Man game is a perfect example of that creative churn.

The story starts with Pano Man, a version of the venerable arcade game ported to a Pano Logic FPGA thin client by [Skip]. We covered that story when it first came out, and it caught the attention of [Tom Verbeure], particularly the bit in the GitHub readme file which suggested there might be a better way to handle the joystick connections. So [Tom] took up the challenge of using the Extended Display Identification Data (EDID) circuit in the VGA connector to support an Atari 2600 joystick. The EDID system is an I²C bus, so the job needed the right port expander. [Tom] chose the MCP23017, a 16-bit device that would have enough GPIO for dual joysticks and a few extra buttons. Having never designed a PCB before, [Tom] fell down that rabbit hole for a bit, but quickly came up with a working design, and then a better one, and then the final version. The video below shows it in action with Pano Man.

We think the creative loop between [Skip] and [Tom] was great here, and we can’t wait to see who escalates next. And it’s pretty amazing how much IO can be stuffed over two wires if you have the right tools. Check out this VGA sniffing effort to learn more about EDID and I²C.

Continue reading “Two Joysticks Talk To FPGA Arcade Game Over A VGA Cable”

Interfacing The Sidewinder Joystick To AVRs

The Sidewinder line was a series of gaming peripherals produced by Microsoft, starting in the 1990s. After some initial stumbles, several cutting edge joysticks were released, at a time when the home computer market was in a state of flux, transitioning from legacy interfaces like serial and parallel to the more modern USB. In this interim period, Sidewinder joysticks used a special method to communicate digitally over the game port interface, which more typically used a kludge to read joysticks in an analog manner. [MaZderMind] managed to reverse engineer this protocol, and implemented the interface on an AVR microcontroller.

The technology is loosely described in US Patent 5628686, which discusses the method used to communicate bidirectionally with the Sidewinder joystick. [MaZderMind] found that the patent documents didn’t correspond exactly with how the Sidewinder Precision Pro communicated, but it was close enough that the operation could be reverse engineered.

The plan is to use the vintage joystick to control a quadcopter, so the interface was implemented on an AVR, and a graphical LCD installed to act as a display for testing the operation. [MaZderMind] also captured data on an oscilloscope to indicate in detail the quirks of the joystick’s operation.

Yes, it’s entirely possible to use a more modern microcontroller with a USB joystick. However, there are few that measure up to the standards of the old Sidewinder hardware, and sometimes the best tool for the job is the one you’ve got with you. A traditional single joystick is a different take on quadcopter control, but there’s other options – gesture control is possible, too.

 

Custom Joystick For An Old Commodore Finds An Unlikely Home

Retro hardware is getting harder and harder to come by, with accessories such as joysticks and mice dropping out of the market the fastest. So if your old machine needs a new joystick, you may find yourself whipping it up yourself. While you’re at it, you might as well have some fun as [Tom Tilley] did when he built a C-64 joystick inside a replica disk drive case for his rare SX-64 luggable.

Anyone who remembers the amount of desk space the classic Commodore 1541 disk drive occupied might wonder why someone would want such an enormous base for a joystick. But rest assured that no actual 1541s were harmed in the making of this joystick; rather, [Tom] created a smaller replica of the drive case from MDF. The face of the case is about 80% original size, and the depth is cut down to about half the original, so the joystick actually ends up being a manageable size while offering a nice, broad wrist support. The drive door is 3D-printed and painted, and adorned with the original green and red LEDs. Decorations like the front badge and even replicas of the original rear panel labels, connectors, and switches were printed from files off a website devoted to recreating Commodore hardware from paper. Because Commodore love knows no bounds.

It’s silly, but it works, and we love the attention to detail. Hat’s off to [Tom] for not settling for yet another joystick build, and for keeping the Commodore flame burning. They may be tough machines, but they won’t be around forever.

Continue reading “Custom Joystick For An Old Commodore Finds An Unlikely Home”

Gesture Control Without Fancy Sensors, Just Pots And Weights

[Dennis] aims to make robotic control a more intuitive affair by ditching joysticks and buttons, and using wireless gesture controls in their place. What’s curious is that there isn’t an accelerometer or gyro anywhere to be seen in his Palm Power! project.

The gesture sensing consists not of a fancy IMU, but of two potentiometers (one for each axis) with offset weights attached to the shafts. When the hand tilts, the weights turn the shafts of the pots, and the resulting readings are turned into motion commands and sent over Bluetooth. The design certainly has a what-you-see-is-what-you-get aspect to it, and as a whole it works much like an inverted, weighted joystick hanging from one’s palm.

It’s an economical way to play with the idea of motion sensing, and when it comes to prototyping, being able to test a concept while keeping costs to a minimum is a good skill to have.

The N64 Controller Gets Brass Gears Through 3D Printing

The controller for the Nintendo 64 is a masterpiece of design, and despite being more than two decades old, people are still using this controller competitively. Smash Bros, you know. Those competitive gaming enthusiasts are hard on their controllers, and after decades and tournaments, the analog stick will wear out. Previously, this required a rebuild or simply replacing the entire controller. Now there’s another option: a completely re-engineered analog stick, all made possible thanks to 3D printing.

[Nam Le] is a student at Cal Poly, and as would be expected for a very specific subset engineering students, had to track down new N64 controller every few months. The stick on these controllers wear out, so [Nam] decided to make the most durable joystick that has ever fit inside an N64 controller.

The design of the N64 stick is pretty simple, and exactly what you would expect if you’ve ever opened up an analog joystick. There’s the stick itself, which is connected to gears on the X and Y axes, which are in turn connected to encoders. This entire assembly sits in a bowl. After twenty years, the mating surface between the stick and the gears wear down, and the bowl becomes deformed. The solution here is obviously to engineer something sturdier, and despite what most of the 3D printing community will tell you, ABS and PLA just won’t cut it.

[Nam] re-designed the gears and bowl out of brass using lost-wax casting using 3D printed parts. These brass parts were mated with 3D printed gears and an enclosure for the bowl. The stick is nylon, an important design choice because this is the first part to wear down anyway, and it’s also the easiest part to replicate. Yes, this is designing an analog stick for the strength of materials and Real Engineering™ for those of you keeping track at home.

Right now, the joystick works as intended, and lasts much longer than the stock version. The goal now is to get this stick tournament-legal for some serious Smash time, in the hopes of not replacing controllers every few months.

Thumbs Up For This Custom Atari 5200 Controller

It may be nearly 40 years old, but the Atari 5200 still inspires legions of fans to relive the 8-bit glory days of their youth. There was much to love about the game console, but the joystick-and-keypad controllers were not among its many charms. The joystick didn’t auto-center, the buttons were mushy, and the ergonomics were nonexistent.

Retro-aficionados need not suffer in silence, though, thanks to this replacement controller for the Atari 5200. [Scott Baker] didn’t want to settle for one of the commercial replacements or, horrors, an adapter for the old PC-style joystick, so he rolled his own. Working from the original Atari schematics, [Scott] devised a plan for using a readily available thumbstick controller as the basis for his build. The essential problem was how to adapt the 10k pots on the new joystick to work in an environment expecting 500k pots, which he solved using an analog to digital and back to analog approach. The ADCs on an ATtiny85 convert each joystick pot’s voltage to a digital value between 0 and 255, which is sent to a 100K digital potentiometer. A little fiddling with RC constants brings it back in line with what the console expects. The thumbstick and buttons live on a custom PCB – kudos to [Scott] for designing an ambidextrous board. The video below shows the design and the finished product in action.

[Scott] is on a bit of a 5200 kick these days; he just finished up a Raspberry Pi multi-cartridge for the venerable console. His controller should make retro-gameplay on the console a little easier on the hands.

Continue reading “Thumbs Up For This Custom Atari 5200 Controller”

Sushi-Snarfing Barbie Uses Solenoid To Swallow

The view from America has long seen French women as synonymous with thin and/or beautiful. France is well-known for culinary skill and delights, and yet many of its female inhabitants seem to view eating heartily as passé. At a recent workshop devoted to creating DIY amusements, [Niklas Roy] and [Kati Hyyppä] built an electro-mechanical sushi-eating game starring Barbie, American icon of the feminine ideal. The goal of the game is to feed her well and inspire a happy relationship with food.

Built in just three days, J’ai faim! (translation: I’m hungry!) lets the player satiate Barbie one randomly lit piece of sushi at a time. Each piece has a companion LED mounted beneath the surface that’s connected in series to the one on the game board. Qualifying sushi are determined by a photocell strapped to the underside of Barbie’s tongue, which detects light from the hidden LED. Players must race against the clock to eat each piece, taking Barbie up the satisfaction meter from ‘starving’ to ‘well-fed’. Gobble an unlit piece, and the score goes down.

The game is controlled with a lovely pink lollipop of a joystick, which was the main inspiration for the game. Players move her head with left and right, and pull down to engage the solenoid that pushes her comically long tongue out of her button-nosed face. Barbie’s brain is an Arduino Uno, which also controls the stepper motor that moves her head.

[Niklas] and [Kati] wound up using cardboard end stops inside the box instead of trying to count the rapidly changing steps as she swivels around. The first motor they used was too weak to move her head. The second one worked, but the game’s popularity combined with the end stops did a number on the gears after a day or so. Click past the break to sink your teeth into the demo video.

Barbie can do more than teach young girls healthy eating habits. She can also teach them about cryptography.

Continue reading “Sushi-Snarfing Barbie Uses Solenoid To Swallow”