湖南工业职业技术学院HunanIndustryPolytechnic毕业实践类别:工程实训题目:LED电子显示屏的设计系名称:电气工程系专业及班级:电气自动化技术电气S2008-2学生姓名:戴宏民学号:27号指导老师:彭志刚完成时间2010年月日1摘要LED点阵显示屏作为一种新兴的显示器件,是由多个独立的LED发光二极管封装而成.LED点阵显示屏可以显示数字或符号,通常用来显示时间、速度、系统状态等。本设计是4个16×16点阵LED电子显示屏的设计。整机以美国ATMEL公司生产的40脚单片机AT89C51为核心,介绍了以它为控制系统的LED点阵电子显示屏的动态设计和开发过程。通过该芯片控制一个行驱动器74LS154和八个列驱动器74HC595来驱动显示屏显示。该电子显示屏可以显示各种文字或单色图像,全屏能显示4个汉字,采用16块8x8点阵LED显示模块来组成4个16x16点阵显示模式。显示采用动态显示,使得图形或文字能够实现静止、移入移出等多种显示方式。文中详细介绍了LED点阵显示的硬件设计思路、硬件电路各个部分的功能及原理、相应软件的程序设计,以及使用说明等。关键词:AT89C51单片机LED点阵显示动态显示2AbstractAsapopulardisplaydevicecomponent,LEDdot-matrixdisplayboardconsistsofseveralindependentLED(LightEmittingDiode).TheLEDdot-matrixdisplayboardcandisplaythenumberorsign,anditisusuallyusedtoshowtime,speed,thestateofsystemetc.Thisdesignis416×16latticeLEDelectrondisplaymonitordesign.Thewholeequipmentiswiththe40-pinAT89C51MCU(MicroControllerUnit)producedbytheAmericanATMELcompanyatthecore,introducedtakeitasthecontrolsystemLEDlatticeelectrondisplaymonitordynamicdesignandthedevelopmentprocess.Controlsgooddriver74LS154andeightrowdriver74HC595throughthischipactuatesthedisplaymonitordemonstration.Theelectronicscreencanshowallkindsofwrittenormonochromeimages,onefullscreendisplayChinesecharacters,sixteenpiecesof8x8dot-matrixLEDdisplaymodulestoformthe16x16dotmatrixdisplaymode.Showdynamicshowthatmakesstaticgraphicortextcanbeachieved,shiftedoutofvariousformats.ThispaperdescribesthehardwaredesignoftheLEDdotmatrixdisplay,andtheprinciplefunctionofthevariouspartsofthecircuit,thecorrespondingsoftwareprogramdesignandtheuseofsomesuch.Keywords:AT89C51MicroControllerUnit;LED;LatticeDisplay;DynamicDisplay3目录摘要....................................................................2Abstract..................................................................3第一章绪论...............................................................51.1问题提出...........................................................51.2课题背景...........................................................6第二章功能要求及方案论证.................................................72.1功能要求...........................................................72.2显示模块方案论证...................................................72.3数据传输方案论证...................................................9第三章系统硬件电路的设计................................................113.1单片机系统及外围电路..............................................113.2列驱动电路........................................................133.3行驱动器..........................................................153.4元件清单..........................................................17第四章系统程序的设计....................................................194.1显示驱动程序......................................................194.2系统主程序........................................................21第五章调试及性能分析...................................................275.1开发环境介绍....