基于51单片机的USB键盘设计与实现本科生论文.docVIP

  • 4
  • 0
  • 约3.76万字
  • 约 64页
  • 2017-04-23 发布于河南
  • 举报

基于51单片机的USB键盘设计与实现本科生论文.doc

 PAGE \* MERGEFORMAT I (此文档为word格式,下载后您可任意编辑修改!) 三 江 学 院 本科生毕业设计(论文) 题 目 基于51单片机的USB键盘设计与实现 高职院 院(系) 电气工程及其自动化 专业 学生姓名 梁邱一 学号 G105071013 指导教师 孙传峰 职称 讲师 指导教师工作单位 三江学院 起讫日期 2013年12月10日至2014年4月12日  PAGE \* MERGEFORMAT III 摘 要 随着计算机技术的不断更新和多媒体技术的快速发展,传统的计算机外设接口因为存在许多缺点已经不能适应计算机的发展需要。比起传统的AT,PS2,串口,通用串行总线USB,具有速度快,使用方便灵活,易于扩展,支持即插即用,成本低廉等一系列优点,得到了广泛的应用。 本论文阐述了51系列单片机和USB的相关内容,详细介绍了系统的一些功能设计,包括硬件设计和软件设计。在程序调试期间用简单的串口通信电路,通过串口调试助手掌握了USB指令的传输过程,这对整个方案的设计起到了很大的指导作用。论文以单片机最小系统配合模拟键盘组成的USB键盘硬件系统,通过对D12芯片的学习与探索,在其基本命令接口的支持下,结合硬件进行相应的固件程序设计,使其在USB协议下,实现USB模块与PC的数据通信,完成USB键盘的功能模拟。 总结论文研究工作有阐述USB总线的原理、对本设计的系统要求作出了分析、根据要求选定元件和具体编程方案、针对系统所要实现的功能对相关芯片作了详细介绍以及在硬件部分设计了原理图。 关键词:USB;D12;PC Abstract With the rapid development of computer technology and multimedia technology constantly updated, traditional computer peripheral interface because there are many shortcomings unable to meet the development needs of the computerpared to traditional AT, PS 2, serial, Universal Serial Bus USB, with fast, flexible and easy to use, easy to expand, support Plug and Play, a series of advantages, such as low cost, widely used. This paper describes the 51 series and USB related content, detailing some of the features of the system design, including .During debugging a simple serial communication circuit, through the serial port debugging assistant master USB transfer instructions, which designed the entire program guiding.Thesis smallest single-chip system consisting of analog keyboard with a USB keyboard D12 chips, with the support of its basic command interface, in conjunction with the corresponding , making it in the USB protocol, USB module data communication with the PC, the USB keyboard to complete the functional simulation. This paper summarizes research work the specific requirements of the selected programming for the system to achieve the function of the relevant chips are described in detail in

文档评论(0)

1亿VIP精品文档

相关文档