2024 Home Sweet Home Automation: A Piano-Controlled Smart Home

There’s a scene in Willy Wonka and the Chocolate Factory where a little flap in the wall flips down to reveal a small organ embedded there. Gene Wilder plays a bit of Rachmaninoff on the organ, and the giant door to the chocolate room slowly creaks open.

Once [Nathan Orick] got this into his head, he couldn’t get it out, and had to give it a go in his own home. Regrettably there’s no chocolate rooms in the house, so he’s using various chords and melodies to do things like control the lights and the TV, as you’ll see in the video after the break. Although this one may have started as a joke of a home automation scheme, [Nathan] thinks it turned out pretty solid, and so do we.

He already had the piano and a Raspberry Pi Zero lying around, so getting this up and running was mostly about connections and code. Speaking of connections, [Nathan] was hard-pressed to find a micro-USB to USB-B cord, so he ended up splicing one together. Simple enough. The harder part was getting Linux to recognize the keyboard, but all it took was touching all the pins with a multimeter, evidently. What’s a project without a little magic?

And not only did it show up, Linux went to the trouble of registering it as a MIDI device all on its own. Once [Nathan] obtained the port number, he had data printing to the console every time he played a note. Then it was mostly a matter of writing code to interact with MIDI data and track the notes as they’re played, and put it all together with Home Assistant. Be sure to check out the brief demo after the break.

Continue reading “2024 Home Sweet Home Automation: A Piano-Controlled Smart Home”

Ancient Instrument Goes Digital: The Digi-Gurdy

The hurdy-gurdy is a fascinating string instrument dating from sometime around the 10th century. There is an active community of modern enthusiasts, but one can’t simply walk into a music shop and buy one. That’s where [XenonJohn] and the Digi-Gurdy come in, bringing some nice features while maintaining all the important elements of the original.

The mechanical keys and crank of the Hurdy-Gurdy are preserved in this modern digital incarnation.

The hurdy-gurdy works by droning strings with a rotating wheel, and the player applies pressure to those strings via keys to play combinations of notes. Here’s a video demonstrating what it sounds like to play one, and one can see a conceptual resemblance to bagpipes, among other things.

The Digi-Gurdy is a modern electronic version that maintains the mechanical elements while sending MIDI signals over USB. It has options for line-out or headphone output. A thriving online community has shaped its development since its inception years ago.

We hope this leaves you wanting to know more because [XenonJohn] has loads of details to share. The main website at digigurdy.com is jam-packed with information about this instrument and its construction, and the project page on Hackaday.io has more nitty-gritty design details and source files for those who crave hardware specifics.

If [XenonJohn]’s name sounds familiar, it’s because we’ve admired his work on DIY self-balancing vehicles over the years. He also submitted an earlier version as an entry into the Hackaday Prize. His careful attention to detail shines through. Check out the two videos (embedded just below the page break): the first demonstrates the Digi-Gurdy, and the second shows off the construction and insides. You’d think a MIDI hurdy-gurdy would be unique, but, actually, we’ve seen more than one.

Continue reading “Ancient Instrument Goes Digital: The Digi-Gurdy”

Bluetooth Wearable Becomes Rad Synth Controller

Once upon a time, a watch was just a watch. These days, though, smartwatches have all kinds of tricks built in, from heartrate sensors, to accelerometers, gyros, and tons of networking capability. Take advantage of just some of that hardware, and you have yourself a pretty nifty controller. And that’s precisely what [Simon Brem] did.

The project is based around the capable PineTime smartwatch, which [Simon] has been using with the InfiniTime firmware. On this platform, he created an app that sends out Bluetooth MIDI commands straight from the watch. It can be used as a motion controller, where waving and angling the watch can be used to control MIDI parameters, or it can be used to sync BPM to the wearer’s heartrate. [Simon] demonstrates an example use case in a demo video, where the watch is used to control filters in pleasant ways.

We’ve seen a lot of neat watch hacks lately, as it turns out! To say nothing of the brilliant MIDI controllers that have come through these doors, as well. Video after the break.

Continue reading “Bluetooth Wearable Becomes Rad Synth Controller”

TuneShroom Is An Artistic Mushroom-Themed MIDI Controller

Most MIDI controllers are modelled after traditional instruments, like pianos, flutes, or guitars. [Oliver Child] went in a different direction for the TuneShroom, instead modelling his DIY controller after the terrifying, unclassifiable living organism we call the mushroom.

The project was a fun way for [Oliver] to try creating a project with an artistic PCB design, and it worked out well in that regard. He penned a circuit board in the shape of a toadstool, with conductive pads serving as capacitive touch points to activate various notes.

