1、 I 8*8LED 点阵设计 学生:XX 指导教师:XX 内容摘要:本设计就是实现利用AT89C51单片机控制一个8X8的LED点阵显示的方法。每两个8X8 的LED常规显示点阵构一列,每两个74HC138控制8个行扫描序列,这样数据并行进入到8X8的LED点阵 模块,只有当74HC138译码器控制的行扫描序列有效时,相对应列的数据才能有效进入到点阵模块中 进行显示。本设计就是实现了通过Atmel公司的AT89C51单片机控制点阵显示的方法。该方法就是在 AT89C51内部设置一个带显示的字库,字库的内容是通过LED点阵显示取模软件获得的字符、图片等 的字符编码,编码一数组的形式存储在单片机中
2、。再通过编程控制字库数据按要求输出,这样就可 以实现LED的点阵显示。为了进一步提升功能,本设计设计了输入按键,通过按键输入可以选择相应 的点阵显示模式,从而实现可以对内容进行实时控制诸如固定显示、滚动显示等功能的LED点阵显示 设计。 关键词:8X8LED 点阵显示 字库 AT89C51 II Design for SCM of LED dDesign for SCM of LED dot matrix display designot matrix display design Abstract: Abstract: This design is realized using AT89C5
3、1 single-chip microcomputer to control a 8X8 LED dot matrix display method. Every two 8X8 LED display dot matrix structure a list of conventional, one of the two 74 HC138 control 16 scanning sequence, such data parallel to 8X8 into of LED dot matrix modules, only when the 74 HC138 decoder of effecti
4、ve control scanning sequence, corresponding to the list of data to be effective access to dot matrix modules displayed. This design is realized through the Atmel company AT89C51 single-chip microcomputer control dot matrix display method. This method is set up inside a in AT89C51 with word of the sh
5、ow, the content of the word stock is through of LED dot matrix display model for software take character, the picture and so on character encodings, code for a array of storage in the SCM. Again programming control word stock data as required output, which can realize LED dot matrix displaying. In o
6、rder to improve function, this design of the input buttons, through the keystroke can choose corresponding dot matrix display mode, which can realize real-time control the content such as fixed display, rolling display function of LED dot matrix display design. Keywords:Keywords: 8X8 LED dot matrix display word stock AT89C51 . III 目 录 前言 . 1 1 8*8LED 点阵相关知识 1 1.1 LED 阵列介绍及原理 . 1 1.1.1 8*8LED 点阵外观 . 1 1.1.2 8*8 LED 点阵内部连线及引脚编号 2 1.1.3 LED 相关知识 3 2 总设计 5 2.1 设计目的 . 5 2.2 设计要求 . 5 2.3 设计