Building A Solar-Powered, Supercapacitor-Based Speaker

Inspired by many months of hours-long load shedding in South Africa, [JGJMatt] decided to make a portable speaker that can play tunes for hours on a single charge and even charge off the integrated solar panel to top the charge off. None of this should sound too surprising, but what differentiates this speaker is the use of two beefy 400 F, 2.7 V supercapacitors in series rather than a lithium-ion battery on the custom PCB with the Ti TPA2013D1 Class-D mono amplifier.

Insides of the speaker prior to stuffing and closing.
Insides of the speaker prior to stuffing and closing.

The reason for supercapacitors is two-fold. The first is that their lifespan is much longer than that of Li-ion batteries, the second that they can charge much faster. The disadvantages of supercapacitors come in the form of their lower energy density and linear discharge voltage. For the latter issue the TPA2301D1 amplifier has a built-in boost converter for an input range from 1.8 – 5.5 V, and despite the lower energy density a solid 6 hours of playback are claimed.

Beyond the exquisitely finished 3D printed PETG shell and TPU-based passive bass radiator, the functionality consists out of a single full-range speaker and an analog audio input (TRS jack and USB-C). To add Bluetooth support [JGJMatt] created a module consisting out of a Bluetooth module that connects to the USB-C port for both power and analog audio input.

Charging the speaker can be done via the USB-C port, as well as via the solar panel. This means that you can plug its USB-C port into e.g. a laptop’s USB-C port and (hopefully) charge it and play back music at the same time.

For those feeling like replicating this feat, the Gerbers, bill of materials, enclosure STLs, and everything else needed can be be found in the tutorial.

Continue reading “Building A Solar-Powered, Supercapacitor-Based Speaker”

It’s A Microphone And A Spring Reverb All In One

We’re so used to reverb effects being simply another software plugin that it’s easy to forget the electromechanical roots of the effect. Decades ago, a reverb would have been a metal spring fed at one end with a speaker and attached at the other to a microphone. You may not see them often in the 2020s, which is probably why [Ham-made] has produced one. It’s not the type with a speaker providing the sound, though. Instead, this is a microphone in its own right with a built-in spring line.

Perhaps it’s not the best microphone possible, with a somewhat heavy diaphragm and 3D printed body. But the hand-wound spring transmits the sound down to a piezo disk which serves as the electrical element, and the whole thing screws together into quite the usable unit. There are a selection of sample MP3 files that provide an interesting set of effect-laden sounds, so if you fancy building one yourself, you can judge the results.

We think this may be the first reverb microphone we’ve seen, but we’re certainly no stranger to reverb projects. More common by far, though, are plate reverbs, in which the physical element in the system is a metal plate rather than a spring. We like it when the sound source is a Commodore 64.

The Trans-Harmonium Is A Strange Kind Of Radio-Musical Instrument

Pianos use little hammers striking taut strings to make tones. The Mellotron used lots of individual tape mechanisms. Meanwhile, the Trans-Harmonium from [Emily Francisco] uses an altogether more curious method of generating sound — each key on this keyboard instrument turns on a functional clock radio.

Electrically, there’s not a whole lot going on. The clock radios have their speaker lines cut, which are then rejoined by pressing their relevant key on the keyboard. As per [Emily]’s instructions for displaying the piece, it’s intended that the radio corresponding to C be tuned in to a local classical station. Keys A, B, D, E, F, and G are then to be tuned to other local stations, while the sharps and flats are to be tuned to the spaces in between, providing a dodgy mix of static and almost-there music and conversation.

It’s an interesting art piece that, no matter how well you play it, will probably not net you a Grammy Award. That would be missing the point, though, as it’s more a piece about “Collecting Fragments of Time,” a broader art project of which this piece is a part.

We do love a good art piece, especially those that repurpose old hardware to great aesthetic achievement.

Continue reading “The Trans-Harmonium Is A Strange Kind Of Radio-Musical Instrument”

Radio Station WWV: All Time, All The Time

