Reverse Engineering Nintendo Labo Waveform Cards

The Nintendo Switch portable gaming system is heavily locked down to prevent hacking, but the Labo add-on looks like it might be a different matter. The Labo is a series of add-on devices made of cardboard that does things like turn the Switch into a musical keyboard that plays a waveform on a card that you slot in. [Hunter Irving] decided to try a bit of reverse engineering on these cards to see if he could 3D print his own. Spoilers: he could.

[Hunter] started by taking one of the cards that come with the Labo and looking at the layout. These cards are, like the rest of the Labo, very simple: they are just shaped pieces of card that fit into the back of the keyboard add-on. When you press a button, the Switch camera reads the card to create the waveform. So, the process involved figuring out the required dimensions of the card to create a template. [Hunter] then created simple waveforms (square, sine, sawtooth) in Inkscape, and used this to create a 3D printable waveform card. A quick bit of 3D printing later, he had several cards ready, and these worked without problems. As well as the synthetic waveforms, he tried real ones, such as an organ, taking the waveform shape from the zoomed-in sample and using that to print. This post describes the process nicely and offers downloads of 9 sample cards and a template to create your own.

We suspect that this is only scratching the surface of what can be done with the Switch, Labo, and some ingenuity. Unlike the Switch itself, the Labo seems to be built for hacking, using simple, easy to use components to create surprisingly complex mechanisms that could be adapted for any number of purposes.

We’re sure this isn’t the only Labo hack we’ll be covering over the coming year. Not sure what all the fuss is about? Read our reporting on its arrival.

Litar: LiDAR air guitar

Litar: An Air Guitar Using LiDAR

This year, [Blecky’s] Hackaday Prize Entry is an air guitar which uses multiple LiDAR sensors to create the virtual strings. What’s also neat is that he’s using his own LiDAR sensor, the MappyDot Plus, an enhanced version of his 2017 Prize Entry, the MappyDot.

He uses a very clever arrangement of six sensors to get four virtual strings. Each sensor scans a 25-degree field of view. Three adjacent sensors are used to define a string, with the string being in the overlap of the outer two of those sensors. The middle sensor is used for the distance data.

For the chords, he started out using some commercially made joysticks but ran into some ergonomic issues. Also, the manufacturer was discontinuing the product, a no-no for an open source project. So he abandoned that approach and designed his own buttons. He came up with a PCB with a linear hall effect sensor and some springs on it. The button has a magnet attached to its underside and sits on the springs. That way he gets the press and can do vibrato as well.

He plans to use Bluetooth MIDI so that you can play the sound on a phone or laptop but for now he lights up an LED beside each sensor as you press the strings.

Tracktorino Shields You From Poor Interfaces

On-screen controls in a digital audio workstation expand the power of a DJ or musician, but they are not intuitive for everyone. The tactility of buttons, knobs, sliders and real-world controls feels nothing like using a mouse, trackpad, or even a touchscreen. Unfortunately, devices meant to put control into a DJs hands can be unavailable due to location or cost. [Gustavo Silveira] took charge of the situation so he could help other DJs and musicians take control of their workstations with a customized MIDI interface for Traktor DJ software.

MIDI is a widely used serial protocol which has evolved from a DIN connector to USB, and now it is also wireless. This means that the Traktorino is not locked to Traktor despite the namesake. On the Hackaday.io page, there’s even a list of other workstations it will work with, but since many workstations, all the good ones anyway, accept MIDI hardware like this, the real list is a lot longer.

The custom circuit board is actually a shield. Using an Arduino UNO, the current poster child of the Arduino world, opens up the accessibility for many people who don’t know specialized software. A vector drawing for a lasercut enclosure is also included. This means that even the labeling on the buttons are not locked into English language.

Here’s another project which combined laser cutting and MIDI to make some very clever buttons or turn your DIN MIDI connector into USB.

Continue reading “Tracktorino Shields You From Poor Interfaces”

Another Reason To Learn Morse Code: Kidnapping

Morse code — that series of dots and dashes — can be useful in the strangest situations. As a kid I remember an original Star Trek episode where an injured [Christopher Pike] could only blink a light once for yes and twice for no. Even as a kid, I remember thinking, “Too bad they didn’t think to teach him Morse code.” Of course odd uses of Morse aren’t just for TV and Movies. Perhaps the strangest real-life use was the case of the Colombian government hiding code in pop music to send messages to hostages.

