摘要公交车自动报站系统的硬件设计原理摘要本文介绍了一种的公交车自动报站系统的硬件设计原理,提供了一种以AT89C52单片机为核心,控制大屏幕LED点阵显示的硬件设计方案。系统主要通过AT89C52单片机做为系统CPU,处理包括键盘输入和LED显示屏显示站名的所有信号处理。系统扫描到有键按下,判键确定后给CPU一个脉冲信号,然后CPU处理信号,确定所到站的站名,再通过扫描驱动从LED显示屏上显示出所到站的站名。达到半自动报站的作用。整个系统硬件设计包括键盘电路、复位电路、显示驱动电路、显示电路、内存扩展电路模块。其中显示模块是本系统的重点。本系统很大程度上提高公交车报站的准确性,可靠性。提高了公交系统的服务质量。促进城市经济发展和交通变化的和谐发展。关键词:AT89C52单片机;LED点阵;AT24C64;自动报站;ABSTRACTTheDesignofAutomaticBusStation-InformerThisarticleintroducesanewmethdetodesignthebus-stopreportingsystem。Itprovidesanewscheme,whichisbasedAT89C52microcomputer,tocontrolthedisplayoftheLEDlattice。ThesystemmainlythroughAT89C52asthecoresystem,controlskeyboard’sinputandLED’sdisplay.Theentiresystemthroughmanualoperationafterreceivingthekeystoasystemscanbuttonpress,Keysubcontractorsthatdeterminedasignaltothemicrocontroller,thenthemicro-processingofsignalsfromtheaccruedvalueaddedtodeterminethereliabilityofstationnames.DrivingthroughthescanningfromtheLEDdisplaybythearrivalstationnames.Reachedsemi-automaticstationsrole.Theentiresystemincludessomemodules;forexample,thekeysubcontractors,thesignalinputmicrocontroller,signalprocessing,LEDDriversandLEDdisplayprogram.LEDdisplayisthefocusofthesystem.Thesystemcangreatlyenhancebusstationsaccuracy,andimprovethequalityofserviceofthetransportationsystem.Itwillpromotethecity'seconomicdevelopmentandtheharmoniousdevelopmentoftraffic.Keywords:AT89C52chipmicrocomputer;LEDlattice;reportingsystem;AT24C64;目录1目录第一章............................................................................................................................11.1绪论...............................................................................................................11.2研究前景及国内外的现有水平...................................................................21.3课题论述与方案确定...................................................................................21.3.1课题任务及设计要求........................................................................21.3.3方案的论述与确定............................................................................3第二章系统硬件设计................................................................................................72.1单片机的选择和外围电路的设计.............................................................72.1.1外部晶振的选用................................................................................72.1.2复位电路............................................................................................82.2按键电路的设计.............................................................................................82.2.1判键及其接口电路设计......................................................................92.2.2键盘的工作方式................................................................................102.3显示及驱动电路的设计.............................................................................102.3.1显示电路设计..................................................................................102.3.2显示驱动电路设计..........................................................................112.4数据存储器的设计.....................................................................................152.4.1内存扩展电路..................................................................................162.4.2存储器的组织以及运行分析..........................................................162.5串行通信电路的设计.................................................................................18第三章软件设计......................................................................................................213.1串口通信软件的设计.................................................................................213.1.1下位机串行通信.............................................................................213.1.2内存读写程序的设计.....................................................................22第四章总结..............................................................................................................244.1系统功能完善........................................................................................................244.1.1语音控制模块的设计.....................................................................224.1.2抗干扰措施.....................................................................................224.2设计心得..................................................................................................25致谢..........................................................................................................................26参考文献......................................................................................................................27附录..........................................................................................................................28太原理工大学毕业论文第一章1第一章随着科技的不断进步,人们对事物的认知程度已经得到了广泛的提升,在实际生活中,大家都希望能使用简便、智能、人性化的产品。在公交车自动报站方面,由于我国现状,人口众多,口音复杂,对于乘客而言,原来的人工报站存在着很多的问题。为了跟随科技发展,提高公交系统的服务质量,提升城市形象。开发一种能够节省人力和物力,而又能让乘客方便快捷的知道站台报站器就成为一种必然。因此本次毕业设计中提出一个以AT89C52单片机为核心,用LED显示屏显示站名的即经济、高效、直观的公交车到站自动报站系统。1.1绪论随着国民经济的快速发展,城市建设规模不断扩大,大城市人口高度集中并大幅度增长,同时汽车保有量急剧上升,交通需求迅速扩大,而道路交通基础设施建设的发展则相对滞后。城市交通需求与供给之间的矛盾越来越突出,城市“乘车难”、“行车难”的局面在加剧,交通阻塞呈现出点到线、由线到面