Supercon 2022: Mooneer Salem Goes Ham With An ESP32

After being licensed as a ham radio operator since the early 2000s, you tend to start thinking about combining your love for the radio with other talents. In a 20-minute talk at Hackaday Supercon 2022, [Mooneer Salem] tells the story of one such passion project that combined software and radio to miniaturize a digital ham radio modulator.

[Mooneer] works as a software developer and contributes to a project called FreeDV (free digital voice), a digital voice mode for HF radio. FreeDV first compresses the digital audio stream, then converts it into a modulation scheme sent out over a radio. The appeal is that this can be understandable down to very low signal-to-noise ratios and includes metadata and all the other niceties that digital signals bring.

Traditionally, this has required a computer to compress the audio and modulate the signal in addition to two sound cards. One card processes the audio in and out of your headset, and another for the audio coming in and out of the radio. [David Rowe] and [Rick Barnich] developed the SM1000, a portable FreeDV adapter based around the STM32F4 microcontroller. However, flash space was running low, and the cost was more than they wanted. Continue reading “Supercon 2022: Mooneer Salem Goes Ham With An ESP32”

A homebrew computer built inside plexiglass cases with lots of LEDs

The Coleman Z80 Is A Modern Take On A 1970s Computer

[Joshua Coleman] likes to design his own computers. Sometimes, that means drawing up bus architectures,  memory maps and I/O port pinouts. Other times, he can focus his efforts more on the general aesthetics, as well as on building a great set of peripherals, as he shows in his latest ColemanZ80 project. Thanks to the RC2014 architecture defining most of the essential features of a classic Z80 computing platform, [Joshua] was able to design a modern retrocomputer that’s not only genuinely useful, but also looks as if it came off a production line yesterday.

The external design is a sight to behold: bright red laser-cut acrylic pieces form a neat, semi-transparent case with ventilation slots on the sides and lots of blinkenlights on the front. Inspired by 1970s classics like the Altair 8800, the front panel gives the user a direct view of the machine’s internal state and allows simple command inputs through a series of tumbler switches. The CPU, RAM and other basic devices are housed in one case, with all the expansion modules in a second one, linked to the mainboard through a 40-wire flatcable.

A hand-built Z80 computer's mainboard
Lots of classic chips, but also loads of hand-routed wires grace the ColemanZ80’s mainboard.

Although the mainboard closely follows the RC2014 design, [Joshua] went through a lot of effort to tune the system to his specific needs. The expansion boards he built include an NS16550 UART to replace the default 68B50, a battery-backed real-time clock, a YM2149-based sound card and even a speech synthesizer module built around the classic SP0256 chip, of Speak & Spell fame. An even more unusual feature is the presence of an AM9511, one of the earliest math coprocessors ever made, to speed up floating-point calculations. All of these modules were built entirely by hand on prototype boards: we can barely imagine how much time this must have taken.

Output devices include a VGA adapter courtesy of a Raspberry Pi Pico as well as a regular 4-digit 7-segment LED display and a set of classic HP “bubble” LEDs. [Joshua] runs several demos in his video (embedded below), ranging from computing the Mandelbrot set to playing chiptunes on the YM2149. There’s plenty of scope for further expansion, too: [Joshua] plans to build more peripherals including a floppy drive interface and a module to operate a robotic car.

This is not the first Coleman Z80 computer: the previous version ran on an architecture [Joshua] designed all by himself. We’ve seen several other impressive RC2014 derivatives, like a tiny micro version and this Altair-inspired case.

Continue reading “The Coleman Z80 Is A Modern Take On A 1970s Computer”

A smartphone-sized PCB is in a person's hand. A large blue chip package houses a 486 and the board has a SoundBlaster card and a 40 PIN Raspberry Pi Connector along one edge for attaching a Raspberry Pi Zero.

TinyLlama Is A 486 In Your Pocket

We love retrocomputing and tiny computers here at Hackaday, so it’s always nice to see projects that combine the two. [Eivind]’s TinyLlama lets you play DOS games on a board that fits in your hand.

Using the 486 SOM from the 86Duino, the TinyLlama adds an integrated Crystal Semiconductor audio chip for AdLib and SoundBlaster support. If you populate the 40 PIN Raspberry Pi connector, you can also use a Pi Zero 2 to give the system MIDI capabilities when coupled with a GY-PCM5102 I²S DAC module.

Audio has been one of the trickier things to get running on these small 486s, so its nice to see a simple, integrated solution available. [Eivind] shows the machine running DOOM (in the video below the break) and starts up Monkey Island at the end. There is a breakout board for serial and PS/2 mouse/keyboard, but he says that USB peripherals work well if you don’t want to drag your Model M out of the closet.

Looking for more projects using the 86Duino? Checkout ISA Sound Cards on 86Duino or Using an 86Duino with a Graphics Card.

Continue reading “TinyLlama Is A 486 In Your Pocket”

Getting To The Heart Of A Baofeng

In amateur radio circles, almost no single piece of equipment serves as more of a magnet for controversy than the humble Baofeng handheld transceiver. It’s understandable — the radio is a shining example of value engineering, with just enough parts to its job while staying just on the edge of FCC rules. And at about $25 a pop, the radios are cheap enough that experimentation is practically a requirement of ownership.

