Raspberry Pi Learns Slow Morse Code

It wasn’t long ago that you needed to know Morse code to be a ham radio operator. That requirement has gone in most places, but code is still useful and many hams use it, especially hams that like to hack. Now, hams are using the Raspberry Pi to receive highly readable Morse code using very low power. The software is QrssPiG and it can process audio or use a cheap SDR dongle.

There are a few reasons code performs better than voice and many other modes. First, building transmitters for Morse is very simple. In addition, Morse code is highly readable, even under poor conditions. This is partly because it is extremely narrow bandwidth and partly because your brain is an amazing signal processor.

Like most communication methods, the slower you go the easier it is to get a signal through. In ham radio parlance, QRS means “send slower”, so QRSS has come to mean mean “send very slowly”. So hams are using very slow code, and listening for it using computerized methods. Because the data rate is so slow, the computer has time to do extreme methods to recover the signal — essentially, it can employ an extremely narrow filter. Having a QRSS signal detected around the world from a transmitter running much less than a watt is quite common. You can see a video introduction to the mode from [K6BFA] and [KI4WKZ], below.

Continue reading “Raspberry Pi Learns Slow Morse Code”

A Vintage Morse Key Turned into USB Keyboard

Time was when only the cool kids had new-fangled 102-key keyboards with a number pad, arrow keys, and function keys. They were such an improvement over the lame old 86-key layout that nobody would dream of going back. But going all the way back to a one-key keyboard is pretty cool, in the case of this Morse keyer to USB keyboard adapter.

To revive her dad’s old straight key, a sturdy mid-20th century beast from either a military or commercial setup, [Nomblr] started with a proper teardown and cleaning of the brass and Bakelite pounder. A Teensy was chosen for the job of converting Morse to keyboard strokes; careful consideration to the timing of dits and dahs and allowances for contact debouncing were critical to getting the job done. A new wooden base not only provides stability for the key but hides the Teensy and makes for a new presentation. The video below shows it in action; our only complaint is the lack of sidetone to hear the Morse as you pound out that next great novel one click at a time.

Lovingly restored telegraph gear is a bit of a thing around here; we featured this vintage telegraph sounder revived with a Morse code sender not too long ago.

[via r/DIY]

Thanks to [Liz] for the tip

Mindstorms Morse Key Writes to Drawbot

[Jason Allemann] built a Mindstorms Telegraph Machine that packs so many cool details that HaD is about to have a fit.

First off, It’s a drawbot able to write letters, a difficult feat given a lack of native stepper motors and the limited gear options for Mindstorms.  Trying to draw letters with servos typically makes for some ugly letters. And how does the drawbot know what to write? You code them in with Morse code. The second video after the break shows [Jason]’s setup. He has a Mindstorms touch sensor with a LEGO Morse key attached to it. He simply taps on the key and the EV3 Intelligent Brick interprets his dots and dashes and translates them into letters.

Next off, [Jason]’s printer is built using one EV3 set. It’s one thing to build a cool Mindstorms robot with whatever you have in your parts bin, but the gold standard is to make a project that can be built with only one EV3 set. That way, anyone with the set can build the project. Precious few really cool projects can be built with just one set–[David Gilday]’s MindCub3r Rubik’s cube solver comes to mind. Dude, this is another one.

Last off, [Jason] breaks down how to build it, providing full LDraw building steps and EV3 code on his site. Even better, he shows how to supersize the project by adding a second EV3 brick, which can connect to the drawbot’s EV3 brick via bluetooth and serve as a standalone CW key. He shows off this part in the second video.

Icing on the cake, [Jason] even built a Morse reference book, done appropriately in 100% LEGO.

Hackaday loves innovative LEGO projects, like this game-playing robot and this LEGO exoskeleton.

Continue reading “Mindstorms Morse Key Writes to Drawbot”

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”

Early Electromechanical Circuits

In the days before semiconductor diodes, transistors, or even vacuum tubes, mechanical means were used for doing many of the same things. But there’s still plenty of fun to be had in using those mechanical means today, as [Manuel] did recently with his relay computer. This post is a walk through some circuits that used those mechanical solutions before the invention of the more electronic and less mechanical means came along.

Continue reading “Early Electromechanical Circuits”

Tiny Morse Code USB Keyboard

We’ve featured quite a few of [mitxela]’s projects here in the past, and many of them have the propensity to be labelled “smallest”. His Morse Code USB Keyboard Mk II adds to that list. It’s a Saturday afternoon project, with a few parts slapped onto a piece of perf-board, that allows using a Morse key as a USB keyboard. This project isn’t new or fresh, but we stumbled across it while trying to figure out a use for a Morse key lying in the author’s bin of parts. You can practise transmitting, by reading text and typing it out on the key, and then look it up on your computer to see if you made any mistakes. Or you can practise receiving, by asking a friend to punch it out for you. Either way, it’s a great way to hone your skills and prepare for your radio operators license exam.

The project is a follow up to his earlier one where he hooked up the Morse key via a RS-232 — USB converter directly to a computer and let the code do all the work. That turned out to be a very resource hungry, impractical project and made him do it right the next time around. The hardware is dead simple. An ATtiny85, a piezo buzzer, some decoupling capacitors, and a few resistors and zeners to allow a safe USB interface. The design accommodates a straight key, but there is one spare pin left over in the ATtiny to allow for iambic or sideswiper keys too. There is no speed adjustment, which is hardcoded at the moment. That isn’t very user friendly, and [mitxela] suggests adding a speed potentiometer to that last remaining pin on the ATtiny. This would prevent use of iambic/sideswiper keys. Or, you could use the RST pin on the ATtiny as a (weak) IO. The RST pin can read analog values between 5V and 2.5V, and will reset when voltage falls below 2.2V. Or just use another microcontroller as a last resort.

For the USB interface, [mitxela] is using the V-USB library after wasting some time trying to reinvent the wheel. And since this is designed to work as a HID, there are no drivers required – plug it in, and the OS detects it as a keyboard. He’s borrowed code from the EasyLogger project to use the internal oscillator and help free up the IO pins. And to detect the characters being typed, his code uses a long string of compare statements instead of a dictionary lookup. Writing that code was tedious, but it makes the identification quicker, since most characters can be identified in less that five comparisons (one dit = E, two dits = I, three dits = S and so on). This “tree” makes it easier to figure it out.

If you’d like to look up some of his other “tiny” projects, check out The smallest MIDI synthesizer, Smallest MIDI synth, again! and the ATtiny MIDI plug synth.

Continue reading “Tiny Morse Code USB Keyboard”

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.