Custom Piano Tickles The Ivories

The core ethos of “hacking” is usually interpreted as modifying something for a use that it wasn’t originally built for. Plenty of builds are modifications or improvements on existing technology, but sometimes that just isn’t enough. Sometimes we have to go all the way down and build something completely from scratch, and [Balthasar]’s recent piano-like musical instrument fits squarely into this category.

This electronic keyboard is completely designed and built from scratch, including the structure of the instrument and the keys themselves. [Balthasar] made each one by hand out of wood and then built an action mechanism for them to register presses. While they don’t detect velocity or pressure, the instrument is capable of defining the waveform and envelope for any note, is able to play multiple notes per key, and is able to change individual octaves. This is thanks to a custom 6×12 matrix connected to a STM32 microcontroller. Part of the reason [Balthasar] chose this microcontroller is that it can do some of the calculations needed to produce music in a single clock cycle, which is an impressive and under-reported feature for the platform.

With everything built and wired together, the keyboard is shockingly versatile. With the custom matrix it is easy to switch individual octaves on the piano to any range programmable, making the 61-key piano capable of sounding like a full 88-key piano. Any sound can be programmed in as well, further increasing its versatility, which is all the more impressive for being built from the ground up. While this build focuses more on the electronics of a keyboard, we have seen other builds which replicate the physical action of a traditional acoustic piano as well.

Continue reading “Custom Piano Tickles The Ivories”

Game Boy Becomes Super Game Boy With A Pair Of Pis

For the Nintendo aficionados of the 90s, the Super Game Boy was a must-have cartridge for the Super Nintendo which allowed gamers to play Game Boy games on your TV. Not only did it allow four-color dot-matrix gaming on the big screen, but it let you play those favorite Game Boy titles without spending a fortune on AA batteries. While later handhelds like the PSP or even Nintendo Switch are able to output video directly to TVs without issue, the original Game Boy needed processing help from an SNES or, as [Andy West] shows us, it can also get that help from a modern microcontroller.

Testing the design before installing it in the NES case.

The extra processing power in this case comes from a Raspberry Pi Pico which is small enough to easily fit inside of a donor NES case and also powerful enough to handle the VGA directly. For video data input, the Pico is connected to the video pins on the Game Boy’s main board through a level shifter. The main board is also connected to a second Pico which handles the controller input from an NES controller. Some fancy conversion needed to be done at this point because although the controller layouts are very similar, they are handles by the respective consoles completely differently.

With all of the technical work largely out of the way, [Andy] was able to put the finishing touches on the build. These included making sure the power buttons, status LEDs, and reset button all functioned, and restoring the NES case complete with some custom “Game Guy” graphics to match the original design of the Game Boy. We commend the use of original Game Boy hardware in this build as well, which even made it possible for [Andy] and his wife to play a head-to-head game of Dr. Mario through a link cable with another Game Boy. If you’re looking for a simpler way of playing on original hardware without burning a hole in your wallet buying AA batteries, take a look at this Game Boy restoration which uses a Lithium battery instead.

Continue reading “Game Boy Becomes Super Game Boy With A Pair Of Pis”

Haptic Feedback “Rifle” Lets You Take Aim In VR

There was a time when virtual reality seemed like it would remain in the realm of science fiction at least for the foreseeable future. Then we were blessed with products like the Power Glove and Virtual Boy which seemed to make it more of a reality, if not a clunky and limited one. Now, though, virtual reality is taking more of a center stage as the technology for it improves and more and more games are released. We can see no greater proof of this than the fact that some gamers are building their own custom controllers to interact with the virtual world in more meaningful ways, like this game controller specifically built for first-person shooter games.

The controller is based on an airsoft gun but completely lacks the ability to fire a projectile, instead using the gun as a base for building the controller. In fact, the gun’s operation is effectively reversed in order to immerse the player into the game by using haptic feedback provided by pressurized air. The air is pumped in to what would be the front of the barrel and is discharged through the receiver when a trigger pull is detected in order to generate a recoil effect. The controller includes plenty of other features as well, including the ability to reload ammunition, change the firing mode, and track motion thanks to its pair of integrated Oculus controllers.

All of the parts for this controller are either 3D printed or readily available off-the-shelf, making this an ideal platform for customization and improvement. There’s also a demo game available from Unity which allows for a pretty easy setup for testing. While the controller looks like an excellent way to enjoy an FPS virtual reality experience, if you’re looking for a more general-purpose controller we are also starting to see a lot of development on that end as well.

Continue reading “Haptic Feedback “Rifle” Lets You Take Aim In VR”

Assistive Tech And Video Games

