Key That Morse With Little More Than Your Laptop

If you look at the computer in front of you, it will have an array of input devices. A keyboard and mouse, a touch screen, maybe a microphone, or even a gamepad. Each of them will have its moment to shine, and you’ll probably have put some effort into their selection. But when it comes to a computer, almost anything connected to it can be an input device in some form, as long as it provides some form of machine readable parameter.

Consider your laptop: it knows when its lid is closed such that it can put itself to sleep. Even that can be used as an input device with a little ingenuity, as [veggiedefender] has done with “open and shut“, a Morse keyer using opening and closing the laptop lid as its key.

The software for GNU/Linux distributions is a surprisingly accessible set of shell scripts that attach themselves to ACPI events surrounding the lid switch. In use it seems a little cumbersome, but we suspect its real value is not in repeatedly slammin the lid to produce Morse text input. Instead with many lid switches being magnetic reed switches an operator could simply wear a ring with a magnet and tap out their text every bit as quickly as they could using a traditional key.

We like the idea, and could see it being popular among radio amateurs. It’s a theme we’ve visited before with a more traditional key, and if you’d love to try but don’t know any Morse then perhaps this may help you learn.

Thanks [Kickaxe] for the tip.

Header image: Raimond Spekking / CC BY-SA 4.0.

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.

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”

Imitating Art In Life With A Reverse-Engineered Tattoo

In general, tattoo artists are not electrical engineers. That’s fine; the world needs both professions. But when you need a circuit designed, you’re better off turning to an EE rather than a tattoo artist. And you certainly don’t want an EE doing your new ink. Disaster lies that way.

Surprisingly, [Missa]’s tattoo of a heart-shaped circuit turned out at least to be plausible design, even if it’s not clear what it’s supposed to do. So her friend [Jeremy Elson] took up the challenge to create a circuit that looked like the tattoo while actually doing something useful. He had to work around the results of tattoo artistic license, like sending traces off to the board’s edge and stranding surface-mount components without any traces. The artist had rendered an 8-pin DIP device, albeit somewhat proportionally challenged, so [Jeremy] went with an ATtiny85, threw on a couple of SMD resistors and a cap, and placed two LEDs for the necessary blinkenlights. Most of the SMDs are fed from traces on the back of the board that resurface through vias, and a small coin cell hidden on the back powers it. One LED blinks “Happy Birthday [Missa]” in Morse, while the other blinks prime numbers from 2 to 23 – we’ll assume this means it was [Missa]’s 23rd birthday.

There’s a surprising amount of crossover between the worlds of electronics and tattooing. We’ve featured functional temporary tattoo circuits, prison-expedient tattoo guns, and even a CNC tattoo machine.

Continue reading “Imitating Art In Life With A Reverse-Engineered Tattoo”

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”

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.

https://www.youtube.com/watch?v=qh_apYcr4xI

[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”