摘要LED点阵屏是一种发展成熟的技术产品.它是有发光二极管按照一定规律的阵列组成。它的功能是显示数字、符号和英文,通常用来显示速度、时间、当前状态等。
它是以AT89C51单片机为核心的控制系统,研发过程中可以实现 LED点阵电子显示系统动态设计。通过单片机驱动74HC138,并且单片机的端口可以直接驱动显示。16x16规格的LED点阵屏可以显示一个汉字、一个图形和多个字符。并且它可以有多种显示方式:静态显示、左入右出、右入左出、上进下出、下进上出等等。这些显示方式都是由单片机里面的程序来控制。此次编程采用了C语言。61731
LED点阵屏的硬件显示原理、驱动电路、程序编写以及显示的效果等在本文得到了详细的解释。
毕业论文关键词 :LED;单片机;点阵显示 ;AT89C51
Abstract LED dot matrix display is a mature technology. It is a light-emitting diode array according to certain rules of composition. Its function is to display numbers, symbols, and English is usually used to display the speed, time, current status.
It is based on AT89C51 microcontroller as the core control system, the development process can be achieved in LED dot matrix electronic display system dynamic design. Through the microcontroller drive 74HC138, and microcontroller port can directly drive the display. 16x16 specifications of LED dot matrix screen can display a character, a graphics and more characters. And it may be displayed in several ways: static display, right out into the left and right into left out, progress under, the next entry on the like. The display is controlled by a microcontroller inside the program. Use C language to write program.
LED dot matrix screen display hardware principle, a drive circuit, programming and display of effects in this paper to give a detailed explanation.
Keywords: LED; microcontroller; dot matrix display; AT89C51
目 录
绪 论 6
第一章 主要芯片介绍 8
1.1 8051系列的单片机 8
1.2 74HC138 9
1.3 74HC595 11
第二章 硬件设计 12
2.1 设计框图及介绍 12
2.2 51系列单片机简介 13
2.3 单片机最小应用系统电路设计 13
2.4 LED点阵介绍 14
2.5 LED显示方式 15
2.6 点阵的移动 17
2.6.1 显示字符的左右移动 17
2.6.2 数据的上下移动 19
2.7 LED阵列驱动电路 20
2.8.LED的驱动电路………………………………………………………………………………….21
2.9.数码管的静态驱动………………………………………………………………………………..22
第三章 软件设计 17
3.1 点阵屏的显示程序 26
3.1.1 驱动芯片的控制程序