公交车语音报站系统的设计TheDesignoftheBusStopAnnouncementSystem摘要随着国民经济的快速发展,我国城市人口高度集中并大幅增长,交通需求不断扩大导致城市道路交通拥挤,乘坐公交车出行是解决我国城市交通发展问题和实践低碳环保绿色出行的有效途径,随着近年来城市公交事业迅速发展,之前靠售票员报站的方式已经不能满足实际需要,在到站后能够及时报站的公交车语音报站系统不但能解决这个实际问题也有助于提高公交服务质量。本设计介绍了基于单片机的公交车语音报站系统的设计,对系统软件设计和硬件实现进行了详细的描述,主要内容是用STC89C52单片机为核心控制元件,ISD4004语音芯片为录音模块,以液晶屏为显示模块,以独立按键K1、K2为输入设备,扬声器为语音输出设备,设计一个带语音报站和液晶显示功能的公交车报站系统。先将语音内容通过录音键录入语音芯片中,当按下放音键时,语音模块进行放音同时通过液晶屏显示对应的文字信息。本系统运行稳定,硬件电路简单,软件功能完善,控制系统可靠,具有一定的实用和参考价值。关键词:单片机语音提示液晶屏公交报站AbstractWiththetake-offofthenationaleconomy,China'surbanpopulationisremarkablyexploding.Theincreasingdemandfortransportsgivesrisetotrafficcongestioninurbanareas.Therefore,publicbussystemisnotonlyanefficientwaytosolvetheproblemoftrafficcongestionbutawaytoputthe“Low-CarbonTransportation”intoofdate.Therecentdevelopmentofpublictransportationrequiresaphoneticsystemwhichcanautomaticallyannouncebusstations.Theadvancedsystemisconducivetosolvingmanyproblemsandimprovingservicequalityintransportation.ThispaperintroducestheautomaticstopannouncerbasedonSTC89C52andaimstoexplicitlydescribethesoftwareandhardwareappliedinthesystem.ThemainfeaturesofthesystemarethatSTC89C52isusedforcorecontrollingcomponents,ISD4004pronunciationchipforrecording,LCD12864screenforvideodisplays,independentkeyK1andK2forinputdevice,loudspeakerforoutputdevice.Thisisdesignedforastopannouncementanddisplaysystemforbuses.Thevoicemessageisrecordedinthepronunciationchipinadvance.Whenthe“Play”keyispressed,thevoiceofstationannouncementsimultaneouslyappearswiththeinformationonthescreen.Thissystemenjoystheadvantageofstability,simplicityandreliability.Thefull-featuredsystemisanidealmodelandiseasilyputintouse.Keywords:MicrocontrollerVoicepromptLCDscreenBusstopannouncerI目录第1章绪论··········································································································11.1课题研究的背景·····························································································11.2课题研究的意义·····························································································11.3课题研究的主要内容·······················································································1第2章系统总体设计方案························································································32.1功能要求······································································································32.2设计思路······································································································32.3方案选择······································································································32.3.1显示模块选择方案·····················································································32.3.2按键选择方案···························································································42.3.3芯片选择方案···························································································42.4总体设计框图··································································································5第3章系统硬件设计······························································································63.1概述············································································································63.2主控模块······································································································63.2.1STC89C52芯片的简介················································································63.2.2主控模块电路原理图··················································································93.3语音芯片模块································································································93.3.1ISD4004芯片简介·····················································································93.3.2LM386芯片简介·····················································································133.3.3语音芯片模块电路原理图··········································································153.4LCD液晶显示模块························································································153.4.1组成结构·······························································································163.4.2引脚功能·······························································································163.5按键控制模块······························································································173.5.1按键控制模块电路原理图··········································································18第4章系统软件设计····························································································194.1录音模块设计······························································································204.2放音模块设计······························································································204.3显示模块设计······························································································214.4键盘扫描模块设计························································································22第5章系统分析与调试······················································