In 2010, [Jose Espejo] was close to retirement from the Colombian army. But he was bothered by the fact that some of his comrades were hostages of FARC (the Revolutionary Armed Forces of Colombia; the anti-government guerrillas), some for as many as ten years. There was a massive effort to free hostages underway, and they wanted them to know both to boost morale and so they’d be ready to escape. But how do you send a message to people in captivity without alerting their captors?

Continue reading “Another Reason To Learn Morse Code: Kidnapping”

Audio Hacking With The ESP8266

If you study the specifications of the ESP8266 WiFi-enabled microcontroller, you will notice that it features an I2S audio interface. This is a high-speed serial port designed to deliver 16-bit audio data in a standard format, and has its origins in consumer audio products such as CD players. It would be usual to attach a dedicated DAC to an I2S interface to produce audio, but [Jan Ostman]’s synthesiser projects eschew that approach, and instead do the job in software. His I2S interface pushes out a pulse density modulated data stream in the same manner as a 1-bit DAC, meaning that the only external components required to produce audio are a simple low-pass filter. He’s posted a video of the synth in action, which we’ve placed below the break.

The example he gives us is a basic clone of a Roland 909 drum machine, and he takes us through the code with extensive examples including MIDI. He’s using the Wemos D1 Mini board, but the same could be replicated with many other ESP8266 platforms.

We’ve featured [Jan]’s work many times before, from his minimalist Atmel-based devices through to small but perfectly-formed complete instruments.

Continue reading “Audio Hacking With The ESP8266”

Bringing Guitar Synthesis To The Microcontroller

If you’re working with audio in an embedded environment, the best option for years now has been the Teensy 3 microcontroller board. This choice has mostly been due to its incredible power and audio libraries, but until now we really haven’t seen a stompbox-style interface that used the Teensy to its fullest extent. Now we have, in [Wolkstein]’s GitSynth, everything you could want in a synthesizer that processes the signals from an electric guitar.

The core of this build is a Teensy 3, and all the audio goodies that come with that. Also included is a USB MIDI and audio interface, smartly both attached to a panel-mount USB-B connector on the back of the stompbox. Other controls include a single mono in jack for guitars and synths, two mono out jacks for stereo-ish output, a bunch of footswitches for bypass, tap tempo, preset selection, a jack for an expression pedal, and some buttons to move around the LCD user interface.

While putting a powerful microcontroller in a stomp box for is a project we’ve seen many times, this project really shines with the MIDI GUI that’s built for a device with a real display and a mouse. [Wolkstein] built a PyQt-based app for this synth, and it’s a plethora of buttons and sliders that looks similar enough to a real synthesizer. There’s enough configurability here for anyone.

You can check out the demo video (in German, but auto-translate subtitles exist) below.

Thanks [Mynaru] for the tip!

Continue reading “Bringing Guitar Synthesis To The Microcontroller”

Art Deco Radio Gets FM Reception

Taking a vintage radio and cramming it full of modern, Internet-connected, guts has long been a staple of the hacking and making scene. While some might see it as a crime to take what’s arguably a legitimate piece of history and turn it into nothing more than a slipshod case for the Raspberry Pi, we have to admit there’s a certain appeal to the idea. Taking the beauty of classic design and pairing it with more modern capabilities is getting the best of both worlds.

But this project by [Nick Koumaris] is a somewhat unique take on the concept. Rather than sacrificing a real vintage piece of hardware to house the electronics, he’s designed a 3D printable case that looks like a classic 1936 AWA Radiolette. But what’s really interesting to us is that he then puts a basic FM radio inside of it.

That’s right, no Internet radio streaming or smartphone Bluetooth compatibility here. It’s just a regular FM radio, not entirely unlike the kind of hardware you’d expect to be inside of a classic radio. Of course, it’s much more modern, and [Nick] actually built it himself from a TEA5767 FM radio module and an Arduino Pro Mini.

While functionally it might not be terribly exciting, we do appreciate that he went through the trouble to make a vintage-looking user interface for the radio. While physical buttons would arguably have been more appropriate given the era, the art deco inspired font and graphics that show on the device’s Nokia 5110 LCD do look really slick.

Purists will surely be happy to see another project where a piece of vintage piece of audio equipment wasn’t sacrificed at the Altar of Hack, but we’ve also played host to many projects which weren’t nearly as concerned with historical preservation.

Continue reading “Art Deco Radio Gets FM Reception”