【正文】
...6 超聲波測距系統(tǒng)原理 ...........................................................................................7第三章 系統(tǒng)主要硬件設(shè)計(jì) .........................................................................................9 方案論證與比較 ...................................................................................................9 超聲波發(fā)射電路 ............................................................................................9 超聲波接收電路 ..........................................................................................10 單片機(jī)主機(jī)系統(tǒng)電路 ..........................................................................................12 單片機(jī)電路 ...................................................................................................13 復(fù)位電路 ......................................................................................................14 時鐘電路 ......................................................................................................14 按鍵電路 ......................................................................................................14 蜂鳴器電路 ..................................................................................................14 超聲波發(fā)送電路 ..................................................................................................15 超聲波接收電路 ..................................................................................................16 溫度采集 DS18B20 電路 ...................................................................................17 LCD 顯示電路 .....................................................................................................17 電源電路 .............................................................................................................18第四章 軟件流程圖 ...................................................................................................21第五章 實(shí)驗(yàn)分析 .......................................................................................................23 誤差分析 .............................................................................................................23 改進(jìn) .....................................................................................................................23淮安信息職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計(jì)論文VI第六章 總結(jié)與展望 ...................................................................................................25 總結(jié) ......................................................................................................................25 展望 ......................................................................................................................25致 謝 ...........................................................................................................................27參考文獻(xiàn) .......................................................................................................................29第一章 緒論1第一章 緒論 單片機(jī)應(yīng)用系統(tǒng)概述單片機(jī)是一個單芯片形態(tài)、面向控制對象的嵌入式應(yīng)用計(jì)算機(jī)系統(tǒng)。實(shí)現(xiàn)后可應(yīng)用于需要測量的測距參數(shù)的各種應(yīng)用場合。因此,這是一個正在蓬勃發(fā)展而又有無限前景的技術(shù)及產(chǎn)業(yè)領(lǐng)域。本設(shè)計(jì)介紹了基于單片機(jī)控制的超聲測距儀的原理:由 AT89S52 控制定時器產(chǎn)生超聲波脈沖并計(jì)時,計(jì)算超聲波自發(fā)射至接收的往返時間,從而得到實(shí)測距離。關(guān)鍵詞:AT89S52;超聲波;測距;淮安信息職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計(jì)論文IIAbstractIIIAbstractWith the rapid development of science and technology, the application of ultrasonic wave in the range finder has bee a hot topic, but the current level of technology, people can use the specific location is very limited. Therefore, it is a booming and technology and industry have unlimited prospects.The design introduces the principle of the ultrasonic distance measurement instrument based on SCMCcontrolled: AT89S52 controls timers to produce the ultrasonic wave pulse and time,count the time of ultrasonic wave spontaneous emission to receive roundtrip,thus obtains the measured the temperature pensation adjustment is used in the data processing, with four LCD nixie tubes display distance or temperature by switching.It has given the system constitution, the circuitry and the programming. The instrument system has features: ease of control, stability of operation, highness of precision and distinctness of programme process ,etc. After the realization of the works can be used for needs of the various parameters measured distance applications.Keywords:AT89S52。它的出現(xiàn)及發(fā)展使計(jì)算機(jī)技術(shù)從通用型數(shù)值計(jì)算領(lǐng)域進(jìn)入到智能化的控制領(lǐng)域。嵌入式系統(tǒng)一般應(yīng)用于對實(shí)時響應(yīng)要求較高的設(shè)備中,單片機(jī)作為嵌入式系統(tǒng)的核心部件,其應(yīng)用使電子系統(tǒng)的智能化出現(xiàn)了意想不到的效果,常常無需對硬件資源做任何改動,只需更新系統(tǒng)軟件就能使系統(tǒng)功能升級。(3)工業(yè)控制:各種智能儀器儀表、數(shù)控裝置、可編程控制器、分布式控制系統(tǒng)、工業(yè)機(jī)器人、機(jī)電一體化設(shè)備、汽車電子設(shè)備等。單片機(jī)應(yīng)用