基于单片机的LED三文动态信息显示系统
摘要
Abstract
The display technology of LED(Light Emitting Diodes)is a new modern technology
synthesizing photo-electricity,computer and control etc.It combines closely with
traditional advertising and becomes a new media instrument for propaganda,and is
widely applied to the information displaying and advertising in public place,such as
exhibition centre,financial market,stadium,airport,quay,station etc.The LED display
system is composed of display module,controller and computer used to implement the
characters inputting and the display mode selecting.The system can show Chinese and
English as well as figure symbols appointed by users.
Due to the diversities of the display mode and ideal visual feelings,LED display
system is welcomed by users and becomes a new type of scientific product with
high-speed development in recent years.Normally the LED display system is complicated
and could be controlled nearby as well as the maintenance of the equipment is insufficient,
thus the applications of LED display system receive a great restriction especially in
remote control and synchronous transmissi on,so this technology needs further
development and improvement.
The LED displaying system of character symbols is studied in this paper.A detailed
review is given to the actuality and developing trends of LED display screen,and a new
structure plan on the LED di splay screen of three-dimension dynamic LED lattice
controlled by microcomputer is presented,which aims at overcoming the problems in
current display systems.Instructions and information can be input by simple and
convenient man-machine interactive conversations,and the long-range control of display
module can be realized,at the same time the display contents can be renewed at any
mo ment and the omni-directional spatial stereoscopic display could be achieved. www.751com.cn学位论文
flow of software and the design plan of the circuit are given detailedly from the
information picking-up on computer to the ou tput of ultimate screen display.Further
more,corresponding methods are discussed according to the specific technical
difficulties of LED display system.
Key words:Chinese character lattice,serial communication;single-chip computer;Visual Basic 6.0,step
motor
LED(Light Emitting Diodes)显示技术是指将光电、计算机以及控制等相关内容综
合于一体的现代新技术。它与传统的广告宣传紧密结合成为一种新的媒体宣传工具,
广泛应用于展览中心、金融市场、体育场馆、机场、码头、车站等公共场所的信息显
示和广告宣传。LED显示系统主要由显示模块、控制器以及完成文字录入和显示模式
选择的计算机三个部分组成。该系统既可以显示中文、英文,也可以显示用户指定的
图形符号。
LED显示系统由于显示方式多样和视觉感受理想而倍受用户的欢迎,也是广告宣
传中近年来高速发展的新型科技产品。但是由于其系统配套复杂,控制显示内容只能
就近完成,设备文护不够便利,使得LED显示屏的应用场所受到很大限制,特别是不
能实现远程控制和同步信息传递,这些都要求该技术的进一步完善和提高。
本文是针对只显示文字符号的LED显示系统而进行研究的。首先,详细介绍了国
内外LED显示屏的发展与现状,并针对当前显示系统所存在的问题,提出了一种实现
微机控制的三文动态LED点阵显示系统的新方案。可以通过简单、方便的人机对话窗
口来输入指令,实现对显示模块的远程控制,做到可以随时更新显示内容和实现全方
位的空间立体显示。论文中从上位机汉字字模点阵信息的提取开始,到上下位机之间
的串行通信,以及显示系统中步进电机的控制和信息显示的最终实现,都详细的给出
了软件流程和电路设计方案,并根据设计中的具体技术难点讨论了相应的解决方法。
关键字:汉字点阵,串行通信,单片机,VB6.0,步进电机Abstract
目录
1绪论..........................................................1
1.1 LED显示屏简介.....................................................1
1.2国内外LED行业现状和发展趋势.......................................2
1.2.1国内LED显示屏发展现状.......................................3
1.2.2国外LED显示技术的现状.......................................4
1.2.3 LED显示屏的发展趋势..........................................4
1.3 LED显示技术存在的主要问题.........................................6
1.4课题的目的、意义及主要研究内容.....................................6
1.4.1课题的目的及意义.............................................6
1.4.2课题的主要研究内容...........................................7
2总体设计方案.................................................8
2.1 PC机部分的设计....................................................8
2.2单片机部分的设计...................................................9
2.3 LED显示系统的设计................................................11
3汉字点阵字模的获取..........................................12
3.1 VB软件设计.......................................................12
3.1.1 Visual Basic 6.0简介........................................12
3.1.2 VB应用程序的结构............................................13
3.1.3事件驱动应用程序的方式......................................14
3.2汉字编码原理......................................................14
3.2.1汉字与英文字母的表示方法及区别..............................14
3.2.2汉字内码与区位码的关系......................................15
3.2.3汉字点阵字模的显示..........................................15
3.3点阵代码的提取....................................................16
3.4字模转置的算法研究................................................16
3.5软件实现过程......................................................18
3.5.1横排的汉字点阵字模的获取....................................18
3.5.2横排点阵的转置处理..........................................19
4 PC机和单片机之间的串行通信..................................23
4.1上位机通讯模块设计................................................23
4.1.1 RS-232接口简要介绍..........................................23目录
II
4.1.2 Mscomm控件介绍.............................................24
4.1.3具体的软件实现..............................................26
4.2 MAX232的简介.....................................................27
4.3下位机通讯模块设计...............................................28
4.3.1单片机AT89C51的简介.......................................28
4.3.2单片机的内部设置............................................29
4.3.3单片机通讯软件..............................................32
4.4通讯硬件电路设计.................................................34
4.4.1通信原理方案................................................34
4.4.2通信电路....................................................35
5步进电动机的系统设计........................................36
5.1步进电动机的原理.................................................36
5.1.1步进电动机概述..............................................36
5.1.2步进电动机的特点及分类......................................37
5.1.3步进电动机的工作原理........................................37
5.1.4步进电动机的指标............................................39
5.2步进电动机系统的选型.............................................40
5.3驱动控制系统组成.................................................42
5.3.1脉冲信号的产生..............................................42
5.3.2信号分配....................................................42
5.3.3功率放大....................................................42
5.3.4细分驱动器..................................................43
5.4硬件电路设计.....................................................44
5.5软件部分的实现...................................................45
5.6软硬件的调试.....................................................47
6显示系统设计................................................48
6.1系统方案的提出...................................................48
6.2显示系统的组成...................................................48
6.3显示模块的软硬件设计.............................................48
7总结与展望..................................................51
7.1总结.............................................................51
7.2展望.............................................................51
致谢...........................................................53www.751com.cn学位论文
参考文献.......................................................54
攻读硕士学位期间发表论文......................................56
附录A系统硬件原理图...........................................57
附录B系统输入界面图...........................................58
附录C软件程序中的通用变量设置.................................428
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>