基于单片机的超市电子秤设计概述doc48页部门:xxx时间:xxx
整理范文,仅供参考,可下载自行编辑
f摘要
随着科学技术的不断发展,单片机在多个领域均有应用,其中电子秤作为其中之一在日常生活中已经非常普遍。本论文主要论述的内容为基于单片机的小型超市电子秤的设计。
本文主要论述基于单片机的小型超市电子秤的设计与实现。本系统的控制核心为单片机,此外还包括AD转换模块、矩阵键盘、显示模块等电路。主要实现重量显示,手动输入单价并自动显示总价的功能,实用性高。硬件部分的核心是AT89C52单片机,对整个系统进行控制,输入端用压力传感器进行数据采集并转变为电压信号,再将模拟量传递给24位的AD转换芯片HX711转换为数字量后送入单片机,手动输入物品单价,经单片机处理后由液晶显示屏显示物品重量,单价和总价。本文内容主要为:绪论、系统元器件选型、硬件电路设计、软件编程以及实物调试。系统软件部分采用c语言编程,其中包括转换程序、数字处理程序、显示程序、报警程序等。
本系统基本实现了预期的实验结果,实现的功能功能有物品称重、单价输入、总价计算以及超重报警。
关键词:单片机;电子秤;c语言
fAbstract
Withthedevelopme
tofscie
cea
dtech
ologysi
glechiphasbee
usedi
ma
yfieldsi
cludi
gelectro
icscalesaso
eofwhichhasbee
verycommo
i
everydaylife
Thispapermai
lydiscussesthedesig
ofsmallsupermarketelectro
icscalebasedo
si
glechipmicrocomputerThispapermai
lydiscussesthedesig
a
dimpleme
tatio
oftheelectro
icscaleofsmallsupermarketbasedo
MCUThewholesystemisthecoreofthemicroco
trollera
dco
tai
sthematrixkeyboardco
versio
chipdisplaycircuitresetcircuitetcThemai
realizatio
oftheweightdisplayma
uallye
tertheu
itpricea
dautomaticallydisplaythetotalvalueofthefu
ctio
highpracticalityHardwarepartistoSTC89S52SCMasthecoreco
troldataacquisitio
byapressurese
soragai
by24bitADco
versio
chiphx711co
verta
alogtodigitalqua
tityi
tothemicroco
trollerma
uallye
tertheitempriceSCMtreatedbyLCDdisplaygoodsweightu
itpricea
dtotalpriceThemai
co
te
tsofthispaperareasfollowsi
troductio
hardwarecircuitdesig
softwareprogrammi
ga
dhardwaredebuggi
g
Thesystembasicallyachievedtheexpectedresultsoftheexperime
ttherealizatio
ofthemeterspowerdow
storageadjusttheu
itpricedisplaytheamou
tofmileagea
dotherbasicfu
ctio
s
fKeywordsMCUtech
ologyelectro
icscaleCla
guage
目录
1绪论r