摘 要:根据国内现状,公交车是大部分人出门必须的交通工具,目前公交车普遍采用司机手动切换报站方法,不仅增加了司机的劳动强度,效率低下,而且会造成误报或漏报,导致乘客误下或漏下,对于公交运营产生了很大负面影响,更会对乘客造成很多不必要的影响。为此,研究公交车自动报站系统是非常必要的。57709
所以本课题研究的是基于AT89C52的公交车自动报站系统,当公交车到达某站点,通过红外线遥控触发系统工作,实现公交车的语音自动报站,通过语音电路输出语音信息和提示,LCD液晶显示器同时显示时间,该系统在公交车到站前语音报站,并且有LED数码管显示信息.该公交车报站器结构简单,使用灵活,功能稳定,音质自然、清晰。
Abstract:The public transportation has already became the general wage race and the student race went out must the transportation vehicle. The system hardware using STC89C52 as the CPU for overall control, the establishment by ISD4004 voice chip voice information database, and a free combination of voice information to form a perse voice message, voice message broadcast using LM386 amplifier and voice prompts. The system software uses the C programming language software keilC51, the system to achieve the LCD display, ISD4004 voice broadcast, infrared control program such as interrupt service routine, the procedure to go through the serial port writes STC89C52, repeated testing,to make the system perfect.While the use the keyboard to control the system work, Or by infrared remote trigger system work,the output voice information through voice circuits and tips, LCD simultaneously shows time, temperature Information, real time clock chip DS1302 used to obtain time information by manual keyboard, voice broadcast address recognition, driving speaker broadcast station name, Temperature using temperature sensor chip DS18B20 to obtain temperature information, and then processing through the MCU out of the liquid crystal displays. The bus-stop device structure is simple, flexible, functional stability, and sound natural, regardless of social or scientific research has some value.
Keyword: Bus, LCD, MCU
目 录
1 前言 4
2 系统具体方案的实施 4
2.1 系统设计方案 5
2.2系统硬件选择 6
2.2.1 LCD液晶显示模块方案选择 6
2.2.2 语音芯片方案选择 6
2.2.3 实时时钟电路的方案选择 7
3 系统的硬件设计电路及元件说明 7
3.1 MCU微控制器 9
3.2 LCD液晶显示电路 9
3.3 语音芯片电路 10
3.4 功放电路 11
3.5 红外线控制电路 12
3.6 实时时钟电路 13
3.7 晶振电路 14
3.8 系统电源供电电路 14
4 系统的软件设计 15
4.1 中断服务程序 15
4.2 红外遥控解码程序 16
4.3 主程序设计 20
结 论 24
参考文献 25
致 谢 AT89C52单片机公交车自动报站系统设计:http://www.751com.cn/zidonghua/lunwen_62531.html