毕 业 设 计
设计题目:基于单片机的
LED汉字点阵显示屏的设
计
基于单片机的LED汉字点阵显示屏
的设计
摘 要
本文介绍了LED汉字点阵显示屏的设计及实现过程。通过Proteus仿真详细介绍了显示的原理和显示屏驱动电路的设计,仿真效果的实现为后续实际硬件电路的焊接和调试提供了理论基础。
该系统通过单片机来控制整个系统的运行,采用逐行扫描的方式实现汉字的显示,主要分为三大部分:上位机软件部分、控制部分、LED点阵显示屏。上位机软件部分主要通过VB软件编写一个字模转换发送的界面,实现上位机与下位机的通信;控制部分主芯片是STC89C52RC,是系统的核心,再利用C语言编程下载实现对单片机各引脚的控制;LED点阵显示屏包括驱动电路和显示屏,74LS138译码器输出控制显示屏的行扫描,74HC595(八位并行输出移位寄存器)控制显示屏的列,由于人眼视觉的滞留现象,行列驱动电路通过动态控制便实现了汉字的显示。
基于单片机的LED点阵显示屏与普通的平面静态广告相比,可以动态显示信息,可以随时更换显示信息,与视频广告相比,造价低,信息显示地点随意性高。因此,无论商业广告,还是一般的信息公告显示,LED点阵显示屏都有着广泛的应用。
关键词:单片机 LED点阵显示屏 Proteus仿真 显示屏驱动电路
Design of LED dot matrix display Chinese characters Based on MCU
Abstract
This article introduces the design and implementation of the dot matrix display of LED Chinese characters. It introduces the principle of display and the design of display drive circuit through Proteus simulation. The results of simulation provides theory basis for the welding and debugging of the actual hardware circuit.
It controls the operation of the whole system through the MCU,it displays Chinese information by progressive scan, it mainly divided into three sections: PC software parts, control part, display screen of LED dot matrix. PC software parts mainly are writed through VB software, it writes a interface of the font conversion and sending, so as to achieve PC and MCU communications; The main chip of the control part is STC89C52RC,it is the core of the system, and then downloaded the C programming language to MCU to control its pins; The display screen of LED dot matrix includes drive circuit and display
screen,74LS138
decoder
controls
the
line
scanning,74HC595(shift register that outputs eight parallel data) controls the column scanning. Because of human visual retention phenomenon, driving circuit achieves the display of the Chinese characters through the ranks of the dynamic control.
Compared with LED dot matrix display of Chinese characters
based on MCU, it can display dynamic information, change information at any time, compared with video advertising, low cost, arbitrary of the information display site is high. So whether commercial advertising or general information announcement, the