您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 酒店餐饮 > 基于单片机的LED点阵显示系统的设计
本科毕业论文(设计)题目:基于单片机的LED点阵显示系统的设计专业:机电一体化姓名:郑世杰学号:130103413指导教师:山之魂职称:讲师毕业时间:二零一六年六月I基于单片机的LED点阵显示系统的设计摘要:本文是一款以单片机STC89C51为控制器的LED点阵显示屏系统的设计。该系统选用四块8×8点阵模块构建一个16×16的LED点阵屏,可实现中英文字符的显示及其动态特效显示。选定STC89C51单片机为核心控制器件,74LS164为译码电路,三极管8550和74HC595做行和列驱动。STC89C51单片机处理控制命令以及显示代码,将显示内容通过I/O口串行输出并且控制译码电路完成串并转换并行输出,最后由显示驱动电路模块驱动LED点阵显示屏的扫描显示。由于制作简单,电子显示屏安装方便,成本低,广泛用于各种公共场所,如车站,广告画面和公告栏等。LED点阵电子显示屏,其功能有固定汉字、字母、数字的显示;平行左移、平行右移、上移、下移;固定内容的循环显示;显示屏的亮度调节等等。关键词:STC89C51;74HC595;74LS164;16*16点阵;LEDIISystemdesignofLEDdotmatrixdisplaybasedonMCUAbstract:ThisisaLEDdotmatrixdisplaysystemcontrollerbasedonthesinglechipSTC89C51design.Thissystemadoptsfourpiecesof8x8dotmatrixmoduletoconstructa16x16LEDdotmatrixdisplayscreen,andcanrealizethedynamiceffectsofEnglishcharactersoftheshow.TheselectedSTC89C51microcontrollerasthecorecontroldevice,74LS164asthedecodingcircuit,atriode8550and74HC595astherowandcolumndriver.STC89C51single-chipprocessingofcontrolcommandsanddisplaysthecode,willdisplaythecontentthroughI/Oserialoutputandcontroldecodingcircuittocompletestringconversionandparalleloutput,andfinallybythedisplaydrivingcircuitmoduledriverLEDdotmatrixdisplayscanningdisplay.Becauseofthesimple,electronicdisplayscreen,convenientinstallation,lowcost,widelyusedinvariouspublicplaces,suchasthestation,theadvertisementpictureandbulletin.LEDdotmatrixdisplay,itsfunctionisfixedChinesecharacters,letters,digitaldisplay;parallelshiftleft,right,up,downparallel;fixedcontentdisplay;thedisplaybrightnessadjustmentetc..Keywords:STC89C51;74HC595;74LS164;16*16dotarray;LEDIII目录1.引言.....................................................................................................................................12.方案选择.............................................................................................................................12.1系统硬件方案...........................................................................................................12.1.1通信系统........................................................................................................22.1.2硬件设计方案................................................................................................22.2系统软件方案...........................................................................................................23.硬件整体设计概述及功能分析.........................................................................................33.1控制单元设计.........................................................................................................33.1.1控制系统设计................................................................................................43.2串并转换器74LS164...............................................................................................43.3驱动电路设计...........................................................................................................53.3.1行驱动电路设计............................................................................................53.3.2列驱动电路设计............................................................................................53.4通信系统硬件设计.................................................................................................63.5电源设计.................................................................................................................74.系统软件设计.....................................................................................................................74.1程序设计...................................................................................................................74.2显示程序的设计.....................................................................................................84.2.1点阵数据表达方式......................................................................................84.2.2显示程序的流程图......................................................................................85.系统调试.............................................................................................................................95.1硬件调试...................................................................................................................95.2软件调试...................................................................................................................96.结束语...............................................................................................................................10参考文献................................................................................................................................11谢辞........................................................................................................................................12附录1程序清单...................................................................................................................13附录2系统原理图...............................................................................................................18附录3实物图.......................................................................................................................2011.引言LED显示屏是八十年代后期
本文标题:基于单片机的LED点阵显示系统的设计
链接地址:https://www.777doc.com/doc-2535876 .html