STC89C52单片机公交车语音报站系统设计+程序+电路图

本设计以STC89C52单片机为中心,WT588D与LCD12864显示屏为两个基本点完成对公交车语音报站系统的设计。


摘要:在科技的不断革新当中,我们生活的点点滴滴都在发生改变。公交车的无人售票以及语音报站器逐渐取代了人工售票以及报站。语音报站取代人工报站是一种趋势。因为一方面来说语音报站具有高效切错误率较低,声音大小也较人工报站更合适避免了乘客由于不熟悉公交线路而导致的不便,另一方面则避免了乘务人员沿途都要报站的麻烦同时也降低了公交车运行的成本。

本设计是基于51单片机的公交语音报站系统设计,该报站器系统系统选取STC89C52作为微处理器,使用语音芯片ST588D进行语音播报,LCD12864液晶显示器显示站牌的名称,通过按键来控制上下站的播报,模拟来进行语音站台报站的一种系统。主要部分是由微处理器电路,显示电路,语音芯片电路和串口部分电路等组成,站台通过按键的模拟程序设置站点,通过程序设置来使语音芯片进一步处理,语音芯片进行录音处理和播放当前的站名,同时液晶显示能显示当前时间和站点,让司机每时每刻知道实时情况。

关键词: 公交报站器;51单片机;语音芯片; 微处理器

Bus Voice Station System Design

Abstract: In the constant innovation of science and technology, the bits and pieces of our lives are changing. The unlicensed bus ticket and voice station gradually replaced manual ticketing and station reporting. It is a trend for voice stations to replace artificial stations. Because on the one hand, the voice report station has a lower effective error rate, the sound size is more suitable than the artificial report station to avoid the inconvenience caused by passengers not familiar with the bus line, and on the other hand, it avoids the need for flight attendants to report along the way. The trouble of the station also reduces the cost of bus operation.

This design is based on 51 single-chip bus public station report system design, the station system system selection STC89C52 as a microprocessor, the use of voice chip ISD4004 for voice broadcast, LCD12864 LCD display name of the stop, through the button to control the upper and lower station The broadcast, analog to a system of voice station station station. The main part is composed of a microprocessor circuit, a display circuit, a voice chip circuit, and a serial port circuit. The station sets up a site through a key simulation program, and the voice chip is further processed through a program setting. The voice chip performs recording processing and plays the current The name of the station, while the LCD display can show the current time and site, allowing the driver to know the real-time situation every moment. It can also be connected to the computer at any time, and can use the computer to modify the data stored in the chip.

Keywords: bus stop station   51 single-chip   voice chip microproce

目录

1 绪论 1

1.1课题研究的背景及意义 1

1.2 报站器的发展前景 1

1.3设计的主要目标及任务 2

2 单片机概述 3

2.1 单片机的概念 3

2.1.1 单片机的应用领域 3

2.2 单片机的发展历程 3

2.3 关于STC89C52单片机 3

2.4 STC89C52RC时钟电路的设计 6

2.4.1  内部时钟方式 6

2.4.2外部时钟方式 7

2.5 复位电路的设计 7

2.5.1 STC89C52RC复位状态 9

3 系统硬件的设计 10

3.1 语音接口电路 10

3.1.1 WT588D芯片简介 10

3.1.2 语音芯片模块电路原理图 14

3.2 键盘接口电路 14

3.2.1工作原理 14

3.2.2 键盘的工作方式 15

3.2.3 键盘接口电路硬件电路图 15

3.3文字显示 15

3.3.1  LCD显示器的简介及工作原理 15

3.3.2  LCD12864液晶显示器的简单介绍 16

3.3.3  LCD12864液晶显示器硬件电路的连接 17

4 程序设计 19

5 相关软件的应用 21

5.1集成开发环境Keil u Vision 5 21