密级:公开 基于单片机的遥控公交车报站系统
The System of Distant Control Bus
Station Based on Single Chip Controller
学 院:信息科学与工程学院 专 业 班 级:电子信息工程1102班 学 号: ********* 学 生 姓 名: **
指 导 教 师: *** (工程师 )
2015年 6 月
I
摘 要
随着科学技术的发展和时代的进步,公交车在日益成为城市交通中一道亮丽的风景时,为外出的人们提供了方便快捷的服务。但是,随着我国各大城市公交公司的人员精减,每辆公交车上只配备了一个司机,并进行无人售票,这对公交运输提出更高的要求。为了保证公交系统的服务质量,有必要对自动化的公交语音报站系进行进一步的完善。
因而,无人售票公交车在街头多起来了,语音报站器也被广泛使用,这在相当大的程度上免除了乘务人员沿途报站的麻烦,给许多不熟悉公交线路的乘客带来了方便。公共汽车为外出的人们提供了方便快捷的服务,而公共汽车的报站则直接影响服务的质量.
毕业设计是理工专业毕业测试的特色,旨在将专业技术与实际社会需求相结合。为了能体现毕业设计这一追求目标,本次设计的题目被定为“基于单片机的遥控公交车报站系统”,设计的技术难度适中,技术覆盖面广,涉及了单片机并行通信、中断、定时技术以及数模转换等多项功能。
经过市面上各个相似产品的比对,遥控模块选用了最为常见的红外接收头1838和车载mp3遥控器。语音模块中,ISD1700语音模块凭借着拥有简洁易操作的独立工作模式,成为了本次设计的首选。显示模块选择的是12864液晶显示模块。本次设计的原理图是在 Altium Designer Summer 09中绘制而成的。在反复多次的软件调试和现场实践检测下,经过一个学期的努力,报站系统达到了研究设计要求,成功完成了预期设计目标。
关键词:公交车报站;红外线遥控;ISD1700;12864;
II
Abstract
The design of graduate is an special character of science and engineer specialty ,which point to test ability of graduate. The design of graduate is an special character of science and engineer specialty ,which point to test ability of graduate. I have chosen the system of distant control bus station as my theme.
To finish perfectly this design seems to be a excellent chance contributing to our ability using technology of MCU. During the early period of preparation ,I take efforts looking up a considerate amount of information that is relevant to my theme. Having compared several similar product, 1838 and Infrared remote controller took part in my design. I the module of voice,ISD1700 become a primary choose ,because of its the module of independent work of a brilliant feature. The module of display consists of one 12864.Therefore ,the primary task is finished.
After the primary task finished ,a deeper research and discussion start to put on agenda .Continuing along this path ,it’s necessary to check out every part of system ,which make sure a normal trace the system must conform with .For a full preparation at the early period, the system of Remote control bus station luckily comes into reality.
At last , The software of Altium Designer Summer 09 provides with methods of making the Schematic diagram.This paper of text introduces the whole part of process with illustration of relevant information.
Keywords: the system of bus station; distant control;ISD1700;12864;
III
目 录
摘 要 ................................................................................................................................... II Abstract ..................................................................................................................................... III 第一张 引言 .............................................................................................................................. 1
1.1 公交车报站系统的选题背景 ..................................................................................... 1 1.2 国内外关于公交车报站的研究现状 ......................................................................... 1 1.3 研究思路及预期达到的目标 ..................................................................................... 2 第二章 设计方案论证 ............................................................................................................ 4
2.1 整体设计框图 ............................................................................................................. 4 2.2 主控电路的选择 ......................................................................................................... 4 2.3 文字显示模块的选择 ................................................................................................. 5 2.4 语音播报模块的选择 ................................................................................................. 6 2.5 红外遥控模块的选择 ................................................................................................. 7 第三章 硬件电路设计 ............................................................................................................ 8
3.1 最小系统各部分简介 ................................................................................................. 8
3.1.1 单片机STC89C52结构和功能简介 .............................................................. 8 3.1.2 晶振电路 .......................................................................................................... 9 3.1.3 复位电路 .......................................................................................................... 9 3.1.4 串行通信电路RS-232及MAX232 .............................................................. 10 3.2 文字显示模块——带字库型12864 ........................................................................ 11 3.3 语音播报模块——ISD1700 ..................................................................................... 13
3.3.1 独立模式下的语音录制 ................................................................................ 14 3.3.2 单片机对ISD1700的控制 ............................................................................ 15 3.4 红外遥控模块 ........................................................................................................... 15 3.5 单片机IO口的具体分配情况 ................................................................................. 17 第四章 软件设计 .................................................................................................................... 18
4.1 软件工具介绍 ........................................................................................................... 18
4.1.1 编译调试软件——Keil uVision2 ............................................................... 18 4.1.2 下载软件——stc-isp 4.79 .............................................................................. 18 4.1.3 制图软件——Altium Designer Summer 09 .................................................. 18 4.2 主程序设计 ............................................................................................................... 19 4.3 文字显示模块程序设计 ........................................................................................... 21
I
相关推荐: