论文部分内容阅读
一般IBM PC/XT及其兼容机所采用的键盘,都是用单片机8048或8049产生扫描码的智能化键盘。键盘是微机系统里使用频率最高的外设之一,键盘损坏也是微机系统常见故障之一。键盘一般故障的检修许多有关的书籍也有所论述,但是对于键盘的心脏——单片机损坏后如何修复的论述,却很难见到。本文介绍本人修复单片机损坏的键盘的经验。以供同行参考。一、熟悉键盘的功能,键盘功能包括: 1.上电自检(RAM检测及粘附键检测)和系统要求时执行自检。 2.按键时产生扫描码(包括键释放时产生释放扫描码)。 3.特殊键(Caps Lock,Num Lock、Scroll Lock)按下时,控制相应的指示灯亮、灭。 4.重键处理(多重按键时后按有效)。 5.按键超过0.5秒时,键盘便以每秒10个字符的速率自动产生该键的扫描码。
General IBM PC / XT and compatible with the keyboard used by them, are using 8048 or 8049 microcontroller generated scan code intelligent keyboard. The keyboard is one of the most frequently used peripherals in the computer system, and the keyboard damage is also one of the common failures of the computer system. General troubleshooting of the keyboard Many related books are also discussed, but for the heart of the keyboard - how to repair the damage after the one-chip computer is hardly seen. This article describes my own repair damaged microcontroller keyboard experience. For peer reference. First, familiar with the keyboard function, the keyboard features include: 1. Power-on self-test (RAM detection and sticky key detection) and the implementation of self-test system requirements. 2. The scan code is generated when the key is pressed (including the release of the scan code when the key is released). 3. Special keys (Caps Lock, Num Lock, Scroll Lock) Press, control the corresponding indicator light, off. 4. Key processing (multi-button press after the effective). 5. When the key is longer than 0.5 seconds, the keyboard automatically generates the key’s scan code at a rate of 10 characters per second.