Hackaday Prize 2023: EyeBREAK Could Be A Breakthrough

For those with strokes or other debilitating conditions, control over one’s eyelid can be one of the last remaining motor functions. Inspired by [Jeremiah Denton] blinking in Morse code on a televised interview, [MBW] designed an ESP32-based device to decode blinks into words.

While an ESP32 offers Bluetooth for simulating a keyboard and has a relatively low power draw, getting a proper blink detection system to run at 20 frames per second in a constrained environment is challenging. Earlier attempts used facial landmarks to try and determine, based on ratios, whether an eye was open or closed. A cascade detector combined with an XGBoost classifier offered excellent performance but struggled when the eye wasn’t centered. Ultimately a 50×50, 4-layer CNN in TensorFlow Lite processes the camera frames, producing a single output, eye open or closed. For debugging purposes, it streams camera frames over Wi-Fi with annotations via OpenCV, though getting OpenCV to compile for ESP32 was also nontrivial.

[MBW] trained the model using the MRL dataset and then quantized to int8. Getting the Bluetooth and Wi-Fi stacks to run concurrently was a bit of a pain, as was managing RAM. After exhausting SRAM and IRAM, [MBW] had to move to PRAM. The entire system is built into some lightweight goggles and makes for a fairly comfortable experience.

While TensorFlow and microcontrollers might seem like a bit of an odd couple, at the end of the day, the inference engine is just doing some math on an array of inputs with some weights. We’ve even seen TensorFlow Lite on a Commodore 64. If you don’t know about [Admiral Jerimiah Denton] we can shed some light on it for you.

Continue reading “Hackaday Prize 2023: EyeBREAK Could Be A Breakthrough”

Exploring The Early Days Of QRP Radio

Morse code might seem obsolete but for situations with extremely limited bandwidth it’s often still the best communications option available. The code requires a fair amount of training to use effectively, though, and even proficient radio operators tend to send only around 20 words per minute. As a result of the reduced throughput, a type of language evolved around Morse code which, like any language, has evolved and changed over time. QRP initially meant something akin to “you are overloading my receiver, please reduce transmitter power” but now means “operating radios at extremely low power levels”. [MIKROWAVE1] explores some of the earlier options for QRP radios in this video.

There’s been some debate in the amateur radio community over the years over what power level constitutes a QRP operation, but it’s almost certainly somewhere below 100 watts, and while the radios in this video have varying power levels, they tend to be far below this upper threshold, with some operating on 1 watt or less. There are a few commercial offerings demonstrated here, produced from the 70s to the mid-80s, but a few are made from kits as well. Kits tended to be both accessible and easily repairable, with Heathkit being the more recognizable option among this category. To operate Morse code (or “continuous wave” as hams would call it) only requires a single transistor which is why kits were so popular, but there are a few other examples in this video with quite a few more transistors than that. In fact, there are all kinds of radios featured here with plenty of features we might even consider modern by today’s standards; at least when Morse code is concerned.

QRP radios in general are attractive because they tend to be smaller, simpler, and more affordable. Making QRP contacts over great distances also increases one’s ham radio street cred, especially when using Morse, although this benefit is more intangible. There’s a large trend going on in the radio world right now surrounding operating from parks and mountain peaks, which means QRP is often the only way to get that done especially when operating on battery power. Modern QRP radios often support digital and voice modes as well and can have surprisingly high prices, but taking some cues from this video about radios built in decades past could get you on the radio for a minimum or parts and cost, provided you can put in the time.

Continue reading “Exploring The Early Days Of QRP Radio”

Gen Tojo’s Teeth: Morse Code Shows Up In The Strangest Places

The Baader-Meinhof effect is the common name for what scientists call frequency illusion. Suppose you are watching Star Trek’s Christopher Pike explain how he makes pasta mama, and you’ve never heard of it before. Immediately after that, you’ll hear about pasta mama repeatedly. You’ll see it on menus. Someone at work will talk about having it at Hugo’s. Here’s the thing. Pasta mama was there all along (and, by the way, delicious). You just started noticing it. We sometimes wonder if that’s the deal with Morse code. Once you know it, it seems to show up everywhere.

Gen. Hideki Tojo in custody in 1947

One of the strangest places we’ve ever heard of Morse code appearing is the infamous case of Tojo’s teeth. If you don’t remember, General Hideki Tojo was one of the main “bad guys” in the Pacific part of World War II. In particular, he is thought to have approved the attack on Pearl Harbor, which started the American involvement in the war globally. Turns out, Tojo would be inextricably tied to Morse code, but he probably didn’t realize it.

The Honorable Attempt

At the end of the war, the US military had a list of people they wanted to try, and Tojo was near the top of their list of 40 top-level officials. As prime minister of Japan, he had ordered the attack that brought the US into the war. He remained prime minister until 1944, when he resigned, but the US had painted him as the face of the Japanese enemy. Often shown in caricature along with Hitler and Mussolini, Tojo was the face of the Japanese war machine to most Americans.

In Allied propaganda, Tojo was one of the “big three”

When Americans tried to arrest him, though, he shot himself. However, his suicide attempt failed. Reportedly, he apologized to the American medics who resuscitated him for failing to kill himself. Held in Sugamo Prison awaiting a trial, he requested a dentist to make him a new set of dentures so he could speak clearly during the trial.

