A Song Of Fog And Fire – Taking A Look Inside A Rubens’ Tube

The dark winter months are still a bit ahead of us, but with night returning even to the northernmost places, it might be a good time to get your next mood lighting project started. Despite the ubiquitousness of LED strips, cave-time nostalgia makes it hard to beat the coziness of an actual flame here — well, assuming it’s a controlled flame. While modern LED candles do a decent enough job to fool you from a distance, there’s one apparatus they’ll have a hard time to replicate though: the Rubens’ tube. Tired of their usual straight pipe construct, [RyanMake] added some twists and turns to the concept and created a flexible Ruben’s tube made from semi-rigid aluminum ducts.

If you’re not familiar with the Rubens’ tube, it’s a combination of science, fun, and danger to visualize standing waves with fire by attaching a loudspeaker to a pipe with equally spaced holes that’s filled with flammable gas, and light it up. As the resulting visual effect depends on the audio signal’s wavelength, and by that the length of the tube itself, [RyanMake]’s flexible duct approach adds some variety to the usual fixed-length pipe versions of it. But that’s not all he did. After seeing the flames in person, he got curious about what’s actually going on inside that tube and decided to build another one, this time using a clear plastic tube and a fog machine. While the fog escapes the tube rather unimpressively (and could hardly compete with fire anyway), it gives a nice insight of what’s going on inside those tubes. See for yourself in the videos after the break.

Of course, no experiment is truly conducted without failure, and after seeing his first tube go up in flames several times, you should probably hold on to building one as decorative item for indoors. On the other hand, if shooting fire is what you’re looking for, you might be interested in this vortex cannon. And for some more twists on a standard Rubens’ tube, check out the two-dimensional Pyro Board.

Continue reading “A Song Of Fog And Fire – Taking A Look Inside A Rubens’ Tube”

Just Who Makes Tubes These Days?

For most of us, electronic technology comes in the form of solid state devices. Transistors, integrated circuits, microcontrollers. But for the first sixty years or so of the field existing, these devices either hadn’t been invented yet or were at too early a stage in their development to be either cost-effective, or of much use. Instead a very different type of electronic component ruled the roost, the vaccum tube.

A set of electrodes in an evacuated glass envelope whose electrical properties depended on the modulation of the flow of electrons through them, these were ubiquitous in consumer electronics up until the 1960s, and clung on in a few mass-market applications even as far as the mid 1970s. As cheaper and more versatile semiconductors superseded them they faded from electronic parts catalogues, and the industry that had once produced them in such numbers disappeared in favour of plants producing the new devices. Consumer products no longer contained them, and entire generations of engineers grew up never having worked with them at all. If you were building a tube amplifier in the early 1990s, you were a significant outlier. Continue reading “Just Who Makes Tubes These Days?”

Aesthetic DIY Bluetooth Speakers

DIY Bluetooth speaker projects are always a staple here at Hackady. In our latest feature of DIY audio builds, we have [Patrick’s] vinyl cylindrical speaker.

He found a pretty inexpensive Bluetooth audio amplifier on AliExpress. However, the amplifier module oddly enough had a few missing components that were critical to its operation, so he had to do a little bit of re-work. Not something you generally expect to do when you purchase a pre-made module, but he was certainly up to the task.

He noticed the board amp module was missing a battery protection circuit even though there was space on the board laid out for those components (maybe an older board revision?). To remedy this problem, he added his own battery protection circuit to prevent any unwanted catastrophes. Secondly, he noticed a lot of distortion at high volumes and figured that some added capacitance on the power supply would help fix the distortion. Luckily, that did the trick.

Finally, and not quite a mistake on the manufacturer’s part this time, but an improvement [Patrick] needed for his own personal use. He wanted the amp module’s board-level LED indicator to be visible once the enclosure was fitted around the electronics. So, he used the built-in status trigger as a digital signal for a simple transistor circuit powering a much brighter ring LED that could be mounted onto the enclosure. That way, he could utilize the firmware for triggering the board-level status indicator for his own ring LED without any software modifications to the amp module.

Now, all that was left was to construct the enclosure he had 3D-printed and fit all the electronics in their place. We’ve gotten pretty used to the always impressive aesthetics of [Patrick’s] designs, having covered a project of his before, and this build is certainly no exception. Great job!

While you’re here, take a look at some other DIY Bluetooth speaker projects on Hackaday.

Continue reading “Aesthetic DIY Bluetooth Speakers”

3D Printed Speaker Uses DSP For Ultimate Performance

Speaker design used to be as much about woodwork as it was about advanced acoustic mathematics. In recent decades, technologies such as digital signal processing and 3D printing have changed the game significantly. Leaning heavily on these techniques, [ssashton] developed a design called Mr. Speaker.

