您现在的位置:网站首页答辩论文工学论文电子论文

基于单片机AT89C51制作按键操作控制系统

  • 简介:(论文 页数:60 字数:16023 带程序)摘 要:目前图形点阵液晶显示模块广泛用于各式各样的电子设备,人机界面越来越直观形象,对于大多数用户来说,显示界面的友好与否,将直接影响到其产品的使用。人机交互界面设计的目标是实现菜单窗口界面,用户可以在菜单...
    • 请与管理员联系购买资料 QQ:5739126
  • 论文简介
  • 相关论文
  • 论文下载

(论文 页数:60 字数:16023 带程序)摘 要:目前图形点阵液晶显示模块广泛用于各式各样的电子设备,人机界面越来越直观形象,对于大多数用户来说,显示界面的友好与否,将直接影响到其产品的使用。人机交互界面设计的目标是实现菜单窗口界面,用户可以在菜单方式下进行人机交互。菜单用于响应用户的选择,根据用户的选择运行程序,实现相应的功能。同时友好的人机界面使得电子设备更加易于维护。
单片机由于体积小,功耗低,价格低廉,且具有逻辑判断、定时计数、程序控制等多种功能,广泛应用于各种实时控制系统中,可实现如电压、功率、湿度、温度、速度、流量、压力等物理量的测量,在工业控制、航空航天、尖端武器等领域发挥了重要的作用。
本文设计了一种控制系统,该系统利用单片机AT89C51作为主控制器,通过按键操作LCD显示屏上的菜单项,控制16个LED发光二极管呈现10种不同的闪亮样式。本文简要回顾了单片机的基本组成,详细介绍了单片机AT89C51与键盘接口的设计方案,以及8位数据总线与16个LED发光二极管连接的设计方案。本文介绍了LCD工作原理的同时,详细介绍了FM12864J LCD模块的工作特性,软件指令和接口电路。在阐述系统软件设计的过程中,本文对FM12864J LCD模块的控制程序进行了详尽的解释说明,并就菜单翻页功能提出了一种解决方案。
关键词:图形显示界面,图形点阵液晶显示模块LCD, 菜单,单片机,发光二极管LED
Abstract: At present the graph lattice liquid crystal display module widely uses in all kinds of electronic installation, the man-machine interface is more and more intuitionist and visual, users needing characters and graphical display to domestic great majority ,whether show the friendship of the interface or not ,will influence the use of it directly .The man-machine interface goal that interface design to realize window interface ,users can carry on mutually under the menu way .The menu is used for responding users' choice ,operate the procedure according to users' choice. In using taking one-chip computer as the core and embeddedly, the friendly man-machine interface plays a very important role for users. At the same time the friendly man-machine contact surface causes the electronic installation to be easier to maintain.
Because the single slice of organisms is accumulated small, low power dissipation is cheap, and have logic judging , counts regularly , procedure controls and so on, use in the control system in various kinds of are real extensive. Monolithic integrated circuit because volume small, power loss low, the price is inexpensive, also has the logical judgment, fixed time counts, the procedure control and so on the many kinds of functions, widely applies in each kind of real-time control system, may realize like physical quantity the and so on voltage, power, humidity, temperature, speed, current capacity, pressure survey, in domain and so on industry control, aerospace, state-of-art weapon has played the vital role.
This design is a man-machine alternately system which controls the graph lattice liquid crystal display to show menu, the keyboard entry, and the light emitter diode output display the control result.
Key words: graphical display interface liquid crystal display single chip computer menu light emitting diode

 


目 录
1 前言 1
1.1 研究背景及意义 1
1.2论文的研究工作 1
1.3 论文结构安排 3
2 硬件系统设计 3
2.1 概述 3
2.2 单片机及外围电路 4
2.2.1 单片机的组成 4
2.2.2 振荡器和时钟电路 5
2.2.3 复位电路 7
2.3 键盘接口 10
2.3.1 键盘操作特点 10
2.3.2 按键抖动的消除方法 11
2.3.3 独立式键盘与工作原理 11
2.3.4行列式键盘与工作原理 12
2.3.5 按键与单片机的连接 12
2.4 LED显示接口 15
2.4.1 发光二极管的结构 15
2.4.2 发光二极管的应用 16
2.5 扩展I/O口 16
2.6 液晶显示简介 19
2.6.1 液晶显示原理 19
2.6.2 液晶显示器的分类 19
2.6.3 液晶显示器LCD是如何显示的 19
2.6.4 FM12864J概述 20
2.6.5工作特性 20
2.6.6软件指令说明 22
3 软件系统设计 26
3.1 概述 26
3.2 液晶显示控制程序 26
3.3 按键控制程序 31
3.4 LED显示控制 31
4 调试结果 32
致谢 33
参考文献 34
英文摘要 35
附录A 36
附录B 37



1 前言
1.1 研究背景及意义
目前人类已步入信息时代,在相互交往中,人们获取信息的80%来自视觉。各种信息的传递最终都要通过信息显示来实现人机交换。由于液晶显示器件(LCD)具有低工作电压、微功耗,能使用CMOS电路直接驱动,使得LCD结构便携化、应用个人化成为可能。LCD的出现不仅代替了部分其它显示器件,还大大扩展了显示器件的应用范围。目前世界上LCD已成为仅次于显像管的第二大显示产业,是目前显示产业中发展最快、市场应用最广的显示器件。
液晶显示器将主要用于台式计算机监视器,便携式计算机,掌上计算机,电子图书,移动通信,车载设备,数字信息家电,下一代电视机,游戏机,投影机,商务通,PDA,电子记事本,电子字典,各种计时器,便携式智能仪器等产品的应用中。随着世界经济科技的发展和个人生活水平的提高,个人对显示器的需求将是五花八门,日新月异。LCD在这方面的市场开拓十分宽广。
随着图形点阵液晶显示模块LCD在各行各业的逐步使用,人机界面变得越来越直观形象,尤其对于国内大多数需要有汉字和图形显示的用户来说,显示界面的友好与否,将直接影响到其产品的使用。人机交互界面设计的目标是实现中文窗口界面,用户可以在菜单方式下进行交互。菜单用于响应用户的选择,根据用户的选择运行程序。在以单片机为核心的嵌入式应用中,友好的人机互界面起着十分重要的作用。

查看评论 已有0位网友发表了看法
  • 验证码: