辽宁科技大学本科生毕业设计第I页公交车语音报站系统摘要公共汽车成为城市人们出行的必备选择,然而,并不是每个人都熟悉所乘公交车的路线、站点。所以乘客所面临的问题就是如何能够在正确的车站下车。最好的解决的办法就是利用公交车语音报站系统提示乘客。本文设计一个在按键报站系统上改进的语音报站系统,为乘客提供人性化的报站服务。该设计是基于GPS模块和AT89S51单片机设计的自动语音报站系统。AT89S51单片机通过串口与GPS模块通信,确认公交车进站、停站、出站等状态,根据程序播报站点信息,从而达到自动报站、预报站等目的。此外通过分析GPS数据包,可解析出当前时间信息,可把时间显示在液晶屏幕上。本文在设计的过程中给出了硬件电路的设计方案、硬件控制方法、主要软件设计流程。本设计解决了以往公交车报站系统人工操作不便、误报站多等问题。关键字:AT89S51单片机;GPS;自动语音报站辽宁科技大学本科生毕业设计第II页Bus-stopAnnouncementSystemAbstractBusesareessentialforpeopletotravelinthecity.However,noteveryoneisfamiliarwithalltheroutesandbusstations.Therefore,theproblemfacedbypassengersishowtogetoffattherightstation.Thebestsolutionistousethebusstopannouncementsystemtoremindpassengers.Thispaperdesignsabusstopannouncementsystemimprovedfromthestopannouncementwhichoperatedwiththekeyboard,sothatthesystemcanprovidepassengerswithcustomizedservice.ThedesigndesignsanautomaticstopannouncementsystembasedontheGPSmoduleandtheAT89S51microcontroller.TheAT89S51microcontrollercommunicateswiththeGPSmodulebytheSerialInterface,toconfirmthestatus,suchasclosingtothestation,stoppingorleavingthestation.Thenthesystembroadcaststhestationinformationaccordingtotheprogram.Soastoachievethepurposethatautomaticbroadcaststationsandforecaststations.Inaddition,thecurrenttimecanbedisplayedontheLCDthroughanalyzingthedatafromtheGPSmodule.Inthispaper,wewillgivethehardwaredesignscheme,thecontrolmethodandthemainsoftwaredesignprocess.Theembarrassmentthatmanualbroadcaststationsandthemistakeinthebroadcaststationcanbesolveinthisdesign.Keywords:AT89S51microcontroller;GPS;Stopannouncementsystem辽宁科技大学本科生毕业设计第III页目录1绪论......................................................................................................................................11.1选题背景.........................................................................................................................11.2GPS在国内外的发展状况..............................................................................................11.3GPS在国内的发展..........................................................................................................11.4本课题的设计思路.........................................................................................................22硬件电路的设计...............................................................................................................42.1微控制器.........................................................................................................................42.1.1主要性能特点...........................................................................................................42.1.2复位电路...................................................................................................................42.1.3晶振电路...................................................................................................................42.2语音芯片接口设计.........................................................................................................62.2.1语音芯片接口设计电路图.......................................................................................62.2.2语音芯片的简介.......................................................................................................62.2.3ISD2560的引脚配置................................................................................................72.2.4ISD2560的操作模式................................................................................................72.2.5M6模式下的录放步骤.............................................................................................82.2.6用单片机控制ISD2560的方法..............................................................................92.3LCD显示接口设计.........................................................................................................92.3.112864LCD主要技术参数和显示特性...................................................................102.3.2模块引脚说明.........................................................................................................102.3.3控制器接口信号说明.............................................................................................102.4GPS接收模块................................................................................................................122.4.1GPS简介..................................................................................................................122.4.2GPS输入输出语句说明..........................................................................................122.4.3GPS接收模块的选择..............................................................................................122.4.4GPS接口电路模块..................................................................................................132.4.5GPS接口电路用于公交自动报站的实现方式......................................................132.5键盘接口设计...............................................................................................................132.5.1键盘接口与单片机连接的电路.............................................................................132.5.2MAX6959简介..............................................................................