80C51单片机并行IO口的扩展毕业设计.doc

80C51单片机并行IO口的扩展毕业设计.doc

  1. 1、本文档共37页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 近年来随着计算机在社会领域的渗透和大规模集成电路的发展,单片机的应用正在不断的走向深入。但是在由单片机构成的实际测控系统中,最小应用系统往往不能满足要求,因此在系统设计时首先要解决系统扩展问题。单片机扩展通常是借助外部器件对系统进行扩展。 本文主要研究了采用可编程多功能扩展芯片intel 8155扩展单片机I/O口。把单片机作为一个核心部件,与8155接口,并实现数码管三位数字的显示。 本文的主要内容有:单片机的概述,设计的意义,核心器件intel 8155芯片、80C51单片机、数码管的介绍,单元电路模块,设计原理图及流程图,软件编程设计以及最后的结果和个人在整个设计前后的心得体会。 关键词:单片机,8155,数码管,动态显示Abstract With the development of computer penetration in the social field and LSI in recent years, the application of MCU is constantly deepening. but in the actual measurement and control system constituted by the microcontroller, the smallest applications system often can not meet the requirements, so we have to solve the system expansion. The Microprocessor usually use an external device to relize the expansion of the system. Adopting Intel 8155 which is a kind of programmable multi-function expansion chip,this paper studies the?expansion?of MCU parallel I/O port. MCU act as a core component,.we have designed the 8155 chip interface to relize three digital display on LED numerical code tube. The main content of this paper are microcontroller overview of the significance of the design, the core of the device intel 8155 ;80C51 microcontroller, the introduction of LED numerical code tube, the unit circuit module,design schematics and flowcharts, software programming design, the final results and individual feelings and experiences throughout the design. Key words:MCU, 8155, LED numerical code tube, dynamic display. 目 录1.绪 论 1 1.1 单片机概述 1 1.2 课题研究背景及意义 2 1.3 设计任务 3 2.核心器件基本结构与工作原理 4 2.1 80C51单片机 4 2.2 带RAM和计数器的可编程并行I/O扩展接口8155 6 2.2.1 结构和引脚 6 2.2.2 8155命令和状态字 8 2.2.3 8155定时器/计数器 12 2.2.4 MCS-51和8155的接口方法 13 2.3 LED显示器接口 14 2.3.1 LED显示器的工作原理 15 2.3.2 LED显示器的显示方式 16 3.硬件设计 19 3.1 元器件列表 19 3.2单元电路模块设计 21 3.2.1 单片机 21 3.2.2 晶振电路 22 3.2.3 复位电路 22 3.2.4 Intel 8155与AT89S51接口电路 23 3.2.5 LED数码管显示电路 23 3.3 总设计原理图 24 4.软件设计 25 5.成果展示 26 总 结 27 致 谢 28 参考文献 1 附 录 2 80C51单片机并行I/O口的扩展 1.绪 论 1.1 单片机概述 单片机是在一片芯片上集成了中央处理器CPU、随机储存器RAM、程序储存器ROM或EPROM、定时器/计数器、中断控制器

文档评论(0)

damei + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档