PicoGUS: For All Your ISA Sound Card Needs

Sound cards used to be a big part of gaming machines in the 90s and 2000s but have largely gone extinct in the wake of powerful CPUs doing the sound themselves. Sound cards were expensive back then and, because the good ones weren’t very common, are expensive still for the retro gamer. But if you don’t need the real thing, [polpo] has you covered with his RP2040-based ISA sound card.

The PicoGUS, as he calls it, primarily serves to replace the Gravis UltraSound with modern components at a low cost. It uses the RP2040’s PIO to attach to an ISA bus and the RP2040’s dual-core power to synthesize the audio for its primary target, but also the AdLib (OPL2), CMS/Game Blaster and Tandy 3-Voice. [polpo] sells the PicoGUS on his Tindie store, but since it’s open source, you can of course just make your own.

Although “work-in-progress”, the PicoGUS is very useful to the right person and a perfect demonstration of how the RP2040’s PIO can be used to interface with almost any type of protocol.

Of couse, that’s not the only way to use the PIO, you can also create a CAN bus or even add another USB port.

Your PC Sound Card As A Sensor Input

The commoditised PC is the most versatile tool many of us will own, and since it has been around for a very long time it is also something that can be found for free or very cheaply if the latest components aren’t a concern. It’s not without limitations though, while it’s designed for expansion it no longer has any ports that can easily be repurposed as GPIOs for reading sensors. A solution for some sensors comes courtesy of [Ruslan Nagimov], who shows us how the PC sound card can become a measurement interface.

The idea is that simple resistive or capacitive sensors can be read through their AC characteristics by sending out a sine wave on one channel of the card and reading the result on the other from a divider circuit. He goes extensively into the code, both for the resistive example and for reactive components, and we can see that it forms a handy extension to the PC capabilities.

We’re sure this technique will find applications for some readers, but it interests us for another platform. Measurement using a mobile phone’s audio jack doesn’t have an inspiring history, but perhaps this could be used as well for mobile sensors.

Spice With A Sound Card

In years gone by, trying out a new circuit probably would have meant heating up a soldering iron. Solderless breadboards have made that even easier and computer simulation is easier still, but there’s something not quite as satisfying about building a circuit virtually. [Thedeuluiz] has a way to get some of the best of both worlds with the RTSpice project.

The idea is simple in concept, although not as simple in execution. The program does a Spice-like simulation of a circuit and can accept input and produce output from a PC’s sound card. Obviously, that means you can’t simulate RF circuits — at least not at the input and the output. It also means the simulation has to run lightning fast to keep up with the sound card sample rate. According to the author, it works best with modest circuits but exactly how big you can go will depend on your hardware.

Continue reading “Spice With A Sound Card”

Sound Card ADCs For Electrocardiograms

Every few years, or so we’re told, [Scott] revisits the idea of building an electrocardiogram machine. This is just a small box with three electrodes. Attach them to your chest, and you get a neat readout of your heartbeat. This is a project that has been done to death, but [Scott]’s most recent implementation is fantastic. It’s cheap, relying on the almost absurd capability for analog to digital conversion found in every sound card, and the software is great. It’s the fit and finish that makes this project shine.

The hardware for this build is simply an AD8232, a chip designed to be the front end of any electrocardiogram. This is then simply connected to the microphone port of a sound card through a 1/8″ cable. For the exceptionally clever, there’s a version based on an op-amp. It’s an extraordinarily simple build, but as with all simple builds the real trick is in the software. That’s where this project really shines, with custom software with graphics, and enough information being displayed to actually tell you something.

We’ve seen a number of sound card ADCs being used for electrocardiograms in the past, including some from the Before Times; it makes sense, sound cards are the cheapest way to get a lot of analog data very quickly. You can check out [Scott]’s demo video out below.

Continue reading “Sound Card ADCs For Electrocardiograms”

Detecting Mobile Phone Transmissions With A Sound Card

Anyone who had a cheap set of computer speakers in the early 2000s has heard it – the rhythmic dit-da-dit-dit of a GSM phone pinging a cell tower once an hour or so. [153armstrong] has a write up on how to capture this on your computer. 

It’s incredibly simple to do – simply plug in a set of headphone to the sound card’s microphone jack, leave a mobile phone nearby, hit record, and wait. The headphone wire acts as an antenna, and when the phone transmits, it induces a current in the wire, which is picked up by the soundcard.

[153armstrong] notes that their setup only seems to pick up signals from 2G phones, likely using GSM. It doesn’t seem to pick up anything from 3G or 4G phones. We’d wager this is due to the difference in the way different cellular technologies transmit – let us know what you think in the comments.

This system is useful as a way to detect a transmitting phone at close range, however due to the limited bandwidth of a computer soundcard, it is in no way capable of actually decoding the transmissions. As far as other experiments go, why not use your soundcard to detect lightning?

Supersonic Speed Measurement With A Sound Card

You might think that if you have a need to measure the speed of a projectile that is too fast for your high-speed camera, you would have to invest in some significantly expensive equipment.

That was the problem facing [Nick Moore], and the solution he arrived at is extremely elegant in its simplicity. He’s arranged a pair of foil tapes in the path of the projectile, as it passes through them they break, and he measures the time between those breaks. The clever bit though lies not in the tapes, but in how he measures the timing. Instead of relying on a lab stuffed with equipment, he’s using his computer sound card. The outputs send a tone through each tape to the inputs, and using Audacity he can capture both tones and measure the time between the end of each one on left and right channels.

In the video below the break he demonstrates measuring the speed of a supersonic particle at 496.5 metres per second, which for such relatively simple equipment is rather an achievement. He could certainly improve his resolution by increasing the sampling frequency, but we are guessing that the choice of 48 kHz owes much to the quality of his sound card. Still, to achieve this with such a relatively basic piece of equipment is a neat achievement.

Continue reading “Supersonic Speed Measurement With A Sound Card”

A Reproduction Vintage Sound Card

Before the AdLib sound card, sound on PCs was in a terrible shape. Since the dawn of IBM, all PCs included a speaker, but this PC speaker was only capable of sounding one note at a time. Chords on the PC speaker produced a weird ‘bubbling’ effect. Just a few years later, 8-bit sound could be created with the Covox Speech Thing, effectively a resistor ladder, with the parallel port on one side, and an 1/8″ plug on the other. These solutions for PC sound sucked.

It wasn’t until the first AdLib cards that superior sound showed up on the PC. Recently, [eric] had been fixing up an old IBM XT and quickly realized the original AdLib sound cards were collector’s items and far too expensive for what they were. He decided to build a reproduction Ad Lib. completely compatible and nearly identical to the original 1990 version of the best sound card on the market.

The first Ad Lib sound card is a relatively simple circuit based on the Yamaha YM3012 (OPL2) and YM3014B chips. These chips are frequently available on eBay, and [Sergey] already has a complete circuit for turning these chips into an ISA sound card. While this modern card is compatible with the AdLib Music Synthesizer Card, it doesn’t look like one. [eric] wanted a card that looked like the real thing, and sounded like one, too.

PCB design has come a long way in a generation, and where the AdLib card was once a wonder of modern technology, anyone with enough patience can now design an identical board, send the file off to China, and receive a reproduction of the first successful sound card. All the files are up on Github should you want to build your own. Now all we need is someone making modern 486 motherboards.