This document covers the basics of how wireless technology works, and how it is used to create networks. Wireless technology is used in many types of communication. We use it for networking because it is cheaper and more flexible than running cables. While wireless networks can be just as fast and powerful as wired networks, they do have some drawbacks.
Reading and working through Learn Networking Basics before this document will help you with some of the concepts used in wireless networks.
In addition to some background information, this document covers six basic concepts:
Reading through this material should take about an hour. Working through the activities, or diving deeper into the subject with a group may take longer.
Wireless signals are important because they can transfer information -- audio, video, our voices, data -- without the use of wires, and that makes them very useful.
Wireless signals are electromagnetic waves travelling through the air. These are formed when electric energy travels through a piece of metal -- for example a wire or antenna -- and waves are formed around that piece of metal. These waves can travel some distance depending on the strength of that energy.
For more on how electromagnetic signals work, check the #External Resources section at the end of this document.
There are many, many types of wireless technologies. You may be familiar with AM and FM radio, Television, Cellular phones, Wi-Fi, Satellite signals such as GPS and television, two-way radio, and Bluetooth. These are some of the most common signals, but what makes them different?
First of all, wireless signals occupy a spectrum, or wide range, of frequencies: the rate at which a signal vibrates. If the signal vibrates very slowly, it has a low frequency. If the signal vibrates very quickly, it has a high frequency. Frequency is measured in Hertz, which is the count of how quickly a signal changes every second. As an example, FM radio signals vibrate around 100 million times every second! Since communications signals are often very high in frequency, we abbreviate the measurements for the frequencies - millions of vibrations a second is Megahertz (MHz), and billions of vibrations a second is Gigahertz (GHz). One thousand Megahertz is one Gigahertz.
Example Frequency Ranges
Below we can see the span of frequencies that are commonly used in communications. Broadcast transmitters for AM, FM and Television use frequencies below 1000 MHz, Wi-Fi uses two bands at higher frequencies - 2.4 and 5GHz. Cellular phones use many different frequencies.
In addition to having different frequencies, wireless signals can be different in the way they convey information. A wireless signal needs to be modulated--or changed--to send information. There are many types of modulation, and different technologies can use one or more types to send and receive information. In the two examples below -- AM and FM radio -- the M stands for modulation. The type of modulation is what makes them different.
Example one: AM radio. The A in AM comes from Amplitude - the energy or strength of the signal, operating at a single frequency. An un-modulated AM wave might look like:
And a modulated AM radio wave has higher and lower energy (amplitude) waves indicating higher and lower audio frequencies in the signal:
From left to right, we have the normal, un-modulated wave, then the lower amplitude wave (representing low points in audio waves), then the higher amplitude wave (representing crests or high points in audio waves).
A more detailed version of an AM signal is below:
The audio signal is the wave on the top, with the corresponding Amplitude Modulated wave below it.
Example two: FM radio. The F in FM comes from Frequency - defined by how quickly the wave vibrates every second. An un-modulated FM wave might look like:
And a modulated FM radio wave has higher and lower frequencies indicating higher and lower audio frequencies in the signal:
From left to right, we have the normal, un-modulated wave, then the lower frequency wave (representing lower audio amplitudes), then the higher frequency wave (representing higher audio amplitudes).
The type of modulation various technologies use to communicate can be very different, and are often not compatible. Satellite equipment cannot speak directly to your laptop or smartphone, which uses Wi-Fi to send and receive information. This is because the radios in different devices can listen only to certain types of modulations and frequencies.
As an example, some broadcast radio receivers have a switch to select between AM and FM signals, for two reasons: they use different frequencies to transmit, and they use different modulation types. If you try and listen to an AM signal with a radio in FM mode, it won’t work. The opposite is also true - in AM mode, an FM signal doesn’t make sense to the receiver. It is important that transmitters and receivers use the same frequencies and modulation types to communicate.
Devices in your daily life use many types of wireless signals. Look at the table below to see the various frequencies and types of modulation each uses:
|Technology or device||Type of wireless signal|
Nearly every device or technology uses a different wireless frequency and modulation. This means most devices can only understand a very specific kind of wireless signal.
When a device sends out a wireless signal, it is called a transmitter. When another device picks up that wireless signal and understands the information, it is called a receiver. In the case of FM radio, there is one transmitter--owned and operated by the radio station--and many receivers that people listen to the station with. When a device has both a transmitter and a receiver, it is sometimes called a transceiver. Devices such as routers can both transmit and receive, which is what makes them useful for building networks--you probably want to be able to send messages to your neighbors and out to the world, as well as receive messages!
Quick Activity: What devices do you own or use frequently that are transmitters, receivers or transceivers? Fill in some examples below each type:
Do you use more transmitters, receivers, or transceivers throughout the day? What is different about the way you use each of these?
When building a network, you will be using Wi-Fi technology, which has some unique characteristics you will need to know.
There are two types of Wi-Fi signal, based on the frequencies they use:
These two types of Wi-Fi are called the Frequency Bands, or just Bands for short.
Each frequency band used in Wi-Fi is divided up into multiple "channels". Each channel is similar to rooms at a party - if one room is crowded it is hard to carry on a conversation. You can move to the next room, but that might get crowded as well. As soon as the building is full, it becomes difficult to carry on a conversation at the party.
For the 2.4GHz band, there are 14 channels total. Unfortunately, these channels overlap, so they aren’t all usable at the same time. If you are setting up a mesh network -- all of the mesh links will need to be on the same channel.
The available channels vary depending on where you are in the world. For example, in the United States channels 12, 13 and 14 are not allowed for Wi-Fi, as those frequencies are used by TV and satellite services. If you are building networks in the United States, you can only use channels 1 through 11. In the rest of the world, channels 1 through 13 are generally usable, and in a few places channel 14 is available.
Despite that, the best channels in the United States and most of the world to use for 2.4GHz band equipment are channels 1, 6, and 11. This will minimize interference caused by partially overlapping Wi-Fi signals:
You could use other sets of Wi-Fi channels, as long as they are 5 channels apart - for instance 3, 8 and 13. This may not be optimal though, as channels 1 and 2 would be unused, and in many places in the world channel 13 is not available. Wherever you are, try and check what channels are most in use, and plan your network to use a channel that doesn't overlap.
The 5GHz frequency band is much wider and has more channels, so the diagram is a bit more extensive. Fortunately, these channels do not overlap, so you don’t have to worry about picking non-standard channels like in the 2.4GHz band.
There are many more channels available in the 5GHz band, so it should be easier to select a channel in this band that doesn’t cause interference. This may not always be true -- more and more wireless equipment is starting to use the 5GHz
In the United States, only channels available for building mesh networks are 36, 40, 44, 48, 149, 153, 157, 161, and 165. There are other channels available for Access Points or other types of community networks, but those channels won’t work with mesh wireless. The best place to check what is allowed in your area is online. Links are provided in External Resources at the end of this document.
When setting up your wireless network, you will need to think about what frequency band to use, and what channel to use.
Many people want to know how far wireless signals will go. Knowing this is important for planning a network, as the power of the routers will affect the design of the network, and how much equipment is needed.
Different Wi-Fi routers can have very different power levels. Some are much stronger: they have more speaking or transmitting power than others. Some are very good listeners: they have what is called a better receive sensitivity. These two elements define how well wireless devices will connect, and how far away a receiving Wi-Fi router can be.
Manufacturers do not usually publish information about their router’s transmit power or receive sensitivity. Instead, the manufacturer will give a generic “range” rating to their routers, usually relative to each other. In some cases, usually with more business or professional oriented equipment you can find the information for transmit power and receive sensitivity.
A router’s transmit power can be measured with two scales -- milliwatts (mW) or dBm:
A few examples of the transmit power levels in common Wi-Fi hardware is below:
10mW (10dBm): Laptop or smartphone, or very low cost Wi-Fi router.
About 25 to 50 meters
100mW (20dBm): Indoor home or office router.
About 50 to 100 meters
100mW (20dBm): Outdoor sector router.
About 5 to 10 kilometers
500mW (1/2 Watt or 27dBm): Outdoor, long distance focused routers.
About 10 to 20 kilometers or more
Wireless transmitter power is only one half of the connection. The Wi-Fi receiver has a range of power levels it can hear--the “listen power” in the diagram above. This is also known as the receive sensitivity. The receive sensitivity values are generally rated in dBm, and are usually in the range of -40dBm to -80dBm. The negative number indicates a very small signal -- tiny fractions of a milliwatt.
Below we have an example of two routers in relatively close range. They have a good connection because the signal strength between them is strong.
As a receiver moves away from a wireless router, the signal it hears will get “quieter” -- in other words, the power it receives will go down. Below, we can see the same routers, but with more distance between them. In this case, the routers have a weaker connection because the signal is near the limit of what the routers can hear. The speed between the routers will be less.
If the router moves too far away from the transmitter, it won’t be able to receive any signal, either due to the signal being too weak or other signals interfering, and the routers will disconnect. Below we can see the two routers have disconnected, as there isn’t enough signal.
The optimal signal range for outdoor wireless equipment is between -40dBm and -60dBm. This will ensure the connection can maintain the highest bandwidth possible.
Wireless routers have different types of antennas. Some routers will have antennas built in, and sometimes the routers will have a choice of antenna you can attach to the router. There are many specific types of antennas, but three basic types are used most of the time, and will be useful in building a wireless network. The first type of antenna is also the most common--omnidirectional.
An omnidirectional antenna sends a signal out equally in all directions around it.
Using omnidirectional antennas has the benefit of creating connections in any direction. You don’t have to do as much planning to connect with multiple neighbors or buildings. If there is enough signal between nodes, they should connect.
The all-direction strength of these antennas comes with the drawback of transmitting a weaker signal. Since the signal is going in all directions, it spreads out and gets weaker with distance very fast. If nodes or clients are far away, they may not connect well.
Also, if there are only nodes or clients in one direction of the router, then the signals going in the opposite direction are wasted:
The next type of antenna is known as directional--it sends out a signal in a more focused way. There are two main types of directional antennas:
|Sector antennas send out a pie-shaped wedge of signal - it can be anywhere between 30 degrees and 120 degrees wide. These are often long, rectangular antennas that are separate or integrated in to a router.||A focused antenna sends out a narrow beam of signal - it is normally around 5 to 10 degrees wide, but it can be a little wider as well. These are often dishes or have a mesh bowl reflecting signal behind them.|
Using directional antennas has the benefit of increasing the distance a signal will travel in one direction, while reducing it in all other directions. Since the signal is all going one way, the power that would be sent out in all directions with omnidirectional nodes is now focused, increasing the power in that direction.
It can also decrease the interference received at the node. There are fewer signals coming in to the antenna, since the node is only listening to signals from the direction it is pointing. It won’t hear signals behind it or to the sides as well or at all. This reduces the signals it needs to sort out, and allows it to focus on other signals more, increasing the quality of those connections.
However, directional antennas also have the drawback of requiring more planning to create links in your neighborhood. Since you are defining and limiting the areas where wireless signals go, you need to think about how those signals cover your neighborhood. If there are areas that are then left out, how will those areas be included in the network?
Also, the node has a very powerful signal in a single direction. If omnidirectional units, or lower power units such as laptops, are connecting to the node, they may not connect properly. The laptop will hear the node very well, but the directional node may not hear the laptop. This will create the situation where it looks like there is a strong signal, but you cannot connect.
Quick Activity: What are the best uses for the different kinds of antennas?
|Antenna Type||Best Uses|
What would the best antennas to use for building a neighborhood network?
If you are interested in learning more about Wi-Fi and wireless technology, there is a lot of information out there. Good books to read for background and more information include How Radio Signals Work by Sinclair (ISBN 0070580588), and 802.11 Wireless Networks: The Definitive Guide by Gast (ISBN 0596100523).
There are also excellent documents on Wikipedia about Wi-Fi and wireless signals. Similarly, an Internet search will most likely answer any questions you can think of, as wireless is a very popular technology.
For more information on what frequencies are available in your country or regulatory area, please see this article on Wikipedia on wireless channels.