A Hi-Fi Speaker From Some Foil And Magnets

In the world of speakers, mass is the enemy of high frequency response. In order to get the crispest highs, some audiophiles swear by speakers in which the moving element is just a thin ribbon of metal foil. As the first step towards building a set of ribbon headphones, [JGJMatt] has designed a compact ribbon speaker made from aluminum foil.

A 3D-printed body holds six permanent magnets, which produce the static magnetic field necessary for the speaker to work. The sound itself is produced by a corrugated aluminum diaphragm made by taking a strip of foil and creasing it with a gear. Aluminum is difficult to solder, so electrical contact is made with a couple of short segments of copper tape. A little Blu Tack and glue hold it all together, and the result is stunning in its simplicity.

Check out the video after the break to hear how it sounds. If you want to try this yourself, it’s important to remember that ribbon speakers have very low input impedances (0.1 Ω for this design), so in order to prevent damage to your amplifier, a transformer or series resistor must be used to bring the impedance up to the 4-8 Ω your amplifier expects.

[JGJMatt] is no newcomer to exotic speaker technology—check out these thin distributed-mode loudspeakers they made! If you’re more interested in recording music than playing it, you might want to read about how a metal ribbon suspended in a magnetic field is used to make incredible microphones. Shout out to [Itay] for the tip. Continue reading “A Hi-Fi Speaker From Some Foil And Magnets”

An Entire Game Inside Of A Font

Where’s the last place you’d expect to be able to play a game on your computer? The word processing program? Image editor? How about your text editor? That’s right — you can fight your Fontemons in any program that makes use of fonts, because mad genius [Michael Mulet] has created a game that exists entirely within a single Open Type font file.

[Michael] has harnessed the power of ligatures to create a choose-your-own-adventure-style turn-based game that pokes fun at both Pokemon and various typeface names. You start by choosing between Papyromaniac, Verdanta, and Proggito and face off against enemies like Helvetikhan and Scourier.

This works because there are many ways to draw glyphs on a screen. [Michael] chose Type 2 Charstrings, which is a vector graphics format that Adobe created for PostScript. It can draw pixels with a series of move specifications that tell it to draw up, to the right, and then back down before closing off the pixel with an implicit operator that draws from the starting point to the ending point. [Michael] was able to create two shades of gray by drawing smaller versions of the pixels and making the image by combining white and black pixels.

If you just want to play the game, you can either download the .otf file or just try it out in the browser. You’re supposed to use ‘a’ and ‘b’ to make choices that advance the game, but we soon discovered that spamming other keys like ‘v’ and Enter will lead to strange places. If you play it straight, it takes about 20 minutes, but there are enough secrets built in to make it last five times as long. [Michael] was kind enough to create a tutorial for making font-based games, but if you just want to get going, the game engine is open source.

What other fun things can you do on that locked-down work computer? If it has Excel, you can use it to do animation or just kick back and watch a movie.

Build-It-Yourself LC Meter

A basic digital multimeter (DMM) is usually the first measurement tool the aspiring electronics tinkerer buys. Even a bargain-bin DMM will happily measure voltage, current, and resistance; check continuity; and may even have a mode to measure transistor gain. Every toolbox needs at least one DMM, but most have an crucial limitation— they can’t measure two of the fundamental electrical quantities: inductance and capacitance. On Hackaday.io, [core weaver] has developed an open-source LC meter to allow you to build your own tool to measure inductance and capacitance.

[core weaver]’s design is all through-hole, so even just assembling one would be a great exercise for someone getting started in electronics. However, he didn’t just release a design, in a series of videos he goes through the theory of the device’s operation; explains the design of the circuit, firmware, and case; and shows you how to put it all together. For times when you need to measure a lot of parts (e.g. if you have to sort a bag of cheap capacitors looking for specific value), he’s even developed a desktop program to save you some trouble!

The finished meter looks incredible! If you want to build one for yourself, he’s put all of the files up on GitHub, and we highly recommend you check out his first video after the break. If you’d like to build yourself a 6.5-digit DMM to go with our LC Meter, consider this one which even has a home-built ADC.

Continue reading “Build-It-Yourself LC Meter”

Amazon Echo Gets Open Source Brain Transplant

There’s little debate that Amazon’s Alexa ecosystem makes it easy to add voice control to your smart home, but not everyone is thrilled with how it works. The fact that all of your commands are bounced off of Amazon’s servers instead of staying internal to the network is an absolute no-go for the more privacy minded among us, and honestly, it’s hard to blame them. The whole thing is pretty creepy when you think about it.

Which is precisely why [André Hentschel] decided to look into replacing the firmware on his Amazon Echo with an open source alternative. The Linux-powered first generation Echo had been rooted years before thanks to the diagnostic port on the bottom of the device, and there were even a few firmware images floating around out there that he could poke around in. In theory, all he had to do was remove anything that called back to the Amazon servers and replace the proprietary bits with comparable free software libraries and tools.

Taping into the Echo’s debug port.

Of course, it ended up being a little trickier than that. The original Echo is running on a 2.6.x series Linux kernel, which even for a device released in 2014, is painfully outdated. With its similarly archaic version of glibc, newer Linux software would refuse to run. [André] found that building an up-to-date filesystem image for the Echo wasn’t a problem, but getting the niche device’s hardware working on a more modern kernel was another story.

