基于单片机的Led点阵广告牌设计
【摘要】本设计使用AT89C51系列高速单片机作为主控制模块,利用简单的外围电路来驱动64×16
的点阵LED显示屏。利用AT89C51系列高速单片机本身强大的功能,可以很方便的实现单片机与PC机间的数据传输及存储,并能利用软件方便的进行显示内容的多样变化,另一方面点阵显示屏广泛的应用于医院、机场、银行等公共场所,所以本设计具有很强的现实应用性。本LED显示屏能够以动态扫描的方式同时显示4个16×点阵汉字,16并能通过上位机软件修改显示内容和显示效果等等。把字符内码存储在空闲的单片机程序存储器空间,使本LED显示系统能掉电存储1024个字符。设计中采用了SPI接口的GB2312标准字库,支持所有的国标字符和ASCII标准字符的显示。因为采用串行传输方式,使本系统的可扩展性得到提升,便于多个显示单元的级联。本文从LED的显示原理入手,详细阐述了LED动态显示的过程,以及硬件电路的设计、计算和软件的算法。
【关键词】动态显示;单片机;点阵字库
Leddotmatrixbasedo
si
glechipdesig
billboards
WEIJiaFe
g
Shaa
xiI
stituteofTech
ologyComputerScie
cea
dTech
ologyDepartme
tofComputerScie
cea
dTech
ology061classShaa
xiHa
zho
g723001
I
structorLIJia
Zho
g
AbstractThisdesig
usesSTC12CseriesMCUasamai
co
trollera
ddepe
dso
asimpleexter
al
circuittodrive96×thelatticeLEDdisplayByusi
gitsow
powerfulfu
ctio
sa
dcapacityofi
ter
al16E2PROMitiseasytoaccomplishtheMCUa
dPCa
dE2PROMfori
ter
alstoragedatatra
smissio
equipme
ta
ditalsoca
beusedco
ve
ie
tlytoshowavarietyofco
te
tcha
gesTheotherdotmatrixdisplayiswidelyusedi
hospitalsairportsba
ksa
dotherpublicplacesThereforethedesig
hasastro
gpracticalapplicatio
TheLEDDisplaydy
amicsca
ca
showthewayatthesametimesix16×16dotmatrixChi
esecharactersa
dPCsoftwareca
modifytheco
te
ta
deffectshowsa
dsoo
IAPusedi
theapplicatio
ofprogrammabletech
ologythecharacterswithi
thecodestoredi
theSCMfreeprogrammemoryspacesothattheLEDdisplaysystemca
store1024brow
outcharactersSPIusedi
thedesig
ofthei
terfacesta
dardGB2312charactertosupportalltheGB2312sta
dardASCIIcharactersa
dcharactersoftheshowBecauseserialtra
smissio
usedsothatthesystemca
bee
ha
cedscalabilityfora
umberofdisplayu
itsofthecascadeThisarticlefromthestartLEDdisplaypri
cipleelaboratedo
theLEDdisplaydy
amicprocessaswellashardwarecircuitdesig
computi
ga
dsoftwarealgorithms
KeyWords
MCU;SerialDataTra
sfer;LlatticeLlibrary
目录1LED概述r