基于单片机的语音报价电子称的设计

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

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

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

资源描述

西北民族大学2011级毕业设计(论文)基于单片机的语音报价电子称的设计年级:2011级学号:姓名:专业:电气工程及其自动化指导老师:二零一五年六月西北民族大学本科毕业设计(论文)第II页共44页摘要本文设计的内容是一款基于单片机的语音报价电子秤,语音报价是本设计的一个特色,语音报价能够实现播报总价和总量的功能,本设计的总体功能是实现物体重量的测量,在显示屏上显示并进行语音播报,它是用压力传感器采集压力这种物理量并把采集到的数据转换成电压信号,再采用专门的用在称重领域的24位AD转换器HX711把电压信号经过滤波、放大、采样转换成数字信号的称重计量装置,当秤台上不放置任何物体时可以按下清零键来清零,即初始化。除了这些功能之外还可以通过矩阵键盘来设置单价,用单价乘以总量便可以计算得出货物的总价,并将总重量和总价的数据发送给液晶屏LCD1602上进行显示,该系统除了上述功能之外还可以对当前的总重量和总价格进行语音播报。关键词:单片机;语音播报;模数转换模块HX711;压力传感器西北民族大学本科毕业设计(论文)第III页共44页AbstractThispaperintroducedadesignofavoiceelectronicscalebasedonthemicrocontroller.voiceofferisafeatureofthispaperthatcanbroadcastthetotalweightandtotalprice.ThebasicfunctionofthispaperistoachieveweightanddisplayedontheLCDscreen,inadditiontobroadcasttotalpriceandtotalweight.whichconvertedtheweightintoavoltagesignalbyapressuresensor,andthenconvertedthevoltagesignalintodigitalsignalby24bitADconverterHX711.Whenthereisnoobjectontheweighingplatform,presstheclearbuttontoresetthecurrentweight.Inaddition,userscanalsosetupthepriceofperkilogramthroughbutton.Afterputtingontheobject,theweightcanbemeasured,andtotalpricecouldbeconvertedautomaticallyinawayoftheweightismultipliedbytheunitpriceanddisplayedontheLCD1602screen,thesystemcanalsobroadcastthecurrenttotalweightandtotalprice.KeyWords:Singlechipmicrocomputer;Voicebroadcast;ADanalog-to-digitalconverterHX711;Pressuresensor西北民族大学本科毕业设计(论文)第IV页共44页目录摘要...............................................................IIAbstract..............................................................III第一章绪论............................................................11.1目的和意义.............................................................................................................11.2研究概况及发展趋势.............................................................................................21.3本设计主要内容.....................................................................................................31.6本章小结.................................................................................................................3第二章总体方案选型与设计..............................................42.1主控模块的选型.....................................................................................................42.2显示模块的选型.....................................................................................................42.3模数转换模块的选型.............................................................................................52.4语音播报模块的选型.............................................................................................52.5系统整体设计概述.................................................................................................52.6本章小结.................................................................................................................6第三章系统硬件电路设计................................................73.1主控模块.................................................................................................................73.1.1单片机STC89C52主要特性.................................................................................73.1.2单片机STC89C52的中断系统.............................................................................93.1.3单片机最小系统设计...............................................................................................93.2液晶显示器LCD简介.........................................................................................103.2.1液晶原理介绍..........................................................................................................103.2.2液晶模块简介..........................................................................................................113.2.3液晶显示部分与STC89C52的接口.................................................................113.3矩阵键盘模块设计...............................................................................................123.4称重模块的设计...................................................................................................133.5信号采集模块设计...............................................................................................143.5.1模数转换模块HX711芯片介绍.........................................................................143.5.2模数转换模块HX711电路的设计....................................................................153.6语音模块设计.......................................................................................................153.7本章小结...............................................................................................................16第四章系统软件设计...................................................17西北民族大学本科毕业设计(论文)第V页共44页4.1系统软件总体设计...............................................................................................174.2程序设计原理.......................................................................................................184.3本章小结...............................................................................................................19第五章系统调试及结果分析.............................................205.1硬件调试..................................................................................

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

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

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

×
保存成功