摘要I摘要LED点阵显示屏作为一种新兴的显示器件,是由多个独立的LED发光二极管封装而成.LED点阵显示屏可以显示数字或符号,通常用来显示时间、速度、系统状态等。本设计是16×64点阵LED电子课程表显示屏的设计。整机以美国ATMEL公司生产的40脚单片机AT89C51为核心,介绍了以它为控制系统的LED点阵电子显示屏的动态设计和开发过程。通过该芯片控制一个行驱动器74LS154和八个列驱动器74HC595来驱动显示屏显示。该电子显示屏可以显示各种文字或单色图像,全屏能显示4个汉字,采用16块8x8点阵LED显示模块来组成4个16x16点阵显示模式。显示采用动态显示,使得图形或文字能够实现静止、移入移出等多种显示方式。文中详细介绍了LED点阵显示的硬件设计思路、硬件电路各个部分的功能及原理、相应软件的程序设计,以及使用说明等。关键词:AT89C52单片机;LED点阵显示;4*4键盘;LCD1602ABSTRACTIIABSTRACTLEDdotmatrixdisplayasanewdisplaydeviceiscomposedofmultipleindependentLEDlightemittingdiodepackagetogether.LEDdotmatrixdisplaycandisplaynumbersorsymbols,usuallyusedtodisplaytime,speed,systemstatus,andsoon.Thisdesignis16×64dotmatrixLEDdisplaydesign.OveralltheUnitedStatesproduced40feetATMELAT89C51microcontrollerasthecore,introducedtoitastheelectroniccontrolsystemofLEDdotmatrixdisplaydynamicdesignanddevelopmentprocess.Withthischiptocontrolarowandeightdrivecolumndriver74LS15474HC595todrivethedisplay.Theelectronicdisplaycandisplayavarietyoftextormonochromeimages,full-screencandisplayfourcharacters,use168x8dotmatrixLEDdisplaymoduletoformfour16x16dotmatrixdisplaymode.Displaywithdynamicdisplay,makingthegraphicsortexttoachievestationary,movedoutoftheotherdisplay.ThispaperdescribesthehardwareofLEDdotmatrixdisplaydesignideas,thehardwarecircuitandtheprinciplefunctionsofvariousparts,correspondingsoftwareprogramdesign,andtheuseofdescriptions.Keywords:AT89C52microcontroller;LEDdotmatrixdisplay;4*4keyboard,LCD1602目录III目录摘要································································································IABSTRACT·······················································································II目录······························································································III第一章绪论························································································11.1研究背景及意义..............................................................................................11.2国内外的发展现状、发展趋势及存在的主要问题......................................21.3本文研究内容..................................................................................................4第二章功能要求及方案论证···································································52.1功能要求..........................................................................................................52.2系统硬件方案选择..........................................................................................52.2.1LED显示屏模块方案论证...................................................................52.2.2数据传输方案论证................................................................................72.2.3电源模块方案论证................................................................................82.2.4控制部分方案选择..............................................................................102.2.5时钟显示模块方案论证......................................................................102.2.6最终确定硬件设计方案....................................................................122.3系统软件方案选择........................................................................................132.3.1单片机编程语言选择........................................................................132.3.2系统软件编译工具选择......................................................................14第三章系统硬件设计··········································································153.1硬件整体设计概述........................................................................................153.2稳压电路........................................................................................................153.2.15V稳压电源原理..............................................................................153.2.2稳压电源技术指标............................................................................173.3单片机系统及外围电路................................................................................173.3.1单片机的选择......................................................................................173.3.2AT89C52芯片介绍..............................................................................183.3.3单片机系统外围电路..........................................................................213.4列驱动电路....................................................................................................223.4.174HC595芯片简介............................................................................223.4.2列驱动电路的构成............................................................................243.5行驱动电路....................................................................................................243.5.1行驱动芯片74HC154介绍................................................................24目录IV3.5.2行驱动电路..........................................................................................253.6LED显示屏电路............................................................................................263.74*4键盘电路..................................................................................................283.8LCD1602液晶电路........................................................................................29第四章系统软