Tuesday, January 1, 2008

Wireless Networking

Wireless networking technologies take the concept of "no new wires" one step further. In a wireless network, all of the computers in your home broadcast their information to one another using radio signals. This can make networking extremely easy, especially if you have computers all over your house. It also makes it a whole lot simpler to move computers around. For example, a laptop with a wireless network card is completely portable throughout the house!

In How Power-line Networking Works, we discussed peer-to-peer and client/server networks. In wireless networking, a peer-to-peer (or point-to-point) wireless network means that each computer can communicate directly with every other computer on the network. But some wireless networks are client/server. They have an access point, which is a wired controller that receives and transmits data to the wireless adapters installed in each computer.

There are four types of wireless networks, ranging from slow and inexpensive to fast and expensive:

Bluetooth
IrDA
HomeRF (SWAP)
WECA (Wi-Fi)

Bluetooth is not widely available yet and is not expected to replace the need for high-speed data networks between computers. You can read more about this cutting-edge technology in How Bluetooth Short Range Radio Systems Works.

IrDA (Infrared Data Association) is a standard for devices to communicate using infrared light pulses. This is how remote controls operate, and the fact that all remotes use this standard allows a remote from one manufacturer to control a device from another manufacturer. Since IrDA devices use infrared light, they depend on being in direct line of sight with each other. Although you can purchase and install an IrDA-based network capable of transmitting data at speeds up to 4 megabits per second (Mbps), the requirement for line of sight means that you would need an access point in each room, limiting the usefulness of an IrDA network in a typical home layout.

Before we talk about SWAP and Wi-Fi, we need to understand the original standard that both of these new specifications are based on. The original Institute of Electrical and Electronics Engineers wireless-Ethernet specification, known as IEEE 802.11, designated two ways of communicating between devices and allowed for speeds up to 2 Mbps. Both communication methods, direct-sequence spread spectrum (DSSS) and frequency-hopping spread spectrum (FHSS), use the frequency-shift keying (FSK) technology we discussed in power-line networking. Also, both are based on spread-spectrum radio waves in the 2.4-gigahertz (GHz) range.

Spread spectrum simply means that data is sent in small pieces over a number of the discrete frequencies available for use at any time in the specified range. Devices using direct-sequence spread spectrum (DSSS) communicate by splitting each byte of data into several parts and sending them concurrently on different frequencies. DSSS uses a lot of the available bandwidth, about 22 megahertz (MHz). Devices using frequency-hopping spread spectrum (FHSS) send a short burst of data, shift frequencies (hop) and then send another short burst. Since the FHSS devices that are communicating agree on which frequencies to hop to, and use each frequency for a brief period of time (less than 400 milliseconds) before moving on, several independent FHSS networks can exist in the same physical area without interfering with each other. Also, due to FCC restrictions, as well as the fact that FHSS devices generally send data on just two to four frequencies simultaneously, they only use 1 MHz or less of the available bandwidth. Because they use any given frequency for such a short time, FHSS devices are less prone to interference than DSSS devices. But DSSS is capable of much greater speed than FHSS since these devices can send a lot more data at the same time. Currently, FHSS-based devices are easier and cheaper to produce, which has led the HomeRF group to adopt FHSS as the method of communication for their products.