- 1、本文档共57页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机的LED显示屏制作
摘 要
LED点阵显示屏作为一种新兴的显示器件,是由多个独立的LED发光二极管封装而成. LED 点阵显示屏可以显示汉字、数字、符号等, 通常用来显示文字、时间、速度、系统状态等。
本文是32×16点阵LED电子显示屏的设计。整机以美国STC公司生产的40脚单片机STC89C52RC为核心,设计了以其为控制系统的LED点阵电子显示屏的动态设计和开发过程。通过该芯片控制四个行驱动器74HC164和四个列驱动器74HC595来驱动显示屏显示。该设计采用8块8×8点阵LED显示模块来组成一个32×16点阵显示模式,全屏能显示两个汉字,可以采用动态显示方式来显示各种文字或单色图像,使得图形或文字能够实现静止、移入、移出等多种方式显示。
文中设计了LED点阵显示屏的硬件设计思路,硬件电路各个部分的功能及原理,包括系统具体的硬件设计方案、软件流程图和 c 编语言程序等方面。要显示的汉字字模代码保存在某个存储空间,单片机通过读取字模并做相应的处理,然后以不同的显示方式显示在点阵屏上。LED显示屏主要适用于室内外汉字显示,在负载范围内,只需通过简单的级联就可以对显示屏进行扩展。
关键词:STC89C52RC单片机;LED点阵显示;动态显示
Abstract
LED dot matrix display as a new display device is composed of multiple independent LED light emitting diode package together. LED dot matrix display can display Chinese characters, numbers, symbols, and so on, usually is used to display text, time, speed, system status and so on.
This article is a 32 × 16 dot matrix LED electronic display design. America STC company production of the 40 pin STC89C52RC MCU is the core of complete machine. The design of LED dot matrix display and development process is presented in this paper. MCU controls four rows drivers of 74HC164 and four columns drivers of 74HC595 to drive the LED. The design uses 8 piece of 8 × 8 dot matrix LED display module to form a piece of 32 × 16 dot matrix LED display mode. Full screen can display two characters. Using dynamic display to display a variety of text, monochrome images, graphics or text, can be achieved quiescence, moving in and out and so on by various ways.
This paper designs the hardware of LED dot matrix display and provides various parts of the hardware circuit and the principle functions including the system of specific hardware design, software flowcharts and series c language program. To be displayed character font code is stored in a storage space. The microcontroller by reading the font and make the appropriate treatment to display the character on dot matrix screen in different ways. LED display is mainly used for indoor and outdoor displayin
文档评论(0)