基于STM32的语音电子秤的设计

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

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

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

资源描述

基于STM32的语音电子秤的设计学生专业:测控技术与仪器学生姓名:张城照导师姓名:张福才-I-摘要质量是测量领域中的一个非常有意义的被测参数,称重技术的发展从古至今被人们所重视,称重在日常生活中随处可见,如首饰店测量贵金属重量,工厂原料定量配比,市场上称菜,货车过地磅等。秤是最普通、最普及的计量设备。传统的机械秤体积庞大,结构繁琐,易受外界挤压、碰撞变形,在长期使用中由于金属腐蚀,机械磨损会给机械秤带来不可逆的损害直接导致机械秤精度下降。电子秤相比机械秤拥有诸多优点,例如成本低、响应快、稳定、高智能等。随着社会的迅猛发展,人们的需求日益多元化,多元化的电子秤将具有极其广阔的市场前景。本设计采用STM32F103作为主控芯片,外接电桥式称重传感器和24位高精度A/D转换芯片来完成称重,以TFT液晶屏和触控芯片实现人机交互,独特的语音播报功能给本设计增添了个性特点,实时温度和实时时钟方便了使用者的日常生活。关键词质量电子秤STM32F103语音-II-AbstractQualityisanimportantparametertomeasuredinthefieldofmeasurement,weighingtechnologyispaidgreatattentionbypeoplesinceancienttimes,weighingcanbeseeneverywhereinourdailylife,suchasjewelryshopmeasuringweightofpreciousmetals,quantitativeratioofrawmaterials,weighingfoodonthemarket,truckspassloadometer,etc.Balanceisthemostcommon,themostpopularmeasuringequipment.Thetraditionalmechanicalscaleislarge,thestructureiscomplicated,vulnerabletoexternalextrusion,collisiondeformation,duetothemetalcorrosioninthelong-termuse,mechanicalwearwillbringirreversibledamagetomechanicalscaledirectlyledtothedecreaseoftheprecisionofmechanicalscale.Electronicscalemechanicalscalecomparedwithmanyadvantages,suchaslowcost,fastresponse,stability,highintelligence,etc.Withtherapiddevelopmentofsociety,thedemandofpeopleincreasinglydiversified,diversifiedelectronicscalewillbeextremelybroadmarketprospect.ThisdesignusesSTM32F103asthemastercontrolchip,externalbridgetypeweighingsensorsand24bithighprecisionA/Dtransformationchiptocompletetheweighing,TFTLCDscreenandtouchchiptorealizehuman-machineinteraction,uniquespeechfunctionaddindividualitytothedesigncharacteristicsofreal-timetemperatureandrealtimeclockisconvenientforuser'sdailylife.KeywordsQualityElectronicscaleSTM32F103Speech-III-目录摘要.........................................................................................................................................IAbstract......................................................................................................................................II第1章绪论.........................................................................................................................11.1课题来源及研究的目的和意义..................................................................................11.2本论文的技术要求和主要工作..................................................................................1第2章电子秤的总体设计方案...........................................................................................32.1电子秤称重系统的整体设计方案.............................................................................32.2系统基本功能及其性能指标......................................................................................32.3称重传感器要求及选择..............................................................................................42.4质量的计算....................................................................................................................5第3章电子秤硬件电路设计...............................................................................................63.1A/D采集的电路设计....................................................................................................63.2单片机外扩电路设计...................................................................................................73.2.1STM32F103RBT6的最小系统硬件设计...........................................................73.2.2TFT液晶屏的硬件电路设计................................................................................93.2.3WT588D语音模块的硬件电路设计................................................................103.2.4电源模块的硬件电路设计.................................................................................12第4章测量装置的软件设计及其优化............................................................................134.1单片机软件设计流程.................................................................................................134.2各个模块的程序设计思路及部分代码...................................................................144.2.1TFT触控液晶模块部分......................................................................................144.2.2WT588D语音模块部分......................................................................................174.2.3HX711芯片部分..................................................................................................204.2.4DS18B20芯片部分..............................................................................................224.2.5实时时钟部分......................................................................................................264.2.6数据计算部分......................................................................................................274.3提高测量精度的数字滤波软件设计.......................................................................29结论......................................................................................................................................31致谢......................................................................................................................................32参考文献.............................................................................................................................

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

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

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

×
保存成功