A Practical Discrete 386

There are some chips that no matter how much the industry moves away from them still remain, exerting a hold decades after the ranges they once sat alongside have left the building. Such a chip is the 386, not the 80386 microprocessor you were expecting but the LM386, a small 8-pin DIP audio amplifier that’s as old as the Ark. the ‘386 can still be found in places where a small loudspeaker needs to be powered from a battery. SolderSmoke listener [Dave] undertook an interesting exercise with the LM386, reproducing it from discrete components. It’s a handy small discrete audio amplifier if you want one, but it’s also an interesting exercise in understanding analogue circuits even if you don’t work with them every day.

A basic circuit can be found in the LM386 data sheet (PDF), but as is always the case with such things it contains some simplifications. The discrete circuit has a few differences in the biasing arrangements particularly when it comes to replacing a pair of diodes with a transistor, and to make up for not being on the same chip it requires that the biasing transistors must be thermally coupled. Circuit configurations such as this one were once commonplace but have been replaced first by linear ICs such as the LM386 and more recently by IC-based switching amplifiers. It’s thus instructive to take a look at it and gain some understanding. If you’d like to know more, it’s a chip we’ve covered in detail.

Comparing Bare Silicon On Two Game Boy Audio Chips

We always look forward to a new blog post by [Ken Shirriff] and this latest one didn’t cure us of that. His topic this time? Comparing two Game Boy audio chips. People have noticed before that the Game Boy Color sounds very different than a classic Game Boy, and he wanted to find out why. If you know his work, you won’t be surprised to find out the comparison included stripping the die out of the IC packaging.

[Ken’s] explanation of how transistors, resistors, and capacitors appear on the die are helpfully illustrated with photomicrographs. He points out how resistors are notoriously hard to build accurately on a production IC. Many differences can affect the absolute value, so designs try not to count on exact values or, if they do, resort to things like laser trimming or other tricks.

Capacitors, however, are different. The exact value of a capacitor may be hard to guess beforehand, but the ratio of two or more capacitor values on the same chip will be very precise. This is because the dielectric — the oxide layer of the chip — will be very uniform and the photographic process controls the planar area of the capacitor plates with great precision.

We’ve decapsulated chips before, and we have to say that if you are just starting to look at chips at the die level, these big chips with bipolar transistors are much easier to deal with than the fine and dense geometries you’d find even in something like a CPU from the 1980s.

We always enjoy checking in with [Ken]. Sometime’s he’s taking apart nuclear missiles. Sometimes he is repairing an old computer. But it is always interesting.

How To Hack A Portable Bluetooth Speaker By Skipping The Bluetooth

Portable Bluetooth speakers have joined the club of ubiquitous personal electronics. What was once an expensive luxury is now widely accessible thanks to a prolific landscape of manufacturers mass producing speakers to fit every taste and budget. Some have even become branded promotional giveaway items. As a consequence, nowadays it’s not unusual to have a small collection of them, a fertile field for hacking.

But many surplus speakers are put on a shelf for “do something with it later” only to collect dust. Our main obstacle is a side effect of market diversity: with so many different speakers, a hack posted for one speaker wouldn’t apply to another. Some speakers are amenable to custom firmware, but only a small minority have attracted a software development community. It doesn’t help that most Bluetooth audio modules are opaque, their development toolchains difficult to obtain.

So what if we just take advantage of the best parts of these speakers: great audio fidelity, portability, and the polished look of a consumer good, to serves as the host for our own audio-based hacks. Let’s throw the Bluetooth overboard but embrace all those other things. Now hacking these boxes just requires a change of mindset and a little detective work. I’ll show you how to drop an Arduino into a cheap speaker as the blueprint for your own audio adventures.

Continue reading “How To Hack A Portable Bluetooth Speaker By Skipping The Bluetooth”

Flicker Detector Lets You Hear What You Can’t See

Have you ever looked at modern LED lighting and noticed, perhaps on the very edge of your perception, that they seemed to be flickering? Well, that’s because they probably are. As are the LEDs in your computer monitor, or your phone’s screen. Pulse width modulation (PWM) is used extensively with LEDs to provide brightness control, and if it’s not done well, it can lead to headaches and eyestrain.