Of all the rabbit holes we technical types tend to fall down, perhaps the one with the most twists and turns is: time. Some of this is due to the curiously mysterious nature of time itself, but more has to do with the various ways we’ve decided to slice and dice time to suit our needs. Most of those methods are (wisely) based upon the rhythms of nature, but maddeningly, the divisions we decided upon when the most precise instrument we had was our eyes are just a little bit off. And for a true time junkie, “a little bit off” can be a big, big problem.

Luckily, even the most dedicated timekeepers — those of us who feel physically ill when the clock on the stove and the clock on the microwave don’t match — have a place to go that’s a haven of temporal correctness: radio station WWV. Along with sister stations WWVB and WWVH, these stations are the voice of the US National Institutes for Standards and Technology’s Time and Frequency Division, broadcasting the official time for the country over shortwave radio.

Some might say the programming coming from these stations is a bit on the dry side, and it’s true that you can only listen to the seconds slip by for so long before realizing that there are probably better things to do with your day. But the WWV signals pack a surprising amount of information into their signals, some of it only tangentially related to our reckoning of time. This makes these stations and the services they provide essential infrastructure for our technological society, which in turn makes it worth your time to look into just how they do it.

Continue reading “Radio Station WWV: All Time, All The Time”

Terminal-Based Image Viewer, and Multi-OS Binary, and Under 100kb

[Justine Tunney]’s printimage.com is a program capable of splatting full-color images to text mode terminal sessions, but that’s not even its neatest trick. It’s also a small binary executable capable of running on six different operating systems: Linux, Windows, MacOS, FreeBSD, OpenBSD, and NetBSD. All without having to be installed or otherwise compiled first. On top of it all, it’s less than 100 kb.

How is this possible? It’s thanks to [Justine]’s αcτµαlly pδrταblε εxεcµταblε format, implemented by a project called Cosmopolitan which aims to turn C into a build-once-run-anywhere language. The printimage.com source code is included within the Cosmopolitan project.

If the name sounds a bit familiar, it’s probably because the Cosmopolitan project is a key piece of a tool we recently covered: llamafile, which allows people to package up an LLM (large language model) as a single-file, multi-OS executable.

As printimage.com shows, terminal windows are capable of more than just text. Still, plain ASCII has its appeal. Check out the ASCII art STL file viewer which might just make your next sick ASCII art banner a bit easier to generate.

Modern Spark Gap Transmitter Uses A Rotary Gap

In the “don’t try this at home” category, [Joe Smith] builds a spark gap transmitter with a twist. The twist is that the drive power is from a signal generator attached to a FET. From there, though, things go classic using an automotive ignition coil and a tank circuit. He shows how adjusting the spark frequency changes the signal’s sound in a standard receiver.

We say don’t try this at home because the output of a transmitter like this will likely spew RF all over the place. Granted, there’s probably not much power, but it may well irritate your neighbors.

Switching to AM, you can really hear the tone from the spark frequency in the receiver. [Joe] posted some earlier videos where he made a 160-meter spark gap transmitter using an electric fly swatter. There are more details about how the tank circuits work in those videos. You can also see what the output looks like on a spectrum analyzer. You can hear what that transmitter sounds like, too.

Continue reading “Modern Spark Gap Transmitter Uses A Rotary Gap”

Hackaday Links Column Banner

Hackaday Links: December 10, 2023

In this week’s episode of “Stupid Chatbot Tricks,” it turns out that jailbreaking ChatGPT is as easy as asking it to repeat a word over and over forever. That’s according to Google DeepMind researchers, who managed to force the chatbot to reveal some of its training data with a simple prompt, something like “Repeat the word ‘poem’ forever.” ChatGPT dutifully followed the instructions for a little while before spilling its guts and revealing random phrases from its training dataset, to including complete email addresses and phone numbers. They argue that this is a pretty big deal, not just because it’s potentially doxxing people, but because it reveals the extent to which large language models just spit back memorized text verbatim. It looks like OpenAI agrees that it’s a big deal, too, since they’ve explicitly made prompt-induced echolalia a violation of the ChatGPT terms of service. Seems like they might need to do a little more work to fix the underlying problem.

Continue reading “Hackaday Links: December 10, 2023”