Parts of a Keyboard Diagram in 3D

A mechanical keyboard has a separate switch under every key, sitting on a plate and a circuit board inside a case. Lift the keycaps and drop the case on this 3D 75% keyboard to see each layer.

  • Technology & Science
  • 3D model
  • Labelled diagram
  • 33 parts

Labelled diagram

parts of a keyboard diagram

Typical everyday keyboards have rubber membrane underneath their keys. When pressed, this squashes down and makes contact.

On a mechanical keyboard, there is a separate switch for each key. It feels crisper. The parts are separated so it’s possible to repair/replace the board one key at a time.

It has a wired 75% layout with hot-swap linear switches. The 75% layout retains the arrow keys and function row. It omits the number pad, making for a smaller board that takes up less desk space. Linear switches simply go straight down. There’s no click, no bump, just a smooth keystroke.

Here are some photos showing what the inside looks like. You can see there are two cutaway layers. One raises the housing and keycaps (the switch layer). That reveals the stabilisers, springs and stems under the keys. Then you have a lower one that drops down to show the underside of the case with the sockets and circuit board in place.

Keys, Switches, Plate and Board

Escape key

The Escape key is in the top left. It is normally distinguished from the other keys on the row. It is used to cancel an action, like stopping a video or closing a menu. In gaming terms, it is commonly used to pause. You can reach it without looking. Enthusiast keyboards sometimes use a contrasting colour for visibility and style.

Switch upper housings

On top of each switch is an upper housing that is clipped on. That’s a plastic shell, which becomes the roof of the switch. There’s a hole where the stem pokes up to the keycap. The stem travels through this housing and because it’s guided, it goes straight without any wobbling. All the keys feel the same. Often you can unclip this housing in order to change the spring or lubricate the switch.

Switch stems

At the center of any switch is its stem. This is a piece of plastic that’s shaped like a cross on one end. The keycap sits on that cross. As you press the key, it moves the stem downward while bringing the keycap along for the ride. Once pressed, the stem seals off the internal electrical contact to record the button push. The feel of the keystroke hinges on the materials used to make the stem as well as its shape. These are things enthusiasts closely compare between switches.

Switch springs

Under each of the stems is a small coil spring. When you lift your finger, these switch springs return the key upwards. How hard do they have to be pressed depends on the stiffness of the spring. With lighter springs it feels effortless but can lead to unintentional pressing. Heavier springs require more effort and is suitable for those who type firmly.

Contact leaves

Each switch has contact leaves hidden within it. These are two slim metal strips. As the stem reaches a particular depth, the strips come into contact with one another and close the circuit. The depth at which they do so is called the actuation point. Typically it’s reached before the key bottoms out. Typing becomes lighter and less tiring if you press just beyond that point.

Switch lower housings

Below the upper shell is the switch lower housing. This is a piece of plastic that houses the working parts of the switch. It positions the contact leaves and spring in alignment with the stem. The switch is kept square by sitting on the circuit board. It clips together with the upper housing to form the full switch body. This then clips into the plate.

Switch contact pins

Each switch has two short metal terminals sticking out of its base. Those are the switch contact pins. The pins transport the signal from within the switch to the circuit board. On this keyboard they’re not soldered but rather push into sockets. Make sure the pins on each switch are straight when you insert them. Push it in squarely; a bent pin is the most common cause for a new key failing to work.

Hot-swap sockets

The circuit board has hot swap sockets on its underside. These are little receptacles that grab onto the switch pins. The pins don’t need to be soldered. Instead, you can use a tool to pull out a switch and push in another one. That way, you can swap out a bad switch or experiment with various switches. To remove a switch, pull it gently and straight up, prying it risks damaging the sockets.

Key LEDs

Each switch has a key LED next to it. The little lights leak under the gaps in the keycaps and illuminate the keyboard when working in low-light conditions. Through software, they can often be modified to produce different colours and effects. For those who type in the dark, there are keycaps available that have see-through legends so that light shines through the lettering making it easier to read.

Matrix diodes

Beside the switches are the Matrix diodes. These small parts enable current to flow in just one direction. They wire into what’s called the key matrix, the grid that the keys are connected to. When you press some keys, the controller reads this grid to see which ones are down. If it didn’t have diodes, if you pressed multiple keys simultaneously, they could all go down and create ghosting. The diodes cut off these false paths and let the fast typist hit multiple keys with confidence.

Function keys

The top row is all function keys (F1 through F12). These will do different things depending upon what program you’re running. In Windows, for instance, F5 refreshes your web page. Most of them have a second duty as well. Pressing one with the Fn key held down provides additional options such as volume control.

Navigation keys

On the right side is one column of navigation keys. These are: Delete, Home, End, Page Up, Page Down. Home and End take you to the beginning or end of the current line. Page Up and Page Down scroll up or down a screen at a time through your document. Delete deletes the character to the right of the cursor. If you do a lot of editing, keeping these keys on a 75% board can be helpful.

Number row

Above the letter keys is the number row. Alongside the letters are symbols and digits. These keys print numbers when pressed by themselves. They print symbols (e.g., exclamation mark) when the Shift key is also held down. This keyboard design does not include a number pad. All number entry will be handled by the number row. If desired, you can always attach a small additional number pad later on.

Editing keys

On the right hand side of the main block are the editing keys. The backspace key will delete whatever character lies to the left of the cursor. Most of us have used this key to correct our typing slips. The enter key confirms the command or begins a new line. These two keys are both wider than the letter keys, so you can easily reach them with your right little finger.

Stabilizer housings

