1、 毕业设计(论文)毕业设计(论文) 题题 目目: 基于单片机的公交报站系统 专专 业业: 应用电子技术 班班 级级: 学学 号号: 姓姓 名名: 指导老师指导老师: 二一三年五月 I 论 文 摘 要 为了提高公交车服务质量,满足各类乘客需求,设计了一个带有语音播放的 公交车报站系统。系统通过 4 个按键控制实现起始站、上一站、下一站、终点站 的控制功能。系统主要由 AT89C51 单片机、语音模块 ISD4004、按键和 LCD12864 显示器组成。ISD4004 语音模块存放报站信息,按键控制语音播放,播放的信在 液晶上显示。本系统是以单片机的基本语言 C 语言来进行软件设计,51 的编程
2、语 言常用的有二种,一种是汇编语言,一种是 C 语言。汇编语言的机器代码生成效 率很高但可读性却并不强,复杂一点的程序就更是难读懂,而 C 语言在大多数情 况下其机器代码生成效率和汇编语言相当,但可读性和可移植性却远远超过汇编 语言,而且 C 语言还可以嵌入汇编来解决高时效性的代码编写问题。对于开发周 期来说,中大型的软件编写用 C 语言的开发周期通常要小于汇编语言很多。综合 以上 C 语言的优点, 我在学习时选择了 C 语言指令的执行速度快, 节省存储空间。 为了便于扩展和更改,软件的设计采用模块化结构,使程序设计的逻辑关系更加 简洁明了,使硬件在软件的控制下协调运作。 关键词: 公交报站
3、89c51lcd12864 ISD4004 II Abstract in order to improve the quality of bus service, meet all kinds of passenger demand, have designed a voice broadcast system of bus stops. Control system with four buttons on the originating station, station, next stop, terminal control functions. System mainly consis
4、ts of AT89C51, ISD4004 voice module, keys and LCD12864 display. ISD4004 voice modules for the stops information, key control voice broadcast, broadcast letter displayed on the LCD. This system based on single chip microcomputer C language for software design, 51 commonly used programming language th
5、ere are two, one is the assembly language, C language is a kind of. Assembly machine code generating efficiency is very high but is not readable, complicated process is more difficult to read, and the C language in most cases the machine code generating efficiency and assembly language, but the read
6、ability and portability is far more than assembly language, and can also be embedded C language compiled to solve the problem of high timeliness of coding. For development cycle, the medium of software written in C language development cycle usually is much less than assembly language. All of the advantages of the C language, I chose when learning C language instruction execution speed, saving storage space. To facilitate the expansi