freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于單片機的超聲波測距儀的設計_畢業(yè)設計(編輯修改稿)

2024-08-14 16:27 本頁面
 

【文章內(nèi)容簡介】 由于時間不是很充裕,對系統(tǒng)的設計還存在一些不足,下一步還有以下工作要繼續(xù)進行: 超聲波發(fā)射波形的改進 因為該設計加在發(fā)射器上的電壓波形采用方波,方波含有豐富的高次諧波,不利于精確鑒相。這將增加發(fā)射波與回波的諧波失真。所以在接下來的工作中,可能會考慮用正弦波代替方波來優(yōu)化該設計。 樣機的制作 由于時間關系,樣機暫時無法做出,但我們已經(jīng)和同學一起聯(lián)系商家,購買了一定的材料。 進一步研究系統(tǒng)的抗干擾性能 硬件抗干擾 技術是系統(tǒng)設計時首選的抗干擾措施。常見的硬件抗干擾措施有元件的合理布局、接地的抗干擾處理、隔離技術等。在制作樣機的過程中,將會采用多種抗干擾技術對系統(tǒng)進行優(yōu)化,減小測量誤差。 18 致謝 本次畢業(yè)設計得以順利完成,首先要感謝劉純利老師的指導和大力支持。在這期間,我和劉老師保持著經(jīng)常性的面對面或通過郵件形式的交流。劉純利老師淵博的專業(yè)知識、嚴謹?shù)闹螌W態(tài)度、精益求精的工作作風、平易近人的人格魅力對我影響深遠。在畢業(yè)設計中,劉純利老師對設計的思路和結(jié)構(gòu)進行了指導,同時也對相當一部分專業(yè)知識方面的幫助。同時,也要感謝大學 幾年授我們以漁的老師們,是你們的諄諄教誨讓我們獲得了扎實的知識,在這里表示衷心的感謝! 參考文獻 [1] 謝維成,楊加國 .單片機原理與應用及 C51 程序設計 .北京:清華大學出版社, 20xx [2] 蔡菲娜 .單片微型計算機原理和應用 .杭州:杭州大學出版社, 1995 [3] 李建忠 .單片機原理及應用 .西安:西安電子科技大學出版社, 20xx [4] 張齊等 .單片機應用系統(tǒng)設計技術 基于 C 語言編程 .北京:電子工業(yè)出版社, 20xx [5] 吳延海 .微型計算機接口技術 .重慶:重慶大學出版社, 1997 [6] 李麗霞 .單片機在超聲波測距中的應用 [J].電子技術 ,20xx [7] 姜道連 ,寧延一 ,袁世良 .用 AT89C2051 設計超聲波測距儀 [J].國外電子元器件 ,20xx [8] 張鵬 ,張有志 .一種新型超生測距系統(tǒng) [J].山東 :山東大學學報 ,20xx,33(1) [9] 李學海 .PIC 單片機實用教程-基礎篇(第 1 版) [M].北京航天航空大學出版社 .北京:20xx 年 2 月 [10] 賈伯年 . 傳感器技術 . 南京 : 東南大學出版社 ,20xx [11] 陳大新 ,胡學同 ,周杏鵬 .利用 FPGA 改進超聲波測距模塊設計 [J].傳感器技術 ,20xx,24(2): 57~ 59 [12] 閻石 . 數(shù)字電子技術基礎 . 北京 : 高等教育出版社 , 1998 [13] 樓然苗 . 51 系列單片機設計實例 . 北京 : 北京航空航天大學出版社 ,1999 [14] 譚浩強 .C 程序設計(第三版) .北京:清華大學出版社, 20xx [15] 朱偉芳 .一種便攜式長度測量系統(tǒng)的硬件設計 [J].江蘇電器 ,20xx,5:1415 [16] Tom R. Watt .Cooling our tomorrows economically , ASHRAE Journal. [17] Army Kayla. Improving efficiency in existing chillers with optimization technology , ASHRAE Journal. [18] mutter , Eerily , , , , Refine the use of the evaporation in an experimental downdraft cool tower , Energys .1995 [19] rtori S , ZHANG G X. Geometric Error Measurement and Compensation of of the CIRP. 1995:599609 19 Ultrasonic Distance Testing System’s Design Based on Singlechip Microputer Abstract Because of modern production requirements, it was discovered that the need to achieve the production of noncontact distance measurement, and ultrasonic distance measurement is a good performance of the ranging approach is mainly used in reversing radar sites as well as some industrial field, this paper designed a to AT89S52 MCU as the core of the lowcost, highprecision, LCD display of ultrasonic range finder, and use some monly used devices such as: 74HC04, consists of microcontroller, ultrasonic transmitter and ultrasonic receiver amplifier circuit and display circuit. Chip AT89S52 control calculation by the ultrasonic transmission from transmit to receive time and hence the distance to be under test. The system has easy to detect, the software fully functional, reliable, high accuracy paper discusses the successful development of microputer technology, the basic principles of ultrasonic range finder, measurement method of calculating implementations. Use of software calibration, improved accuracy and machine reliability. The actual use of that greatly improves safety, reliability and accuracy. Keywords MCU distance meter ultrasonic sensor microcontroller LCD display 20 附錄 附錄一 系統(tǒng)原理圖 附錄二 系統(tǒng) PCB 板圖 21 附錄三 源程序 include include include define uchar unsigned char define uint unsigned int uchar code dispBUF[33]={Temperature: Distance: mm }。 uchar numcode[10]={39。039。,39。139。,39。239。,39。339。,39。439。,39。539。,39。639。,39。739。,39。839。,39。939。}。 uint num[29]={0}。 uchar jsh,jsl。 //計數(shù)器的高低位 uchar count=0。 //10 秒計次數(shù) uint distance。 //距離 uint temp。 //溫度變量 uchar bdata flag。 //DS18B20 存在標準 sbit RS=P2^0。 //LCD RS sbit RW=P2^1。 //LCD RW sbit E =P2^2。 //LCD E sbit DQ=P2^7。 //DS18B20 數(shù)字端口 sbit Busy = P0^7。 //LCD 忙 void Delay(uint time)。 void delay1ms(uint ms)。 void delay()。 void delay15(uchar us)。 void BUMA(void)。 void B20_WDAT(uchar dat)。 uchar B20_RDAT(void)。 void Init_18B20(void)。 //初始化 18B20 void Write_Comm(uchar)。 //寫入 LCD 命令 void Write_Data(uchar)。 //寫入 LCD 數(shù)據(jù) void Init_LCD(void)。 sbit sta_flag =flag^0。 //10MS 到標準位, flag 即通用標志位,當 sta_flag=1 時,表示到了 10ms sbit fuhao =flag^1。 //溫度的符號位 sbit START =P1^0。 //啟動測距 22 sbit CNT =P2^5。 //發(fā)射超聲波 sbit CSBIN =P2^6。 //返回信號 sbit BUZZER =P3^7。 /******************定時器 1溢出 ***************************/ void timer1(void)interrupt 2 using 1 {TR1=0。} //關閉定時器 /計數(shù)器 1 /*********定時器 0溢出中斷函數(shù),每 60MS 溢出 ****************/ void timer0(void)interrupt 1 using 0 //定時器 0 { TH0=0x15。 TL0=0xA0。 //定時器 0設定初值 TH1=0。 TL1=0。 //計數(shù)器 1清零 sta_flag=1。 count++。 _nop_()。 _nop_()。 _nop_()。 _nop_()。 CNT=1。 //先延時,后開始發(fā)送 40KHz 的超聲波 _nop_()。 _nop_()。 _nop_()。 _nop_()。 _nop_()。 _nop_()。 _nop_()。 _nop_()。 _nop_()。 _nop_()。 _nop_()。 _nop_()。 //40KHZ 的倒數(shù)就是 25us,12 個 _nop_()。就是 24us CNT=0。 //保持一段時間高電平 _nop_()。 _nop_()。 23 _nop_()。 _nop_()。 TR1=1。 //延時,避免直達信號干擾,啟動定時器 /計數(shù)器 1 delay15(50)。 //延時避開直達信號 } /***************系統(tǒng)初始化 *************************/ void SYS_INIT()
點擊復制文檔內(nèi)容
研究報告相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1