单片机实现LCD液晶显示器控制原理

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
2.1 原理图......................................................................................................................... 2 2.2 软件设计方案........................................................................................................... 3 2.3 仿真结果................................................................................................................... 4 3 ATMEL 89C51 系列单片机............................................................................................ 7 3.1 AT89C51 单片机内部的组成结构图...................................................................... 7 3.2 单片机 CPU 结构......................................................................................................7 3.3 AT89C51 用户系统Baidu Nhomakorabea................................................................................................. 8 3.4 引脚介绍................................................................................................................... 8 3.5 89C51 内部特殊寄存器介绍..................................................................................13
Keywords:single chip microcomputer,microprocessor,LCD,89C51,AMPIRE128×64
II
目录
摘 要................................................................................................................................ I ABSTRACT.......................................................................................................................... II 1 前 言................................................................................................................................1 2 系统总体设计..................................................................................................................2
摘要
LCD 液晶显示已经是人机界面的关键技术。本文对基于单片机的 LCD 液晶显示器 控制系统进行了研究。
首先在绪论中介绍了本课题的课题背景、研究意义及完成的功能。本系统是以单 片机的基本语言 C 语言来进行软件设计,51 的编程语言常用的有二种,一种是汇编 语言,一种是 C 语言。汇编语言的机器代码生成效率很高但可读性却并不强,复杂 一点的程序就更是难读懂,而 C 语言在大多数情况下其机器代码生成效率和汇编语 言相当,但可读性和可移植性却远远超过汇编语言,而且 C 语言还可以嵌入汇编来 解决高时效性的代码编写问题。对于开发周期来说,中大型的软件编写用 C 语言的 开发周期通常要小于汇编语言很多。综合以上 C 语言的优点,我在学习时选择了 C 语 言指令的执行速度快,节省存储空间。为了便于扩展和更改,软件的设计采用模块化 结构,使程序设计的逻辑关系更加简洁明了。使硬件在软件的控制下协调运作。正文 中首先简单描述系统硬件工作原理,且附以系统硬件设计框图,并介绍了单片机微处 理器的发展史,论述了本次毕业设计所应用的各硬件接口技术和各个接口模块的功能 及工作过程, 并具体描述了 AT89C51 AMPIRE128×64 接电路接口的软、硬件调试。其 次阐述了程序的流程和实现过程。本文撰写的主导思想是软、硬件相结合,以硬件为 基础,来进行各功能模块的编写。
The text inside describes the system hardware work principle in brief first, and attach with the system hardware design frame diagram, combine development history that introduced the single a machine microprocessor, discuss this graduate design a function for applied each hardware connecting a people the technique connects with each one a mold piece and work processes, combine to describe in a specific way 89C51, and the AMPIRE128×64 circumscribes the electric circuit connects oscular and soft, the hardware adjusts to try. Expatiated the process of the procedure the next in order with realizes process. Develop to me finally of use the single a machine realizes the design thought that the liquid crystal display of LCD control principle with soft, the hardware adjusted to try to make the detailed treatise.
最后对我所开发的用单片机实现 LCD 液晶显示器控制原理的设计思想和软、硬件 调试作了详细的论述。
关键词:单片机,微处理器,LCD,89C51,AMPIRE128×64
I
ABSTRACT
The LCD manifestation has been the key technique of the an-machine interface. This text to basic proceeded the research in Micro Controller Unit liquid crystal display control system. Introduced the lesson a background of this lesson and study meaning and finished functions in introduction first. This system edits collected materials the language to proceed with single the basic language of a machine the software designs, the instruction carries out the speed quick, save memory. For the sake of easy to expand with the design adoption mold a logic for turning construction, making procedure designing relation that change, software more shorter and more easier to understand. Make hardware control in software descended to moderate the operation.
3.5.1 IE;中断允许寄存器....................................................................................... 14 3.5.2 定时器/计数器控制寄存器 TCON..................................................................14 3.5.3 中断优先寄存器--IP.........................................................................................15 3.5 .4 中断的响应过程................................................................................................16 3.5 .5 电源控制寄存器 PCON.................................................................................. 16 3.5.6 定时器/计数器工作方式....................................................................................17 4 LCD 芯片.......................................................................................................................20 4.1 LCD 接口............................................................................................................. 20 4.2 指令描述.............................................................................................................. 21 4.3 接口时序说明...................................................................................................... 24 5 系统软件设计................................................................................................................26 5.1 系统流程图............................................................................................................. 26 5.2 汉字和图形字模提取.......................................................................................... 26 5.3 汉字图形显示函数................................................................................................. 28 5.4 单片机播放音乐并同步显示歌词......................................................................... 30 6 系统仿真 PROTEUS 和编译 KEILC 软件...................................................................34 6.1 PROTEUS ISIS 仿真系统基本知识..........................................................................34 6.1.1 系统概述...........................................................................................................34 6.1.2 进入 Proteus ISIS..............................................................................................34
相关文档
最新文档