Alpakka: A Creative Commons Game Controller

Input Labs’ mission is to produce open-source Creative Commons hardware and software for creating gaming controllers that can be adapted to anyone. Alpakka is their current take on a generic controller, looking similar to a modern Xbox or PlayStation controller but with quite a few differences. The 3D printed casing has a low-poly count, angular feel to it, but if you don’t like that you can tweak that in blender to just how you want it. Alpakka emulates a standard USB-attached keyboard, mouse, and Xinput gamepad in parallel so should just work out of the box for both Linux and Windows PC platforms. The firmware includes some built-in game profiles, which can be selected on the controller.

No special parts here, just 3D prints, a PCB and some nuts and bolts

The dual D-pads, augmented with an analog stick, is not an unusual arrangement, but what is a bit special is the inventive dual-gyro sensor arrangement –which when used in conjunction with a touch-sensitive pad — emulates a mouse input. Rest your thumb on the right-hand directional pad and the mouse moves, or else it stays fixed, kind of like lifting a mouse off the pad to re-center it.

The wired-only controller is based around a Raspberry Pi Pico, which has plenty of resources for this type of application giving a fast 250 Hz update rate. But to handle no fewer than nineteen button inputs, as well as a scroll wheel, directional switch, and that analog stick, the Pico doesn’t have enough I/O, needing a pair of NXP PCAL6416A I2C IO expanders to deal with it.

The PCB design is done with KiCAD, using a simple 3D printed stand to hold the PCB flat and the through-hole components in place while soldering. Other than a few QFN packages which might be a problem for some people, there is nothing tricky about hand-soldering this design.

We’ve been seeing custom game controllers as long as we’ve been hacking, here’s an interesting take on the mouse-integration theme. If you’re comfortable rolling the hardware side of things, but the firmware is a sticking point, then perhaps look no further than this neat RP2040 firmware project.

Continue reading “Alpakka: A Creative Commons Game Controller”

A huge cardboard computer with an equally huge mouse

Massive Mouse Game Mimics Classic Software Crashes

Computer mice come in all kinds of shapes and sizes, but are typically designed to fit in the palm of your hand. While some users with large hands may find standard mice uncomfortably small, we don’t think anyone will ever make that complaint about the humongous peripheral [Felix Fisgus] made for a game called Office Job at the ENIAROF art festival in Marseille. With a length of about two meters we suspect it might be the largest functional computer mouse in existence.

An optical mouse sensor mounted on a cardboard frameInside the massive mouse is a wooden pallet with four caster wheels that enable smooth movement in all directions. This motion is detected by an ordinary optical mouse sensor: perhaps surprisingly, these can be used at this enormous scale simply by placing a different lens in front.

As for the mouse button, [Felix] and his colleagues found of that the bottom of an empty five-liter can has a nice “pop” to it and installed one in the front section of the device, hooked up to an ESP32 board that communicates with a computer through Bluetooth.

The mouse connects to an equally huge desktop computer, powered by a Raspberry Pi, on which users play a game that involves clicking on error messages from a wide variety of old and new operating systems. Moving the mouse and pressing its button to hit those dialog boxes is a two-person job, and turns the annoyance of software errors into a competitive game.

Optical mouse sensors are versatile devices: apart from their obvious purpose they can also serve as motion sensors for autonomous vehicles, or even as low-resolution cameras.

Continue reading “Massive Mouse Game Mimics Classic Software Crashes”

Resurrecting PONG, One Jumper Wire At A Time

Between 1976 and 1978, over one million Coleco Telstar video game consoles were sold. The Killer App that made them so desirable? PONG. Yep, those two paddles bouncing a ball around a blocky tennis court were all the rage and helped usher in a new era. And as [Dave] of Dave’s Garage shows us in the video below the break, the bringing the old console back to life proved simpler than expected!

Thankfully, the console is built around what [Dave] quite aptly calls “PONG on a chip”, the General Instrument AY-3-8500 which was designed to make mass production of consoles possible. The chip actually contains several games, although PONG was the only one in use on the Coleco.

After removing the CPU from the non-functional console, [Dave] breathed life into it by providing a 2 MHz clock signal that was generated by an Arduino, of all things. A typical 2N2222 amplifies the audio, and a quick power up showed that the chip was working and generating audio.

Video is smartly taken care of just as it was in the original design, by combining various signals with a 4072 OR gate. With various video elements and synchronization patterns combined into a composite video signal, [Dave] was able to see the game on screen, but then realized that he’d need to design some “paddles”. We’ll leave that up to you to watch in the video, but make sure to check the comments section for more information on the design.

Is a breadboarded PONG console not retro enough for you? Then check out this old school mechanical version that was found languishing in a thrift store.

Continue reading “Resurrecting PONG, One Jumper Wire At A Time”

Open World 3D Game Runs On The RP2040 Microcontroller

The Raspberry Pi RP2040 is versatile and cheap, but it’s by no means known as the most powerful microcontroller on the world. Regardless, it is capable of great things, as demonstrated by [Bernhard Strobl], who built a 3D open world game engine that runs on that very platform.

The graphics are simple, but with a compelling low-poly style.

