含上位机传输的LED显示屏设计与实现

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

辽宁科技大学毕业设计(论文)第I页含上位机传输的LED显示屏设计与实现摘要本设计是一个含有PC机为上位机的16×16点阵LED电子显示屏的设计。LED以其组装方式灵活、显示稳定、功耗低、寿命长、成本低廉等特点在车站、证券所、运动场馆、交通干道及各种场合的信息发布,公益宣传等得到广泛的应用。此设计是用美国ATMEL公司生产的40脚的单片机AT89S51为核心,介绍了它的自身特点以及相比其他单片机的优势所在,还有阐述了控制系统的LED点阵电子显示屏的动态扫描设计和硬件、软件开发原理流程。主要实现方式是,通过该芯片控制一个行驱动器74HC154和两个列驱动器74HC595来驱动显示屏显示。该电子显示屏可以显示各种文字或单色图像,LED显示屏采用4块8×8点阵LED显示模块,来组成16×16点阵显示模式全屏能显示1个汉字,全屏可显示一个汉字。显示采用动态扫描显示,使得图形或文字能够实现静止、移入移出等多种显示方式。并通过上位机PC机,来传输文字的录入,使其更加灵活可控和可再利用等功能。文中详细介绍了LED点阵显示的硬件设计思路、硬件电路各个部分的功能及原理、相应软件的程序设计,以及使用说明等。单片机控制系统程序采用单片机C语言进行编辑,通过编程控制各显示点对应LED阳极和阴极端的电平变换,就可以有效的控制各显示点的亮灭。所显示字符的点阵数据可以自行编写,也可从标准字库中提取。然后通过PC机软件VC++和与单片机之间的协议RS-232进行通信。经实践证明,该系统显示误差小,性能稳定,结构合理,扩展能力强。关键词LED显示屏;AT89S51单片机;RS-232通信协议;点阵屏汉字显示辽宁科技大学毕业设计(论文)第II页AbstractThisdesignisoneincludesPCmachineforthesuperiormachine16×16thelatticeLEDelectrondisplaymonitor'sdesign.LEDisnimblebyitsassemblyway,thedemonstrationisstable,thepowerlossislow,thelifeislong,thecostinexpensiveandsooncharacteristicsinthestation,thenegotiablesecurities,themovementfacility,thetransportationyangormaleprincipleandeachkindofsituation'sinformationissued,thepublicwelfarepropagandaandsoonobtainsthewidespreadapplication.Thisdesignis40foot'smonolithicintegratedcircuitAT89S51whichproduceswithAmericanATMELCorporationisacore,introduceditsowncharacteristicaswellascomparesothermonolithicintegratedcircuit'ssuperioritytobe,butalsohadelaboratedcontrolsystem'sLEDlatticeelectrondisplaymonitor'sdynamicscanningdesignandthehardware,thesoftwaredevelopmentprincipleflow.Mainlyrealizesthewayis,controlsgooddriver74HC154andtworowdriver74HC595throughthischipactuatesthedisplaymonitordemonstration.Thiselectronicdisplaymonitormaydemonstratethateachkindoflanguageorthemonochromepicture,theLEDdisplaymonitoruses48×8latticeLEDdisplaymodule,composes16×16thelatticedisplaymodeentirescreentobeabletodemonstratethat1Chinesecharacter,theentirescreenmaydemonstrateaChinesecharacter.Thedemonstrationusesthedynamicscanningtodemonstratethatcausesthegraphorthewritingcanrealizestatic,movesintheemigrationandsoonmanykindsofdisplaymodes.AndthroughsuperiormachinePCmachine,transmitsthewritinginput,causesitmorenimblecontrollableandmayuseandsoonfunctionsagain.InthearticleintroducedtheLEDlatticedemonstrationhardwaredesignmentality,hardwarecircuiteachpartoffunctionsandtheprinciple,thecorrespondingsoftware'sprogrammingindetail,aswellasoperatinginstructionsandsoon.ThemonolithicintegratedcircuitcontrolsystemprocedureusesthemonolithicintegratedcircuitClanguagetocarryontheedition,controlseachdemonstrationpointcorrespondenceLEDanodeandthecloudyviolentleveltransformationthroughthe辽宁科技大学毕业设计(论文)第III页programming,mayeffectivecontroleachdemonstrationextinguishbrightly.Demonstratedthatthecharacterthelatticedatamaycompilevoluntarily,mayalsowithdrawfromthestandardfonts.ThensoftwareVC++andcarriesonthecorrespondencethroughPCmachinewithmonolithicintegratedcircuit'sbetweenagreementRS-232.Provedafterthepracticethatthissystemdisplayerrorissmall,thestableproperty,thestructureisreasonable,expansionability.KeywordLEDDisplayMonitor;AT89S51MonolithicIntegratedCircuit;RS-232CommunicationProtocol;LatticescreenChineseCharacterDemonstration辽宁科技大学毕业设计(论文)第IV页目录摘要............................................................................................................................IAbstract.................................................................................................................................II第1章绪论.....................................................................................................................11.1LED显示屏研究的背景及意义.............................................................................11.2LED显示屏发展现状与发展趋势.........................................................................11.2.1我国LED显示屏发展现状.........................................................................11.2.2我国LED显示屏发展趋势.........................................................................21.3MCS-51系列单片机简介.......................................................................................21.3.1单片机的发展历史简介................................................................................21.3.2MCS-51系列单片机及其特点.....................................................................31.4论文主要内容.........................................................................................................31.4.1功能要求........................................................................................................31.4.2针对设计题目的特点,本人对论文的内容和结构将做如下安排:........3第2章方案论证与选择.....................................................................................................52.1硬件系统方案.........................................................................................................52.1.1点阵显示屏的串行扫描与动态扫描...........................................................52.1.2单机工作与上位机控制显示屏...................................................................62.1.3含上位机的硬件电路设计...........................................................................62.1.4PC上位机通信系统电路................................

1 / 48
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功