How To Make a Keyboard PCB: Keyboard Manufacturing and Assembly

This is a guide about how to make a keyboard PCB.

Making a keyboard app is as simple as writing several lines of code and running it on your phone or tablet. But what if you want to build a physical keyboard for your computer? 

The underlying circuit that runs the device is a PCB. So you need to figure out how to make this component first. Here’s how to make a keyboard PCB.

What Is a Keyboard PCB?

A keyboard PCB is a circuit that translates keypresses into electrical signals for the computer to understand. It consists of three parts.

Physical Keys

These are the interface points between the user and the PCB. The keys can sit directly on the board (PCB-mounted switch) or on a plate above the board (plate-mounted switch).

Their purpose is to register keystrokes to the PCB underneath.


Printed circuit boards connect different parts and keys on the keyboard. So they determine the electrical connections and layouts between the keys.

Mechanical switches that register keystrokes get soldered on the board, plus other components like diodes to ensure accurate key pressing.

A transparent flexible keyboard PCB

A transparent flexible keyboard PCB


A microcontroller is the computer’s brain. It scans the keyboard PCB continuously to detect and identify any key presses.

How To Make a Keyboard PCB

Fabricating a keyboard requires these four steps.

Develop the Schematic Design

Like any other board, the first step in making a keyboard PCB is to design the circuit schematic. So begin by developing the keyboard schematic, which involves making electrical connections between the electronic components.

Component Placement on Designs

Next, place the components on the keyboard layout while arranging them logically. And when populating the PCB layout, consider factors like connectivity and signal interference.

Generating these PCB layouts using design software is better to avoid common layout issues.

A keyboard circuit layout

A keyboard circuit layout

Design and Routing Verification

Once you’ve completed the PCB design, check the trace routing or links between components. These should not have inter-weaved connections. And you might want to include ground planes to enhance signal integrity.

Next, check if the design meets the PCB manufacturing requirements (DFM). Try carrying out a design rule check to detect any issues.

Manufacturing and Assembly

PCB fabrication is a demanding task. So we recommend getting a PCB manufacturer to build you the pre-assembled board. And after manufacturing, the board needs assembly.

The assembly process is more straightforward than manufacturing, so you can do it using a soldering iron.

Ideal Materials for Fabricating Keyboard PCBs

Here are the most suitable materials for fabricating the PCB substrate.


FR4 is one of the most typical materials used to make circuit boards because it is affordable and durable. The woven fiberglass material is also resistant to moisture and heat. So it won’t warp or change shape at high temperatures.


Although more expensive than FR4, polyimide offers better resistance to heat and chemicals; it can withstand temperatures of up to 260°C. But keyboards don’t generate a lot of heat.

So the primary selling point of this material is its lightweight nature. Polyimide keyboards add no significant weight to electronic devices. So you’ll mostly find these PCBs in high-end and portable keyboards.

A red computer keyboard PCB

A red computer keyboard PCB


Ceramics are rugged enough to resist heat and corrosion. So ceramic keyboard PCBs can handle abuse with minimal wear than FR4 and polyimide.

And in terms of electricity, ceramic has lower electrical conductivity and higher dielectric strength than the two. But it is also more expensive.


The key selling point of Teflon is its low friction properties. So Teflon PCBs are more wear-resistant, resulting in better performance and durability. However, the material is the most expensive of the four.

Typical Keyboard PCB Sizes

Keyboard PCBs determine the device’s size because they hold the keys. The typical keyboard sizes include the following.

  • Full-size: These are the standard models for desktop PCs. They include separate number pads, arrow keys, and modifier keys.
A full-size keyboard

A full-size keyboard

  • 1800: This unit has the same number of keys as the full size. But it condenses them by placing navigation keys above the Numpad. Plus, this key cluster sits closer to the main set, making the keyboard narrower and taller than the full-size type.
  • 96% (1800-compact): These keyboards fit as many keys as possible in the least space. So they combine all keys in one cluster. Although more compact than the two above, this keyboard is difficult to use because it lacks clustered groupings.
  • 80% (Tenkeyless): Resembles a full-size keyboard. But it does not have a number pad.
A tenkeyless keyboard

A tenkeyless keyboard

  • 75% (84-key): Similar to a tenkeyless, but with fewer navigation keys and the rest placed vertically.
  • 65%: This condensed version of the 84-key keyboard lacks a function row and escape key.
