šŸ“œ A Brief History

Morse code was developed in the 1830s–1840s by Samuel Morse and Alfred Vail for use with the electric telegraph. It encodes letters and numbers as sequences of short signals (dots) and long signals (dashes). Before telephones, radio, or the internet, Morse code was the fastest way to send messages across long distances.

1838 — Invention

Samuel Morse and Alfred Vail demonstrate the first practical telegraph system using coded signals.

1844 — "What hath God wrought"

The first official telegraph message is sent from Washington D.C. to Baltimore.

1865 — International Morse Code

A standardised version is adopted internationally, becoming the global standard for telegraphy.

1912 — SOS at Sea

Morse code plays a critical role in maritime safety. The Titanic's distress calls used Morse code.

Today — Still Alive

Used by amateur radio operators, in aviation, and as an accessibility tool. And now — on a Raspberry Pi.

šŸ’” How Morse Code Works

Dots and Dashes

Each character is represented by a unique combination of short signals (dots — written as .) and long signals (dashes — written as -). A dash is three times the length of a dot.

Timing is Everything

The gap between symbols within a letter is one dot-length. Between letters it's three dot-lengths. Between words it's seven dot-lengths. In our project, we use 1.5-second and 3-second pauses.

šŸ”¤ The Morse Code Alphabet

Every letter and number used in this project:

Letters

LetterMorse Code
AĀ· āˆ’
Bāˆ’ Ā· Ā· Ā·
Cāˆ’ Ā· āˆ’ Ā·
Dāˆ’ Ā· Ā·
EĀ·
FĀ· Ā· āˆ’ Ā·
Gāˆ’ āˆ’ Ā·
HĀ· Ā· Ā· Ā·
IĀ· Ā·
JĀ· āˆ’ āˆ’ āˆ’
Kāˆ’ Ā· āˆ’
LĀ· āˆ’ Ā· Ā·
Māˆ’ āˆ’
Nāˆ’ Ā·
Oāˆ’ āˆ’ āˆ’
PĀ· āˆ’ āˆ’ Ā·
Qāˆ’ āˆ’ Ā· āˆ’
RĀ· āˆ’ Ā·
SĀ· Ā· Ā·
Tāˆ’
UĀ· Ā· āˆ’
VĀ· Ā· Ā· āˆ’
WĀ· āˆ’ āˆ’
Xāˆ’ Ā· Ā· āˆ’
Yāˆ’ Ā· āˆ’ āˆ’
Zāˆ’ āˆ’ Ā· Ā·

Numbers

NumberMorse Code
0āˆ’ āˆ’ āˆ’ āˆ’ āˆ’
1Ā· āˆ’ āˆ’ āˆ’ āˆ’
2Ā· Ā· āˆ’ āˆ’ āˆ’
3Ā· Ā· Ā· āˆ’ āˆ’
4Ā· Ā· Ā· Ā· āˆ’
5Ā· Ā· Ā· Ā· Ā·
6āˆ’ Ā· Ā· Ā· Ā·
7āˆ’ āˆ’ Ā· Ā· Ā·
8āˆ’ āˆ’ āˆ’ Ā· Ā·
9āˆ’ āˆ’ āˆ’ āˆ’ Ā·

Common Signals

SignalMorse Code
SOS (distress)Ā· Ā· Ā· āˆ’ āˆ’ āˆ’ Ā· Ā· Ā·
šŸ’” Fun Fact

The letter E is just a single dot — the shortest Morse character. That's because E is the most common letter in English, and Morse designed the code to be efficient.