|
论文编号ZXX249 论文字数:15588,页数:36
摘要
根据AT89S51单片机的特点和公交车报站的特点,本文提出了一种用单片机控制语音芯片进行公交车语音自动报站的方法。同时给出了软硬件设计的方法,设计过程中包括硬件电路设计和软件程序编写两个方面,解释了单片机在应用过程中的方法和可能出现的问题。本文主要介绍硬件电路设计部分。利用AT89S51作为CPU进行总体控制,通过ISD1730PY语音芯片建立语音信息库,对语音信息进行自由组合,形成变化多样的语音信息,同时运用LED数码管进行站数显示。当公交车到达某站点,用键盘控制本系统工作,通过语音电路输出语音信息和提示,单片机同时通过程序读取站数信息并在LED数码管上进行显示。
关键词:AT89S51单片机,ISD1730PY语音芯片,LED数码管,语音自动报站
ABSTRACT
According to the feature of SCM AT89S51 and the characteristics of bus auto-reporter-calling,the article puts the method of using sigle-chip microcomputer to control speech chip auto-reporter-calling.The method of realization of hardware has also been given, the whole process included hardware circuit designing and software program designing ,description the method of using sigle-chip microcomputer and problem that may meet during the application of microcomputer . the article introduces hardware circuit designing mostly. Carries on the overall control by the AT89S51 monolithic integrated circuit as CPU, it can establish the variatevoice information database with the voice chip ISD1730PY, and may carry on the free combination of these sections of voice information, at the same time uses the LED to carry on the stops figure. Therefore when the bus arrives some stands through the keyboard controls this system to carry on the work, giving the voice of stops, at the same time SCM reads the information of stops and sends to the LED .
Keywords: SCM AT89S51, ISD1730speech chip,LED, Bus auto-reporter-calling stop
目录
摘要 I
Abstract II
第1章 绪论 1
1.1 课题研究背景和意义 1
1.2 设计任务 2
第2章 系统设计 3
2.1 应用系统结构设计 3
2.2 设计思路 3
2.2.1 语音模块 3
2.2.2 显示模块 4
2.2.3 按键模块 4
2.3 器件选择 4
2.3.1 单片机选择 4
2.3.2 语音芯片选择 4
2.3.3 显示单元选择 5
2.3.4 按键接口选择 6
第3章 硬件设计 7
3.1 整体电路图 7
3.2 单片机控制电路设计 8
3.2.1 主要性能参数 8
3.2.2 功能特性概述 9
3.2.3 引脚功能说明 10
3.2.4 振荡器电路设计 12
3.2.5 复位电路设计 13
3.3 语音输出电路设计 15
3.3.1 语音芯片简介 15
3.3.2 引脚功能 15
3.3.3 工作模式 17
3.3.4 录音电路设计 19
3.4 按键及显示模块电路设计 20
3.4.1 按键电路设计 20
3.4.2 显示模块电路设计 20
第4章 软件设计 21
4.1 程序流程设计 21
4.2 子程序流程设计 23
4.2.1 录音子程序 23
4.2.2 放音子程序 24
第5章 硬件制作和语音录放调试 25
5.1 硬件设计工具介绍 25
5.1.1 PROTEL介绍 25
5.1.2 Keil C51介绍 25
5.2 硬件制作 26
5.2.1 电路板制作 26
5.2.2 硬件焊接 26
5.3 语音信息录放调试 27
5.3.1 录音调试 27
5.3.2 放音调试 28
结束语 29
致谢 30
附录 源代码 32 |
|