2008-11-13

How BIOS Works

by Jeff Tyson

1. Introduction to How BIOS Works

­One of the most common uses of Flash memory is for the basic input/output system of your computer, commonly known as the BIOS (pronounced "bye-ose"). On virtually every computer available, the BIOS makes sure all the other chips, hard drives, ports and CPU function together.
Every desktop and laptop computer in common use today contains a microprocessor as its central processing unit. The microprocessor is the hardware component. To get its work done, the microprocessor executes a set of instructions known as software (see How Microprocessors Work for details). You are probably very familiar with two different types of software:

  • The operating system - The operating system provides a set of services for the applications running on your computer, and it also provides the fundamental user interface for your computer. Windows 98 and Linux are examples of operating systems. (See How Operating Systems Work for lots of details.)

  • The applications - Applications are pieces of software that are programmed to perform specific tasks. On your computer right now you probably have a browser application, a word processing application, an e-mail application and so on. You can also buy new applications and install them.

The basic input-output system BIOS is the first thing you see when you turn on your computer.

­It turns out that the BIOS is the third type of software your computer needs to operate successfully. In this article, you'll learn all about BIOS -- what it does, how to configure it and what to do if your BIOS needs updating.

How WiMAX Works

by Marshall Brain and Ed Grabianowski

1. Introduction to How WiMAX Works

Think about how you access the Internet today. There are basically three different options:
  • Broadband access - In your home, you have either a DSL or cable modem. At the office, your company may be using a T1 or a T3 line.
  • WiFi access - In your home, you may have set up a WiFi router that lets you surf the Web while you lounge with your laptop. On the road, you can find WiFi hot spots in restaurants, hotels, coffee shops and libraries.
  • Dial-up access - If you are still using dial-up, chances are that either broadband access is not available, or you think that broadband access is too expensive.

The main problems with broadband access are that it is pretty expensive and it doesn't reach all areas. The main problem with WiFi access is that hot spots are very small, so coverage is sparse.

What if there were a new technology that solved all of these problems? This new technology would provide:

  • The high speed of broadband service
  • Wireless rather than wired access, so it would be a lot less expensive than cable or DSL and much easier to extend to suburban and rural areas
  • Broad coverage like the cell phone network instead of small WiFi hotspots

This system is actually coming into being right now, and it is called WiMAX. WiMAX is short for Worldwide Interoperability for Microwave Access, and it also goes by the IEEE name 802.16.

WiMAX has the potential to do to broadband Internet access what cell phones have done to phone access. In the same way that many people have given up their "land lines" in favor of cell phones, WiMAX could replace cable and DSL services, providing universal Internet access just about anywhere you go. WiMAX will also be as painless as WiFi -- turning your computer on will automatically connect you to the closest available WiMAX antenna.

2008-11-12

How PC Power Supplies Work

by Gary Brown

1. Introduction to How PC Power Supplies Work

If there is any one component that is absolutely vital to the operation of a computer, it is the power supply. Without it, a computer is just an inert box full of plastic and metal. The power supply converts the alternating current (AC) line from your home to the direct current (DC) needed by the personal computer. In this article, we'll learn how PC power supplies work and what the wattage ratings mean.

Power Supply
In a personal computer (PC), the power supply is the metal box usually found in a corner of the case. The power supply is visible from the back of many systems because it contains the power-cord receptacle and the cooling fan.



This is a power supply removed from its PC case. The small, red switch at right, above the power-cord connector, is for changing line voltages in various countries.

.

The interior of a power supply.

Power supplies, often referred to as "switching power supplies", use switcher technology to convert the AC input to lower DC voltages. The typical voltages supplied are:

  • 3.3 volts
  • 5 volts
  • 12 volts
The 3.3- and 5-volts are typically used by digital circuits, while the 12-volt is used to run motors in disk drives and fans. The main specification of a power supply is in watts. A watt is the product of the voltage in volts and the current in amperes or amps. If you have been around PCs for many years, you probably remember that the original PCs had large red toggle switches that had a good bit of heft to them. When you turned the PC on or off, you knew you were doing it. These switches actually controlled the flow of 120 volt power to the power supply.
Today you turn on the power with a little push button, and you turn off the machine with a menu option. These capabilities were added to standard power supplies several years ago. The operating system can send a signal to the power supply to tell it to turn off. The push button sends a 5-volt signal to the power supply to tell it when to turn on. The power supply also has a circuit that supplies 5 volts, called VSB for "standby voltage" even when it is officially "off", so that the button will work.

    2008-11-09

    How Computer Monitors Work

    by Jeff Tyson and Carmen Carmack
    1. Introduction to How Computer Monitors Work

    Because we use them daily, many of us have a lot of questions about our monitors and may not even realize it. What does "aspect ratio" mean? What is dot pitch? How much power does a display use? What is the difference between CRT and LCD? What does "refresh rate" mean?




    2. Display Technology

    Often referred to as a monitor when packaged in a separate case, the display is the most-used output device on a computer. The display provides instant feedback by showing you text and graphic images as you work or play.

    Most desktop displays use liquid crystal display (LCD) or cathode ray tube (CRT) technology, while nearly all portable computing devices such as laptops incorporate LCD technology. Because of their slimmer design and lower energy consumption, monitors using LCD technology (also called flat panel or flat screen displays) are replacing the venerable CRT on most desktops.

    Standards and Resolution

    Resolution refers to the number of individual dots of color, known as pixels, contained on a display. Resolution is expressed by identifying the number of pixels on the horizontal axis (rows) and the number on the vertical axis (columns), such as 800x600. Resolution is affected by a number of factors, including the size of the screen.

    As monitor sizes have increased over the years, display standards and resolutions have changed. In addition, some manufacturers offer widescreen displays designed for viewing DVD movies.

    Common Display Standards and Resolutions

    Standard
    Resolution

    Typical Use


    XGA (Extended Graphics Array)

    1024x768

    15- and 17-inch CRT monitors

    15-inch LCD monitors

    SXGA (Super XGA)

    1280x1024

    15- and 17-inch CRT monitors

    17-and 19-inch LCD monitors

    UXGA (Ultra XGA)

    1600x1200

    19-, 20-, 21-inch CRT monitors

    20-inch LCD monitors

    QXGA (Quad XGA)

    2048x1536

    21-inch and larger CRT monitors

    WXGA (Wide XGA)

    1280x800

    Wide aspect 15.4-inch laptops

    LCD displays

    WSXGA+ (Wide SXGA plus)

    1680x1050

    Wide aspect 20-inch LCD monitors

    WUXGA (Wide Ultra XGA)

    1920x1200

    Wide aspect 22-inch and larger LCD monitors


    3. Aspect Ratio and Viewable Area

    Two measures describe the size of your display: the aspect ratio and the screen size. Historically, computer displays, like most televisions, have had an aspect ratio of 4:3. This means that the ratio of the width of the display screen to the height is 4 to 3.
    For widescreen LCD monitors, the aspect ratio is 16:9 (or sometimes 16:10 or 15:9). Widescreen LCD displays are useful for viewing DVD movies in widescreen format, playing games and displaying multiple windows side by side. High definition television (HDTV) also uses a widescreen aspect ratio.

    All types of displays include a projection surface, commonly referred to as the screen. Screen sizes are normally measured in inches from one corner to the corner diagonally across from it. This diagonal measuring system actually came about because the early television manufacturers wanted to make the screen size of their TVs sound more impressive.

    Interestingly, the way in which the screen size is measured for CRT and LCD monitors is different. For CRT monitors, screen size is measured diagonally from outside edges of the display casing. In other words, the exterior casing is included in the measurement as seen below.

    CRT screen size


    For LCD monitors, screen size is measured diagonally from the inside of the beveled edge. The measurement does not include the casing as indicated in the image below.

    LCD screen size

    Because of the differences in how CRT and LCD monitors are measured, a 17-inch LCD display is comparable to a 19-inch CRT display. For a more accurate representation of a CRT's size, find out its viewable screen size. This is the measurement of a CRT display without its outside casing.
    Popular screen sizes are 15, 17, 19 and 21 inches. Notebook screen sizes are smaller, typically ranging from 12 to 17 inches. As technologies improve in both desktop and notebook displays, even larger screen sizes are becoming available. For professional applications, such as medical imaging or public information displays, some LCD monitors are 40 inches or larger!

    Obviously, the size of the display directly affects resolution. The same pixel resolution is sharper on a smaller monitor and fuzzier on a larger monitor because the same number of pixels is spread out over a larger number of inches. An image on a 21-inch monitor with an 800x600 resolution will not appear nearly as sharp as it would on a 15-inch display at 800x600.

    2008-11-07

    How Graphics Cards Work

    by Jeff Tyson and Tracy V. Wilson

    1. Introduction to How Graphics Cards Work

    The images you see on your monitor are made of tiny dots called pixels. At most common resolution settings, a screen displays over a million pixels, and the computer has to decide what to do with every one in order to create an image. To do this, it needs a translator -- something to take binary data from the CPU and turn it into a picture you can see. Unless a computer has graphics capability built into the motherboard, that translation takes place on the graphics card.

    A graphics card's job is complex, but its principles and components are easy to understand. In this article, we will look at the basic parts of a video card and what they do. We'll also examine the factors that work together to make a fast, efficient graphics card.

    The graphics card creates a wire frame image, then fills it in and adds textures and shading.

    Think of a computer as a company with its own art department. When people in the company want a piece of artwork, they send a request to the art department. The art department decides how to create the image and then puts it on paper. The end result is that someone's idea becomes an actual, viewable picture.

    A graphics card works along the same principles. The CPU, working in conjunction with software applications, sends information about the image to the graphics card. The graphics card decides how to use the pixels on the screen to create the image. It then sends that information to the monitor through a cable.

    Creating an image out of binary data is a demanding process. To make a 3-D image, the graphics card first creates a wire frame out of straight lines. Then, it rasterizes the image (fills in the remaining pixels). It also adds lighting, texture and color. For fast-paced games, the computer has to go through this process about sixty times per second. Without a graphics card to perform the necessary calculations, the workload would be too much for the computer to handle.

    The graphics card accomplishes this task using four main components:

    • A motherboard connection for data and power
    • A processor to decide what to do with each pixel on the screen
    • Memory to hold information about each pixel and to temporarily store completed pictures
    • A monitor connection so you can see the final result

    2. Processor and Memory

    Like a motherboard, a graphics card is a printed circuit board that houses a processor and RAM. It also has an input/output system (BIOS) chip, which stores the card's settings and performs diagnostics on the memory, input and output at startup. A graphics card's processor, called a graphics processing unit (GPU), is similar to a computer's CPU. A GPU, however, is designed specifically for performing the complex mathematical and geometric calculations that are necessary for graphics rendering. Some of the fastest GPUs have more transistors than the average CPU. A GPU produces a lot of heat, so it is usually located under a heat sink or a fan.

    Graphics cards take data from the CPU and turn it into pictures. Find out the parts of a graphics card and read expert reviews of graphics cards.

    In addition to its processing power, a GPU uses special programming to help it analyze and use data. ATI and nVidia produce the vast majority of GPUs on the market, and both companies have developed their own enhancements for GPU performance. To improve image quality, the processors use:

    • Full scene anti aliasing (FSAA), which smoothes the edges of 3-D objects
    • Anisotropic filtering (AF), which makes images look crisper ­
      ­

    Each company has also developed specific techniques to help the GPU apply colors, shading, textures and patterns.

    As the GPU creates images, it needs somewhere to hold information and completed pictures. It uses the card's RAM for this purpose, storing data about each pixel, its color and its location on the screen. Part of the RAM can also act as a frame buffer, meaning that it holds completed images until it is time to display them. Typically, video RAM operates at very high speeds and is dual ported, meaning that the system can read from it and write to it at the same time.

    The RAM connects directly to the digital-to-analog converter, called the DAC. This converter, also called the RAMDAC, translates the image into an analog signal that the monitor can use. Some cards have multiple RAMDACs, which can improve performance and support more than one monitor. You can learn more about this process in How Analog and Digital Recording Works.

    How PCI Express Works

    by Tracy V. Wilson

    1. Introduction to How PCI Express Works

    Peripheral Component Interconnect (PCI) slots are such an integral part of a computer's architecture that most people take them for granted. For years, PCI has been a versatile, functional way to connect sound, video and network cards to a motherboard.

    But PCI has some shortcomings. As processors, video cards, sound cards and networks have gotten faster and more powerful, PCI has stayed the same. It has a fixed width of 32 bits and can handle only 5 devices at a time. The newer, 64-bit PCI-X bus provides more bandwidth, but its greater width compounds some of PCI's other issues.

    A new protocol called PCI Express (PCIe) eliminates a lot of these shortcomings, provides more bandwidth and is compatible with existing operating systems. In this article, we'll examine what makes PCIe different from PCI. We'll also look at how PCI Express makes a computer faster, can potentially add graphics performance, and can replace the AGP slot.

    High-Speed Serial ConnectionIn the early days of computing, a vast amount of data moved over serial connections. Computers separated data into packets and then moved the packets from one place to another one at a time. Serial connections were reliable but slow, so manufacturers began using parallel connections to send multiple pieces of data simultaneously.

    It turns out that parallel connections have their own problems as speeds get higher and higher -- for example, wires can interfere with each other electromagnetically -- so now the pendulum is swinging back toward highly-optimized serial connections. Improvements to hardware and to the process of dividing, labeling and reassembling packets have led to much faster serial connections, such as USB 2.0 and FireWire.

    PCI Express is a serial connection that operates more like a network than a bus. Instead of one bus that handles data from multiple sources, PCIe has a switch that controls several point-to-point serial connections. (See How LAN Switches Work for details.) These connections fan out from the switch, leading directly to the devices where the data needs to go. Every device has its own dedicated connection, so devices no longer share bandwidth like they do on a normal bus.

    2. PCI Express Lanes

    When the computer starts up, PCIe determines which devices are plugged into the motherboard. It then identifies the links between the devices, creating a map of where traffic will go and negotiating the width of each link. This identification of devices and connections is the same protocol PCI uses, so PCIe does not require any changes to software or operating systems.

    Each lane of a PCI Express connection contains two pairs of wires -- one to send and one to receive. Packets of data move across the lane at a rate of one bit per cycle. A x1 connection, the smallest PCIe connection, has one lane made up of four wires. It carries one bit per cycle in each direction. A x2 link contains eight wires and transmits two bits at once, a x4 link transmits four bits, and so on. Other configurations are x12, x16 and x32.


    Scalable PCI Express slots.

    PCI Express is available for desktop and laptop PCs. Its use may lead to lower cost of motherboard production, since its connections contain fewer pins than PCI connections do. It also has the potential to support many devices, including Ethernet cards, USB 2 and video cards.

    How to Build a Computer

    by Marshall Brain

    1. Introduction to How to Build a Computer
    Have you ever thought about building your own computer? Actually buying a motherboard and a case along with all the supporting components and assembling the whole thing yourself?

    Here are three reasons why you might want to consider taking the plunge:
    1. You will be able to create a custom machine that exactly matches your needs.
    2. It will be much easier to upgrade your machine in the future because you will understand it completely.
    3. You may be able to save some money.
    And, if you have never done it before, you will definitely learn a lot about computers.

    ­In this article, we'll take you through the entire process of building a computer. You'll learn how to choose the parts you will use, how to buy them and how to put them all together. When you're done, you will have exactly the machine that you need. Let's get started.


    Determining what type of machine you want to build is the first step in building a computer.

    The first step in building a computer is deciding what type of machine you want to build. Do you want a really inexpensive computer for the kids to use? A small, quiet machine to use as a media computer in the living room? A high-end gaming computer? Or maybe you need a powerful machine with a lot of disk space for video editing. The possibilities are endless, and the type of machine you want to build will control many of the decisions you make down the line. Therefore, it is important to know exactly what you want the machine to accomplish from the start.­
    Let's imagine that you want to build a powerful video editing computer. You want it to have a dual-core CPU, lots of RAM and a terabyte of disk space. You also want to have FireWire connectors on the motherboard. These requirements are going to cause you to look for a motherboard that supports:
    • Dual-core CPUs (either Intel or AMD)
    • At least 4GB of high-speed RAM
    • Four (or more) SATA hard drives
    • FireWire connections (possibly in both the front and back of the case)

    Then it all needs to go in a case with enough space to hold multiple hard disks and enough air flow to keep everything cool.

    With any computer you build, knowing the type of machine you want to create can really help with decision-making.



    2. Choosing a Motherboard

    Choosing a motherboard is the most interesting part of any building project. The reason it is so interesting is because there are hundreds of motherboards to choose from and each has its own advantages and disadvantages.
    One easy way to think about motherboards is to break them up into a few categories. For example:
    • Cheap motherboards: Generally in the $50 range, these are motherboards for older CPUs. They are great for building inexpensive machines.
    • Middle-of-the-road motherboards: Ranging in price from $50 to $100, these are one step up from the cheap motherboards. In many cases you can find motherboard and CPU combos in this price range, which is another great way to build a cheap machine or an inexpensive home/office computer.

    A middle-of-the-road motherboard

    • High-end motherboards: If you are building a powerful gaming machine or video workstation, these motherboards give you the speed you need. They range in price from $100 to $200. They handle the latest CPU chips at their highest speeds.
    • Extreme motherboards: Falling into the over-$200 range, these motherboards have special features that boost the price. For example, they might have multiple CPU sockets, extra memory slots or special cooling features.

    You need to decide whether you are building a "cheap machine," a "high-end machine" or a "tricked-out super machine" and then choose your motherboard accordingly. Here are some other decisions that help narrow down your motherboard choices:

    • Do you want to use an Intel or an AMD processor? Making this choice will cut the number of motherboards in half. AMD chips are often cheaper, but lots of people are die-hard Intel fans.
    • What size motherboard do you want to use? If you are trying to build a smaller computer, you may want to look at micro ATX cases. That means you will need to buy a micro ATX motherboard. Otherwise you can use a normal ATX motherboard and case. (There are also smaller motherboard form factors like mini-ITX and even nano-ITX if you want to go really small.)
    • How many USB ports do you want? If you want several, make sure the motherboard can handle it.
    • Do you need FireWire? It's nice if the motherboard handles it (although it is also possible to add a card).
    • Do you want an AGP or PCI Express graphics card? Or do you want to use a graphics card on the motherboard to keep the price and size down? If you want to go the cheapest route, make sure the motherboard includes a video card on-board (easiest way to tell is to see if there is a DVI or VGA connector on the motherboard). PCI Express is the latest/greatest thing, but if you want to re-use an AGP card you already own, that might be a reason to go with AGP.
    • Do you want to use PATA (IDE) or SATA hard disks? SATA is the latest thing, and the cables are much smaller.
    • What pin configuration are you using for the CPU? If you want to use the latest CPUs, make sure that your motherboard will accept them.
    • Do you want to try things like dual video cards or special high-speed RAM configurations? If so, make sure the motherboard supports it.

    If you don't care about any of this stuff (or if it all sounds like gibberish to you), then you're probably interested in building a cheap machine. In that case, find an inexpensive motherboard/CPU combo kit and don't worry about all of these details.

    2008-11-06

    How do optical mice work?

    by howstuffworks.com

    I­t appears that the venerable wheeled mouse is in danger of extinction. The now-preferred device for pointing and clicking is the optical mouse.

    Developed by Agilent Technologies and introduced to the world in late 1999, the optical mouse actually uses a tiny camera to take 1,500 pictures every second. Able to work on almost any surface, the mouse has a small, red light-emitting diode (LED) that bounces light off that surface onto a complimentary metal-oxide semiconductor (CMOS) sensor.

    The CMOS sensor sends each image to a digital signal processor (DSP) for analysis. The DSP, operating at 18 MIPS (million instructions per second), is able to detect patterns in the images and see how those patterns have moved since the previous image. Based on the change in patterns over a sequence of images, the DSP determines how far the mouse has moved and sends the corresponding coordinates to the computer. The computer moves the cursor on the screen based on the coordinates received from the mouse. This happens hundreds of times each second, making the cursor appear to move very smoothly.


    In this photo, you can see the LED on the bottom of the mouse.



    Optical mice have several benefits over wheeled mice:

    • No moving parts means less wear and a lower chance of failure.
    • There's no way for dirt to get inside the mouse and interfere with the tracking sensors.
    • Increased tracking resolution means smoother response.
    • They don't require a special surface, such as a mouse pad.

    Apple has transformed its optical mouse into a modern work of art.

    Although LED-based optical mice are fairly recent, another type of optical mouse has been around for over a decade. The original optical-mouse technology bounced a focused beam of light off a highly-reflective mouse pad onto a sensor. The mouse pad had a grid of dark lines. Each time the mouse was moved, the beam of light was interrupted by the grid. Whenever the light was interrupted, the sensor sent a signal to the computer and the cursor moved a corresponding amount. This kind of optical mouse was difficult to use, requiring that you hold it at precisely the right angle to ensure that the light beam and sensor aligned. Also, damage to or loss of the mouse pad rendered the mouse useless until a replacement pad was purchased. Today's LED-based optical mice are far more user-friendly and reliable.

    2008-11-03

    How Computer Keyboards Work

    by Jeff Tyson and Tracy V. Wilson

    1. Introduction to How Computer Keyboards Work

    When you look at all the extras and options that are available for new computer keyboards, it can be hard to believe that their original design came from mechanical typewriters that didn't even use electricity. Now, you can buy ergonomic keyboards that bear little resemblance to flat, rectangular models with ordinary square keys. Some flashier models light up, roll up or fold up, and others offer options for programming your own commands and shortcuts.

    An average Windows keyboard.

    But no matter how many bells and whistles they offer, most keyboards operate using similar technology. They use switches and circuits to translate a person's keystrokes into a signal a computer can understand. In this article we will explore keyboard technology along with different key layouts, options and designs.

    2. Keyboard Basics

    A keyboard's primary function is to act as an input device. Using a keyboard, a person can type a document, use keystroke shortcuts, access menus, play games and perform a variety of other tasks. Keyboards can have different keys depending on the manufacturer, the operating system they're designed for, and whether they are attached to a desktop computer or part of a laptop. But for the most part, these keys, also called keycaps, are the same size and shape from keyboard to keyboard. They're also placed at a similar distance from one another in a similar pattern, no matter what language or alphabet the keys represent.
    Most keyboards have between 80 and 110 keys, including:

    • Typing keys
    • A numeric keypad
    • Function keys
    • Control keys

    The typing keys include the letters of the alphabet, generally laid out in the same pattern used for typewriters. According to legend, this layout, known as QWERTY for its first six letters, helped keep mechanical typewriters' metal arms from colliding and jamming as people typed. Some people question this story – whether it’s true or not, the QWERTY pattern had long been a standard by the time computer keyboards came around. This Logitech wireless keyboard uses a QWERTY layout.

    Keyboards can also use a variety of other typing key arrangements. The most widely known is Dvorak, named for its creator, August Dvorak. The Dvorak layout places all of the vowels on the left side of the keyboard and the most common consonants on the right. The most commonly used letters are all found along the home row. The home row is the main row where you place your fingers when you begin typing. People who prefer the Dvorak layout say it increases their typing speed and reduces fatigue. Other layouts include ABCDE, XPeRT, QWERTZ and AZERTY. Each is named for the first keys in the pattern. The QWERTZ and AZERTY arrangements are commonly used in Europe.

    The numeric keypad is a more recent addition to the computer keyboard. As the use of computers in business environments increased, so did the need for speedy data entry. Since a large part of the data was numbers, a set of 17 keys, arranged in the same configuration found on adding machines and calculators, was added to the keyboard.

    The Apple keyboard's control keys include the "Command" key.

    In 1986, IBM further extended the basic keyboard with the addition of function and control keys. Applications and operating systems can assign specific commands to the function keys. Control keys provide cursor and screen control. Four arrow keys arranged in an inverted T formation between the typing keys and numeric keypad move the cursor on the screen in small increments.


    Optimus keyboard OLED arrow keys

    Other common control keys include:

    • Home
    • End
    • Insert
    • Delete
    • Page Up
    • Page Down
    • Control (Ctrl)
    • Alternate (Alt)
    • Escape (Esc)

    This Optimus keyboard has programmable hot keys.

    The Windows keyboard adds some extra control keys: two Windows or Start keys, and an Application key. Apple keyboards, on the other hand, have Command (also known as "Apple") keys. A keyboard developed for Linux users features Linux-specific hot keys, including one marked with "Tux" the penguin -- the Linux logo/mascot

    Optimus keyboard OLED Windows key

    3. Inside the Keyboard

    A keyboard is a lot like a miniature computer. It has its own processor and circuitry that carries information to and from that processor. A large part of this circuitry makes up the key matrix.The microprocessor and controller circuitry of a keyboard

    The key matrix is a grid of circuits underneath the keys. In all keyboards (except for capacitive models, which we'll discuss in the next section), each circuit is broken at a point below each key. When you press a key, it presses a switch, completing the circuit and allowing a tiny amount of current to flow through. The mechanical action of the switch causes some vibration, called bounce, which the processor filters out. If you press and hold a key, the processor recognizes it as the equivalent of pressing a key repeatedly.

    When the processor finds a circuit that is closed, it compares the location of that circuit on the key matrix to the character map in its read-only memory (ROM). A character map is basically a comparison chart or lookup table. It tells the processor the position of each key in the matrix and what each keystroke or combination of keystrokes represents. For example, the character map lets the processor know that pressing the a key by itself corresponds to a small letter "a," but the Shift and a keys pressed together correspond to a capital "A."

    The key matrix

    A computer can also use separate character maps, overriding the one found in the keyboard. This can be useful if a person is typing in a language that uses letters that don't have English equivalents on a keyboard with English letters. People can also set their computers to interpret their keystrokes as though they were typing on a Dvorak keyboard even though their actual keys are arranged in a QWERTY layout. In addition, operating systems and applications have keyboard accessibility settings that let people change their keyboard's behavior to adapt to disabilities.

    4. Keyboard Switches

    Keyboards use a variety of switch technologies. Capacitive switches are considered to be non-mechanical because they do not physically complete a circuit like most other keyboard technologies. Instead, current constantly flows through all parts of the key matrix. Each key is spring-loaded and has a tiny plate attached to the bottom of it. When you press a key, it moves this plate closer to the plate below it. As the two plates move closer together, the amount of current flowing through the matrix changes. The processor detects the change and interprets it as a key press for that location. Capacitive switch keyboards are expensive, but they have a longer life than any other keyboard. Also, they do not have problems with bounce since the two surfaces never come into actual contact.
    All of the other types of switches used in keyboards are mechanical in nature. Each provides a different level of audible and tactile response -- the sounds and sensations that typing creates. Mechanical key switches include:

    • Rubber dome
    • Membrane
    • Metal contact
    • Foam element

    This keyboard uses rubber dome switches.


    Rubber dome switches are very common. They use small, flexible rubber domes, each with a hard carbon center. When you press a key, a plunger on the bottom of the key pushes down against the dome, and the carbon center presses against a hard, flat surface beneath the key matrix. As long as the key is held, the carbon center completes the circuit. When the key is released, the rubber dome springs back to its original shape, forcing the key back up to its at-rest position. Rubber dome switch keyboards are inexpensive, have pretty good tactile response and are fairly resistant to spills and corrosion because of the rubber layer covering the key matrix.

    Rather than having a switch for each key, membrane keyboards use a continuous membrane that stretches from one end to another. A pattern printed in the membrane completes the circuit when you press a key. Some membrane keyboards use a flat surface printed with representations of each key rather than keycaps. Membrane keyboards don't have good tactile response, and without additional mechanical components they don't make the clicking sound that some people like to hear when they're typing. However, they're generally inexpensive to make.

    Metal contact and foam element keyboards are increasingly less common. Metal contact switches simply have a spring-loaded key with a strip of metal on the bottom of the plunger. When the key is pressed, the metal strip connects the two parts of the circuit. The foam element switch is basically the same design but with a small piece of spongy foam between the bottom of the plunger and the metal strip, providing a better tactile response. Both technologies have good tactile response, make satisfyingly audible "clicks," and are inexpensive to produce. The problem is that the contacts tend to wear out or corrode faster than on keyboards that use other technologies. Also, there is no barrier that prevents dust or liquids from coming in direct contact with the circuitry of the key matrix.

    Different manufacturers have used these standard technologies, and a few others, to create a wide range of non-traditional keyboards. We'll take a look at some of these non-traditional keyboards in the next section.

    5. Non-Traditional Keyboards

    A lot of modifications to the traditional keyboard design are an attempt to make them safer or easier to use. For example, some people have associated increased keyboard use with repetitive stress injuries like carpal tunnel syndrome, although scientific studies have produced conflicting results. Ergonomic keyboard designs are intended to keep a person's hands in a more natural position while typing in an attempt to prevent injuries. While these keyboards can certainly keep people from holding their hands in a "praying mantis" position, studies disagree on whether they actually prevent injury.

    The SafeType keyboard places the two halves of the keyboard perpendicular to the desk surface.

    The simplest ergonomic keyboards look like traditional keyboards that have been divided down the middle, keeping a person's hands farther apart and aligning the wrists with the forearms. More complex designs place the two halves of the keyboard at varying angles to one another and to the surface on which the keyboard rests. Some go even further, placing the two halves of the keyboard on the armrests of chairs or making them completely perpendicular to the desk surface. Others, like the Datahand, don't look much like keyboards at all.

    Saitek Truview backlit keyboard buttons

    Some modifications, while not necessarily ergonomic, are designed to make keyboards more portable, more versatile or just cooler:

    • Das Keyboard is a completely black keyboard with weighted keys that require more pressure from a person's strongest fingers and less pressure from the weaker ones.
    • The Virtual Laser Keyboard projects a representation of a keyboard onto a flat surface. When used successfully, a person's fingers pass through the beam of infrared light above the projected surface, and a sensor interprets it as a keystroke.
    • The True-touch Roll-up keyboard is flexible and can be rolled up to fit in a backpack or bag.

    Blue backlit keyboard 'on'

    Blue backlit keyboard 'off'

    • Illuminated keyboards, like the Ion Illuminated Keyboard, use light-emitting diodes or electroluminescent film to send light through the keys or the spaces between keys.
    • The Optimus keyboard has organic light-emitting diodes (OLEDs) in the keys. Users can change what letter, command or action each key represents, and the OLED can change to display the new information.

    This Optimus keyboard is set for keystrokes used to play Quake.


    With the exception of the Virtual Laser Keyboard, which has its own sensing system, each of these keyboards uses the same type of technology as traditional models do to communicate with the computer. We'll look at that technology next.

    6. From the Keyboard to the Computer

    As you type, the processor in the keyboard analyzes the key matrix and determines what characters to send to the computer. It maintains these characters in its memory buffer and then sends the data.


    A PS/2 type keyboard connector.


    Many keyboards connect to the computer through a cable with a PS/2 or USB (Universal Serial Bus) connector. Laptops use internal connectors. Regardless of which type of connector is used, the cable must carry power to the keyboard, and it must carry signals from the keyboard back to the computer.


    Wireless keyboards, on the other hand, connect to the computer through infrared (IR), radio frequency (RF) or Bluetooth connections. IR and RF connections are similar to what you'd find in a remote control. Regardless of which sort of signal they use, wireless keyboards require a receiver, either built in or plugged in to the USB port, to communicate with the computer. Since they don't have a physical connection to the computer, wireless keyboards have an AC power connection or use batteries for power.

    Microsoft wireless keyboard

    Whether it's through a cable or wireless, the signal from the keyboard is monitored by the computer's keyboard controller. This is an integrated circuit (IC) that processes all of the data that comes from the keyboard and forwards it to the operating system. When the operating system (OS) is notified that there is data from the keyboard, it checks to see if the keyboard data is a system level command. A good example of this is Ctrl-Alt-Delete on a Windows computer, which reboots the system. Then, the OS passes the keyboard data on to the current application.

    The application determines whether the keyboard data is a command, like Alt-f, which opens the File menu in a Windows application. If the data is not a command, the application accepts it as content, which can be anything from typing a document to entering a URL to performing a calculation. If the current application does not accept keyboard data, it simply ignores the information. This whole process, from pressing the key to entering content into an application, happens almost instantaneously.

    What does Alt+F4 do?

    by howstuffworks.com

    This is one of those jokes people play on each other -- it's in the same category with squirting flowers and exploding cigars. This joke works on machines running the Windows operating system because Windows happens to define certain keystrokes that work the same way in all applications. Just about everyone knows that Alt+Ctrl+Del interrupts the operating system, but most people don't know that Alt+F4 closes the current window. So if you had pressed Alt+F4 while playing a game, the game window would have closed.

    It turns out there are several other handy keystrokes like that built into Windows. For example, Ctrl+Esc will pop up the Start menu, Alt+Esc will bring the next window to the foreground, and Alt+Tab or Alt+Shift+Tab will let you cycle through all available windows and jump to the one you select.

    On keyboards that have the little "Windows" key (let's call it WK here) down near the space bar, you probably know that you can press that key to open the Start menu. You can also use that key with other keys like you use the shift key. For example:

    WK+e - starts the Windows Explorer
    WK+f - starts the Find in Files dialog
    WK+Ctrl+f - starts the Find a Computer on the Network dialog
    WK+M - minimizes all the windows to clear the desktop
    WK+Shift+M - restores all the minimized windows
    WK+r - starts the Run dialog
    WK+F1 - starts Windows Help
    WK+Pause - starts System Properties

    The last keyboard trick that every Windows user should be aware of is MouseKeys. If you go to the Accessibility Options icon in the Control Panel, you can go to the Mouse section and turn on MouseKeys. This feature allows you to use the numeric keypad in addition to the mouse to move the cursor. It's handy if you are on a bumpy airplane ride or if your mouse is acting up. Another neat feature in Accessibility Options is the ability to turn on a beeper that beeps when you press the Caps Lock key -- great if you are the sort of person who hits it accidentally!

    2008-07-28

    How Motherboards Work

    by Ryan Johnson and Tracy V. Wilson
    1. Introduction to How Motherboards Work

    If you've ever taken the case off of a computer, you've seen the one piece of equipment that ties everything together -- the motherboard. A motherboard allows all the parts of your computer to receive power and communicate with one another.

    Motherboards have come a long way in the last twenty years. The first motherboards held very few actual components. The first IBM PC motherboard had only a processor and card slots. Users plugged components like floppy drive controllers and memory into the slots.

    Today, motherboards typically boast a wide variety of built-in features, and they directly affect a computer's capabilities and potential for upgrades. In this article, we'll look at the general components of a motherboard. Then, we'll closely examine five points that dramatically affect what a computer can do.

    2. Form Factor

    A motherboard by itself is useless, but a computer has to have one to operate. The motherboard's main job is to hold the computer's microprocessor chip and let everything else connect to it. Everything that runs the computer or enhances its performance is either part of the motherboard or plugs into it via a slot or port.





    The shape and layout of a motherboard is called the form factor. The form factor affects where individual components go and the shape of the computer's case. There are several specific form factors that most PC motherboards use so that they can all fit in standard cases. For a comparison of form factors, past and present, check out Motherboards.org.

    The form factor is just one of the many standards that apply to motherboards. Some of the other standards include:

    • The socket for the microprocessor determines what kind of Central Processing Unit (CPU) the motherboard uses.
    • The chipset is part of the motherboard's logic system and is usually made of two parts -- the northbridge and the southbridge. These two "bridges" connect the CPU to other parts of the computer.
    • The Basic Input/Output System (BIOS) chip controls the most basic functions of the computer and performs a self-test every time you turn it on. Some systems feature dual BIOS, which provides a backup in case one fails or in case of error during updating.
    • The real time clock chip is a battery-operated chip that maintains basic settings and the system time.

    The slots and ports found on a motherboard include:

    • Peripheral Component Interconnect (PCI)- connections for video, sound and video capture cards, as well as network cards
    • Accelerated Graphics Port (AGP) - dedicated port for video cards.
    • Integrated Drive Electronics (IDE) - interfaces for the hard drives
    • Universal Serial Bus or FireWire - external peripherals
    • Memory slots

    Some motherboards also incorporate newer technological advances:

    • Redundant Array of Independent Discs (RAID) controllers allow the computer to recognize multiple drives as one drive.
    • PCI Express is a newer protocol that acts more like a network than a bus. It can eliminate the need for other ports, including the AGP port.
    • Rather than relying on plug-in cards, some motherboards have on-boardsound, networking, video or other peripheral support.

    Many people think of the CPU as one of the most important parts of a computer. We'll look at how it affects the rest of the computer in the next section.


    3. Sockets and CPUs

    The CPU is the first thing that comes to mind when many people think about a computer's speed and performance. The faster the processor, the faster the computer can think. In the early days of PC computers, all processors had the same set of pins that would connect the CPU to the motherboard, called the Pin Grid Array (PGA). These pins fit into a socket layout called Socket 7. This meant that any processor would fit into any motherboard.




    Today, however, CPU manufacturers Intel and AMD use a variety of PGAs, none of which fit into Socket 7. As microprocessors advance, they need more and more pins, both to handle new features and to provide more and more power to the chip.

    Current socket arrangements are often named for the number of pins in the PGA. Commonly used sockets are:

    • Socket 478 - for older Pentium and Celeron processors
    • Socket 754 - for AMD Sempron and some AMD Athlon processors
    • Socket 939 - for newer and faster AMD Athlon processors
    • Socket AM2 - for the newest AMD Athlon processors
    • Socket A - for older AMD Athlon processors


    The newest Intel CPU does not have a PGA. It has an LGA, also known as Socket T. LGA stands for Land Grid Array. An LGA is different from a PGA in that the pins are actually part of the socket, not the CPU.

    Anyone who already has a specific CPU in mind should select a motherboard based on that CPU. For example, if you want to use one of the new multi-core chips made by Intel or AMD, you will need to select a motherboard with the correct socket for those chips. CPUs simply will not fit into sockets that don't match their PGA.

    The CPU communicates with other elements of the motherboard through a chipset. We'll look at the chipset in more detail next.


    4. Chipsets

    The chipset is the "glue" that connects the microprocessor to the rest of the motherboard and therefore to the rest of the computer. On a PC, it consists of two basic parts -- the northbridge and the southbridge. All of the various components of the computer communicate with the CPU through the chipset.


    The northbridge connects directly to the processor via the front side bus (FSB). A memory controller is located on the northbridge, which gives the CPU fast access to the memory. The northbridge also connects to the AGP or PCI Express bus and to the memory itself.

    The southbridge is slower than the northbridge, and information from the CPU has to go through the northbridge before reaching the southbridge. Other busses connect the southbridge to the PCI bus, the USB ports and the IDE or SATA hard disk connections.

    Chipset selection and CPU selection go hand in hand, because manufacturers optimize chipsets to work with specific CPUs. The chipset is an integrated part of the motherboard, so it cannot be removed or upgraded. This means that not only must the motherboard's socket fit the CPU, the motherboard's chipset must work optimally with the CPU.

    Next, we'll look at busses, which, like the chipset, carry information from place to place.


    5. Bus Speed

    A bus is simply a circuit that connects one part of the motherboard to another. The more data a bus can handle at one time, the faster it allows information to travel. The speed of the bus, measured in megahertz (MHz), refers to how much data can move across the bus simultaneously.




    Bus speed usually refers to the speed of the front side bus (FSB), which connects the CPU to the northbridge. FSB speeds can range from 66 MHz to over 800 MHz. Since the CPU reaches the memory controller though the northbridge, FSB speed can dramatically affect a computer's performance.

    Here are some of the other busses found on a motherboard:

    • The back side bus connects the CPU with the level 2 (L2) cache, also known as secondary or external cache. The processor determines the speed of the back side bus.
    • The memory bus connects the northbridge to the memory.
    • The IDE or ATA bus connects the southbridge to the disk drives.
    • The AGP bus connects the video card to the memory and the CPU. The speed of the AGP bus is usually 66 MHz.
    • The PCI bus connects PCI slots to the southbridge. On most systems, the speed of the PCI bus is 33 MHz. Also compatible with PCI is PCI Express, which is much faster than PCI but is still compatible with current software and operating systems. PCI Express is likely to replace both PCI and AGP busses.

    The faster a computer's bus speed, the faster it will operate -- to a point. A fast bus speed cannot make up for a slow processor or chipset.


    6. Memory and Other Features

    We've established that the speed of the processor itself controls how quickly a computer thinks. The speed of the chipset and busses controls how quickly it can communicate with other parts of the computer. The speed of the RAM connection directly controls how fast the computer can access instructions and data, and therefore has a big effect on system performance. A fast processor with slow RAM is going nowhere.

    The amount of memory available also controls how much data the computer can have readily available. RAM makes up the bulk of a computer's memory. The general rule of thumb is the more RAM the computer has, the better.

    Much of the memory available today is dual data rate (DDR) memory. This means that the memory can transmit data twice per cycle instead of once, which makes the memory faster. Also, most motherboards have space for multiple memory chips, and on newer motherboards, they often connect to the northbridge via a dual bus instead of a single bus. This further reduces the amount of time it takes for the processor to get information from the memory.

    A motherboard's memory slots directly affect what kind and how much memory is supported. Just like other components, the memory plugs into the slot via a series of pins. The memory module must have the right number of pins to fit into the slot on the motherboard.

    In the earliest days of motherboards, virtually everything other than the processor came on a card that plugged into the board. Now, motherboards feature a variety of onboard accessories such as LAN support, video, sound support and RAID controllers.

    Motherboards with all the bells and whistles are convenient and simple to install. There are motherboards that have everything you need to create a complete computer -- all you do is stick the motherboard in a case and add a hard disk, a CD drive and a power supply. You have a completely operational computer on a single board.

    For many average users, these built-in features provide ample support for video and sound. For avid gamers and people who do high-intensity graphic or computer-aided design (CAD) work, however, separate video cards provide much better performance.

    7. Lots More Information

    Web Pages

    • Basic Computer Operation Tutorial
      http://www.bcae1.com/comptutorial/computertutorial.htm
    • How Motherboards Are Made: A Gigabyte Factory Tour
      http://www.pcstats.com/articleview.cfm?articleid=1722&page=3
    • Installing Motherboards
      http://www.pcmech.com/show/motherboards/85/
    • Motherboard Basics
      http://www.pcmech.com/show/motherboards/119/
    • MotherboardDefinition
      http://www.sceptre.com/Products/Motherboard/definitions/definitions_board.htm
    • PCGuide - http://www.pcguide.com/ref/mbsys/index.htm
    • PCGuide - htp://www.pcguide.com/ref/mbsys/buses/types/pci.htm
    • The PC Technology Guide: Motherboards
      http://www.pctechguide.com/01mboards.htm
    • PCWorld.com - How to Buy a Motherboard
      http://www.pcworld.com/howto/bguide/0,guid,29,00.asp
    • Upgrading & Repairing PCs Eighth Edition
      http://cma.zdnet.com/book/upgraderepair/ch04/ch04.htm
    • PCWorld.com - How to Buy a Motherboard
      http://www.pcworld.com/howto/bguide/0,guid,29,page,1,00.asp
    • PCWorld.com - Your Ideal PC
      http://www.pcworld.com/howto/article/0,aid,116993,pg,3,00.asp
    • PCWorld.com - Up Front: Want a PC Done Right? Do It Yourself
      http://www.pcworld.com/howto/article/0,aid,119974,00.asp
    • Understanding System Memory and CPU Speeds
      http://www.directron.com/fsbguide.html
    • PC World Motherboards Buying Guide
      http://www.pcworld.idg.com.au/index.php/id;641784313
    • Motherboards
      http://www.pcmech.pair.com/mbindex.htm
    • Triumph of the Nerds: A History of the Computer
      http://www.pbs.org/nerds/timeline/index.html
    • The Old Computer Hut - Intel family microcomputers
      http://www.arcula.demon.co.uk/intl1.htm
    • Personal Computer Motherboards, Compared
      http://is.lse.ac.uk/History/Motherboards.htm
    • PC Guide: The Memory Bus
      http://www.pcguide.com/ref/ram/timingBus-c.html
    • Motherboards.org: Understanding PCI Express
      http://www.motherboards.org/articles/tech-planations/1438_1.html
    • Motherboards.org: Expansion Slots Rev 1.3
      http://www.motherboards.org/articles/tech-planations/920_1.html
    • Motherboards.org: Motherboard Basics Rev 1.1
      http://www.motherboards.org/articles/tech-planations/1_1.html
    • Ars Technica: PCI Express: An Overview
      http://arstechnica.com/articles/paedia/hardware/pcie.ars/1
    • ATA (IDE) Bus
      http://www.interfacebus.com/Design_Connector_IDE.html