1、 I 摘 要 电子信息产业的迅速发展,对个人计算机的体积以及便携性提出了更高的要 求。本文讨论并设计的基于 PDIUSBD12 和 STC89C52 单片机的手指键盘,利用 单片机实时扫描手指按键,并将检测的按键值通过 USB 接口芯片传送至 PC,实 现常规键盘的功能。全文由 USB 协议概述,USB 接口芯片介绍说明,系统硬件 设计和软件设计等部分构成。 利用单片机接口技术在数据处理方面的突出优势和单片机的可重复编特性 使本系统具有一定的高可行性和高性价比。 该方案还具有通用性, 因为采用 USB 接口,支持主流 PC 机,可扩展性强,可用各种输入设备,具有十分广阔的发展 前景。 关键词:
2、手指键盘,USB,单片机,按键 II ABSTRACT Electronic information industrys rapid growth on the volume of personal computers and portable high demands. This article discusses and designs based on PDIUSBD12 and STC89C52 MCU finger keyboard, using MCU realtime scanning and detection of key values via the USB interfa
3、ce chip transmitted to the PC, the implementation of the regular keyboard functionality. The full text consists of the USB protocol overview, USB interface chip describes, hardware design and software design, etc. MCU interface technology used in data processing of the outstanding advantages and cha
4、racteristics of single chip can be programmed to repeat the system has a high feasibility and cost-effective. The program also has the versatility, as with USB interface, support for the mainstream PC, can extend strong, available a variety of input devices, have a very broad prospects for development. KEY WORDS:KEY WORDS: Finger keyboard,USB,MCU,Key III 目 录 前 言. 1 第 1 章 手指键盘简介. 2 1.1 手指按键的可行性 2 1.2 手指按键采用 USB 接口的优势 3 第 2 章 USB 概述 . 4 2.1 USB 总线简介 4 2.2 USB 技术指标 5 2.3 USB 系统构成 5 2.3.1 USB 宿主 5