Each of these longer keys has two smaller stabiliser housings underneath. These are on either side of keys such as the space bar. Inside each of these housings is a sliding insert which the keycap clips into. This is there to maintain a wider keycap level when the key is moved. Otherwise, you’d get key sticking or tilting if you hit a long key nearer one end than another.

Stabilizer wires

Each housing is connected to another via a bent metal wire. That’s the stabiliser wire. Pushing down on one side causes the other end to turn with it. The result is that the entire keycap moves together. Lubricating the ends of the wire will quieten a rattling spacebar.

Modifier keys

Around the edge of the letter block are modifier keys: Control, Shift, Alt, Windows, Caps Lock, Tab, Fn. These by themselves don’t do much. When pressed, they change how other keys work. Tab switches from field to field. Control and C copy text. Caps Lock makes letters go into capitals.

Letter keys

In the middle of the board are letter keys. They are in a QWERTY formation. They spell out the alphabet and play a part in shortcut combinations. There are little raised bumps on the F and J keys. These indicate the home position, allowing a touch typist to locate where they need to be without needing to look.

Punctuation keys

The letter groups are flanked by punctuation keys: these type out brackets, commas and full stops. Most have two characters. One is typed using Shift; the other not. In some countries their locations vary. Ensure you’ve got your new keyboard set up to match your computer’s configuration.

Arrow keys

The bottom-right corner holds arrow keys. An inverted T contains them. These keys will make the selection or cursor go up/down/left/right. Because of the T shape, you can find the keys with your finger. On a 75% keyboard, the cluster is near other keys. You might need a day or two before you can find them without looking.

Spacebar

Then there’s the spacebar. This sits on the bottom row. This is easily the largest key on the keyboard. It adds a space between words. You hit this with your thumb thousands of times each day. It uses stabilisers for its levelling. It tends to be the noisiest key, and you’ll hear the sound of the stabilisers if they’re hollow.

Top case

That’s the top case wrapping the keys. That’s the keyboard’s upper frame. That’s what covers the board and plate edges. That’s the top case protecting the inside bits from knocks. It keeps the crumbs and dust from finding their way inside easily. And you can lift that away for a good thorough keyboard cleaning.

Bottom case

That’s the underside of the board. That’s the bottom half of the enclosure. It contains the assembled keyboard. It protects any electronics from underneath. It also affects the sound. A heavier case produces a deeper note than a light one made of thin plastic. In this cutaway view, you can see the feet and acoustic pad come off along with the bottom case.

Mounting plate

Switches mount on a neat grid on the mounting plate. This is a rigid sheet that has been punched out to have square openings. There is one opening for each switch. The plate positions each key exactly and is strong enough to take the force of your typing without the circuit board flexing. Plates are available in plastic, brass, or aluminium, and each has a different feel.

Printed circuit board

Below the plate is the printed circuit board. For short, we call it the PCB. The PCB holds the LEDs, diodes, and sockets. It has copper paths that connect each switch to the controller. Each time you press a key, the board transmits the signal to the controller. A hot-swap keyboard doesn’t have an easy way of replacing its PCB, so be gentle with it.

Copper traces

The circuit board has copper traces etched across it. These are fine conductive paths that act as if they were wires. They join the microcontroller to the key matrix, creating a single circuit. The traces are delicate and most are covered in a thin coating. A broken trace caused by a scratch can cause a row of keys not to respond. This is a useful clue to track down a fault.

Microcontroller

Near the rear edge of the board, there’s a tiny chip called the microcontroller. That’s the part that makes the keyboard go. It reads the key matrix and relays info to your computer. Many enthusiast keyboards allow you to reprogram them with new firmware. You can remap keys and make shortcuts that work on any computer.

Acoustic pad

Inside the lower case is an acoustic pad. This is a soft layer of foam. It fills in the empty space beneath the board. Without it, each key stroke would have a hollow sound. The pad also provides a bit of cushion for the board. Many people will take it out to alter the sound, but typically the keyboard sounds noisier without it.

Case screws and posts

Everything is held by Case screws and posts. The board rests on the post that rises up from the bottom case. The layer is screwed to the post with those case screws. It holds it all in alignment. When you take the case off put the screws in a little dish. They are very small and can be lost easily.

USB-C port

Set into the rear edge is the USB-C port. That’s where the keyboard plugs in. The cable carries data and also provides power. Note that the connector is reversible, so it’ll go in either direction. Should you find the connection flaky, look at the port for lint. A small bit of dust or other crud will prevent the plug from seating all the way.

USB cable

This is where the USB cable plugs in. This is what connects your computer and keyboard. The good thing is that it is removable, so you can replace it with one that is longer or has more coils. Unplugging also makes travel with the keyboard easier. A quick test if keys stop responding is to try another cable.

Rubber feet

The case has rubber feet stuck onto the bottom. They are little soft pads. They hold it in place on your desk. This keeps the hard case from scratching wood surfaces. Over time the adhesive can fail. The rocking keyboard is usually a sign one or more feet is lost, and you can get replacement pads that stick on for very little money.

Tilt feet

At the rear, there are fold away tilt feet. These are hinged risers which will be moved down for use. When raised they lift the back edge of the keyboard so the keys angle up toward you. It is popular with some as it eases access to the top row of keys. For many typists, however, having the board flat is kinder on the wrists.

Don’t throw away your mechanical keyboard; take care of it. Disconnect it periodically. Remove the keycaps (use a keycap puller) and blow off any accumulated debris. Soak the keys in warm, soapy water and air-dry completely. When one stops working, swap out only the faulty switch on a hot-swap board. Stockpile a handful of backups from the same set. Avoid spills, which will cause more damage than all the typing in the world.