yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Wires, cables, and WiFi | Internet 101 | Computer Science | Khan Academy


5m read
·Nov 11, 2024

My name is Tess Winlock. I'm a software engineer at Google. Here's a question: how does a picture, text message, or email get sent from one device to another? It isn't magic; it's the internet, a tangible physical system that was made to move information.

The internet is a lot like the postal service, but the physical stuff that gets sent is a little bit different. Instead of boxes and envelopes, the internet ships binary information. Information is made of bits. A bit can be described as any pair of opposites: on or off, yes or no. We typically use a one, meaning on, or a zero, meaning off. Because a bit has two possible states, we call it binary code.

Eight bits strung together makes one byte. One thousand bytes all together is a kilobyte; 1000 kilobytes is a megabyte. A song is typically encoded using about three to four megabytes. It doesn't matter if it's a picture, a video, or a song; everything on the internet is represented and sent around as bits. These are the atoms of information.

But it's not like we're physically sending ones and zeros from one place to another, one person to another. So what is the physical stuff that actually gets sent over the wires and in the airwaves? Well, let's look at a small example here of how humans can physically communicate to send a single bit of information from one place to another.

So say we could turn on a light for a one or off for zero, or use beeps or similar sorts of things, like Morse code. These methods work but they're really slow, error-prone, and totally dependent upon humans. What we really need is a machine. Throughout history, we've built many systems that can actually send this binary information through different types of physical mediums.

Today we physically send bits by electricity, light, and radio waves. To send a bit via electricity, imagine that you have two light bulbs connected by a copper wire. If one device operator turns on the electricity, then the light bulb lights up. No electricity, no light. If the operators on both ends agree that light on means one and light off means zero, then we have a system for sending bits of information from one person to another using electricity.

We have kind of a small problem. If you need to send a zero like five times in a row, how can you do that in such a way that either person can actually count the number of zeros? Well, the solution is to introduce a clock or a timer. The operators can agree that the sender will send one bit per second, and the receiver will sit down and record every single second and see what's on the line.

To send five zeros in a row, you just turn off the light, wait five seconds; the person on the other end of the line will write down all five seconds: five ones in a row, switch it on, five seconds, write down every second. Obviously, we'd like to send things a little bit faster than one bit per second, so we need to increase our bandwidth.

The maximum transmission capacity of a device, bandwidth, is measured by bit rate, which is the number of bits that we can actually send over a given period of time, usually measured in seconds. A different measure of speed is the latency, or the amount of time it takes for one bit to travel from one place to another, from the source to the requesting device.

In our human analogy, one bit per second was pretty fast but kind of hard for a human to keep up with. So let's say that you want to actually download a three-megabyte song in like three seconds. At 8 million bits per megabyte, that means a bit rate of about 8 million bits per second. Obviously, humans can't send or receive 8 million bits per second, but a machine could do that just fine.

But now there's also a question of what sort of cable to send these messages over and how far the signals can go. With an ethernet wire, the kind that you find in your home, office, or school, you see measurable signal loss or interference over just a few hundred feet. For the internet to work all around the world, we need to have an alternative method to send bits really long distances. We're talking about across oceans.

So what else can we use? Well, what do we know that moves a lot faster than just electricity through a wire? Light! We can actually send bits as light beams from one place to another using a fiber optic cable. A fiber optic cable is a thread of glass engineered to reflect light. When you send a beam of light down the cable, light bounces up and down the length of the cable until it is received on the other end.

Depending on the bounce angle, we can actually send multiple bits simultaneously, all of them traveling at the speed of light. So fiber is really, really fast, but more importantly, the signal doesn't really degrade over long distances. This is how you can go hundreds of miles without signal loss. This is why we use fiber optic cables across the ocean floors to connect one continent to another.

In 2008, there was a cable that was actually cut near Alexandria, Egypt, which really interrupted the internet for most of the Middle East and India. So we take this internet thing for granted, but it's really a pretty fragile physical system. And fiber is awesome, but it's also really expensive and hard to work with. For most purposes, you're gonna find copper cable.

But how do we move things without wires? How do we send things wirelessly? Wireless bit sending machines typically use a radio signal to send bits from one place to another. The machines have to actually translate the ones and zeros into radio waves of different frequencies. The receiving machines reverse the process and convert it back into binary on your computer.

So wireless has made our internet mobile, but a radio signal doesn't travel all that far before it completely gets garbled. This is why you can't really pick up a Los Angeles radio station in Chicago. As great as wireless is today, it still relies on the wired internet. If you're in a coffee shop using Wi-Fi, then the bits get sent through this wireless router and then are transferred to the physical wire to travel the really long distances of the internet.

The physical method for sending bits may change in the future, whether it's lasers sent between satellites or radio waves from balloons or drones. But the underlying binary representation of information and the protocols for sending that information and receiving that information have pretty much stayed the same.

Everything on the internet—whether it's words, emails, images, cat videos, puppy videos—all come down to these ones and zeros being delivered by electronic pulses, light beams, radio waves, and lots and lots of love.

More Articles

View All
Production Possibilities Curve PPC as a model of a nation's output | Macroeconomics | Khan Academy
We are now going to study the magical Republic of Fitlandia. As we often do in economics, we’re going to assume that Fitlandia, which of course does not exist in the real world, is a very simple country. It helps us create a model for it. Let’s say that F…
9 Japanese Philosophies to Become Self-Disciplined and Stop Procrastinating
Have you ever struggled with procrastination or finding the motivation to get things done, feeling like you’re not living up to your own expectations? I won’t lie. I struggle with procrastination a lot, and it’s a challenge, especially when I have importa…
KINDNESS: VIRTUE OR VULNERABILITY? | STOICISM INSIGHTS #stoicism #stoicisminsights
Welcome back to Stoicism Insights. Today, we’re diving into a topic that’s close to many hearts: kindness. But hold on to your seats, because we’re about to uncover a side of kindness you’ve never seen before. Get ready to learn how to navigate the world …
Worked example: separable equation with an implicit solution | Khan Academy
We’re given a differential equation right over here: cosine of y + 2, this whole thing times the derivative of y with respect to x is equal to 2x. We’re given that for a particular solution, when x is equal to 1, y of 1 is equal to zero. We’re asked, what…
Enter the Fish Hawk | Wicked Tuna
First day of the season. We’re heading out now, trying to get on some fish. I’m Brad Keselowski, captain of the Fishhawk. Fishing has always been a lot more than a job for me. I always had solace to be able to leave land and just fish to provide for my fa…
What All Investors Need to be Considering (w/@MinorityMindset)
Hey guys, and welcome back to the channel! So, just the other day, I had the privilege of sitting down with Jaspreet Singh from the Minority Mindset for about 40 minutes, which was really, really cool. If you don’t know Jaspreet, he has over a million sub…