Several 65% of keyboards

Several 65% of keyboards

  • 60%: This 61-key keyboard has no arrow keys, navigational cluster keys, and function row. It is the most popular type for custom keyboard configuration.
  • 40%: The most compact keyboard you can get for regular typing is this 49-key, 40% keyboard. Most of its keys have combined functions to maximize the output on a small size.
  • Macro pad: A macro pad is a separate pad with fixed-function or programmable keys. Most people refer to it as a programmable keyboard.

Typical Types of Keyboard Layouts

Mechanical keyboards also come in different layouts, which include the following.


QWERTY keyboards are the most popular type, and their name comes from the first six-key letter arrangement. 


The French developed this keyboard as an alternative to QWERTY to compete with it. But it has not caught on as well as QWERTY.

A French AZERTY keyboard

A French AZERTY keyboard


DVORAK keyboards have an optimized layout that minimizes finger movement when typing.

How To Put a PC Keyboard Together

After picking the keyboard type, designing, manufacturing, and assembling the keyboard PCB, join the pieces using these steps.

Gather the Required Keyboard Parts

The most critical component you need to assemble the keyboard is the PCB. And depending on the one you made earlier, you can have one of the following.

  • Standard PCB: With these circuit boards, you only have to solder the switches on the slots. This design gives you lots of positioning freedom when handling the keys.
  • Hot-Swappable PCB: These PCBs are ideal for beginners because they don’t require switch soldering. You can press and remove these switches easily on any slot.
  • Through-Hole PCB: Through-hole circuit boards are ideal for experts because you need to solder all the mechanical keyboard components. These include a USB connector, diodes, microcontrollers, etc.

Other parts include the following.


You can’t use a keyboard with its PCB naked. A case holds all pieces together and protects the circuit board from damage.

Plate (Optional)

You don’t need a plate if using PCB-mounted 5-pin switches. But this part is essential if building a plate-mounted switch keyboard.

Keyboard designs with plate-mounted keys

Keyboard designs with plate-mounted keys


Stabilizers hold the large keys intact, making them feel sound and solid when pressed. 


Switches adjust a key’s tone and feel. For instance, clicky ones have a tiny bump that produces an audible click sound.

Tactile switches have a tinier bump than the clicky type, resulting in a moderate click sound. But linear keyboard switches are quiet because they don’t have these a bum.


Keycaps are the parts you touch when typing. They contain the lettering and markings that show you what to expect after making a key press.

Gather the Required Assembly Tools

You’ll need at least these four tools to assemble the keyboard.

  • Soldering iron
  • Solder wire
  • Switch puller
  • Wire keycap puller

Test the Assembled Board

Test each switch electrically to make sure all work. You’ll have to connect the keyboard to your computer to power and test it.

Connect the PCB Stabilizers

Stabilizer connections are challenging. So have them made to match the PCB layout for easy fixing. Keep in mind removing them is also laborious. So double-check them before and during installation.

Install the PCB Switches

Insert and press a switch on each PCB slot. And be careful not to bend the pins. You can straighten them using tweezers, but they will weaken over time.

So be careful not to bend them. And if building a board with plate-mounted switches, install the plate first. 

A brass keyboard plate

A brass keyboard plate

Solder the Spring-Loaded Switches

You don’t have to worry about soldering if assembling a hot-swap keyboard. But with standard mechanical keyboards, weld the keys to make them stable.

If using a through-hole PCB, ensure you solder all the other components.

Install the Keyboard in its Case

With all the internals in place, it is time to mount them inside the external case. Center the PCB for stability purposes.

Fix the Keycaps

Attaching the keycaps is a straightforward process. But make sure you match the cap with the keyboard layout type. For instance, if the board is a QWERTY type, fit the cap placement with this design.

Test the Keyboard

Use an online keyboard tester to check the keyboard’s functionality. Also, plug it into a PC and test the buttons to see their output.

Wrap Up

The process of building a keyboard PCB is similar to that of making other circuit boards. But consider factors like material, size, and layouts when designing the board. 

With these sorted, the next step is to assemble the pieces. And the steps explained above should guide you through the process. 

Contact us if you encounter any challenges making this keyboard PCB. We are here to help.