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”

Thrashed, Damaged NES Controller Gets Brought Back To Life

Electronics might as well be a magical black box to some people. Where some would see a broken NES controller destined for the bin, [Taylor] saw the opportunity for a repair. Thus, the damaged hardware was brought back into useful service.

The controller was bought as part of a job lot, and was heavily damaged when it entered [Taylor]’s ownership. Nintendo built its hardware tough in those days, but the controller had nevertheless been smashed apart, with the case cracked and split and the PCB itself snapped in two.

For someone with basic electronics skills, though, repair was simple. The broken PCB was glued back together with epoxy. The broken traces had solder mask scraped back so that jumper wires could bridge the damaged area and return the circuit to functionality.

From there, it was a simple matter of 3D printing a new case, and the controller was back in service. The case in question was designed by [Alexander Myrman], and has a neat little inset Mario design that’s made visible by paint-filling the inlay.

While it was an easy fix, to the uninitiated in the electronic arts, it might as well be magic. It pays to remember that there are always new people joining the electronics hobby, and projects like these are a great way to learn. It’s also important to note that bringing back old retro hardware is often of great value, as in many cases, they’re not making any more! We see some great restorations around these parts, too. Video after the break.

Continue reading “Thrashed, Damaged NES Controller Gets Brought Back To Life”

Understanding Custom Signal Protocols With Old Nintendos

For retro gaming, there’s really no substitute for original hardware. As it ages, though, a lot of us need to find something passable since antique hardware won’t last forever. If a console isn’t working properly an emulator can get us some of the way there, but using an original controller is still preferred even when using emulators. To that end, [All Parts Combined] shows us how to build custom interfaces between original Nintendo controllers and a PC.

The build starts by mapping out the controller behavior. Buttons on a SNES controller don’t correspond directly to pins, rather a clock latches all of the button presses at a particular moment all at once during each timing event and sends that information to the console. To implement this protocol an Adafruit Trinket is used, and a thorough explanation of the code is given in the video linked below. From there it was a simple matter of building the device itself, for which [All Parts Combined] scavenged controller ports from broken Super Nintendos and housed everything into a tidy box where it can be attached via USB to his PC.

While it might seem like a lot of work to get a custom Nintendo controller interface running just because he had lost his Mega Man cartridge, this build goes a long way to understanding a custom controller protocol. Plus, there’s a lot more utility here than just playing Mega Man; a method like this could easily be used to interface other controllers as well. We’ve even seen the reverse process where USB devices were made to work on a Nintendo 64.

Continue reading “Understanding Custom Signal Protocols With Old Nintendos”