基于51单片机的语音计算器设计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

毕业设计题目:基于单片机的简易计算器设计姓名:学号:学院:信息学院专业:电子信息工程指导教师:协助指导教师:2011年5月23日北京联合大学毕业设计I摘要近年来随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制检测技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往作为一个核心部件来使用,但仅单片机方面的知识是不够的,还应根据具体硬件结构、软硬件结合,来加以完善。计算器在人们的日常生活中是比较常见的电子产品之一,并且语音技术的进展给这种应用需要提供了一种有力的技术支持,逐渐被广大用户所接受,并广泛用于各种需要语音响应的场合。基于这样的理念,本次设计是用AT89C51单片机、LCD显示器、控制按键、语音芯片ISD2560为元件来设计的具有语音播报功能的简易计算器。利用此设计熟悉单片机微控制器及C语言编程,对其片资源及各个I/O端口的功能和基本用途的了解。掌握MicrosoftVisualC++6.0应用程序开发环境,常用的LCD显示器的使用方法和一般键盘的使用方法。关键字:AT89C51、ISD2560、LCD、控制按键北京联合大学毕业设计IIAbstractWiththerapiddevelopmentofscienceandtechnologyinrecentyears,theapplicationofSCMisagrowing,whiledrivingmoretraditionalcontroldetectiontechnologyupdates.Inreal-timedetectionandautomaticcontrolofmicrocomputerapplicationsystem,themicrocontrollerisoftenusedasacorecomponent,butonlySCMknowledgeisnotenough,thestructureshouldbebasedonspecifichardware,softwareandhardwarecombinationtobeimproved.Calculatorinpeople'sdailylivesisoneofthemorecommonelectronicproducts,andprogressinspeechtechnologytosuchapplicationsneedtoprovideastrongtechnicalsupport,havebeengraduallyacceptedbythemajorityofusers,andiswidelyusedforvariousneedsVoiceresponseapplications.Basedonthisconcept,thisdesignisAT89C51microcontroller,LCDdisplay,controlbuttons,voicechipISD2560devicesdesignedforthevoicebroadcastfunctionwithasimplecalculator.FamiliarwithusingthismicrocontrollerdesignandClanguageprogrammingmicrocontrollers,resourcesandallofitschipI/Oportfunctionsandbasicuseoftheunderstanding.MastertheMicrosoftVisualC++6.0applicationdevelopmentenvironment,thecommonuseofLCDdisplaysandgeneraluseofthekeyboard.Keywords:AT89C51、ISD2560、LCDcontrolbuttons北京联合大学毕业设计III目录摘要..................................................................IAbstract..............................................................II引言...................................................................11绪论.................................................................21.1系统开发背景....................................................21.2系统开发意义....................................................21.3设计内容和章节分配..............................................22系统方案设计.........................................................32.1功能介绍........................................................32.1.1基本功能..................................................32.1.2扩展功能..................................................32.2方案论证与比较..................................................32.2.1控制部分的设计方案论证与选择..............................32.2.2显示电路的设计方案论证与选择..............................42.2.3键盘设计方案与选择........................................52.3系统组成........................................................62.4总体设计思想....................................................73主要芯片介绍.........................................................83.1AT89C51选择及介绍:.............................................83.2ISD2560选择及介绍:............................................103.3开发工具的选择及介绍:.........................................124硬件电路设计........................................................144.1复位电路.......................................................14北京联合大学毕业设计IV4.2时钟电路.......................................................144.3显示电路.......................................................154.4语音电路.......................................................154.5按键电路.......................................................175软件设计.........................................................205.1AT89C51单片机中断允许控制.....................................205.2LCD1602控制...................................................205.2.1LCD1602字符发生存储器(CGROM)...........................205.2.2LCD1602显示数据寄存器(DDRAM)...........................215.3计算器软件设计.................................................235.3.1系统总流程图.............................................235.3.2算术运算程序设计.........................................245.3.3按键程序设计.............................................255.3.4显示程序设计.............................................255.3.5错误处理及提示程序设计...................................255.4语音播报软件设计...............................................265.4.1分段录放音...............................................275.4.2程序流程图...............................................275.5仿真与调试.....................................................305.5.1KEILuVision调试.........................................305.5.2Proteus对于本设计的仿真.................................33结论..................................................................35致谢..................................................................36参考文献..............................................................37北京联合大学毕业设计V附录..................................................................38附录A.............................................................38附录B.............................................................39附录C.............................................................40附录D.............................................................41附录E.............................................................50北京联合大学毕业设计1引言当今社会,随着人们物质生活的不断提高,电子产品已经走进了家家户户,无论是生活或学习,还是娱乐和消

1 / 58
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功