Machine Learning System Uses Images To Teach Itself Morse Code

Conventional wisdom holds that the best way to learn a new language is immersion: just throw someone into a situation where they have no choice, and they’ll learn by context. Militaries use immersion language instruction, as do diplomats and journalists, and apparently computers can now use it to teach themselves Morse code.

The blog entry by the delightfully callsigned [Mauri Niininen (AG1LE)] reads like a scientific paper, with good reason: [Mauri] really seems to know a thing or two about machine learning. His method uses curated training data to build a model, namely Morse snippets and their translations, as is the usual approach with such systems. But things take an unexpected turn right from the start, as [Mauri] uses a Tensorflow handwriting recognition implementation to train his model.

Using a few lines of Python, he converts short, known snippets of Morse to a grayscale image that looks a little like a barcode, with the light areas being the dits and dahs and the dark bars being silence. The first training run only resulted in about 36% accuracy, but a subsequent run with shorter snippets ended up being 99.5% accurate. The model was also able to pull Morse out of a signal with -6 dB signal-to-noise ratio, even though it had been trained with a much cleaner signal.

Other Morse decoders use lookup tables to convert sound to text, but it’s important to note that this one doesn’t. By comparing patterns to labels in the training data, it inferred what the characters mean, and essentially taught itself Morse code in about an hour. We find that fascinating, and wonder what other applications this would be good for.

Thanks to [Gordon Shephard] for the tip.

Learn Morse Code, Clockwork Orange Style

You might have to provide your own wrist straps and eye clamps, but if you want to learn Morse code, [Seth] has a web site for you. You can get code practice using the Farnsworth method and each letter is flashed before you as it is sent, which we assume will burn it into your brain.

Why learn Morse code now? Just about all countries now have at least some no code ham licenses and many have taken code off the tests completely. However, there are still many hams that use the code even today. Why? The personal challenge is part of it and perhaps nostalgia. However, it is also true that Morse code transmitters and receivers are dead simple to build and can get through where other simple radios can’t.

Continue reading “Learn Morse Code, Clockwork Orange Style”

Blue Pill Makes Cheap But Powerful Morse Tutor

[W8BH] attended a talk by another ham, [W8TEE] that showed a microcontroller sending and receiving Morse code. He decided to build his own, and documented his results in an 8 part tutorial. He’s using the Blue Pill board and the resulting device sends code with paddles, sends canned text, provides an LCD with a rotary knob menu interface, and even has an SD card for data storage.

All the code is on GitHub. If you are interested in Morse code or in learning how to write a pretty substantial application using the Blue Pill and the Arduino IDE (or any other similar processor), this is a great exposition that is also a practical tool.

Continue reading “Blue Pill Makes Cheap But Powerful Morse Tutor”

EBay Modules And Custom PCBs Make A Plug And Play Ham Transceiver

Many of us have fond memories of our introduction to electronics through the “200-in-1” sets that Radio Shack once sold, or even the more recent “Snap Circuits”-style kits. Most of eventually us move beyond these kits to design our circuits; still, there’s something to be said for modular designs. This complete amateur radio transceiver is a great example of that kind of plug and play construction.

The rig is the brainchild of [jmhrvy1947], who set out to build a complete transceiver using mostly eBay-sourced modules. Some custom PCBs are used, but those are simple boards that can be etched and drilled easily. The transceiver is only for continuous-wave (CW) use, which would normally mean you’d need to know Morse, but thanks to some clever modifications to open-source apps like Quisk and FLDigi, Morse can be received and sent directly from the desktop. That will no doubt raise some hackles, but we think it’s a great way to learn code. The rig is QRP, or low power, transmitting only 100 mW with the small power amp shown. Adding eBay modules can jack that up to a full 100 Watts, which also requires adding a 12-volt power supply, switchable low-pass filters, a buck-boost converter, and some bandpass filters for band selection. It ends up looking very experimental, but it works well enough to make contacts.

We really like the approach here, and the fact that the rig can be built in stages. That makes it a perfect project for our $50 Ham series, which just kicked off. Perhaps we’ll be seeing it again soon.

