Simplest Speaker Oscillator, Now Even Simpler

It never fails. Lay down some kind of superlative — fastest, cheapest, smallest — around this place and someone out there says, “Hold my beer” and gets to work. In this case, it’s another, even simpler audio oscillator, this time with just a loudspeaker and a battery.

Attentive readers will recall the previous title holder was indeed pretty simple, consisting only of the mic and speaker from an old landline telephone handset wired in series with a battery. Seeing this reminded [Hydrogen Time] of a lucky childhood accident while experimenting with a loudspeaker, which he recreates in the video below. The BOM for this one is even smaller than the previous one — just a small speaker and a battery, plus a small scrap of solid hookup wire. The wire is the key; rather than connecting directly to the speaker terminal, it connects to the speaker frame on one end while the other is carefully adjusted to just barely touch the flexible wire penetrating the speaker cone on its way to the voice coil.

When power is applied with the correct polarity, current flows through the wire into the voice coil, which moves the cone and breaks the circuit. The speaker’s diaphragm resets the cone, completing the circuit and repeating the whole process. The loudspeaker makes a little click with each cycle, leading to a very rough-sounding oscillator. [Hydrogen Time] doesn’t put a scope on it, but we suspect the waveform would be a ragged square wave whose frequency depends on the voltage, the spring constant of the diaphragm, and the spacing between the fixed wire and the voice coil lead.

Yes, we realize this is stretching the definition of an audio oscillator somewhat, but you’ve got to admit it’s simple. Can you get it even simpler?

Continue reading “Simplest Speaker Oscillator, Now Even Simpler”

Sound And Water Make Weird Vibes In Microgravity

NASA astronaut [Don Pettit] shared a short video from an experiment he performed on the ISS back in 2012, demonstrating the effects of sound waves on water in space. Specifically, seeing what happens when a sphere of water surrounding an air bubble perched on a speaker cone is subjected to a variety of acoustic waves.

The result is visually striking patterns across different parts of the globe depending on what kind of sound waves were created. It’s a neat visual effect, and there’s more where that came from.

[Don] experimented with music as well as plain tones, and found that cello music had a particularly interesting effect on the setup. Little drops of water would break off from inside the sphere and start moving around the inside of the air bubble when cello music was played. You can see this in action as part of episode 160 from SmarterEveryDay (cued up to 7:51) which itself is about exploring the phenomenon of how water droplets can appear to act in an almost hydrophobic way.

This isn’t the first time water and sound collide in visually surprising ways. For example, check out the borderline optical illusion that comes from pouring water past a subwoofer emitting 24 Hz while the camera captures video at 24 frames per second.

Build Yourself A Vacuum Tube VU Meter

Volume unit (VU) meters are cool — it’s an undeniable fact. For some reason, humans just dig lights that flash along with sounds. You can build a VU meter using LEDs, or bulbs if you’re trapped in 1972. Or, you could use special vacuum tubes. [mircemk] did just that in their latest VU meter project.

The 6E2 vacuum tube is the part for the job in this case. You might think a specialist tube like this is expensive, but they can be had for just a few dollars from online retailers. They were often used as tuning indicators, but here, they’re used as a responsive VU meter instead. However, instead of a single bar going up and down, you get a pair of bars that raise to meet in the middle.

[mircemk] explains all the circuitry required to drive the tubes, and how to hook them up to create a two-channel stereo VU meter. The final circuit largely relies on a transistor, a diode, some passive components, and a DC-DC boost supply to generate 250 V for the tubes.

The final result looks pretty neat, particularly as it’s built into an old-school blue project box. We’ve seen similar projects from [mircemk] before, too. Continue reading “Build Yourself A Vacuum Tube VU Meter”

Creating A Numbers Station Of Your Very Own

Numbers stations are a weird phenomenon where odd voices read out long strings of numbers or random codewords to the confusion of the vast majority of the listening audience. If you’ve ever wanted to build one of your own, you could follow the example of [AudioWanderer].

NumberMumble, as it’s called, is a numbers station emulator. It doesn’t signal spy networks or reveal national secrets. Instead, it randomly plays audio samples using an Arduino, including characteristic bursts of white noise that make it sound more authentic. It relies on the Mozzi library to help with audio tasks, including generating white noise and playing back samples. It’s also kitted out with a filter knob for varying the tone. Audio output is via PWM.

