摘要
矩阵式键盘乃是当今使用最为广泛的键盘模式,该系统以N个端口连接控制N*N个按键,及时在LED数码管上,单片机控制的是键盘显示系统,该系统可以对不同的按键进行实时显示,其核心是单片机和键盘矩阵电路部分,主要对按键与显示电路的关系、矩阵式技术及设备系统的硬件、软件等各个部分进行实现。掌握单片机的基础和实际应用来说意义重大,此外单片机具有性能高、速度快、体积小、价格低、稳定可靠、应用广泛、通用性强等突出优点。
4*4矩阵式键盘采用AT89C51单片机为核心,主要由矩阵式键盘电路、译码电路、显示电路等组成,软件选用C语言编程。单片机将检测到的按键信号转换成数字量,显示于LED显示器上。该系统灵活性强,易于操作,可靠性高,将会有更广阔的开发前景。
关键字:AT89C51芯片;矩阵式;LED数码管;键盘。
Abstract
Matrix keyboard is today the most widely used keyboard mode, the system is connected to the N port control N*N keys, and in the LED digital tube, MCU control of the keyboard display system, this system can real-time display of the different key, its core is the single chip machine and a keyboard matrix circuit part, mainly the buttons and display circuit, the relationship between matrix technology and equipment system hardware, software and other parts of the. In addition, SCM has the advantages of high performance, high speed, small size, low price, stable and reliable, wide application, high versatility.
4*4 matrix keyboard AT89C51 microcontroller as the core, mainly composed of circuit matrix keyboard circuit, decoding circuit, display, the software uses C language programming. SCM will push the detected signal is converted into digital quantity, shown on the LED display. The system is flexible, easy operation, high reliability; there will be more broad prospects of development.
Keywords: AT89C51 chip; matrix; LED digital tube; keyboard。