Morse code
Dots and dashes to send words along an electric wire

Lauren.mcalary — CC BY-SA 4.0 — Wikimedia Commons
In brief
Invented around 1838 for the electric telegraph, Morse code turns each letter into a series of short and long signals. In 1844, the first message sent between Washington and Baltimore opened the age of instant communication.
The story
Samuel Morse was a painter before he became fascinated by electricity. With his assistant Alfred Vail, he imagined a telegraph in which an electric current, broken by a key, made short pulses (dots) and long ones (dashes). Vail is said to have had a simple idea: give the shortest codes to the most common letters. E became a single dot.
In 1865, an international conference in Paris adopted a modified version, International Morse. Ships later used it by radio: the distress signal SOS, chosen because it is easy to recognise, was adopted in 1906. Morse has not been compulsory at sea since 1999, but radio amateurs still use it, and it can be sent with a lamp, a whistle or even by blinking.
Example
SOS = ··· −−− ··· ; E = · ; T = − ; A = ·−
Did you know?
SOS does not stand for anything: it is not short for “Save Our Souls”. It was chosen only because three dots, three dashes, three dots cannot be mistaken for anything else.
Sources: D. Kahn, The Codebreakers, 1967 (rev. ed. 1996); S. Singh, The Code Book, 1999; F. L. Bauer, Decrypted Secrets, 4th ed., 2007; C. P. Bauer, Secret History: The Story of Cryptology, 2nd ed., 2021; texts written for this site.
Fire and smoke signals
The Chappe telegraph
Braille
Ships’ signal flags
Flag semaphore
The Navajo code talkers
The spelling alphabet (Alfa, Bravo…)