If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content
Current time:0:00Total duration:9:59

Video transcript

- [Narrator] In 1832, mathematician Carl Gauss and physics professor Wilhelm Weber designed a system which allowed them to communicate at a distance while they worked on their experiments, connecting the observatory with the physical laboratory. They solved a really important problem which was more of a puzzle, how to send all letters of the alphabet using one circuit or a line. And their system used a galvanometer since it was known that electric current passing through a coil creates a magnetic field pointing through the center of the loop, which could deflect a needle. But instead of merely moving a needle at a distance, their system used a switch which could reverse the direction of current instantly. This would cause the magnetic field around the coil to reverse and the needle would deflect either to the right or left depending on the direction of current, thus giving them two different signaling events or symbols, right, or left deflection. Most importantly, he assigned shorter symbols for the most common letters, such as A was a single right deflection. And E was a single left deflection. And he used the longer codes for less common letters, such as K, which was three right deflections. And at the time the speed of transmission was around nine letters per minute. All the needle telegraphs which followed suffered from a similar limitation. And it was an engineering problem. The signaling rate was slow. Now the signaling rate was the number of deflections per minute, which could be accurately transmitted and received. And if you squish signaling events together, the receiver would get confused due to jitter, resulting in errors, similar to how sustain notes on a piano will bleed together and become less recognizable if you play rapidly. And over time, the signaling rate was incrementally improved. One improvement was to add a small permanent magnet to the outside of the coil. This helped pull the needle back to neutral position after each deflection. And these designs led to a wide range of needle telegraphs which were deployed across Europe. The Electric Telegraph Company was the first public telegraph company. It was formed in 1846 after its owners purchased the key needle telegraph patents at the time. But the speed of these various needle telegraphs never surpassed around 60 letters per minute. As each needle couldn't signal much faster than one deflection per second. And initially the company build customers based on single messages, which could hold up to 20 words, which is about the length of a tweet. And by 1848, the cost of sending a single message from London to Edinburgh was 16 shillings. And this was around one week salary for say a shop owner at the time. So this technology was initially out of the hands of common people. In the United States, the commercialization of the telegraph was led by a portrait painter named Samuel Morse, who had followed development of the needle telegraphs in Europe. Morse's important because he focused on speeding up the rate at which letters could travel. He did away with needles. And in 1938, he initially submitted a patent based on the idea that electric current could either flow or be interrupted, and interruptions could be organized to create meaning. Though his designs on how to produce these interruptions were complicated involving a convoluted system of gears, levers, and electromagnets. However, his system was greatly simplified after his collaborations with Albert Vail. This led to an iconic piece of user interface, the simple spring loaded lever, or key, which can be controlled with the tap of a finger. And on the receiving end was a spring loaded lever that could be pulled and released by a strong electromagnet. To create a difference akin to the left, right deflection, he varied the length of a key press, or the pulse width, the closure of a switch for a very short time was called a dot. And the dot can be thought of as the basic unit of time in Morse code, and the closure of the switch for three units of time represented a dash. (beeping) - Spacing, exactly right. Very small tight spaces between the dits and das in a character. Di-da-dit. Di-da-di-dit. - [Narrator] And this was the source of difference in their coding strategy. Starting with an initial dot or dash left or right branch, which then leads to another dot or dash and so on. And this scheme assigned shorter symbol sequences to more probable letters based on the letter frequencies, which could be tabulated from books. So nodes high up in the tree, such as a single dot, represented E, a single dash represented T. And as we move down the tree, we place less common letters. And after a letter, this system inserts a three unit pause. - [Instructor] Spacing between the characters in a word or group is uniform too, but longer. (beeping) - [Narrator] It's important to realize that the meaning of these messages was intertwined with the timing of them. - Are you wondering if proper spacing is really so important, or is it no more than an extra refinement? A nice thing to do like neat handwriting. If you think so you're wrong and I'll show you why. (beeping) Dit for dit, and da for da, they match. Only the spacing makes the difference between one word and the other. - [Narrator] So to send the word Paris, we would first need to think of it as P space, A space, R space, I space, S. The signaling rate of the system was directly related to the tempo of the signal and music analogies were used inside training videos. - What he was sending what is the standard test word, Paris. And there you are. Each peak is a dit or a da, each valley, a space. This is excellent sending. Uniform and rhythmic. This is an example of poor hand sending, same word, Paris, but look at the difference. Irregular dits and das, half hazard spacing, no uniformity, no rhythm. - [Narrator] Amazingly, it was the simplicity of this keying system, which made it much faster than any of the buttons and cranks employed by the needle telegraphs in Europe. The letter rate jumped to 135 letters per minute or more with trained operators. And on May 24th, 1844, the first successful transmission was the message, what hath God wrought. And the next day it was reported by the New York Tribune. That quote, "the miracle of annihilation of space "is at length performed." Consider that at the time 90% of messages were still transported by horseback. Immediately, this technology was becoming critical to the success of military newspapers, financial traders, crime fighting, any business that relied on information now relied on the telegraph and Morse code. By 1900, the prices had dropped to 30 cents per message, as traffic surged to over 63.2 million messages sent that year. As people began using this system, they naturally thought of ways to save money. This led to popular code books, that mapped words to common sentences. For example, blade would actually mean please name and reserve for myself and family the following accommodations. The telegraph companies frowned upon this as they were happily charging people to be verbose, more letters equals more profit. It was now clear that information was an elastic term and a specific meaning was needed. And obvious question remained unanswered, if you are selling information, no matter the system, how should you quantify it to be fair to everyone? Number of letters as a measure of information would no longer suffice.