基于单片机控制动态扫描文字显示系统的设计
毕业设计
基于单片机控制动态扫描文字显示系统的设计
摘要:随着社会文化的不断发展,LED显示系统扮演着越来越重要的宣传角色,不论是汽车站,火车站,股市交易市场,还是学校都离不开它,然而传统的霓虹灯广告牌不论是在显示效果、耗电量还是可修改性上都无法满足当前社会的需求,传统的霓虹灯广告亟待改进
本文介绍了基于AT89S52单片机控制的8x32 LED点阵动态扫描文字显示的设计过程。首先本文对LED点阵模块显示器原理做了介绍,同时分析了动态扫描文字显示系统的工作原理,然后对AT89S52单片机做了简要介绍。经过分析,设计出能实现动态扫描文字显示系统的硬件原理图和软件流程图。最后利用Proteus仿真软件对该系统进行仿真,达到了预期效果。
关键词:单片机;点阵;LED显示屏;Proteus
基于单片机控制动态扫描文字显示系统的设计
A Design of Dynamic Scanning Text Display System
Abstract:With the continuous development of social culture, LED display systems play an increasingly important role in advocacy, whether bus, train stations, stock market, or the school can not do without it, but the traditional neon signs, whether in Display, or can modify the nature of the power can not meet the current needs of the community to be desired conventional neon.
This paper introduces the design procedure of a dynamic scanning text display system of 8x32 LED dot matrix based on AT89S52 MCU control. Firstly this paper introduces the LED dot matrix modules, and analysis the working principle of the dynamic scanning text display system. And then this paper briefly introduces AT89S52 MCU. After analysis, this paper give out the dynamic scanning text display system’s hardware and software. Finally, using the Proteus simulation software to simulate for the system, and achieved the desired effect.
Keyword: MCU , dot matrix , LED , Proteus
目 录
1 引言 .............................................................. 1 1.1 国内外研究状况 .................................................. 1 1.2 本课题的主要内容、要求及说明书安排 .............................. 2 2 系统结构及硬件电路设计 ............................................ 4 2.1 系统的结构框图及工作原理 ........................................ 4 2.2 电源管理模块 .................................................... 4 2.3 单片机模块 ...................................................... 5 2.3.1 单片机技术简介 ................................................ 5 2.3.2 AT89S52单片机最小系统 ........................................ 16 2.4 LED点阵显示模块 ................................................. 7 2.4.1 LED点阵显示屏研究背景 ......................................... 8 2.4.2 LED点阵显示屏概述 ............................................. 9 2.5 LED点阵驱动模块 ................................................ 10 2.5.1 LED显示屏控制技术 ............................................ 10 2.5.2 行扫描驱动 ................................................... 11 2.5.3 列扫描驱动 ................................................... 12 2.5.4 扫描显示工作过程 ............................................. 14 3 软件设计 ......................................................... 16 3.1 Keil技术简介 ................................................... 16 3.2 主程序流程 ..................................................... 17 3.3 端口初始化程序设计 ............................................. 20 3.4 显示RAM初始化子程序设计 ....................................... 20 3.5 显示子程序设计 ................................................. 21 3.6 显示移动程序设计 ............................................... 23 4 软件仿真 ......................................................... 24 4.1 Proteus技术简介 ................................................ 24 4.2 Proteus 7.5 SP3 简介 ........................................... 24
第 I 页 共 II 页
4.3 仿真流程 ....................................................... 25 4.3.1 添加元件到元件列表中 ......................................... 25 4.3.2 放置元件 ..................................................... 26 4.3.3 连线 ......................................................... 27 4.3.4 添加仿真文件 ................................................. 28 4.3.5 仿真 ......................................................... 28 结论 ................................................................ 30 附录A ............................................................... 31 参 考 文 献 ......................................................... 36 致 谢 ............................................................... 28
第 II 页 共 II 页
相关推荐: