The main function of the keyboard is to serve as an input device. Through the keyboard, people can type documents, use keyboard shortcuts, access menus, play games, and perform various other tasks. The keyboard PCB is an important component and plays a very important role. The internal structure of the keyboard mainly includes control circuit boards, buttons, backplanes, and panels. The keyboard PCB is the control core of the entire keyboard, located inside the keyboard, mainly responsible for key scanning recognition, encoding, and transmission interface work; It converts the numbers or letters represented by each key into signals that the computer can recognize and is one of the main communicators between users and computers.
A matrix keyboard is a keyboard group used in external devices of a microcontroller, which is arranged similarly to a matrix. The matrix-structured keyboard is more complex than the direct method, and recognition is also more complex. The column line is connected to the positive power supply through a resistor, and the I/O port of the microcontroller connected to the row line is used as the output terminal, while the I/O port connected to the column line is used as the input. The matrix keyboard has a wide range of applications, such as calculators, remote controls, touch screen ID products, bank cash machines, and password entry devices. When there are many keys in the keyboard, to reduce the occupation of I/O ports, the keys are usually arranged in a matrix form, as shown in Figure 1. In a matrix keyboard, each horizontal and vertical line is not directly connected at the intersection but is connected by a button. In this way, one port can form 4 * 4=16 keys, which is twice as much as using port cables directly on the keyboard. The more cables there are, the more obvious the difference. For example, adding cable can form a 20-key keyboard, while using port cables directly can only add one more key. Therefore, when a large number of keys are required, using the matrix method to make a keyboard is a more reasonable solution.
If you wanna fabricate your own keyboard PCB, could send your gerber file to us. Thanks a lot for your time.