Continue reading “Gen Tojo’s Teeth: Morse Code Shows Up In The Strangest Places”

An orange m5stickc plus strapped to a wrist in the foreground with the persons other hand pressing down on the top of an installed hat, communicating with another m5stickc plus in the background on the table.

M5StickC Turned Wearable Morse Code Trainer

Have you ever felt the options for Morse code communication were too limited? Well, look no further than [marsPRE]’s open source WristMorse communicator that can connect over WiFi, can act as a Bluetooth keyboard or just be used as a Morse Code trainer.

a 'hat' for an m5stickc plus with a single row pin header exposted, a 2.5mm jack and two capacitive touch buttons on the top and bottom of the hat.

[marsPRE] uses the M5StickC Plus as the base device and attaches a custom “hat” consisting of a 2.5 mm plug for a radio connection and two capacitive touch paddles that act as the Morse Code keyer. The add-on is housed in what looks like a custom 3D print and hangs off of the end of the M5StickC Plus, connecting the hat through an eight 0.1 inch pin header.

Using the M5StickC Plus allows [marsPRE] to focus on the software, providing different options for training, communication and even using the device as a Bluetooth keyboard. The two touch sensors allow for a semi automatic keying, with the top sensor used for long dashes and the bottom sensor used for short dashes.

[marsPRE] took inspiration from the Morserino-32 and has made the wrist morse code trainer open source software and available through GitHub for anyone wanting to take a look. Morse code may an old encoding method but it’s one that’s worthy of respect. You never know when you might need to send a message from your dreams or to translate spoken word Morse code.

Continue reading “M5StickC Turned Wearable Morse Code Trainer”

Hackaday Links Column Banner

Hackaday Links: April 2, 2023

It may be hard to believe, but it’s time for the Hackaday Prize again! The 2023 Hackaday Prize was announced last weekend at Hackaday Berlin, and entries are already pouring in. The first-round challenge is all about “Re-engineering Education,” which means you’ve got to come up with a project idea that helps push back the veil of ignorance somehow. Perhaps you’ve got a novel teaching tool in mind, or a way to help students learn remotely. Or maybe your project is aimed at getting students involved and engaged. Whatever it is — and whatever the subject matter; it doesn’t just have to be hacking-adjacent — get an entry together, build a team, and get to work. The first round closes on April 25, so get to it!

Continue reading “Hackaday Links: April 2, 2023”

Translating And Broadcasting Spoken Morse Code

When the first radios and telegraph lines were put into service, essentially the only way to communicate was to use Morse code. The first transmitters had extremely inefficient designs by today’s standards, so this was more a practical limitation than a choice. As the technology evolved there became less and less reason to use Morse to communicate, but plenty of amateur radio operators still use this mode including [Kevin] aka [KB9RLW] who has built a circuit which can translate spoken Morse code into a broadcasted Morse radio signal.

The circuit works by feeding the signal from a microphone into an Arduino. The Arduino listens for a certain threshold and keys the radio when it detects a word being spoken. Radio operators use the words “dit” and “dah” for dots and dashes respectively, and the Arduino isn’t really translating the words so much as it is sending a signal for the duration of however long each word takes to say. The software for the Arduino is provided on the project’s GitHub page as well, and uses a number of approaches to make sure the keyed signal is as clean as possible.

[Kevin] mentions that this device could be used by anyone who wishes to operate a radio in this mode who might have difficulty using a traditional Morse key and who doesn’t want to retrain their brain to use other available equipment like a puff straw or a foot key. The circuit is remarkably straightforward for what it does, and in the video below it seems [Kevin] is having a blast using it. If you’re still looking to learn to “speak” Morse code, though, take a look at this guide which goes into detail about it.

Thanks to [Dragan] for the tip!

Continue reading “Translating And Broadcasting Spoken Morse Code”

EEG graph with activity sections highlighted, one part highlighted as "F" and other as "6"

DREEMWORK Lets You Code Morse From Inside Your Dream

Lucid dreaming fascinates hackers. Every few years for over a decade now, we’ve seen a serious project dedicated to studying or taking advantage of this phenomenon, and the interest in this topic hasn’t faded still. [Michael] has contacted us to tell about a small and unconventional breakthrough that a few lucid dream hackers have accomplished — communicating in Morse code from their dream using eye movements.

These hackers are using Dreem 2 and 3 headbands, which include clinical-grade polysomnography features like EEG measurements, which is instrumental for decoding eye movements. [Michael] tells us that one of the participants, [Sebastiii], was able to transfer the letter F by looking twice to the left, then right and left again – ..-. in Morse. With an off-the-shelf headband, this information transmission method is quite accessible to anyone willing to learn Morse, and [Michael] himself is now working on an automated decoding solution. We might forget what happens in our dreams fairly quickly, but this unexpected side channel could be a good counter.

[Michael] has tipped us off to many of the projects we’ve covered, and himself has quite a history in the field. His own research into using Morse to communicate out of lucid dreams dates back as far as 2012. If your ham exam preparations have you dream in Morse, perhaps this is the perfect project to join. A lot of projects we’ve seen focus on gaining enough awareness to achieve lucidity first, like the variety of lucid dream-invoking masks we’ve covered over the years. This part being thoroughly explored, it makes sense that communication is the next frontier to be tackled.