Skip to content
← Back to Electronics
⚡ electronics July 5, 2026 by Nitvi 📖 4 min read

Morse Code: How One LED Can Send Secret Messages!

Dots, dashes, SOS, and spies — explore the secret world of Morse code and try the interactive simulator!

In my latest video, my Arduino LED did something amazing — it didn’t just blink, it tried to send a secret message! The message was called SOS, written in Morse code: ... --- ...

But what exactly is Morse code? And how can one tiny LED send real messages? Let’s find out! 🔍

What is Morse Code?

Morse code is a way to send messages using just two signals: a short one (called a dot or “dit”) and a long one (called a dash or “dah”).

Every letter of the alphabet has its own special pattern of dots and dashes:

LetterCodeLetterCodeLetterCode
A.-J.---S...
B-...K-.-T-
C-.-.L.-..U..-
D-..M--V...-
E.N-.W.--
F..-.O---X-..-

…and so on for all 26 letters plus numbers!

Who invented it?

Morse code was created by Samuel Morse and his partner Alfred Vail in the 1830s and 1840s. Here’s something cool — Samuel Morse was actually a painter before he became an inventor! 🎨

The first telegraph message was sent on May 24, 1844, from Washington D.C. to Baltimore. The message was: “What hath God wrought”

The clever trick behind Morse code

The code has a super smart design — the most common letters get the shortest codes!

  • E is just . (one dot) — it’s the most common letter in English
  • T is just - (one dash) — the second most common
  • But Q is --.- — much longer, because we don’t use Q very often

This makes messages faster to send. Smart, right? 🧠

What does SOS really mean?

Here’s a surprise — SOS does NOT stand for “Save Our Souls” or “Save Our Ship”! Those meanings were made up after SOS was already chosen.

SOS was picked because ... --- ... (dot-dot-dot, dash-dash-dash, dot-dot-dot) is the easiest pattern to recognize, even through static, noise, or bad weather. It’s simple and unmistakable.

SOS became the international distress signal in 1906. The most famous use was by the RMS Titanic in 1912, when radio operators sent SOS as the ship was sinking. 🚢

Secret agents and Morse code!

Morse code wasn’t just for telegrams — it was used for spying and secrets too!

  • Spies in World War I and II used Morse code to send intelligence behind enemy lines. Noor Inayat Khan was a brave British agent who worked as a Morse code radio operator in occupied France. 🕵️

  • Prisoners of war used Morse code by tapping on walls to communicate with each other when they weren’t allowed to talk!

  • Jeremiah Denton was a Navy pilot captured during the Vietnam War. When his captors forced him to do a TV interview in 1966, he blinked his eyes in Morse code to spell out T-O-R-T-U-R-E, secretly telling the world what was happening. That is one of the bravest things I’ve ever heard! 👁️

Is Morse code still used today?

Yes! Morse code is NOT dead! It’s still used by:

  • Pilots — navigation beacons still broadcast their ID in Morse code
  • Sailors — ships use signal lamps to flash Morse messages to each other
  • Ham radio operators — Morse code (called CW) can get through noise when voice can’t
  • Emergency beacons — some flash SOS automatically
  • Accessibility — people with severe disabilities can communicate using Morse code with switches, blinks, or even brain-computer interfaces!

Morse code is like the great-great-grandparent of computer binary — just two signals (short and long) can spell any word. It’s basically how computers talk with 0s and 1s, but invented almost 200 years ago! 💻

Try the simulator!

Type a message below, press Play, and watch the LED blink it in Morse code! You can change the speed, turn on sound, and try the decode challenge too!

Quick practice tips

  1. Start with SOS — it’s the easiest: ... --- ...
  2. Try with a flashlight — short flash = dot, long flash = dash
  3. Tap on a table — short tap = dot, long tap = dash (just like POWs did!)
  4. Blink your eyes — short blink = dot, longer blink = dash (like Jeremiah Denton!)
  5. Use the alphabet chart in the simulator to look up any letter

📺 Watch my video about this!

I made a full YouTube video explaining Morse code, showing how my Arduino LED blinked SOS, and challenging YOU to decode a secret word. Check it out on NitviTalks on YouTube!

▶ Watch on YouTube →

What secret word would you send with an LED? Tell me in the comments! 😊

Share this post: 𝕏 Share f Share