Do you sometimes feel that your custom mechanical keyboard is not quite loud enough to proclaim your superior hacking powers? Or do you need a more forceful way shout in all caps at someone who is wrong on the internet? For all this and more, [Jesse Li] has got you covered, with a set of bash scripts that allows you to type by slamming your laptop closed repeatedly, using Morse code.
The scripts are quite simple, and work receiving the lid open/close events from ACPI (Advanced Configuration and Power Interface), recording the open and close timestamp and converting the timing to dots and dashes. After slamming to the required rhythm, you keep the lid open to see the character appear.
Why would want this? Well, you can now type the letter E by closing your laptop, instead of locking it. Maybe use it to send an emergency message while you’re being held by terrorists in a B-grade action movie. Otherwise, we think this is just an entertaining little hack that’s probably the product of quarantine induced boredom.
Morse code, otherwise known as CW, is still in surprisingly widespread use by ham radio operators, because it’s good at getting messages across intercontinental distances when signal conditions are bad and CW-only ham radio gear is cheap and easy to build yourself. We’ve also covered the Koch Method of learning CW, so don’t be afraid to dabble a bit during the quarantine.
Most countries have dropped the requirement for learning Morse code to become a ham radio operator. Because of that, you might think Morse code is dead. But it isn’t. Some people like the nostalgia. Some like that you can build simple equipment to send and receive Morse code. Others like that Morse code is much more reliable than voice and some older digital modes. Regardless of the reason, many people want to learn Morse code and it is still a part of the ham radio scene. The code has a reputation of being hard to learn, but it turns out that is mostly because people haven’t been taught code in smart ways.
I don’t know if they still do, but some youth organizations used to promote some particularly bad ways to learn the code. The second worse way is to learn “dots and dashes” and many people did learn that way. The very worst way was using an image like the adjacent one to try to map the dots and dashes into letter shapes. This chart dates back to at least 1918 when a Girl Guides handbook printed it.
Even if you are a visual learner, this is a bad idea. The problem is, it is nearly impossible to hear sounds at 20 or 30 words per minute and map them to this visual representation. Another visual method is to use a binary tree where left branches are dots and right branches are dashes.
If you only need to master 5 words per minute to get a merit badge, you might get away with this. But for real use, 5 words a minute is very slow. For example, this sentence would take about 3 minutes to send at that speed. Just that one sentence.
One problem with ham radio these days is that most hams live where you can’t put a big old antenna up due to city laws and homeowner covenants. If you’re just working local stations on VHF or UHF, that might not be a big problem. But for HF usage, using a low profile antenna is a big deal. However, most modern radios can operate remotely. Well-known ham radio company MFJ now has the RigPi Station Server and [Ham Radio DX] has an early version and did a review.
As the name implies, the box contains a Raspberry Pi. There’s also an audio interface. The idea is to consolidate rig control along with other station control (such as rotators) along with feeding audio back and forth to the radio. It also sends Morse code keying to the radio. The idea is that this box will put your radio on the network so that you operate it using a web browser on a PC or a mobile device.
According to MFJ, you can operate voice, Morse code, or digital modes easily and remotely. The box uses open source software that can control over 200 different radios and 30 rotors. Of course, you could build all this yourself and use the same open source software, but it is nicely packaged. [Ham Radio DX] says you don’t need to know much about the Pi or Linux to use the box, although clearly you can get into Linux and use the normal applications if you’re so inclined.
Even if you don’t want to transmit, we could see a set up like this being used for remote monitoring. We’d like to see a companion box for the remote end that had the audio hardware, a keyer, and perhaps a knob to act as a remote control of sorts. Of course, you could probably figure out how to do that yourself. We wonder if some ham clubs might start offering a remote radio via an interface like this — we’ve seen it done before, but not well.
Your $50 radio probably isn’t going to work with this, and if you use FT8, you could argue you don’t need to be there anyway.
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.
[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.
We think of Morse code in terms of dots and dashes, but really it’s a kind of binary code. Those symbols might as well be 0s and 1s or any other pair of characters. That attribute is exactly what led to a sting operation a music lyric site called Genius.com pulled on Google. At issue was a case of song lyrics that had allegedly been stolen by the search giant.
Song lyric sites — just like Google — depend on page views to make revenue. The problem is that in a Google search the lyrics appear on the search page, so there is no longer much incentive to continue to the song lyric site. That’s free enterprise for you, right? It is, but there was a problem. It appears that Google — or, according to Google, one of their partners — was simply copying Genius.com’s lyrics. How does Genius know the song lyrics were copied? According to news reports in the Wall Street Journal and other sources, they used Morse code.
Both grizzled hams and potential future amateur radio operators are well-served by the market these days. Powerful and capable UHF and VHF handheld transceivers can now be had for well under $100, something unimaginable as recently as 20 years ago. Of course, a major part of the amateur radio scene used to be Morse code. Not to worry though, you can do that with a handheld, too!
The setup is simple but effective. A Morse code training unit generates tones in response to input from a Morse keyer. This audio is passed into the headset port of a Baofeng handheld transmitter. A toggle switch is wired up to the Push-To-Transmit circuit of the Baofeng to trigger transmission when required.
It’s a little different from the more typical constant-wave transmission methods that are so seldom used nowadays, but it gets the job done. Morse code has always been appreciated in situations where voice transmission is difficult due to low bandwidth or interference, and now it’s easy for new hams to give it a try.