1、 基于基于 STC89C52STC89C52 单片机的模拟屏显示控制系统单片机的模拟屏显示控制系统 院院 系系 电子电气工程系电子电气工程系 专专 业业 电气工程及其自动化电气工程及其自动化 班班 级级 0909 级电气级电气 1 1 班班 学学 号号 学学 生生 姓姓 名名 指指 导导 教教 师师 基于基于 STC89C52STC89C52 单片机的模拟屏显示控制系统单片机的模拟屏显示控制系统 摘摘 要:要: 论文阐述了基于 STC89C52 单片机的模拟屏控制系统的硬件电路原理图设计,以及系 统软件设计中的时序控制部分和片选部分的实现过程和方法。该系统采用 STC89C52 单片 机为控制
2、中心,并用 MAX232 芯片来实时采集传输外部数据,通过单片机的控制,实现相应 数据在模拟显示屏上的显示。系统包括地址锁存模块,时序控制模块,片选模块,显示报 警模块四个部分,能够实现报警数据的实时采集和处理,时序控制模块,液晶屏不同显示 模式的切换以及报警等功能。 关键词关键词:单片机 AT89C51;液晶显示;按键控制 本次课程设计是依据 51 单片机的最小系统做的一次系统扩展,该系统的主要设计目 的是对一些高危工作区域或者易发事故区域进行监控,能在事故发生后第一时间知道哪一 区域发生了问题,从而采取相应的应对措施。该系统利用 51 单片机进行系统控制,利用 74 系列芯片控制时序信号的
3、发生以及输出显示,使得系统高效实用。 关键字关键字: 74HC161; 74HC74; 74HC595; 74HC165; 74HC245; 74HC573; 74HC139; RS232 ; STC 单片机 Abstract This paper introduces a AT89S51 single-chip for the controller system destem design the system can realize the display and dynamic in both English and Chinese characters and special effe
4、cts can be through the level that the way that even to expand the size of the screen in order to achieve the purpose of that increase the content system adopts PC as a PC, PC to the single chip microcomputer control command and the upper machine sent to store display code, receiving and deal with AT
5、89S51 PC control commands and display code, the display driver modules drive a 16 and resolution of LED dot matrix display scan showed that the PC and of communication between the microcontroller using RS 232 C communication standards to achieve chooses AT89S51 is inexpensive program written to the
6、convenient characteristics make Key word: 74HC161; 74HC74; 74HC595; 74HC165; 74HC245; 74HC573; 74HC139; RS232; Single chip microcomputer 目目 录录 目 录 . 1 第 1 章 引 言 . 1 1.1 选题背景及意义 1 1.1.1 选题的背景 . 1 1.1.2 选题的意义 . 3 1.2 论文的整体构架 3 第 2 章 开发工具简介 . 5 2.1 KEIL C51 软件简介 . 5 2.2 Protel 软件简介 . 5 第 3 章 设计方案 . 7 3.1 总体设计思路 7 3.2 方案论证 8 3.2.1 方案一 无 MCU 设计方案 8 3.2.2 方案二 无 74HC595