文档介绍:目录
摘要 2
Abstract 3
1引言 4
4
2方案论证 5
显示部分 5
5
6
芯片的选择 6
闹铃方式的选择 6
6
7
电源模块 7
3 总体方案 8
总体设计 8
4、系统硬件设计 9
AT89S52单片机最小系统 9
温度测量模块 9
时钟模块 10
键盘模块 11
LED显示模块 11
: 12
PC机通讯 13
13
5、系统软件设计 14
14
15
显示时间子程序流程 15
LED亮度调节 17
17
6、测试及其结果分析 19
基本部分测试与分析 19
: 19
: 19
6. 2 发挥部分测试与分析: 19
创新部分测试与分析 19
7、设计总结 20
8、参考资料 21
9、致谢 22
附录Ⅰ 23
附录Ⅱ:原理图和PCB图 37
摘要
LED点阵显示屏作为一种新兴的显示器件,是由多个独立的LED发光二极管封装而成. LED点阵显示屏可以显示数字或符号, 通常用来显示时间、速度、系统状态等。文章给出了一种基于AVR单片机的16×32 点阵LED显示屏的设计方案。包括系统具体的硬件设计方案,软件流程图和部分汇编语言程序等方面。在负载范围内, 只需通过简单的级联就可以对显示屏进行扩展,是一种成本低廉的图文显示方案。此外,扩展单片机外围接口、温度采集、非接触式止闹、滚动屏幕显示、语音报时等功能。本系统大部分功能由软件来实现,吸收了硬件软件化的思想,大部分功能通过软件来实现,使电路简单明了,系统稳定性大大提高。本系统不仅成功的实现了要求的基本功能,发挥部分也得到完全的实现,而且有一定的创新功能。
关键字:AVR单片机、 LED大屏幕、滚屏显示
Abstract
As a popular display ponent, LED dot-matrix display board consists of several independent LED (Light Emitting Diode). The LED dot-matrix display board can display the number or sign, and it is usually used to show time, speed, the state of system etc. This paper introduces a kind of simple 16x16 LED display screen design process based on MCS-51 single chip puter . The detail hardware scheme, software flow and assemble language programmer design and so on is followed. The display part can be cascaded to meet the need. The practice proves the design is low-cost and effective. In addition, the expansion peripheral interface microcontroller, temperature collection, non-contact only trouble, scroll the screen display, voice timekeeping functions. Most of the functionality of the system by the software to achieve, has absorbed the idea of hardware and software, most of the functions realized by software to make the circuit simple, significantly improving system stability. The system not only achieved the ess of the basic functions required to play some also