Looking to quantify just how much flashing light we’re being exposed to, [Faransky] has created a simple little gadget that essentially converts flashing light into an audio tone the human ear can pick up. Those LEDs might be blinking on and off fast enough to fool our eyes, but your ears can hear frequencies much higher than those used in common PWM solutions. In the video after the break, you can see what various LED light sources sound like when using the device.

The electronics here are exceptionally simple. Just connect a small solar panel to an audio amplifier, in this case the PAM8403, and listen to the output. To make it a bit more convenient to use, there’s an internal battery, charger circuit and USB-C port; but you could just as easily run the thing off of a 9 V alkaline if you wanted to build one from what’s already in the parts bin.

Who knows? If you carry this thing around long enough, you might even hear the far less common binary code modulation in action (but probably not).

Continue reading “Flicker Detector Lets You Hear What You Can’t See”

[Fran] Is Helping Santa Slay This Year

We know at least one person who ought to make Santa’s ‘nice’ list this year. [Fran] was probably near the top of it already, but sending Santa a handmade greeting card with a fully-functioning guitar amp inside will probably make him rewrite her name in glitter, or silver Sharpie.

This stocking stuffer-sized amp is based around the LM386 and the bare minimum components necessary to make it rock. Everything is dead-bug soldered and sandwiched between two pieces of card stock. The first version with a single 386 sounded okay, but [Fran] wanted it louder, so she added another stage with a second 386. [Fran] glued the rim of the speaker directly to the card so it can act like a cone and give a better sound than the speaker does by itself.

All Santa needs to rock out is his axe and a small interface made of a 1/4″ jack and a 9 V wired to a 3-pin header that plugs into the card. He can take a break from Christmas music and let some of those cookies digest while he jams. Be sure to check out the build video after the break if you want to stay off the ‘naughty’ list.

Want to make your own musical greeting card? If you can program an ATtiny85, you won’t need much more than that to send a smile. If visual art is more your thing, 3D print them a 2D picture.

Continue reading “[Fran] Is Helping Santa Slay This Year”

A Dozen Tubes Make An Educational Amplifier

If you asked [Hans_Daniel] what he learned by building a tube audio amplifier with a dozen tubes that he found, the answer might just be, “don’t wind your own transformers.” We were impressed, though, that he went from not knowing much about tubes to a good looking amplifier build. We also like the name — NASS II-12 which apparently stands for “not a single semiconductor.”

Even the chassis looked really good. We didn’t know textolite was still a thing, but apparently, the retro laminate is still around somewhere. It looks like a high-end audio component and with the tubes proudly on display on the top, it should be a lot of fun to use.

Continue reading “A Dozen Tubes Make An Educational Amplifier”

Tiny Guitar Amp Rebuilt With Tiny Tubes

[Blackcorvo] wrote in to tell us how he took a cheap “retro” guitar amplifier and rebuilt it with sub-miniature vacuum tubes. The end result is a tiny portable amplifier that not only looks the part, but sounds it to. He’s helpfully provided wiring schematics, build images, and even a video of the amplifier doing it’s thing.

Detail from the circuit diagram

The original Honeytone amplifier goes for about $26, and while it certainly looks old-school, the internals are anything but. [Blackcorvo] is too much of a gentleman to provide “before” pictures of the internals, but we looked it up and let’s just say it doesn’t exactly scream high quality audio. Reviews online seem to indicate it works about as well as could be expected for an amplifier that costs less than $30, but this is definitely no audiophile gear.

Powering up the miniature vacuum tubes takes a bit of modern support electronics, including a buck converter to provide the high voltage for the tubes as well as a 6V regulator. The plus side is that the new circuit can power the tubes from an input voltage between 12 and 30 volts, meaning the amplifier can still be powered by batteries if you want to take it on the go.

We’ve seen some fantastic tube amplifier builds over the years, proving that some things never go out of style. If you’d like to learn more about the magic that lets these little tubes of hot pixies make beautiful music, the US Army has you covered.

Continue reading “Tiny Guitar Amp Rebuilt With Tiny Tubes”