Bluetooth Keyboard PCB: Matrix, Antenna and Power Budget
A wireless keyboard spends most of its life asleep and most of its cost on the radio. The board inside it has to read a key matrix without consuming power, wake the radio when a key is pressed, drive an antenna that is squeezed into a thin plastic case, and last a year on a pair of cells. A Bluetooth keyboard PCB is a low power design problem with a radio attached.
What the Board Contains
The core is a system on chip that combines the microcontroller, the radio and the memory. Around it sit the key matrix connections, the battery and its management, the antenna and its matching network, an indicator LED and a programming header that is usually unpopulated in production.
Almost everything else is a power decision. Components are chosen for their quiescent current rather than their headline performance, rails are switched off when unused, and the firmware spends most of its time in a sleep state from which a key press wakes it. The hardware has to make that possible rather than fight it.
The Key Matrix
The matrix wires the keys in rows and columns so that the controller can scan them with a small number of pins. Each key is a switch between one row and one column, and the controller drives one line and reads the others to detect which contacts are closed. Diodes are added to prevent ghosting when several keys are pressed at once.
Layout affects how well the matrix behaves. The matrix traces should be kept away from the antenna and from the crystal, and the rows and columns should not run parallel for long distances, since a key press couples the driven line into every other line it crosses. Series resistors or small capacitors on each line suppress the transient that a mechanical contact produces when it bounces, and they also slow the edge enough to reduce radiated noise from the matrix wiring.

Antenna Placement
The antenna keep-out region matters more on a keyboard than on almost any other product, because the board is thin, the case is plastic and the metal that surrounds the board is often a battery or a metal plate. A ground plane anywhere near the radiating element detunes it and absorbs energy.
In a typical construction the antenna sits in a corner or along an edge, with ground copper removed from every layer beneath it. Matching components are placed immediately beside the antenna feed, and the feed line is short and controlled in impedance. The whole arrangement should be verified with a return loss measurement after the case is assembled, as the principles in mixed signal PCB design guidelines make clear.
Low Power Design in Hardware
Battery life is decided by the average current drawn over time, not by the peak current. The system on chip has a sleep current measured in microamps, and the surrounding circuitry must not exceed it. That rules out components that draw current continuously, such as resistive dividers across the battery, unless they are switched or made very high in value.
Indicators and regulators are the usual offenders. A regulator with a high quiescent current can dominate the budget, so a low quiescent part or a direct battery connection with a wide operating range is preferred. Any status LED must be software controlled and brief, because a permanently lit LED is a continuous milliampere drain, following the discipline described in ground routing and power trace planning.

Battery and Power Path
Most keyboards run from two cells in series, giving a nominal three volts that falls as the cells discharge. The design has to work at the lowest voltage the product permits, which means the radio and the microcontroller must both be rated for operation near that point without brownout.
The battery contacts are mechanical as well as electrical. Spring contacts that rely on pressure against a pad need a generous pad area and a board that does not flex, or the contact resistance rises over time. Reverse polarity protection, if it is provided, should use a low loss method rather than a series diode that wastes the cell voltage.
Assembly and Mechanical Constraints
Wireless keyboards are built at low cost and high volume, so the board is usually a simple two layer design with components on one side. The keyswitch mechanism sits above it, which means the component height is tightly limited and the switch locations must match the mechanical drawing exactly.
The board is often the only rigid element in the assembly, so it also carries the switches and defines the stiffness of the product. A flex circuit appears in thin or folding designs, with the radio and the battery in one rigid area and the matrix routed through the flexible portion, and the mounting constraints are described in board outline and mounting design.
Radio Certification and Compliance
A wireless product has to be certified in every market where it is sold, and the certification depends on the radio performance of the finished unit rather than on the chip. The antenna, its matching network, the ground plane arrangement and the proximity of the battery and the metal parts of the case all influence the measured output power and the spurious emissions.
That means the board layout is part of the compliance evidence, and a change to the antenna area or the matching network invalidates the previous test. Keeping the radio section of the schematic and the layout identical between variants is the cheapest way to re-use a certification across a product family, and it is worth designing for that from the first revision.
Testing and Firmware Interface
Production testing has to verify the radio without performing a full pairing to a host. A test mode that transmits at a defined power and reads a fixed packet pattern allows a simple test fixture to confirm that the antenna, the matching and the radio are all functional, and it catches the most common assembly defects.
The key matrix is tested by driving each row and reading each column, which confirms every switch and every trace. That test is worth performing on every unit at volume, because a matrix fault is invisible to functional testing until a specific combination of keys is pressed, which may not occur for weeks of normal use.
FAQ
How long should a keyboard battery last? A design targeting a year or more from two cells is achievable with a modern system on chip. The limit is usually the quiescent current of the regulator and the leakage of the battery monitoring circuit rather than the radio.
Does the antenna need a ground plane? It needs a controlled reference, but the area immediately around the radiating element must be free of copper. The ground plane that matters is the one the radio and the feed reference, not a plane placed under the antenna.
Can the key matrix share the same layer as the antenna? It can share the board but not the keep-out region. Matrix traces crossing the antenna area detune it and couple switching transients into the receiver, so the matrix should be routed around the radio section rather than through it.



