基于STM32电子秤系统的设计与实现Word格式文档下载.docx
《基于STM32电子秤系统的设计与实现Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《基于STM32电子秤系统的设计与实现Word格式文档下载.docx(41页珍藏版)》请在冰豆网上搜索。
![基于STM32电子秤系统的设计与实现Word格式文档下载.docx](https://file1.bdocx.com/fileroot1/2022-10/1/ce487c97-56b2-4584-95a4-7e0a21079f30/ce487c97-56b2-4584-95a4-7e0a21079f301.gif)
-I-
基于STM32的电子秤系统设计与实现
摘要:
智能电子秤是将检测与转换技术、计算机技术、信息处理、数字技术等技术综合一体的现代新型称重仪器。
它与我们日常生活紧密结合成为一种方便快、捷、称量精确的工具,广泛应用于商业、工厂生厂、集贸市场、超市、大型商场、及零售业等公共场所的信息显示和重量计算。
本作品使用STM32单片机作为中心控制单元,通过称重传感器采集质量信息,以HX711进行模数转换单元,在配以TFT液晶显示和触摸屏控制,及WT588D进行语音播报组成。
该电子称不但计量准确、快速方便,更重要的自动称重、计价功能外,还可实现去皮、净/毛转,自动计算,数字显示,语音播报,显示实时温度,实时时间。
本系统是针对是电子称的自动称重、自动计价、数据处理,语音播报进行研究的。
为了阐明用单片机是如何对采样数据进行处理对,数据的采集和转换、计算问题进行了研究。
讨论了单片机控制系统中关键的中断、计算问题,结果表明通过软件设计实现更完善。
本文在给出智能电子称硬件设计的基础上,详细分析了电子称的软件控制方法。
由于单
片机控制的电子称结构简单,成本低廉,深受人们的喜爱,本文将对此进行详细讨论
关键字:
电子秤;
STM32;
称重传感器;
HX711;
TFT液晶屏幕;
WT588D
Abstract:
Intelligentelectronicbalancevaluesdetectionand the modernnew
-typenamesof technicalcomprehensiveone body such as conversion technical,computertechnology,messagehandlingand digitaltechnologyinstrument.Its and our closecombinationof dailylifebecomesa kind of convenient,shortcut,weighingaccuratetool ,
-II-
is appliedextensivelyin commercial,factoryraw factory, gathers trademarket,supermarketand largescalemarket, the message of the etc.publicplaceof retailtradeshowsand weightcalculation.
Intelligentelectronicname passesthroughname mainlywithSTM32as centralcontrolunit,valuesensorto carryout moduluscon
versionunit , it is matchingwithkeyboard, showby TFT
and powerfulsoftwareto form.It is accuratethatthis electronclaimsto not only measure, fastconvenience,moreimportantautomaticname may stillrealizebesidesheavy,valuationfunction
toremovethepeel,completely/hairturns,calculatevoluntarily,figureshows,iswelcomedbymassesofuser.Intelligentelectronicnamesincecarryconvenience.
This systemaimsat is the automaticnameof electronicnameheavy, automaticvaluationand datahandlingcarryout research.Toexpoundto use singleflatmachine, it is to how to carryout handlingfor samplingdata , is for the collectionof data
and conversionand calculationproblemhas studied.Havediscussed the suspensionof the key in singleflatmachinecontrolsystem , calculateproblem, show as a resultthat throughsoftware design,realizationis perfectedmore.This textis weighingthe foundationof hardwaredesignto intelligentelectron, has analysedthe softwarecontrolmethodof electronicname in detail.
Sincethe electronof singleflatmachinecontrolweighsstruct
ure, is simple,cost is cheap,receivedeeplypeoplelike, this text will carryout detaileddiscussionfor this.
Keyword:
s
Intelligentandelectronictoscale;
Singleflatmachine89ecig5h2;
hWeavysensor;
LEDshows
-V-
目录
摘 要.....................................................................................错....误...!
....未...定义书签。
Abstrac.t...................................................................................错...误....!
....未...定义书签。
第1章绪 论.......................................................................................................8..................
1.1课题来源及研究的目的和意义......................................................................8............
1.2本论文的技术要求和主要工作......................................................................9............
第2章电子秤的总体设计方案............................................................................1.0............
2.1电子秤称重系统的整体设计方案.................................................................1..0.........
2.2系统基本功能及其性能指标........................................................................1..0..........
2.3称重传感器要求及选择...............................................................................1..1............
2.4质量的计算.................................................................................................1..2................
第3章电子秤硬件电路设计................................................................................1.3............
3.1A/D采集的电路设计....................................................................................1..3.............
3.2单片机外扩电路设计...................................................................................1..4............
3.2.1STM32F103RBT的6最小系统硬件设计..................................................1..4......
3.2.2TFT液晶屏的硬件电路设计...................................................................1..6..........
3.2.3WT588D语音模块的硬件电路设计........................................................1..7........
3.2.4电源模块的硬件电路设计......................................................................1..8..........
第4章测量装置的软件设计及其优化.................................................................2..0.........
4.1单片机软件设计流程...................................................................................2..0............
4.2各个模块的程序设计思路及部分代码..........................................................2..0.......
4.2.1TFT触控液晶模块部分................