1、 I 摘 要 近年来随着计算机在社会领域的渗透,单片机的应用正在不断地走向深 入,同时带动传统控制检测日新月异更新。在实时监测和自动控制的单片机应 用系统中,单片机往往是作为一个核心部件来使用,仅单片机方面知识是不够 的,还应根据具体硬件结构,以及针对具体应用对象特点的软件结合,以作完 善。 单片机最小系统是在以 51 单片机为基础上拓展,使其能更方便地运用于 测试系统中。本设计主要在 51 单片机上扩展 I/O 口,实现液晶显示,定时等 功能,并写好一定的底层程序。 关键词:最小系统;扩展;AT89S51;I/O 接口;液晶显示 II Abstract With the infiltrati
2、on 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 measuring in real time and automatically control at the same time.In measuring in real time and automatically controlled one-chip computer appl
3、ication system,the one-chip computer often uses an a key part,onliy 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 targers characteristic to combine concretly,in order to do perfectly. The smalles
4、t system one-chip computer is in expands at the base of MCS-51 one-chip computer.Make it used more convient in the test system.this design mainly expands I/O in take 51 on chip computer,expands the timer fixed time scope,expands the 1602 to demonstrate the connection and write the first floor procedure. Kyesord:Minimum system,Expand,AT89S51,I/O,1602 III 目 录 摘 要. I Abstract II 第 1 章 绪论.1 1.1 单片机基础知识1 1.2 单片机的应用领域1 1.3 单片机的发展趋势2 第 2 章 硬件结构剖析.4 2.1 80C51 单片机的内部结构.4 2.2 80C51 单片机的引脚功能.5 第 3 章 单片机的硬