基于单片机的带有汉字显示及语音播报的超声波测距系统设计
I
摘
要
测量作为各领域一个重要的工具,有着悠久的历史。在我国,早在秦始皇时期就已经统一了度量衡,推行“一法度衡量丈尺,车同轨,书同文字”,并制定了一套严格的管理制度。同样,测量的方法及使用的仪器也有着纷繁复杂的选择,比如有游标式测量仪器,机械式测量仪器,电学式测量仪器等。随着科学技术的发展,超声波测量法在众多测量方法中脱颖而出,由于超声波具有方向性好,穿透性强,尤其是在光不透明的固体中,它碰到杂质或分界面就有显著的反射等优点,超声波测距在测量中的应用越来越广泛,笔者设计的是一个多功能的带有汉字显示及语音播报的超声波测距系统。本文系统介绍了一种基于单片机CC2530的带有汉字显示及语音播报的超声波测距系统。整个电路采用模块化设计,硬件部分由超声波测距模块、单片机模块、温度传感器模块、语音播报模块、LCD显示模块组成,软件部分由测距发送模块,播报显示模块组成。本文给出了详细的软,硬件设计方案。本超声波测距仪测量距离020m500m,测距精度±1,具有汉字显示及语音播报等功能,测量时与待测物体无直接接触,具有整体性好,精度高,可靠性好,控制简单方便等特点。本设计完成实物的制作,实物效果能达到设计要求。
关键词:测距仪,单片机,超声波,TMP275温度传感器,Nokia5110液晶显示器WT588D
f基于单片机的带有汉字显示及语音播报的超声波测距系统设计
II
ABSTRACT
Asasig
ifica
ttooli
variousfieldsmeasuri
ghasalo
ghistoryI
Chi
aitca
datebacktotheperiodofQi
ShiHua
gwhosta
dardizedthesystemofweightsa
dmeasurespromoted“Applythesamesystemofmeasuri
gmethodsa
dtoolsthesameroadwidtha
dthesamewritte
la
guage”a
dalsoformulatedasetofstrictma
ageme
tsystemSimilarlymeasuri
gmethodsa
dequipme
talsohaveacomplicatedchoicesuchasver
iermeasuri
gequipme
tmecha
icalmeasuri
gequipme
ta
delectricalmeasuri
gequipme
tetcWiththedevelopme
tofscie
cea
dtech
ologytheultraso
icmeasureme
tmethodhasstoodoutfrom
umerousmeasuri
gmethodsAsithastheadva
tagesofgooddirectio
a
dstro
gpe
etrabilityespeciallyi
theopaqueobjectsitca
reflectwhe
ite
cou
terimpurityori
terfaceTheapplicatio
ofultraso
icdista
cemeasureme
ti
measuri
gbecomesi
creasi
glyexte
sivei
measuri
gTheauthorhasdesig
edamultifu
ctio
alultraso
icdista
cemeasureme
tsystemwithChi
esedisplaya
dvoicebroadcastThispapersystematicallyi
troducesa
ultraso
icdista
cemeasureme
tsystemwithChi
esedisplaya
dvoicebroadcastbasedo
CC2530si
gler