Continue reading “EBay Modules And Custom PCBs Make A Plug And Play Ham Transceiver”

Ham Goes Nuts For Tiny Transmitter

What’s the minimal BOM for a working amateur radio transmitter? Looks like you can get away with seven parts, or eight if you include the walnut. You’ve got to have a walnut.

Some hams really love the challenge of QRP, or the deliberate use of low-power transmitters to provide a challenge to making long-distance contacts. We’ve covered the world of QRP before and noted that while QRP rigs don’t throw a lot of power, it doesn’t mean that they need to be simple. Some get quite complex and support many different modulation schemes, even digital modes. With only a single 2N3904 transistor,  [Jarno (PA3DMI)]’s tiny transmitter won’t do much more than send Morse using CW modulation, but given that it’s doing so from inside a walnut shell, we have no complaints. The two halves of the shell are hinged together and hold a scrap of perfboard for the simple quartz crystal oscillator. The prototype was tuned outside the shell,  and the 9-volt battery is obviously external, but aside from that it’s nothing but nuts.

We’d love to see [Jarno] add a spring to the hinge and contacts on the shell halves so no keyer is required. Who knows? Castanet-style keying might be all the rage with hams after that.

Continue reading “Ham Goes Nuts For Tiny Transmitter”

World’s Thinnest Morse Code Touch Paddle

Morse code enthusiasts can be picky about their paddles. After all, they are the interface between the man and the machine, and experienced telegraphers can recognize each other by their “hands”. So even though [Edgar] started out on a cheap, clicky paddle, it wouldn’t be long before he made a better one of his own. And in the process, he also made what we think is probably the thinnest paddle out there, being a single sheet of FR4 PCB material and a button cell battery. This would be perfect for a pocketable QRP (low-power) rig. Check it out in action in the video below.

There’s not much to a Morse code paddle. It could, of course, be as simple as two switches — one for “dit” and one for “dah”. You could make one out of a paperclip. [Edgar]’s version replaces the switches with capacitive sensing, done by the ATtiny4 on board. Because this was an entry in the 1kB challenge, he prioritized code size over features, and got it down to a ridiculous 126 bytes! Even so, it has deluxe features like autorepeat. We’d have to dig into the code to see if it’s iambic.
Continue reading “World’s Thinnest Morse Code Touch Paddle”

A Beautiful Morse Key From A Hard Drive Actuator

Morse code, or CW, is a subject that divides the amateur radio community from top to bottom. For some it’s a faded anachronism, while for others it’s the purest form of the art. With it no longer in significant commercial or military use it is radio amateurs who keep it alive, and those for whom it is a passion devote considerable effort to its continuing use.

With well over a century of history behind it there are a huge array of morse keys available to the CW enthusiast. From vintage telegraph keys through WW2 surplus military keys to sideways “bug” keys and modern boutique handcrafted keys, many operators will amass a collection for the love of it, and regularly use them all.

Just one of the hand-drawn illustrations for this project.
Just one of the hand-drawn illustrations for this project.

Other operators create their own keys, either crafting them from raw materials or using whatever materials they have at hand. Keys have been made from every conceivable piece of junk that will conduct electricity, and made contacts to all parts of the world.

[H. P. Friedrichs, AC7ZL] has produced such a home-made key from surplus material, but it has nothing of the junkbox about it. He’s used the head actuator from a surplus hard drive as the arm of a straight key, and the result is an item of beauty.  The actuator bearing is the pivot point, and the business end of the key replaces the hard drive’s heads. The spring is provided by the repulsive force between magnets, the connection at the rear is provided by a piece of guitar string, and the contacts themselves are taken from a surplus power relay. Even his write-up is a thing of beauty, a compelling read with hand-drawn illustrations. If you are not a Morse enthusiast it’s still an engaging project.

We’ve featured many keys here over the years, and this isn’t the first one using a hard drive actuator, as this mint tin paddle shows. Among others we’ve linked you to a collection of unorthodox keys, and of course shown you a vintage telegraph key with a Raspberry Pi decoder.