基于51单片机的语音计算器设计 - 图文 下载本文

毕 业 设 计

题目:基于单片机的简易计算器设计

姓 名: 学 号:

学 院: 信息学院 专 业: 电子信息工程 指 导 教 师:

协助指导教师:

2011年 5月 23日

北京联合大学 毕业设计

摘 要

近年来随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制检测技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往作为一个核心部件来使用,但仅单片机方面的知识是不够的,还应根据具体硬件结构、软硬件结合,来加以完善。

计算器在人们的日常生活中是比较常见的电子产品之一,并且语音技术的进展给这种应用需要提供了一种有力的技术支持,逐渐被广大用户所接受,并广泛用于各种需要语音响应的场合。基于这样的理念,本次设计是用AT89C51单片机、LCD显示器、控制按键、语音芯片ISD2560为元件来设计的具有语音播报功能的简易计算器。利用此设计熟悉单片机微控制器及C语言编程,对其片资源及各个I/O端口的功能和基本用途的了解。掌握Microsoft Visual C++ 6.0应用程序开发环境,常用的LCD显示器的使用方法和一般键盘的使用方法。

关键字:AT89C51、ISD2560、LCD、控制按键

I

北京联合大学 毕业设计

Abstract

With the rapid development of science and technology in recent years, the application of SCM is a growing, while driving more traditional control detection technology updates. In real-time detection and automatic control of microcomputer application system, the microcontroller is often used as a core component, but only SCM knowledge is not enough, the structure should be based on specific hardware, software and hardware combination to be improved.

Calculator in people's daily lives is one of the more common electronic products, and progress in speech technology to such applications need to provide a strong technical support, have been gradually accepted by the majority of users, and is widely used for various needs Voice response applications. Based on this concept, this design is AT89C51 microcontroller, LCD display, control buttons, voice chip ISD2560 devices designed for the voice broadcast function with a simple calculator. Familiar with using this microcontroller design and C language programming microcontrollers, resources and all of its chip I / O port functions and basic use of the understanding. Master the Microsoft Visual C + + 6.0 application development environment, the common use of LCD displays and general use of the keyboard.

Keywords: AT89C51、ISD2560 、LCD control buttons

II

北京联合大学 毕业设计

目录

摘 要 .................................................................. I Abstract .............................................................. II 引言 ................................................................... 1 1 绪论 ................................................................. 2

1.1 系统开发背景 .................................................... 2 1.2 系统开发意义 .................................................... 2 1.3 设计内容和章节分配 .............................................. 2 2 系统方案设计 ......................................................... 3

2.1 功能介绍 ........................................................ 3

2.1.1 基本功能 .................................................. 3 2.1.2 扩展功能 .................................................. 3 2.2 方案论证与比较 .................................................. 3

2.2.1 控制部分的设计方案论证与选择 .............................. 3 2.2.2 显示电路的设计方案论证与选择 .............................. 4 2.2.3 键盘设计方案与选择 ........................................ 5 2.3 系统组成 ........................................................ 6 2.4 总体设计思想 .................................................... 7 3 主要芯片介绍 ......................................................... 8

3.1 AT89C51选择及介绍: ............................................. 8 3.2 ISD2560选择及介绍: ............................................ 10 3.3 开发工具的选择及介绍: ......................................... 12 4 硬件电路设计 ........................................................ 14

4.1 复位电路 ....................................................... 14

III