The design is based around the Sparkfun Pro Micro, but it’s not programmed in Arduino. [Oliver] wanted to make full use of the ATmega32U4 microcontroller and have freedom to use the pins at will, so instead the project was programmed with a patched version of LUFA to handle the USB side of things. MIDI data is naturally piped out over this interface to an attached computer.

Files are on Github for the curious. Alternatively, contemplate turning an entire saxophone into a MIDI controller in your spare time. Video after the break.

Continue reading “TuneShroom Is An Artistic Mushroom-Themed MIDI Controller”

High-Resolution MIDI Controller

For an older standard, MIDI has remarkable staying power in the music industry. It remains the de facto digital interface between computers and instruments thanks to its open nature, but its age does show a little bit. Sending control change (CC) messages, for example, was originally designed to fit within seven bits, which doesn’t give particularly fine resolution compared to more capable modern computers. To work around that, a fourteen-bit message is possible, doubling the resolution, and this MIDI interface uses this larger amount of data to send these high-resolution CC messages.

The 14-bit messages are actually fairly well documented but are a bit obscure, with very limited hardware support. To that end, [Gero] set about building this control interface to solve that problem. It’s made up of only eight knobs, each of which is mapped one-to-one to a parameter on the computer, allowing the interface to feel more like an analog device where the knob corresponds directly to a change in an aspect of the sound. The platform is built around a Teensy 4.0 and some multiplexers to handle all of the knobs, with the open source software available for anyone to use to modify their actions. [Gero] was aiming for high fidelity for all aspects of this controller, not just the improved digital resolution, and made a number of other improvements to it as well like re-greasing the potentiometer knobs and a custom 3D printed enclosure.

All of the software is available for use, as well as the files to print the case. [Gero] is also working on a PCB to make the construction of the device a little more streamlined, but for now, it requires a bit of soldering off-the-shelf parts together. The MIDI standard is open as well, which allows for a lot of innovation in the creation of musical instruments from unique hardware. This project builds a MIDI synthesizer with parts from a Sega Genesis.

The Small And Silly Synth Now Even Smaller (But Just As Silly)

What do you do when you’ve carved out a niche for yourself as a builder of small and useless synthesizers? Why, build an even smaller and less useful synthesizer, of course!

If you’ve been paying even a minimal amount of attention you’ll know right away that this comes to use from [mitxela], who while not playing with volumetric POV displays is often found building smaller and smaller synthesizers, including putting them in DIN plug shells. The current synth is based on his “Silly Synth,” which puts all the guts for the synth inside a USB connector. This time around, though, it’s USB-C, and rather than fitting everything inside the connector shell, the entire synth sits on a PCB that’s smaller than a tiny piezo speaker. The whole thing runs on a CH32V003 microcontroller, and aside from a few support components and the right-angle USB-C plug, not much else.

The PCB is what really shines in [mitxela]’s design, especially the routing. He’s got a 20-pin QFN chip on one side of the board and the USB plug right behind it on the other side to deal with, plus the big through-holes for the speaker and the physical connections on the plug. It’s quite a crowded design, but it gets the job done. What’s more, he panelized the design so that mass production is possible; the reason for this is revealed at the end of the video below.

Pretty much every time we see one of these “smallest synth” videos we’re convinced that we’re seeing the lower limit of what’s possible, but every time, [mitxela] goes ahead and proves us wrong. That’s fine, of course — we don’t mind being wrong about something like this.

Continue reading “The Small And Silly Synth Now Even Smaller (But Just As Silly)”

Pico Makes A So-So Keyboard Neat-O

When someone gives you a crappy little toy keyboard, what can you do? Sadly plunk on the thing one note at a time? Well yes, but that’s not going to get you on Hackaday. Do what [Turi] did and give that thing a complete overhaul.

[Turi] threw away the original controller board, keeping only the keys, buttons, case, speaker, and a little bit of the original powder yellow enclosure. The Picophonica’s new brain is, you guessed it, a Raspberry Pi Pico. This enables [Turi] to use [Ryo Ishigaki]’s pico_synth_ex synthesizer and introduce MIDI out via USB-C.

The new engine does things that little keyboard could never have dreamed of originally, especially considering it wasn’t even polyphonic. Those fourteen white buttons now control things like sustain, cutoff, LFO rate, decay, and so on. Now it sounds great!

Be sure to check out the brief build video after the break. Excluding drums, the soundtrack was made entirely on the Picophonica.

Of course, Picos aren’t just good for musical keyboards. Use one to convert an old proprietary keyboard to PS/2, or create your own.

Continue reading “Pico Makes A So-So Keyboard Neat-O”