The game engine itself is built to run on the Pimoroni PicoSystem, which is essentially a handheld gaming platform built around the RP2040 chip. The engine takes advantage of the multi-core nature of the RP2040, using the second core as a dedicated rasterizer to keep frames pumping out.

The basic game [Bernhard] built in the engine features 50 NPC characters and 50 further zombies, all running at the same time. Specs are impressive, with the engine’s included game simulating a “world” of 120 x 120 meters in size. As a maximum limit, the engine can handle a 2.56 x 2.56 km world, thanks to the use of 8-bit integers for directional data. However, limited storage space would make it difficult to achieve such a large world in practice.

We don’t get to see much of the gameplay in the YouTube video, but the quality of the graphics is impressive for such a cheap microcontroller. It seems within the bounds of possibility that an actual open-world game could be practical on the PicoSystem if only enough storage were available. Video after the break.

Continue reading “Open World 3D Game Runs On The RP2040 Microcontroller”

photograph of custom PCB assembly of NE555-based electronic dice

NE555-Based Electronic Dice

It has become a bit of a running joke in the Hackaday community to suggest that a project could or should have been done with a 555 timer. [Tim] has rather taken this to heart with his latest Electronic Dice project, which uses three of the venerable devices.

If three seems like a lot of 555s to make an electronic die, then it may be worth considering that the last time we shared his project he was using 22 of them! Since then, [Tim] has been busy optimising his design, whilst keeping within the constraints of an old-school through-hole soldering kit.

Maybe the most surprising thing about this project is the purpose to which the NE555 devices are pressed. Rather than using them for their famous oscillation properties, they are in actual fact just being used as Schmitt Triggers to clean up the three-phase ring oscillator that is constructed from discrete transistors and passives.

scope trace of the electronic dice ring oscillator
Simulation trace of the three-phase ring oscillator before Scmitt Trigger stages

The ring oscillator cleverly produces three phase-shifted square waves such that a binary combination of the three phases offers six unique states. Six being the perfect number for a dice throw, all that then remains is to figure out which LEDs need to be switched on in which state and wire them up accordingly.

To “roll” the dice, a push-button powers up the oscillator, and stops it again when it is released, displaying the random end-state on the LEDs.

It can be fun to see what can be done using old technology, and educational to try to optimise a design down to the fewest parts possible.

[Tim]’s earlier project is here if you want to see how the design has evolved. The documentation on both of these iterations is excellent and well worth a read.

Continue reading “NE555-Based Electronic Dice”

Ultimate Game And Watch Has Support For NES

We’ve talked about feature creep plenty of times around here, and it’s generally regarded as something to be avoided when designing a prototype. It might sound good to have a lot of features in a build, but this often results in more complexity and more difficulty when actually bringing a project to fruition. [Brendan] has had the opposite experience with this custom handheld originally designed for Game and Watch games, though, and he eventually added NES and Game Boy functionality as well.

As this build was originally intended just for Game and Watch games, the screen is about the size of these old games, and while it can easily mimic the monochrome LCD-style video that would have been present on these 80s handhelds, it also has support for color which means that it’s the perfect candidate for emulating other consoles as well. It’s based around a Raspberry Pi Zero 2W and the enclosure is custom printed and painted. Some workarounds for audio had to be figured out, though, since native analog output isn’t supported, but it still has almost every feature for all of these systems.

While we’ve seen plenty of custom portable builds from everything from retro consoles to more modern ones, the Game and Watch catalog is often overlooked. There are a few out there, but in this case we appreciate the feature creep that allowed this build to support Game Boy and NES games as well.

A toy gamepad controlling Super Mario World emulated on a MacBook

Turning A Toy Gamepad Into A Real One, With Bluetooth

It’s important to instill healthy habits in your children when they’re still young. Preferences for sports, snacks and dinosaurs are typically formed in early childhood, as is loyalty to a specific gaming platform. [RetrogradeScene] apparently wished to steer his young daughter towards the Nintendo camp, but wasn’t looking forward to having her grubby hands touch his prized controllers. So he built her her own kid-friendly controller out of a Fisher-Price toy.

The toy in question is an imitation game controller that just makes funny sounds when you press the buttons. Converting it into a real, working game controller was a matter of soldering some wires onto the existing PCB and hooking them up to a microcontroller board, in this case a DFRobot FireBeetle. After loading the ESP32-BLE-Gamepad library and assigning the correct pin-button combinations in software [RetrogradeScene] ended up with a big, brightly-coloured gamepad that actually functioned as one.

Unfortunately, the FireBeetle took up space where the original AAA batteries were sitting, so the hacked gamepad needed a new power source. Classic batteries are heavy and inconvenient anyway, so [RetrogradeScene] installed a modern lithium battery plus a USB-C port for charging. Of course, no Bluetooth gadget is complete without an accompanying smartphone app either: [RetrogradeScene] wrote one for his iPhone that enables him to quickly change the button layout between the Nintendo and Xbox styles.

This might be a rare example of someone making a gamepad from, well, a gamepad. We’ve seen a few more unusual things being converted into game controllers, ranging from a handful of LEGO bricks to entire cars.

Continue reading “Turning A Toy Gamepad Into A Real One, With Bluetooth”