1基于单片机的液晶(LCD)图文显示系统设计摘要本文选用的是液晶显示控制器的芯片Ampire128×64,这是建立在单片机AT89C51的基础之上,并且围绕的主线是单片机LCD液晶显示系统控制器。主要实现汉字显示与图像显示,还介绍了芯片的设计部分与外部电路,并用系统方框图来说明,重点介绍了应用该系统的各硬件接口模块的功能及工作过程,并详细阐述了程序的各个模块。因为C语言指令的执行速度快且节省存储空间,所以本文设计采用的是单片机C语言进行软件设计。该软件设计采用的是模块化设计这样会有利于扩张和更改,而且对于程序设计的逻辑关系而言,这样会使得它看上去更加简洁明了,软件协调的控制硬件运行。另外部分程序的流程图和实现过程将会被说明出来。本文撰写的主导思路是建立在硬件的基础之上,采用软、硬件相结合的方式,来对各功能模块进行编写。最后,我设计的思想是软件和硬件调试的单片机LCD显示器的控制原理进行了详细的讨论。关键字:液晶显示器、89C51单片机、Ampire128×642Liquidcrystal(LCD)displaysystembasedongraphicdesignAbstractThispaperistheselectionofLCDcontrollerchipampire128*64,isbasedonsinglechipmicrocomputerAT89C51,AndaroundthemainlineisthemicrocontrollerLCDcontroller.ThemainachievementofChinesecharacterdisplayandimagedisplay,Italsodescribesthedesignofthechipandtheexternalcircuit,andusethesystemblockdiagramtoillustratetheapplicationfocusesonthefunctionofeachofthesystem'shardwareinterfacemodulesandworkingprocesses,andelaboratesthevariousmodulesoftheprogram.BecausetheClanguageinstructionexecutionspeedandsavethememoryspace,sothisdesignisadoptedtodesignthesoftwareofsinglechipClanguage.Thesoftwareisdesignedusingamodulardesign,whichwillfacilitatetheexpansionandchange,butalsoforlogicprogrammingisconcerned,thiswillmakeitlookmoreconcise,coordinatedcontrolhardwaretorunthesoftware.Anotherpartoftheflowchartofprogramandtherealizationoftheprocesswillbedescribed.Asofthiswritingthedominantideaisbuiltonthebasisofhardware,usingsoftwareandhardwarecombinationtobewrittenforeachfunctionalmodule.Finally,IthoughtthedesignprincipleistocontrolthesoftwareandhardwaredebuggingMCULCDmonitorswerediscussedindetail.Keywords:Liquidcrystal、display89C51、ampire128×64I目录第一章引言..................................................................................................................................11.1课题的研究背景................................................................................................................11.2课题的提出及研究意义....................................................................................................11.3论文的主要任务和所做的工作........................................................................................1第二章系统方案设计.....................................................................................................................32.1电路硬件设计原理图........................................................................................................3电路硬件设计原理图如图2-1所示。...................................................................................32.2软件设计方案...................................................................................................................32.3仿真结果............................................................................................................................4第三章硬件电路设计...................................................................................................................63.1单片机模块设...