【编者按】网学网电子机械频道为大家收集整理了“点阵显示屏的设计与实现“提供大家参考,希望对大家有所帮助!
论文字数:9360,页数:36
摘要
本设计是一16×32点阵LED电子显示屏的设计。整机以美国ATMEL 公司生产的40脚单片机AT89C51为核心,介绍了以它为控制系统的LED点阵电子显示屏的动态设计和开发过程。通过该芯片控制6个驱动器74HC595来驱动显示屏显示。该电子显示屏可以显示各种文字或单色图像,全屏能显示2个汉字,采用12块8×8点阵LED显示模块来组成16×32点阵显示模式。显示采用动态显示,使得图形或文字能够实现静止、移入移出等多种显示方式。文中详细介绍了LED点阵显示的硬件设计思路、硬件电路各个部分的功能及原理、相应软件的程序设计,以及使用说明等。单片机控制系统程序采用C语言进行编辑,通过编程控制各显示点对应LED阳极和阴极端的电平,就可以有效的控制各显示点的亮灭。所显示字符的点阵数据可以自行编写(即直接点阵画图),也可从标准字库中提取。
关键词:点阵显示屏,AT89S51单片机,C语言,动态显示
ABSTRACT
This design is a 16 ×32 lattice LED electron display monitor design. The whole equipment is with the 40-pin AT89C51 MCU (Micro Controller Unit) produced by the American ATMEL company at the core, introduced take it as the control system LED lattice electron display monitor dynamic design and the development process. Controls good 6 driver 74HC595 through this chip actuates the display monitor demonstration. The electronic screen can show all kinds of written or monochrome images, one full screen display Chinese characters, 8 pieces of 8×8 dot-matrix LED display modules to form the 16×32 dot matrix display mode. Show dynamic show that makes static graphic or text can be achieved, shifted out of various formats. This paper describes the hardware design of the LED dot matrix display, and the principle function of the various parts of the circuit, the corresponding software program design and the use of some such. MCM process control system used for editing C language, Programming control points indicated by the corresponding LED anode and overcast extreme level. We can effectively control the defense showed bright spots. The lattice data shows characters can prepare themselves (that is, direct lattice Painting), which can also be extracted from the standard font.
Key words: LED dispay Mnitor, AT89C51 Micro Controller Unit5, C language, Dynamic display.
目录
摘要 I
ABSTRACT II
第1章 引言 1
1.1背景和意义 1
1.2 研究内容 2
第2章 AT89C51单片机简介 3
2.1 AT89C51概述 3
2.2主要特性 3
2.3管脚说明 4
2.4振荡器特性 5
2.5芯片擦除 6
第3章 点阵屏的硬件设计 7
3.1图文显示屏的特点 7
3.2硬件电路设计 10
3.2.1微机硬件电路 10
3.2.2驱动电路 10
3.2.3行列驱动电路 13
3.2.4 电流放大电路 13
第4章 点阵屏软件设计 15
4.1显示驱动程序设计 15
4.2系统主程序程序设计 17
4.3程序设计时遇到的问题 20
第5章 调试及性能分析 22
5.1显示屏的调试 22
5.2性能分析 22
5.3设计的扩展 23
第6章 结束语 24
致谢 25
参考文献 26
附录1 源代码 27
附录2 硬件电路图 31
附录3 实物图 32