1、 0 基于 51 单片机的 LED 点阵显示屏系统设计 摘 要 摘要:摘要: 本文介绍了一款以单片机 AT89S51 为控制器的 LED 点阵显示屏系统的设计。 该系统选用四块 88 点阵模块构建一个 1616 的 LED 点阵屏,可实现中英文字符 的显示及其动态特效显示。选定 AT89S51 单片机为核心控制器件,由串并转换器 和锁存器为译码电路器件,三极管和驱动继电器为驱动电路器件,通过级连的方 式来扩大显示屏幕的尺寸以达到增加显示内容的目的。AT89S51 单片机处理控制 命令以及显示代码, 将显示内容通过 I/O 口串行输出并且控制译码电路完成串并转 换并行输出,最后由显示驱动电路模块
2、驱动 LED 点阵显示屏的扫描显示。整个设 计采用 AT89S51 做核心控制器,74LS164 和 74LS373 组成译码电路,三极管 8550 和 ULN2803 做行和列驱动。 关键字关键字:AT89S51;LED 点阵显示屏;串并转换器;锁存器;驱动电路 1 Abstract Abstract: This paper introduces a design of the LED lattice display system base on MCU AT89S51. This system chooses four 8 x 8 bitmap module to construct a
3、16 x 16 of LED dot matrix screen.The system can display in both Chinese and English characters of the show and from top to bottom and move around the magic show. Selected for the core control device AT89S51, the string and converter and latches to decode circuits, transistor and drive relays for dri
4、ving circuit devices, through the ways to expand level even display screen size in order to achieve the purpose of increasing display content.AT89S51 processing control commands and display code will display content through the I/O port serial output and control of decode logic complete and transfer
5、 parallel output, finally by display driver circuit module driver destem scanning display. The whole design USES AT89S51 do core controller, 74LS164 and 74LS373 composition decode circuit, triode 8550 and ULN2803 do rows and columns driver. Key words:AT89S51;lattice LEDs panel display;String and con
6、verter;Latches Driving circuit I 目 录 摘 要 . 0 Abstract 1 目 录 I 第 1 章 绪论. 1 1.1 课题背景 1 1.1.1 选题背景. 1 1.1.2 研究现状及发展趋势 . 1 1.2 论文主要内容 . 3 第 2 章 方案论证与选择 . 4 2.1 系统硬件方案 . 4 2.1.1 显示屏主控制器 4 2.1.2 通信系统. 6 2.1.3 LED 点阵显示屏 . 6 2.1.4 硬件设计方案 8 2.2 系统软件方案 . 8 2.2.1 单片机编程语言 9 2.2.2 系统软件编译器介绍 . 9 第 3 章 系统硬件设计 . 10 3.1 硬件整体设计概述及功能分析 10 3.2 控制单元设计 11 3.2.1 AT89S51 简介 .11 3.2.2 控制系统设计 12 3.3 译码电路设计 . 13 3.3.1 串并转换器 74LS164 . 13 3.3.2 锁存器 74L373 14 3.4 驱动电路设计 . 15 3.4.1 行驱动电路设计 15 3.4.2 列驱动电路设计 16 3.5 通信系统硬