If you want to confuse your neighbours with oddball audio, put this thing on a radio transmitter and get broadcasting. But don’t, because that’s illegal without the proper licenses or — you know — if you happen to be a real spy. Video after the break.

Continue reading “Creating A Numbers Station Of Your Very Own”

Playing Audio On The Pi Pico With No DAC To Speak Of

Normally, if you want to play music or other audio on a microcontroller, you need to get yourself a DAC. Or at least, that’s the easiest way to go about it and the one most likely to get you good, intelligible audio. You don’t have to go that way, though, as [antirez] demonstrates.

[antirez] decided to do this with a Pi Pico, but it’s applicable to other microcontrollers too. It’s all done with a single pin and a PWM output. The PWM output is set to a very high frequency beyond human hearing. In this case, it was 100 KHz. Then, the duty cycle of the PWM is changed to essentially output various average voltage levels at the pin. Vary the output voltage as per your desired sound file by using each sample to vary the duty cycle of the PWM. Voila! You can output whatever sound you want on that pin! [antirez] steps through the basics of doing this, including processing simple WAV files into a raw format that can be dumped into MicroPython code.

There’s no sound sample on the project page, and we’d have to assume it sounds pretty crunchy when hooked up to a speaker. And yet, it could prove a useful technique if you’re designing your own audio greeting cards or something, so keep that in mind!

Reverse Engineering The Behringer Ultranet Protocol

Ultranet is a protocol created by audio manufacturer Behringer to transmit up to 16 channels of 24-bit sound over a Cat-5 cable. It’s not an open standard, though: Behringer doesn’t offer an API or protocol description to build your own Ultranet devices. But that didn’t stop [Christian Nödig], thanks to a defective mixer, he poked into the signals and built his own Ultranet receiver.

Ultranet runs over Cat-5 ethernet cables but isn’t an ethernet-based protocol. The electrical protocols of Ultranet are identical to Ethernet, but the signaling is different, making it a Level 1 protocol. So, you can use any Cat-5 cable for Ultranet, but you can’t just plug an Ultranet device into an Ethernet one. Or rather, you can (and neither device should explode), but you won’t get anything out of it.

Instead, [Christian]’s exploration revealed that Ultranet is based on another standard: AES/EBU, the bigger professional brother of the SPD/IF socket on HiFi systems. This was designed to carry digital audio over an XLR cable, and Behringer has taken AES/EBU and tweaked it to run over a single twisted pair. With two twisted pairs in the cable carrying a 192 kbps signal, you get sixteen channels of 24-bit audio in total over two twisted pairs inside the Cat-5 cable.

That’s a bit fast for a microcontroller to decode reliably, so [Christian] uses the FPGA in an Arduino Vidor 4000 MKR in his receiver with an open-source AES decoder core to receive and decode the Ultranet signal into individual channels, which are passed to an ADC and analog output.

In effect, [Christian] has built a 16-channel mixer, although the mixing aspect is too primitive for actual use. It would be great for monitoring, though, and it’s a beautiful description of how to dig into protocols like Ultranet that look locked up but are based on other, more open standards.

Continue reading “Reverse Engineering The Behringer Ultranet Protocol”

Tube Design Tips To Save A Writer’s Project

Most of the stories we cover here are fresh from the firehose, the newest and coolest stuff to interest you during your idle moments. Sometimes though, we come across a page that’s not new, but is interesting in its own right enough to bring to your attention. So it is with our subject here, because when faced with a tube circuit design problem, we found salvation in a page from [The Valve Wizard].

Do you need to apply negative feedback to a triode amplifier? The circuit is simplicity itself, but sadly when we were at university they had long ago stopped teaching the mathematics behind the component values. Step forward everything you need to know about triode amplifier negative feedback.

Negative feedback is a pretty simple idea: subtract a little of the amplifier’s output from the input. It reduces the amplifier’s gain with a flat response, so it’s useful for removing humps in the frequency response and reducing the tendency for distortion. In a single-ended triode amp it’s done with a resistor and capacitor from anode to grid, but the question is, just what resistor or capacitor?. Here the page has all the answers, taking the reader through calculating the desired gain, and picking the value of the capacitor to avoid affecting the frequency response. We wish that someone had taught us this three decades ago!

The website is full of really useful info about valve or tube amps, and it’s worth mentioning that he’s made it available in book format too. There’s no reason not to have a go at vacuum electronics. Meanwhile in case you are wondering what project prompted this, it was a quest to improve upon this cheap Chinese kit amplifier.