本文主要为广大网友提供“基于MCS-51通用开发平台设计”,希望对需要基于MCS-51通用开发平台设计网友有所帮助,学习一下!
论文编号:JD283 论文字数:15942,页数:42
摘 要
本文首先在绪论介绍了此系统的研究意义和使用的开发环境,以及使用MCS-51系列的单片机芯片。在第二章论述了总体设计过程及器件的选择,第三章着重描述了系统硬件电路设计、硬件设计框图及所使用的各种芯片功能与特性,在第四章中重点剖析了软件设计的过程。
本系统是在以51单片机为基础上扩展,使其能更方便地运用于测试系统中。本设计主要在51单片机上扩展I/O口,扩展定时器定时范围,扩展键盘显示接口并写好底层程序。
关键词:单片机技术,8255A, 液晶显示
Abstract
With the infiltration in the social field of the computer in recent years, the application of the one-chip computer is moving towards deepening constantly, drive tradition is it measure crescent benefit to upgrade day to control at the same time. In measuring in real time and automatically controlled one-chip computer application system, the one-chip computer often uses as a key part, only one-chip computer respect knowledge is not enough, should also follow the structure of the concrete hardware , and direct against and use the software of target''s characteristic to combine concretely, in order to do perfectly.
This system one chip computer is in expands at the base of MCS-51 one chip computer. Make it used more convenient in the test system. This design mainly expands I/O in the take 51 on chip computer, expands the timer fixed time scope, expands the keyboard to demonstrate the connection and writes the first floor procedure.
This text has introduced the research meaning of this system and development environment used in the introduction at first, developing the one-chip computer chip of MCS-51 series used. Have described the overall design process in chapter two, have confirmed chapter three of choice of device has described emphatically that designs the block diagram and various kinds of chip functions and characteristics used in circuit design of the systematic hardware, hardware, have analyzed the design course of the software especially in chapter four.
Keywords:Technology of the one-chip computer, 8255A, Liquid crystal display
目 录
1 引言 1
1.1 选题意义 1
1.2 单片机的发展和应用 1
1.3 单片机编程语言介绍 3
2 系统设计及工作原理 3
2.1 系统原理框图及器件选择 3
2.2 系统工作原理及整体电图框图 4
3 系统硬件设计 5
3.1 硬件模块设计 5
3.1.1 数字量输入输出模块设计 5
3.1.2 显示接口电路的设计 6
3.1.3 键盘接口电路的设计 10
3.1.4 定时模块设计 14
3.1.5 数据存储器单元的设计 15
3.1.6 数模转换单元设计 17
3.2 相关芯片介绍 18
3.2.1 AT89C52芯片的介绍 18
3.2.2 并行接口芯片8255A 19
3.2.3 8254可编程计数/定时芯片简介: 20
3.2.4 D/A转换器 22
4 系统软件设计 24
4.1 系统工作主程序流程图 24
4.2 系统软件流程 25
4.2.1 液晶驱动程序流程 25
4.2.2 键盘扫描程序流程 27
5 结论 29
附录1 30
附录2 34
附录3 36
附录4 37
参考文献 38
致谢 39