摘要:本次设计是以STC12C5A60S2单片机为控制核心,控制2个16*16LED点阵显示屏。本文主要介绍了STC12C5A60S2通过74HC164控制点阵显示屏的行信号,以及通过74HC595控制点阵显示屏的列信号来使得LED点阵显示屏可以显示各种文字、图像等。文中详细介绍了LED点阵和STC12C5A60S2单片机外围硬件电路设计以及相应各个模块的功能、软件设计等。本系统具有结构简单、环境适应性好、可级联等特点。
关键词:STC12C5A60S2单片机; LED点阵显示屏; 74HC164; 74HC595; 级联
Abstract:This design is with the STC12C5A60S2 MCU (Micro programmed Controller Unit) at the core, by which the 2 16*16 lattice LED could be working. The paper mainly introduce how LED dot matrix display screen could show a piece of words or images and so on controlled row to row by 74HC164 and controlled column to column by 74HC595, and them controlled by STC12C5A60S2 MCU. This paper describes the hardware design of STC12C5A60S2 MCU peripheral circuits and LED dot matrix and the functions of all kinds of the circuit, the software design and so on. The system has the characteristics of structure simple, environment adaptive flexibly and cascaded.
Key words: STC12C5A60S2 MCU; LED dot matrix display screen; cascaded; 74HC164; 74HC595