【正文】
單片機(jī)用 端口輸出超聲波換能器所需的 40kHz 的方波信號(hào),利用外中斷 0 口監(jiān)測(cè)超聲波接收電路輸出的返回信號(hào)。上位電阻 R1O、 R11 一方面可以提高反向器 74LS04 輸出高電平的驅(qū)動(dòng)能力,另一方面可以增加超聲波換能器的阻尼效果,縮短其自由振蕩時(shí)間。 14 超聲波發(fā)射換能器與接收換能器在結(jié)構(gòu)上稍有不同,使用時(shí)應(yīng)分清器件上的標(biāo)志。適當(dāng)更改電容 C4的大小,可以改 變接收電路的靈敏度和抗干擾能力。進(jìn)入中斷后就立即關(guān)閉計(jì)時(shí) 器 T0停止計(jì)時(shí),并將測(cè)距成功標(biāo)志字賦值 1。這樣只要計(jì)算出從發(fā)出超聲波信號(hào)到接收到返回信號(hào)所用的時(shí)間,就可算出超聲波發(fā)生器與反射物體的距離。外圍元件不是很多,所以調(diào)試應(yīng)該不會(huì)太難。若能將超聲波接收電路用金屬殼屏蔽起來(lái),則可提高抗干擾能力。 接著,我要感謝和我一起做畢業(yè)設(shè)計(jì)的同學(xué)。 還有許許多多給予我學(xué)業(yè)上鼓勵(lì)和幫助的朋友,在此無(wú)法一一列舉,在此也一并表示忠心地感謝! 16 17 參考文獻(xiàn) [1] 胡萍 .超聲波測(cè)距儀的研制 .計(jì)算機(jī)與現(xiàn)代化, [2] 時(shí)德剛,劉嘩 .超聲波測(cè)距的研究 .計(jì)算機(jī)測(cè)量與控制, [3] 華兵 .MCS51單片機(jī)原理應(yīng)用 .武漢:武漢華中科技大學(xué)出版社, 2022 .5 [4] 李華 .MCU51系列單片機(jī)實(shí)用接口技術(shù) .北京:北京航空航天大學(xué)出版社, 1993. 6 [5] 陳光東 .單片機(jī)微型計(jì)算機(jī)原理與接口技術(shù) (第二版 ).武漢:華中理工大學(xué)出版社, [6] 徐淑華,程退安,姚萬(wàn)生 .單片機(jī)微型機(jī)原理及應(yīng)用 .哈爾濱:哈爾濱工業(yè)大學(xué)出版社, 1999. 6. [7] 蘇長(zhǎng)贊 .紅外線與超聲波遙控 .北京:人民郵電出版社, [8] 張謙琳 .超聲波檢測(cè)原理和方法 .北京:中國(guó)科技大學(xué)出版社, [9] 九州 .放大電路實(shí)用設(shè)計(jì)手冊(cè) .沈陽(yáng):遼寧科學(xué)技術(shù)出版社, [10] 樊昌元,丁義元 . 高精度測(cè)距雷達(dá)研究 .電子測(cè)量與儀器學(xué)報(bào), [11] 蘇 偉,鞏壁建 .超聲波測(cè)距誤差分析 .傳感器技術(shù), 2022. [12] 永學(xué)等 .1Wire 總線數(shù)字溫度傳感器 DS18B20 及應(yīng)用 .電子產(chǎn)品世界, [13] 勝全 .D18B20 數(shù)字溫度計(jì)在微機(jī)溫度采集系統(tǒng)中的序編制 . 南京:南京大學(xué)出版社 1998. 3 [14] 恒清,張靖 .加強(qiáng)單片機(jī)系統(tǒng)抗干擾能力的方法 .通化師范學(xué)院學(xué)報(bào), 2022 .10 [15] 晗曉,袁慧梅 .單片機(jī)系統(tǒng)的印制板設(shè)計(jì)與抗干擾技術(shù) .電子工藝技術(shù), 2022 .6 [16] 豐,薛紅宣 .采用軟件抗干擾設(shè)計(jì)提高微機(jī)系統(tǒng)的可靠性 .電子產(chǎn)品 世界, [17] 占操,梁厚琴,曹燕 .單片機(jī)系統(tǒng)中的軟件抗干擾技術(shù) .電子技術(shù), [18] 華兵 .MCS51單片機(jī)原理應(yīng)用 .武漢:武漢華中科技大學(xué)出版社, 2022 .5 [19] 繼興,劉霞 .單片機(jī)系統(tǒng)軟件抗干擾措施分析 .電子測(cè)量技術(shù), 2022 [20] 田華等 .可編程單總線數(shù)字式溫度傳感器 DS18B2 的原理與應(yīng)用 .電子質(zhì)量, 18 [21] Tom R. Watt .Cooling our tomorrows economically , ASHRAE Journal. [22] Army Kayla. Improving efficiency in existing chillers with optimization technology , ASHRAE Journal. [23] mutter , Eerily , , , , Refine the use of the evaporation in an experimental downdraft cool tower ,Energys .1995 [24] rtori S, ZHANG G X. Geometric Error Measurement and Compensation of of the CIRP. 1995:599609 [25] olton W. Instrumentationamp。//0~9段碼 UNSIGNED INT S,T,I, XX,J,SJ1,SJ2,SJ3,MQS,SX1。 //延時(shí)函數(shù) VOID SCANLED()。 VOID K2CL()。 22 VOID MAIN() //主函數(shù) { EA=1。 //定時(shí)器 1 中斷允許 TH0=0X00。 CSBDS=0。 ōPTO=0XFF。 SJ3=400。 IF(JPJS1) { CSBCJ()。 } ELSE IF(SSJ1) { BUFFER[2]=0X40。 } ELSE TIMETOBUFFER()。 BG=1。 I++) //3 位數(shù)顯示 { 24 P3=~DIGITamp。 //延時(shí)處理 P1=0XFF。 //循環(huán)右移 1 位 } } VOID TIMETOBUFFER() //轉(zhuǎn)換段碼功能模塊 { XM0=S/100。 BUFFER[1]=CONVERT[XM1]。 TL1=0X57。 } } VOID CSBCJ() { IF(CL==1) { TR1=0。 WHILE(I) { CSBOUT=!CSBOUT。 WHILE(CSBINT) { I++。 TL1=0X57。 TR1=1。 //延時(shí)去抖動(dòng) IF(K1!=1) // 判斷開(kāi)關(guān)是否按下 { WHILE(!K1) { DELAY(30)。 } XX=0。BREAK。BREAK。 } VOID K2CL() { SJ2=SJ2+5。 IF(SJ3500) SJ3=100。 MQS=SX1/。t appealed against the disciplinary action your employer has taken against you. However, if you win your case, the tribunal may reduce any pensation awarded to you as a result of your failure to appeal. Remember that in most cases you must make an application to an employment tribunal within three months of the date when the event you are plaining about happened. If your application is received after this time limit, the tribunal will not usually accept i. If you are worried about how the time limits apply to you, take advice from one of the anisations listed under Further help. Employment tribunals are less formal than some other courts, but it is still a legal process and you will need to give evidence under an oath or affirmation. 29 Most people find making a claim to an employment tribunal challenging. If you are thinking about making a claim to an employment tribunal, you should get help straight away from one of the anisations listed under Further help. If you are being represented by a solicitor at the tribunal, they may ask you to sign an agreement where you pay their fee out of your pensation if you win the case. This is known as a damagesbased agreement. In England and Wales, your solicitor can39。s 150th anniversary celebrations and will attend City39。s governing body, has also ordered an immediate investigation into the referee39?;蛟S是愧疚于自己似乎把轉(zhuǎn)瞬即逝的很多個(gè)不同的日子過(guò)成了同一天的樣子;或許是追溯過(guò)去,對(duì)自己那些近乎偏執(zhí)的怪異信念的醒悟,這些天以來(lái),思緒一直很凌亂,在腦海中不斷糾纏 。 Junior high school, thought to have a crush on just means that the real growth, but over the past three years later, his writing of alumni in peace, suddenly found that isn39。t remember his appearance. 童年時(shí),覺(jué)得壓歲錢(qián)和新衣服是過(guò)年必備,但是隨著年齡的推進(jìn),會(huì)越來(lái)越發(fā)現(xiàn),那些東西根本就可有可無(wú);初中時(shí),以為要有一場(chǎng)暗戀才意味著真正的成長(zhǎng),但三年過(guò)去后,自己心平氣和的寫(xiě)同學(xué)錄的時(shí)候,突然就發(fā)現(xiàn)是不是真正的成長(zhǎng)了,好像并沒(méi)有那么重要了 ;然后到了高中,覺(jué)得非要吐露出自己的心聲才能為高中生涯里的懵懂情愫劃上一個(gè)句點(diǎn),但畢業(yè)晚會(huì)的時(shí)候最終還是被梗塞在了咽喉,后來(lái)再次站在他曾經(jīng)揮汗如雨的球場(chǎng),看著他投過(guò)籃球的球框時(shí),突然間發(fā)現(xiàn)自己已經(jīng)想不起他的容顏。想要的,不想要的,界限明確,好像沒(méi)有什么可以撼動(dòng)自己。 At the moment, the sky is dark, the air is fresh factor after just rained. Suddenly thought of blue plaid shirt。t start planning... Those years, those days of do, finally, like youth, will end in