But stripped down as the Baofeng may be, it holds secrets inside that are even more tempting to play with than the radio itself. And who better than [HB9BLA], a guy who has a suspiciously familiar Swiss accent, to guide us through the RF module at the heart of the Baofeng, the SA818. For about $8 you can get one of these little marvels off AliExpress and have nearly all the important parts of a VHF or UHF radio — an SDR transceiver, a power amp, and all the glue logic to make it work.

In the video below, [Andreas] puts the SA818 module through its paces with the help of a board that pairs the module with a few accessories, like an audio amp and a low-pass RF filter. With a Raspberry Pi and a Python library to control the module, it’s a decent imitation of the functionality of a Baofeng. But that’s only the beginning. By adding a USB sound card to the Pi, the setup was able to get into every ham’s favorite packet radio system, APRS. There are a ton of other applications for the SA818 modules, some of which [Andreas] mentions at the end of the video. Pocket-sized repeaters, a ridiculously small EchoLink hotspot, and even an AllStar node in an Altoids tin.

Of course, if you want to get in on the fun, you’re going to need an amateur radio license. Don’t worry, it’s easy — we’ll help you get there.

Continue reading “Getting To The Heart Of A Baofeng”

Classic DOS Games On An Arduino?

It has been a while since we’ve seen a 86Duino, but [TheRasteri] reminded us about it, with his video showing how to use one to run classic MS-DOS games. To be fair, the computer isn’t really an Arduino, it’s essentially a tiny 486 PC on an Arduino-style PCB.

If it were just running DOS games on a tiny PC, that wouldn’t be very newsworthy. However, the board by itself has no video card and, as [TheRasteri] points out, sound card compatibility is also a problem. A carrier board, however, has a tiny VGA card on it, and thanks to some work from another user, it is possible to add an ISA bus to the board if you want to plug in a legacy sound card.

The ISA hack was done neatly, but it is a bit of wiring. Instead of using a normal ISA backplane, it is possible to use a PC/104 backplane, if you have cards that will fit that bus — electrically, they are the same. The board was able to run DOOM and Quake at nearly 30 frames per second. Not bad. He did have problems getting a mouse to work, though.

Got a bit nostalgic watching him use QBasic to directly write to registers on an ISA card. If you want an old DOS machine and don’t want to tie up a lot of space, this could be the ticket. Especially if you need it to run some old piece of hardware that won’t work with modern computers. We have to wonder if anyone would make a USB to ISA adapter out of something like this. The drivers would seem to be the hard part.

We saw the 86Duino nearly 10 years ago when there were a few other x86 single-board computers around. Apparently, lots of people want to run vintage games.

Continue reading “Classic DOS Games On An Arduino?”

ADSL Router As Effects Pedal

Moore’s law might not be as immutable as we once though thought it was, as chip makers struggle to fit more and more transistors on a given area of silicon. But over the past few decades it’s been surprisingly consistent, with a lot of knock-on effects. As computers get faster, everything else related to them gets faster as well, and the junk drawer tends to fill quickly with various computer peripherals and parts that might be working fine, but just can’t keep up the pace. [Bonsembiante] had an old ADSL router that was well obsolete as a result of these changing times, but instead of tossing it, he turned it into a guitar effects pedal.

The principle behind this build is that the router is essentially a Linux machine, complete with ALSA support. Of course this means flashing a custom firmware which is not the most straightforward task, but once the sound support was added to the device, it was able to interface with a USB sound card. An additional C++ program was created which handles the actual audio received from the guitar and sound card. For this demo, [Bonsembiante] programmed a ring buffer and feeds it back into the output to achieve an echo effect, but presumably any effect or a number of effects could be programmed.

For anyone looking for the source code for the signal processing that the router is now performing, it is listed on a separate GitHub page. If you don’t have this specific model of router laying around in your parts bin, though, there are much more readily-available Linux machines that can get this job done instead.

Continue reading “ADSL Router As Effects Pedal”

Simple Breadboard SDR For Shortwave

One of the best ways to learn about radios is to build your own, even in the age of cheap SDR dongles. [Aniss Oulhaci] demonstrates this with a simple HF SDR receiver built on a breadboard.

The receiver takes the form of a simplified Tayloe detector. An RF preamp circuit amplifies the signal from a shortwave antenna and feeds it into a 74HC4066D analog switch, which acts as a switching mixer. It mixes the input signal with the local oscillator’s I and Q signals to produce the intermediate frequency signals. The local oscillator consists of a SI5351 clock generator with a 74HC74D flip-flop to generate the I and Q pair. The signals pass through a low pass filter stage and get amplified by an LM358 op amp, resulting in the IQ signal pair being fed to a computer’s stereo sound card.

An Arduino is used to control the SI5351 clock generator, which in turn is controlled by the same program created for the SDR Shield. With the audio signal fed to HDSDR, [Aniss] was able to pick up a shortwave radio broadcaster.

While this is by no means a high-performance receiver, building an SDR on a breadboard is still a great weekend project, with plenty of potential for further experimentation.

Continue reading “Simple Breadboard SDR For Shortwave”