Assistive technologies have a pretty big presence here on Hackaday, and this hack is nothing short of interesting. [kerchoo_22] is working on a hands-free video game controller as a final project for her engineering class and we think it’s worth sharing.

The basic premise of the circuit is pretty simple. She DIY’d a few contact switches using conductive plates made of cardboard, duct tape, and aluminum foil. The output of the switch is read by analog input pins on an Arduino Leonardo. When the switches are off, the analog input pins are pulled HIGH using 1 MegaOhm resistors. But when the user hits their head on one of the four conductive pads, the switch is engaged, and the analog input pins are shorted to ground.

The Arduino Leonardo, having a native USB port, is able to directly emulate a keyboard. Each conductive pad is mapped to a different key press corresponding to different functions within the game. Left, right, shoot, etc. And there you have it, gameplay without using hands or a controller!

Now, it seems as though [kerchoo_22] put an appropriate amount of cushion on the head pads, so there probably isn’t much danger of a concussion. Either way, you can never be too careful.

N-Gage Controller Uses All The Buttons

If there’s anything you can guarantee about a video game system, it’s that in 20 years after one suffers a commercial failure there will be a tiny yet rabid group of enthusiasts obsessed with that system. It’s true for the Virtual Boy, the Atari Jaguar, and of course, the Nokia N-Gage. For those not familiar, this was a quirky competitor of the Game Boy Advance that was also a cell phone. And for that reason it had more buttons than a four-player arcade cabinet, which has led to things like this custom controller.

Most N-Gage gaming these days takes place on emulators, this build is specifically built for the emulator experience. The original system had so many buttons that it’s difficult to get even a standard 102-key keyboard mapped comfortably to it, so something custom is almost necessary. [Lvaneede], the creator of this project, took some parts from an existing arcade cabinet he had and 3D printed the case in order to craft this custom controller. The buttons he chose are a little stiff for his liking, but it’s much better than using a keyboard.

In the video below, [Lvaneede] demonstrates it with a few of the N-Gage’s games. It seems to hold up pretty well. With backing from Sony and Sega, it’s a shame that these gaming platforms weren’t a bigger hit than they were, but there are plenty of people around with original hardware who are still patching and repairing them so they can still play some of these unique games.

Thanks to [Michael] for the tip!

Continue reading “N-Gage Controller Uses All The Buttons”

A Guide To Designing A Custom RC Controller

These days, there are tons of RC controllers out there of all shapes and sizes. However, if you want to build something with just the right amount of buttons and sticks for your application, you might want to design something yourself. That’s precisely what [Sebastian] did. 

The project actually began some time ago, with [Sebastian] sharing his process for building a custom ergonomic enclosure through the use of clay and photogrammetry, which we’ve covered before.

Inside that shapely housing, the build relies on a STM32 microcontroller, hooked up to a series of potentiometers, buttons, and a thumbstick (more potentiometers). A NRF24L01 module is used to handle the radio transmission side of things.

Overall, [Sebastian] has produced a great guide to designing a custom RC controller from the ground up, rather than simply instructing one how to replicate his own build. Armed with these skills, any maker should be able to whip up their own entirely bespoke controllers. Video after the break.

Continue reading “A Guide To Designing A Custom RC Controller”

Tracking Maximum Power Point For Solar Efficiency

In days of yore when solar panels weren’t dirt cheap, many people (and even large energy companies) used solar trackers to ensure their panels were always physically pointed at the sun to make sure they harvested every watt of energy possible. Since the price of panels has plummeted, though, it’s not economical to install complex machines to track the sun anymore. But all solar farms still track something else, called the Maximum Power Point (MPP), which ensures that even stationary panels are optimized for power production.

While small MPP trackers (MPPT) are available in solar charge controllers in the $200 range that are quite capable for small off-grid setups, [ASCAS] aka [TechBuilder] decided to roll out an open source version with a much lower price tag since most of the costs of these units are in R&D rather than in the actual components themselves. To that end, the methods that he uses for his MPPT are essentially the same as any commercial unit, known as synchronous buck conversion. This uses a specially configured switch-mode power supply (SMPS) in order to match the power output of the panels to the best power point for any given set of conditions extremely rapidly. It even works on many different battery configurations and chemistries, all configurable in software.

This build is incredibly extensive and goes deep into electrical theory and design choices. One design choice of note is the use of an ESP32 over an Arduino due to the higher resolution available when doing analog to digital conversion. There’s even a lengthy lecture on inductor core designs, and of course everything on this project is open source. We have also seen the ESP32 put to work with MPPT before, although in a slightly less refined but still intriguing way.

Thanks to [Sofia] for the tip!

Continue reading “Tracking Maximum Power Point For Solar Efficiency”