文档介绍:专科毕业设计(论文)
设计题目: 基于MCS51单片机与LCD液晶显示器的接口技术
系部: 信息工程系
专业: 电子信息工程
班级: 电子信息
姓名: 学号:
指导教师: 职称讲师
2009年6月南京
摘要
LCD液晶显示已经是人机界面的关键技术。本文对基于单片机的LCD液晶显示器控制技术进行了研究。
本文阐明用单片机(STC89C52)控制LCD1602显示屏的方法。首先本文研究了LCD1602液晶屏(HD44780)的点阵显示原理及字库代码获取方法,随后通过在Proteus仿真软件上构建相关的仿真电路,并连接在Keil软件上编写、,成功仿真出对所需内容的循环显示。编程语言主要使用的是汇编。在成功模拟仿真后本文进一步进行了在单片机开发板上的程序烧录。本文所描述的设计产品实际制作是基于原理图生成的PCB板,最后通过购买元件、元件测试、电路焊接、产品调试完成了本次设计的全部过程。
关键词:LCD,单片机,显示屏,驱动,扫描,仿真,设计
Abstract
LCD liquid crystal display is the key to man-machine interface technology. In this paper, based on single-chip LCD liquid crystal display control technology is studied.
This article set out to use single-chip puter (STC89C52) control method LCD1602 display. First of all, this paper LCD1602 LCD (HD44780) and the principle of the dot matrix display font access method code, followed by Proteus simulation software circuit simulation to build relevant and connected to the Keil software to prepare, edit pile the relevant generating . Hex driver circuit simulation, the ess of the simulation cycle required to display the content. The main programming language used piled. After the ess of simulation in this paper for further development in the single-chip on-board procedures for burning. This paper describes the design of the actual production of products is based on the schematic diagram of the PCB board to generate, and finally through the purchase ponents, component testing, circuit welding, product testing pleted the design of the whole process.
Keywords: LCD,singlechip,display,drive,scan,simulation,design
目录
摘要 II
1 绪论 1
1
1
2 LCD1602液晶显示器的显示原理 3
3
1602字符型LCD简介 4
LCD1602的基本参数及引脚功能 4
LCD1602的RAM地址映射及标准字库表 6
LCD1602的一般初始化(复位)过程 13
3 电路软件模拟及仿真 14
Keil及Proteus使用介绍 14
LCD1602入门程序的实现 16
字符型液晶显示模块与单片机的连接 18
23
液晶模块显示的拓展提高 26
4 硬件电路原理图及程序的烧写 29
硬件电路原理图及硬件图 29
程序的烧写方法及演示 30
结论 32