Electric Guitar Shocks You For Missing A Note

Rocksmith is a popular video game that works like Guitar Hero, but with a real guitar. You have to play well and hit the right notes, or the game penalizes your score. [Lightwing] took the stakes up a notch, though, adding a system that shocks the player every time they fail.

To achieve this, it was necessary to detect when the player missed a note. Initial attempts involved using Tensor Flow AI to detect the game state from the screen, but it was unreliable. Instead, the game’s memory was read to achieve detection. When the player misses a note, a certain section of memory changes, and a script reads the change in game state. It then sends a signal to an Arduino which triggers the stun gun’s fire button, which shocks the player holding the guitar.

As you might expect, the documentation for this project includes a video which involves plenty of gratuitous electric shocks when [Lightwing] makes mistakes. Fair warning — there’s plenty of colorful language when the stun gun fires. Generally, a powerful shock ends with screams a dropped guitar, and too much fear to continue.

It’s painful enough that it’s probably not a useful teaching tool for learning the guitar. We’ve seen similar shocking builds before, too, like this simple wire game.

Continue reading “Electric Guitar Shocks You For Missing A Note”

Mouse Finds New Home In Pinball Machine

Restoring pinball machines is an excellent hobby, and can even be more than that as we see businesses like bars and museums focusing on them as a main attraction. There’s all kinds of intrigue to be found, from esoteric mechanical systems to classic electronics and unique artwork. For those building new pinball machines, though, one way to bypass a lot of the hassle of finding antiquated parts is to build a digital machine with an analog feel, like this machine which repurposes a computer mouse in an interesting way.

One of the important design considerations with a more modern system like this is to preserve the mechanical components that the player interacts with, in this case the plunger. This pinball machine is really just a large screen driven by a computer, but the plunger is a spring-loaded one from an old analog machine. Attached to the end of the plunger inside the cabinet is a cloth strap which passes underneath an old optical mouse. When the plunger is pulled and released, the mouse registers the position of the plunger and sends that information to the computer controlling the pinball display.

We really appreciate a KISS-style design like this in general. Mice are a proven, reliable technology and the metal components of the plunger are unlikely to ever wear out, which means that at least this part of the new pinball machine is unlikely to need much maintenance over the lifespan of the cabinet itself. For other ways of preserving the original feel of old machines, take a look at this build which incorporates all kinds of tricks within a MAME cabinet.

CRT TV screen showing a Super Mario Bros main screen with "Social Media Bros" written on the title screen instead. There's a NES console to the right of it, with a perfboard on top of it, wires going into the console port.

ConnectedNES Brings Twitter Into Super Mario Bros World

Back in 2016, artist and video game historian [Rachel Weil (HXLNT)] was hanging out with her friend and hacking on console stuff, as friends do. [Rachel] was galvanized by the idea of having an iconic game like Super Mario Bros be interrupted by push notifications, and set out to bring a Twitter feed to her NES gaming experience. What she ended up with is ConnectedNES — a charming combination of a custom Twitter modem and a hacked Super Mario Bros ROM, creating a social media experience you have to see for yourself.

The technical side is as immaculate as the visuals. Data is transferred to the NES through the controller port using a Particle Photon that’s emulating a NES controller, and everything is encased in an adorable shell made out of yarn needlework.

The Photon currently taps into the Twitter feed through a proxy server run locally, and listens for tweets with specific keywords, relaying them to the ROM through mimicking controller port inputs. The ROM, now bearing the name Social Media Bros, went through some careful assembly trimming work. In particular, [Rachel] had to sacrifice Green Mario to the bit bucket gods.

Playing this game has to be quite the experience. Thankfully, source code for everything — the proxy server, the Photon firmware and the NES ROM — is on GitHub for all of us NES enthusiasts to hack at. If simply reading the feed is not enough, you can send tweets from your NES as well.

Minimal Tic Tac Toe Business Card

The PCB business card has long been a way for the aspiring electronics engineer to set themself apart from their peers. Handing out a card that is also a two player game is a great way to secure a couple minutes of a recruiter’s time, so [Ryan Chan] designed a business card that, in addition to his contact information, also has a complete Tic-Tac-Toe game built in.

[Ryan] decided that an OLED display was too expensive for something to hand out and an LED matrix too thick, so he decided to keep it simple and use an array of 18 LEDs—9 in each of two colors laid out in a familiar 3×3 grid. An ATmega328p running the Arduino bootloader serves as the brains of the operation. To achieve a truly minimal design [Ryan] uses a single SMD pushbutton for control: a short press moves your selection, a longer press finalizes your move, and a several-second press switches the game to a single-player mode, complete with AI.

