辅导交流
地 址:西安市科技路JR电子科技
3127247860:点击这里给我发消息
2733195595:点击这里给我发消息
电 话:13649286003
邮 箱:jr_dz_kj@163.com
当前位置:首页主页 >> 论文展示 >>
点阵LED屏的设计与应用
作者:admin   发布于:2014-03-05 20:38    文字:【】【】【
 
点阵LED屏的设计与应用         
 

摘  要

     LED(Light Emitting Diode)行业现在成为一个快速发展的新兴产业, 市场空间巨大,前景广阔。本文介绍了一款以单片机AT89S51为控制器的LED点阵显示屏系统的设计。该系统可实现中英文字符的显示和动态特效显示。并且可以通过级连的方式来扩大显示屏幕的尺寸以达到增加显示内容的目的。系统采用PC机作为上位机,上位机向单片机发送控制命令和上位机所存储的显示代码,AT89S51单片机接收并处理PC机的控制命令以及显示代码,由显示驱动模块驱动一个16×16分辨率的LED点阵显示屏的扫描显示。所选用的AT89S51单片机具有价格低廉程序写入方便的特点使得整个系统方便维护和检修。除此之外,该系统只占用了单片机少量的I /O口和内存,为系统留下了功能扩展的空间。
     本文分为五部分, 其中主要内容是系统方案设计,硬件系统设计、软件系统设计三部分。系统方案设计是基础;硬件系统设计是本文的难点及 核心部分,该部分首先简单描述系统硬件工作原理,且附以硬件系统设计框图,论述了本次毕业设计所应用的各硬件接口技术和各个接口模块的功能及工作过程。
本文撰写的主导思想是硬件、软件相结合,以硬件为基础,来进行各功能模块的设计。本设计实用性强、操作简单、扩展功能强。
 
关键字AT89S51          LED点阵显示        74HC595(列驱动)

                    ABSTRACT
LED (Light Emitting Diode) industry is now becoming a fast-growing emerging industry, a huge market space and broad prospects. This paper introduced a single-chip AT89S51 controller for the LED dot matrix display system design. The system can be realized in the English character display and dynamic effects show. And can be cascaded way to expand the size of the display screen in order to achieve the purpose of increasing the display. System uses a PC as a PC, the PC sends control commands to the microcontroller and PC display code stored, AT89S51 microcontroller receives and processes the command and control of the PC display code, the display driver module to drive a 16 × 16 resolution LED dot matrix display scan display. AT89S51 microcontroller chosen program writes with low prices and convenient features makes the whole system easy to maintain and repair. In addition, the system only takes up a small amount of microcontroller I / O ports and memory function for the system leaves room for expansion.
   This paper is divided into five parts, of which the main contents of system design, hardware design, software system design in three parts. System design is the foundation; hardware system design is the difficulty of this article and core section, which first briefly describe the working principle of the system hardware, and attached to the hardware system design diagram, discusses this graduation design applications and in all of the hardware interface technology Interface module functions and working process.
    The main idea of this writing is the hardware, software, combined with hardware-based, for each functional module design. The design of practical, simple, powerful extension.
Keywords:  STC89C52    Light Emitting Diode     74HC595

目  录


第一章  绪 论............................................................................................................... 1
1.1选题背景................................................................................................................. 1
1.1.1 选题背景......................................................................................................... 1
1.1.2 研究现状及发展趋势...................................................................... 1
1.2论文主要内容.......................................................................................... 3
1.3 LED点阵显示设计方案............................................................................. 3
1.3.1显示屏主控制器............................................................................. 3
1.3.2通信系统............................................................................................. 5 
1.3.3 LED点阵显示屏........................................................................ 5
1.3.4 硬件设计方案.................................................................................... 6
1.4 系统软件方案............................................................................................. 7
1.4.1 单片机编程语言................................................................................... 7
1.4.1 系统软件编译器介绍.......................................................................... 8
第二章  系统硬件设计................................................................................... 9
2.1系统总体结构...................................................................................... 9
2.1.1硬件系统组成框图............................................................................... 9
2.2系统硬件原理.......................................................................................... 9
2.2.1 点阵LED屏的设计与应用原理图..................................................... 9
2.2.2 复位电路........................................................................................... 10
2.2.3 从电脑下载程序用串口示意图..................................................... 11
2.2.4 LED点阵显示电路......................................................................... 11
2.2.5 LED点阵驱动电路.........................................................................12
2.3主要元件及软件介绍.......................................................................... 15
2.3.1 LED点阵....................................................................................... 15
2.3.2 STC89C51单片机............................................................................ 16
2.3.3 晶振.................................................................................................. 21
2.4  Altium Designer软件......................................................................... 22
第三章  系统软件设计................................................................................. 23
3.1系统主程序设计图................................................................................ 23
3.2 显示程序的设计................................................................................... 24
3.2.1 LED显示屏的显示方式.............................................................. 24
3.2.2点阵数据表达方式......................................................................... 25
3.2.3 显示程序的设计............................................................................ 26
3.3 通信程序的设计.................................................................................... 27
第四章 系统调试........................................................................................ 31
4.1系统硬件部分调试方法..................................................................... 32
4.1.1短路与虚焊检测............................................................................ 32
4.1.2上电测试..................................................................................... 33
4.2系统软件调试方法............................................................................ 33
4.3系统联合调试及结果...................................................................... 34
4.4 调试结果分析................................................................................... 35
第五章  总结与展望............................................................................... 37
致     谢 ..................................................................................................39
参考文献 ...................................................................................................41
附录A 程序代码................................................................................... 43
附录B PCB图.................................................................................... 55


附件一
友情链接