The speaker contains a 3″ woofer for good bass response, and twin tweeters to deliver stereo audio. Using WinISD to help do the requisite calculations on porting and volume, [ssashton] designed a swooping 3D printed enclosure with a striking design. Sound comes into the unit through an off-the-shelf Bluetooth module, before being passed to an ADAU1401 digital signal processing unit. From there, it’s passed to a mono amp to drive the woofer and a stereo one for the tweeters.

To get the flattest frequency response possible and maintain linear phase, it’s all about DSP in this case. RePhase software was used to design a DSP filter to achieve these goals, helping the speaker to produce the desired output. The ADAU1401 DSP was then programmed using Sigma Studio, which also allows the designer to do things such as split outputs for seperate woofer and tweeter drives.

[ssashton] does a great job of explaining both DSP principles and old-school speaker design tricks, from phase plugs to reflections. The use of 3D printed parts to rapidly iterate the design is impressive, too. We’d love to see the final enclsoure get an acetone smoothing treatment to really take it over the edge.

If you’re into serious speaker design and want more, be sure to check out this advanced transmission line design. For those of you with your own builds with some nifty tricks, drop us a note on the tipline.

 

This Tube Preamp Has A Nixie Volume Display

The pursuit of audiophile hi-fi is one upon which many superlatives and perhaps a little too much money are lavished. But it’s also a field in which the self-builder can produce their own equipment that is as good or often better than that which can be bought, so it provides plenty of interesting projects along the way. [Justin Scott]’s tube preamplifier is a great example, with its novel use of a pair of Nixie tubes to indicate the volume to which it has been set.

The audio side of the preamp comes courtesy of a four-tube kit from tubes 4 hi-fi, in which we notice another tube as power supply rectifier. The case is a beautifully made wooden affair with a professional front panel, but it’s the Nixies which make it a bit special. A high quality motorised potentiometer is used as a volume control, one of its multiple outputs is used as a simple potential divider to provide a voltage. This is read by an Arduino, which in turn drives the Nixies via a BCD-to-decimal decoder. The attention to detail in the whole project is at a very high level, and though he’s not shred any of its audio measurements with us, we’d expect it to sound as good as it looks.

If tube amplifiers interest you, we’ve delved into their design in the past, and it’s worth directing you to Justin’s matching amplifier, as well.

ESP32 Becomes Music Player In Under 40 Lines Of Code

The demo code for [XTronical]’s ESP32-based SD card music player is not even 40 lines long, though it will also require a few economical parts before it all works. Nevertheless, making a microcontroller play MP3s (and other formats) from an SD card is considerably simpler today than it was years ago.

Part of what makes this all work is I2S (Inter-IC Sound), a format for communicating PCM audio data between devices. Besides the ESP32, at the heart of it all is an SD card reader breakout board and the MAX98357A, which can be thought of as a combination I2S decoder and Class D amplifier. The ESP32 reads audio files from the SD card and uses an I2S audio library to send the I2S data stream to the MAX98357A (or two of them for stereo.) From there it is decoded automatically and audio gets pumped though attached speakers.

A few economical components, and only a handful of connections between them.

It’s amazing how much easier audio is to work with when one can take advantage of shuffling audio data around digitally, and the decoder handles multiple formats with an amplifier built in. You can see [XTronical]’s ESP32 player in action in the video embedded below.

Continue reading “ESP32 Becomes Music Player In Under 40 Lines Of Code”

How Did They Get Sampled Sounds From An SN76489 8-bit Sound Chip?

If you were lucky and had well-off parents in the early 1980s, your home computer had a sound chip on board and could make music. There were a variety of chips on the market that combined in some form the tone generators and noise sources of a synthesiser, but without the digital-to-analogue converters of later sound chips designed for sampled audio. They gave birth to chiptune music, but that was all they were made to do. The essence of a hack lies in making something perform in a way it was never intended to, and some game developers for the Acorn BBC Micro had its SN76489 producing sampled audio when it should never have been possible. How did they do it? It’s a topic [Chris Evans] has investigated thoroughly, and his write-up makes for a fascinating explanation.

So, how can a set of audio tone generators be turned into a sampled audio player, and how can it be done when the CPU is a relatively puny 6502? There’s no processor bandwidth for clever Fourier transform tricks, and 1980s tech isn’t set up for high data bandwidths. The answer lies in making best use of the controls the chip does offer, namely frequency and volume of a tone. A single cycle of a tone can be given a volume, and thus can be treated as a single sample of an unintended DAC. By using a tone frequency well above the audio range a suitable sample frequency can be found, and thus an audio stream can be played. The write-up has links to some examples in an emulator, and while they’re hardly hi-fi they’re better than you might expect for the hardware involved. Still, even at that they don’t approach this amazing 48kHz playback on a Commodore 64.

Header: SN76489, on a Colecovision console motherboard. Evan-Amos / Public domain.