If you’d like to design a Tic-Tac-Toe business card for yourself, [Ryan] was kind enough to upload the schematics and code for his card. If you’re still pondering what kind of PCB business card best represents you, it’s worth checking out cards with an updatable ePaper display or a tiny Tetris game.

Continue reading “Minimal Tic Tac Toe Business Card”

DIY Haptic-Enabled VR Gun Hits All The Targets

This VR Haptic Gun by [Robert Enriquez] is the result of hacking together different off-the-shelf products and tying it all together with an ESP32 development board. The result? A gun frame that integrates a VR controller (meaning it can be tracked and used in VR) and provides mild force feedback thanks to a motor that moves with each shot.

But that’s not all! Using the WiFi capabilities of the ESP32 board, the gun also responds to signals sent by a piece of software intended to drive commercial haptics hardware. That software hooks into the VR game and sends signals over the network telling the gun what’s happening, and [Robert]’s firmware acts on those signals. In short, every time [Robert] fires the gun in VR, the one in his hand recoils in synchronization with the game events. The effect is mild, but when it comes to tactile feedback, a little can go a long way.

The fact that this kind of experimentation is easily and affordably within the reach of hobbyists is wonderful, and VR certainly has plenty of room for amateurs to break new ground, as we’ve seen with projects like low-cost haptic VR gloves.

[Robert] walks through every phase of his gun’s design, explaining how he made various square pegs fit into round holes, and provides links to parts and resources in the project’s GitHub repository. There’s a video tour embedded below the page break, but if you want to jump straight to a demonstration in Valve’s Half-Life: Alyx, here’s a link to test firing at 10:19 in.

There are a number of improvements waiting to be done, but [Robert] definitely understands the value of getting something working, even if it’s a bit rough. After all, nothing fills out a to-do list or surfaces hidden problems like a prototype. Watch everything in detail in the video tour, embedded below.

Continue reading “DIY Haptic-Enabled VR Gun Hits All The Targets”

How To Be A Stinkin’ Chess Cheat — Sockfish

[James Stanley] enjoys chess, isn’t terribly good at it, and has some dubious scruples. At least, that’s the setup for building Sockfish, a shoe-to-Pi interface to let you cheat at chess. We’re pretty sure only the first point is true, but the build is impressive all the same. It’s a pair of 3D printed shoe inserts, with two pressure-sensitive inputs on each insert, coupled with a vibration motor in each. Tap out your opponent’s moves during the game, and the Stockfish software will buzz instructions back to you. Just follow the instructions, and you too can be a chess master.

In practice things went a bit awry, as poking in encoded move data with one’s feet isn’t the easiest task, and discerning the subtle tickles on the toes is error-prone at best. [James] arranged a match against an unsuspecting friend (in the name of science), and managed to fat-finger (fat-toe?) the inputs on both games, leading to Sockfish instructing him to make illegal moves.

This seemed like too much cheating, even for [James], so he played the rest of each game on his own abilities, winning one of the two. Once the deed was done, our anti-hero gladly doffed his shoes to show off his gadgetry. After some debate, they concluded the device might “bring the game into disrepute” if used for greater evil. Naturally [James] is already working on an improved version.

Thanks to [Abe Tusk] for the tip!

Why You’ve Never Heard About Nintendo’s U-Force

90’s kids think that the Power Glove was the coolest game peripheral of the epoch. We might have thought so too, until we heard about Don’t Touch: The Story of the U-Force from [The Gaming Historian].

The device itself folded up like a laptop, and on the two surfaces had four IR LED/sensor pairs. All of these combined would localize your fist in space for playing Mike Tyson’s Punch Out, or would work with various other passive controller add-ons like a flight yoke for playing Top Gun. (One of the coolest bits is the flip-out IR reflectors triggered by the buttons in the yoke.)

All-in-all, the video’s take is that a number of factors doomed the U-Force to play second fiddle to the Power Glove. Battling Mattel’s marketing prowess is obvious, but other things like manufacturing problems due to bad hinges and inconsistent IR sensors delayed release and added cost. In the end, though, [Dave Capper], the U-Force’s inventor, puts it down simply to non-convincing gameplay. There were no blockbuster games that used it to its full potential.

At the time, the U-Force utilized more IR LEDs than any other consumer electronic device.

We think there’s interesting hacker potential in a simple interface like this. Perhaps its biggest Achilles heel outside of the lack of a killer application was the fact that it required calibration. We can imagine all sorts of awesome interactions, and we’re not afraid of a little tweaking. Or maybe we would update the sensors to something more modern, like those inexpensive time-of-flight distance units.

Thanks [Karl Koscher] for bringing this documentary to our attention in the comments about the very similarly interesting laser theremin project we featured last year. It’s definitely opened our eyes to an old interaction of the past that would seem no less magical today.

Continue reading “Why You’ve Never Heard About Nintendo’s U-Force”