MCS-51单片机实验板的设计.doc
文本预览下载声明
MCS-51单片机实验板的设计
摘要
近年来,随着科技和工艺的进步,单片机以体积小、功能强、成本低、应用面广等优点赢得了越来越多的用户的青睐。其中MCS-51系列单片机独具特色、性能卓越,可以适用于各个应用领域的不同需要,因而具有极强的竞争力,应用前景广阔。今后随着技术的进步,它仍将是科技界、工业界广泛选择应用的8位MCU,仍将是单片机的应用的主流机种。掌握MCS-51单片机的应用已成为电子类专业学生必备的技能。然而学习单片机的难点在于如何入门,如何将硬件和软件结合起来,真正掌握单片机的控制技术,并能开发一些简单的产品。因此本文设计了AT89S系列单片机的实验板,供初学者使用。
本论文首先介绍了实验板的总体设计及实现功能,其次论述了系统硬件设计过程,确定了元器件的选择。主控芯片选择的是高性能、低功耗的AT89S52。本文的硬件是三个外围电路:电源电路、时钟电路、复位电路;十个功能模块电路:流水灯、LED显示、蜂鸣器、实时时钟、温度传感、12键键盘输入、串口通信、EEPROM、A/D转换器和扩展电路。并给出了详细的各单元电路的原理图。本文的软件设计用单片机C语言进行编程,针对各部分硬件功能设计了相应的实验,给出了实验目的、任务及详细的实验参考源程序清单。
本设计系统结构简单,造价成本低廉,功能完全。并且本实验板将所有I/O扩展出来,可用于学生自己做实验,开发设计。
关键词 实验板;AT89S52; C语言;EEPROM
The Design of MCS-51 Experimental Board
Abstract
In recent years, with the progress of science and technology, SCM won more and more customers for its small size, low cost, strong function and wide application. Among of all, the MCS-51 series SCM are in the nature of unique characteristics and remarkable performance, which can meet various applications of different needs, thus it possesses strong competitiveness and broad prospect of application. As technology advances, it will still be widely applied in science, industry field choice of 8 MCU, and the mainstream of the application of SCM. Mastering the application of SCM has become the electronic major students’ necessary skills. However the difficulty in studying SCM is how to grasp the introduction and how to combine hardware and software, mastering the technique of SCM to develop some simple products. Therefore this paper designs the AT89S series SCM experimental Board for beginners use.
This paper firstly introduces the experimental design and realization of the board overall, secondly, discusses the process of the system hardware design, determines the choice of components. Control chip is AT89S52 devices with high performance and low power consumption. Three peripheral hardware circuits are: power supply circuit, clocking circuit and reset circuit. Ten function module circuits are: running ligh
显示全部