He eventually got the microphone array working, but not the onboard digital signal processor (DSP). Without the DSP, the age of the Echo’s hardware really started to show, and it was clear the seven year old smart speaker would need some help to get the job done.

The solution [André] came up with is not unlike how the device worked originally: the Echo performs wake word detection locally, but then offloads the actual speech processing to a more powerful computer. Except in this case, the other computer is on the same network and not hidden away in Amazon’s cloud. The Porcupine project provides the wake word detection, speech samples are broken down into actionable intents with voice2json, and the responses are delivered by the venerable eSpeak speech synthesizer.

As you can see in the video below the overall experience is pretty similar to stock, complete with fancy LED ring action. In fact, since Porcupine allows for multiple wake words, you could even argue that the usability has been improved. While [André] says adding support for Mycroft would be a logical expansion, his immediate goal is to get everything documented and available on the project’s GitLab repository so others can start experimenting for themselves.

Continue reading “Amazon Echo Gets Open Source Brain Transplant”

Lightweight OS For Any Platform

Linux has come a long way from its roots, where users had to compile the kernel and all of the other source code from scratch, often without any internet connection at all to help with documentation. It was the wild west of Linux, and while we can all rely on an easy-to-install Ubuntu distribution if we need it, there are still distributions out there that require some discovery of those old roots. Meet SkiffOS, a lightweight Linux distribution which compiles on almost any hardware but also opens up a whole world of opportunity in containerization.

The operating system is intended to be able to compile itself on any Linux-compatible board (with some input) and yet still be lightweight. It can run on Raspberry Pis, Nvidia Jetsons, and x86 machines to name a few, and focuses on hosting containerized applications independent of the hardware it is installed on. One of the goals of this OS is to separate the hardware support from the applications, while being able to support real-time tasks such as applications in robotics. It also makes upgrading the base OS easy without disrupting the programs running in the containers, and of course has all of the other benefits of containerization as well.

It does seem like containerization is the way of the future, and while it has obviously been put to great use in web hosting and other network applications, it’s interesting to see it expand into a real-time arena. Presumably an approach like this would have many other applications as well since it isn’t hardware-specific, and we’re excited to see the future developments as people adopt this type of operating system for their specific needs.

Thanks to [Christian] for the tip!

A Lockdown Brightened By A Library Of Vintage Usborne Books

Lockdown is boring. No, let’s emphasize that, lockdown is really boring. Walking for exercise is much less fun than it was last year because it’s a wet and muddy February, and with nowhere open, a rare trip out to a McDonalds drive-through becomes a major outing. Stuck inside for the duration we turn our eyes to some of the older ways to wile away the time. Books. Remember them? In doing that I found that the friend whose house I’m living in has the whole library of Usborne children’s computer and technology books from the 1980s. Suddenly a rainy day doesn’t matter, because we’re in a cheerful world of cartoon robots and computer parts!

When Kids Learned Machine Code

A comprehensive selection to get one's teeth into.
A comprehensive selection to get one’s teeth into.

If this leaves you none the wiser, it’s worth explaining that during the 1980s home computer boom there was no Internet handily placed for finding out how your new toy worked. Instead you had to read books and hoard the scraps of information they contained. Publishers responded to this new world of technology with enthusiasm, and the British children’s publisher Usborne did so in their characteristic entertaining and informative style. For probably the only time in history, children were presented with mainstream books telling them how to write machine code and interface directly to microprocessors, and those among them who probably now read Hackaday took to them with glee. They remain something of a cult object among retrocomputing enthusiasts, and fortunately a selection of them are available for download. Usborne are still very much in business producing up-to-date books educating today’s children, and to promote some of their more recent titles for the Raspberry Pi they’ve released them in electronic form. Continue reading “A Lockdown Brightened By A Library Of Vintage Usborne Books”

MIDI All The Things Hack Chat

Join us on Wednesday, March 24 at noon Pacific for the MIDI All the Things Hack Chat with Tim Alex Jacobs!

In our technologically complex world, standards are a double-edged sword. While they clearly make it possible for widgets and doodads to interoperate with each other, they also tend to drift away from their original intention over time, thanks to the march of progress or even market forces. If there’s one thing you can expect about standards, it’s that they beget other standards.

One standard that has stood the test of time, with modification of course, is the Musical Instrument Digital Interface, or MIDI. It’s hard to overstate the impact MIDI has had on the music world since it was first dreamed up in the early 1980s. Started amid a Wild West of competing proprietary synchronization standards, MIDI quickly became the de facto interface for connecting electronic musical instruments together. And as it did, it moved from strictly pro-grade equipment down the market to prosumer and home users, fueled in part by the PC revolution.

Tim Alex Jacobs, who is perhaps better known as Mitxela on his YouTube channel, has long been interested in applying MIDI to unusual corners of the musical world. We’ve seen him MIDI-fy things that barely qualify as musical instruments, and also build a polyphonic synthesizer so small it fits within the shell of the DIN connector that’s so strongly associated with the MIDI standard. Tim joins us on the Hack Chat this week to talk about his experiences with MIDI, and to help us understand all the ways we can work with the interface in our builds.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, March 24 at 12:00 PM Pacific time. If time zones have you tied up, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.
Continue reading “MIDI All The Things Hack Chat”