基于51单片机的动态点阵LED汉字显示屏的设计--毕业论文 下载本文

内容发布更新时间 : 2024/4/27 23:32:54星期一 下面是文章的全部内容请认真阅读。

基于51单片机的动态点阵LED汉字显示屏的设计

摘 要

LED点阵显示屏是利用发光二极管点阵模块或像素单元组成的平面式显示屏幕,可以显示汉字、数字或特殊符号,通常用来显示时间、速度、系统状态等。LED 点阵显示屏作为一种新兴的显示器件,现已广泛应用于广告、交通运输、教育系统、银行等工业企业管理和其它公共场所,产业面临良好的市场发展机遇及前景。本设计研究了基于单片机AT89C51的8×8 点阵LED动态显示屏的设计与运用Proteus软件的仿真实现。具体介绍了设计的系统方案、LED图形显示原理及应用、LED 汉字显示屏的硬件电路设计、汇编程序设计与调试、Proteus 软件仿真,软件流程图等内容。本设计主要以AT89C51为核心芯片,通过程序控制,采用动态扫描技术,用AT89C51的P0口控制行驱动器74LS245 和P3口来直接驱动显示屏,在点阵LED显示屏上实现了汉字的动态显示。在负载范围内, 只需通过简单的级联就可以对显示屏进行扩展,来制作一款拥有多功能模块化的点阵LED的多功能显示屏,是一种成本低廉的图文显示方案。

关键词:AT89C51单片机;LED点阵;动态扫描;Proteus仿真软件

Dynamic dot matrix LED Chinese characters display design Based

on 51 Micro-controller

ABSTRACT

LED dot matrix display tis Planar display screen which is composed of light-emitting diode dot matrix module or pixel unit.LED dot matrix display can display Chinese characters, numbers, or special symbols, usually are used to display time, speed, and system status.LED dot matrix display is a new display devices, which is widely used in advertising, transport, education system, banks and other industrial enterprises and other public places now, and the industry is facing good opportunities for market development and prospects.The design studies that the 8 × 8 dot matrix LED dynamic display design based on AT89C51 Micro-controller and using Proteus software to simulate.Specifically designed system solutions, LED graphic display principle and application of LED Chinese characters display hardware circuit design, assembler programming and debugging, Proteus software simulation, software flow chart.This design regards the AT89C51 as the core chip, uses AT89C51 the P0 port to control line drive the 74LS245 and P3 ports to directly drive the display by the program controlling and dynamic scanning technology,Chinese characters is to be Dynamic displayed on a dot matrix LED display. In the load range, display can be extended just by a simple cascade, to create a multifunctional display which has a multifunctional modular LED dot matrix, and it is a low-cost graphic display program.

simulation software of proteus

Key words: AT89C51 Micro-controller; LED dot matrix; Dynamic scanning; The

目 录

1 绪论 ................................................ 1

1.1 课题的来源和意义 ........................................ 1 1.2 国内外发展状况 .......................................... 1

2 LED点阵显示器的原理 .................................. 2

2.1 LED点阵显示器简介 ...................................... 2 2.2 8×8点阵LED原理及应用 ................................. 2 2.3 LED点阵的显示文字图形原理 .............................. 3 2.4 驱动方式 ................................................ 5 2.5 点阵的移动 .............................................. 5 2.5.1 向左移动原理 .......................................... 6

3 系统硬件设计 ......................................... 8 3.1 方案要求 ................................................ 8

3.2 系统设计原理 ............................................ 8 3.4 系统硬件电路图 ......................................... 10 3.5 晶振电路设计 ........................................... 10 3.6 复位电路设计 ........................................... 11 3.7 LED驱动电路设计 ....................................... 11

4 系统程序的设计 ...................................... 13

4.1 系统主程序 ............................................. 13 4.2 显示驱动程序 ........................................... 14 4.3 编程及仿真 ............................................. 14