1、 I 1616 LED 点阵设计 内容摘要:LED点阵电子显示屏的发展越来越好广泛,它成为一个宣传信息的重要平台,已经得 到了社会的普遍认同。LED点阵显示屏是利用发光二极管点阵模块或像素单元组成的平面式显示屏幕。 它具有发光效率高、使用寿命长、组态灵活、色彩丰富以及对室内外环境适应能力强等优点。 该设计是一个1616LED点阵电子显示屏显示数字的设计。 整块电子显示屏的控制核心是40引脚的 单片机AT89S51,说明了LED点阵电子显示屏用AT89S51为控制系统的动态的设计和开发的具体过程。 通过该芯片控制两个列驱动器74HC595来驱动显示屏显示, 本设计就是使用4块88点阵显示模块 来
2、组成1616点阵显示屏,采用动态扫描显示,程序编写的实现是使用简单流通性强的C语言,该设 计的结果证明,系统显示清晰,结构合理,误差小,扩展能力强,性能稳定。 关键词:AT89S51 LED 点阵 数字显示 II Design of 16*16 LED dot matrixDesign of 16*16 LED dot matrix AbstractAbstract:LED electronic display found the screen better and better.It has become an important platform of a promotional info
3、rmation,it has been widely accepted by the society,LED dot matrix display is the use of plane composition LED lattice module or pixel unit display screen ,It has the advantages of high light efficiency ,long. The designed is a digital design of a 16*16 LED dot matrix display ,control the core piece
4、of electronic display is the 40 pin of the microcontroller AT89S51.Describes the specific process of the design and development of LED dot matrix display with AT89S51 as the control system dynamic.Through the control two columns drive chip 74HC595 are needed to drive the display shows that this desi
5、gn is to use 4 pieces of 8 x 8 dot matrix display module to form a 16 * 16 dot matrix display screen, a dynamic scans showed that the realization of the programming is simple to use strong liquidity of C language, and the design results show that the system shows clear, reasonable structure, little
6、error and extension ability strong, stable performance. Keywords: Keywords: AT89C51 dot matrix LED the digital display screen III 目 录 前言 . 1 1 设计方案的论证与选择 1 2 硬件电路设计 3 2.1 系统的结构框图 . 3 2.1.1 单片机控制模块 . 3 2.1.2 时钟电路 . 4 2.1.3 复位电路 . 4 2.1.4 显示模块 . 5 2.1.5 驱动模块 . 7 2.2 单片机的最小系统图 . 9 3 单片机系统 . 10 3.1 8051 引脚为 40 个的单片机芯片 11 3.1.1 引脚为 Vcc 和 Vss 的主电源 11 3.1.2 外接晶体引脚 XTAL1 和 XTAL2 . 11 3.2 I/O 口线的引脚排列及管脚的说明 11 3.3 RST 键 13 3.4 PEROM 阵列和锁定位 13 4 系统软件设计 . 13 4.1 主程序的设计及流程图 13 4.2 显示程序的设计 14 5 硬件的制