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

正文內(nèi)容

基于單片機的實時溫度監(jiān)控系統(tǒng)設計畢業(yè)論文(存儲版)

2025-04-07 11:52上一頁面

下一頁面
  

【正文】 ............... 23 第五章 結論 ................................................................................................................. 24 參考文獻 ........................................................................................................................ 25 致 謝 ............................................................................................................................. 26 附錄一 英文文獻 ........................................................................................................... 27 附錄二 中文翻譯 ........................................................................................................... 36 4 第一章 前言 溫度是一種最基本的環(huán)境參數(shù),對于我們來說,不僅僅是一個量的反映,更能直接影響作用到我們的生活中,人民的生活與環(huán)境的溫度息息相關,在工業(yè)生產(chǎn)過程中需要實時測量溫度,在農(nóng)業(yè)生產(chǎn)中也離不開溫度的 測量。 該系統(tǒng)以 AT89S52 單片機為控制核心,利用新型一線制溫度傳感器 DS18B20 測量溫度值,實現(xiàn)環(huán)境溫度的檢測和報警。 temperature measurement。因此研究溫度的測量方法和裝置具有重要的意義。在訪問外部數(shù)據(jù)存儲器或程序存儲器時,該口分時轉(zhuǎn)換低 8 位地 址和數(shù)據(jù)總線,在訪問期間激活內(nèi)部上拉電阻。在訪問外部程序存儲器或 16位地址的外部數(shù)據(jù)存儲器(如執(zhí)行 MOVX DPTR 指令)時, P2 口送出高 8 位地 7 址數(shù)據(jù)。 F1ash 存儲器編程時,該引腳加上 +12V 的編程電壓 Vpp。外接石英晶體(或陶瓷諧振器)及電容 C C2 接在放大器的反饋回路中構成并聯(lián)振蕩電路。 圖 3 時鐘電路 AT89S52 復位 復位是單片機的初始化操作。當單片機已在運行當中時,按下復位鍵 K 后松開,也能使 RST 為一段時 間的高電平,從而實現(xiàn)上電或開關復位的操作 9 圖 4 復位電路 溫度測量傳感器 DS18B20 介紹 DS18B20 簡介 本文所采用的溫度傳感器是美國 DALLAS 公司生產(chǎn)的單線數(shù)字溫度傳感器DS18B20,具有微型化、低功耗、高性能、抗干擾能力強、易配微處理器等優(yōu)點,特別適合于構成多點溫度測控系統(tǒng),可直接將溫度轉(zhuǎn)化成串行數(shù)字信號供微機處理,而且每片 DS18B20都有唯一的產(chǎn)品號并可存入其 ROM 中,以使在構成大型溫度測控系統(tǒng)時在單線上掛任意多個 DS18B20芯片。寄生電源供電時, VDD 端接地,器件從單線總線上獲取電源。芯片內(nèi)部還有斜率累加器,可對頻率的非線性予以被償。共陰數(shù)碼管在應用時應將公共極 COM 接到地線 GND 上,當某一字段發(fā)光二極管的陽極為高電平時,相應字段就點亮。 MCS51 單片機內(nèi)部有一個用于構成振蕩器的高增益反向放大器,引腳 XTALl 和 XTAL2 分別是此放大電器的輸入端和輸出端,由于采用內(nèi)部方式時,電路簡單,所得的時鐘信號比較穩(wěn)定,實際使用中常采用這種方式,在其外接晶體振蕩器 (簡稱晶振 )或陶瓷諧振器就構成了內(nèi)部振蕩方式,片內(nèi)高增益反向放大器與作為反饋 元件的片外石英晶體或陶瓷諧振器一起可構成一個自激振蕩器并產(chǎn)生振蕩時鐘脈沖。 當 DS18B20 處于寫存儲器操作和溫度 A/D 轉(zhuǎn)換時,總線上必須有強的上拉 ,上拉開啟時間最大為 10 微秒 .采用寄生電源供電方式是 VDD 和 GND 端均接地 .由于單線制只有一根線,因此發(fā)送接口必須是三態(tài)的。這樣可以在一秒之內(nèi)測量一次被測溫度,其程序流程見圖 20 所示。 圖 24 數(shù)據(jù)刷新子程序 流程圖 溫度數(shù)據(jù)移入顯示寄存器 十位數(shù) 0? 百位數(shù) 0? 十位數(shù)顯示符號百位數(shù)不顯示 百位數(shù)顯示數(shù)據(jù)(不顯示符號) 結束 N N Y Y 24 第 五 章 結論 本文針對溫度測量方法的現(xiàn)狀和所要研究問題的分析,提出了一種采用單總線式數(shù)字溫度傳感器 DS18B20 芯片,并運用 AT89S52 作為控制芯片的溫度測量控制系統(tǒng),接著從單片機的結構,原理分析起,再熟悉了 AT89S52 的工作原理及使用方法后,詳細的分析了 DS18B20 芯片的結構、工作原理、時序和測量溫度的方法,最后又簡要了解下 LED 數(shù)碼管的顯示方法。s best architecture. “the innovation pattern” obtains successfully, h as established SCM and the generalpurpose calculator pletely different development path. In founds on the embedded system independent development path, Intel Corporation has lasting achievements. 2. MCU namely micro controller (Micro Controller Unit) the stage, the main technological development direction is: Expands unceasingly when satisfies the embedded application, the object system request39。s application domain At present the monolithic integrated circuit seeps each domain which lives to us, which domain was nearly very difficult to find not to have monolithic integrated circuit39。s control, as well as program control toy, electronic pet and so on, these cannot leave the monolithic integrated circuit. Say nothing of automatic control domain robot, intelligent measuring appliance, medical instrument. Therefore, monolithic integrated circuit39。s application the , may carry on the data munication very conveniently with the puter, for provided the extremely good 30 physical conditions application between the puter work and munication facility39。s embedded application, the early embedded system for the generalpurpose calculator after the reequipping inserts to the object system39。 After the air conditioner uses the monolithic integrated circuit, not only the remote control parameter establishment is convenient, the running status transforms automatically, but may also realize the frequency conversion control. After at present many domestic electric appliances like VCD, DVD only then the monolithic integrated circuit appears, only then possibly realizes its function. 3. The embedded system has led entire electronic industry the present electron primary device industry besides the microprocessor, the embedded system ponent, mostly is revolves the modern electron systems assembly the primary device industry, for example satisfies the pressed key which the manmachine interaction uses, LED/LCD demonstrated that the actuation, the LED/LCD display unit, the pronunciation integrated device and so on, satisfies the data acquisition channel request the digital sensor, ADC, the data acquisition module, the signal recuperation module and so on, satisfies the servo to actuate the control DAC, the solid relay, to stepbystep electrical machinery controller, the frequency 33 conversion control unit and so on, satisfies the correspondence request each kind of main line driver, the level switch and so on. world electron primary device under the embedded syst。s principle), needs plex being similar in puter39。 application , present39。s each kind of intelligent IC card, the civil luxury car39。s 28 development has formed the SOC tendency naturally. Along with the microelectronic technology, the IC design, the EDA tool39。 可以說這次的畢業(yè)設計并不是我一個人的成果,而是屬于我的導師和幫助過我的同學們還有我所共有的! 總之,此次 我收獲了很多, 在自己動手操作的過程中也遇到了好些問題,最終都被完滿的解決,既讓我懂得了工作的艱辛,也讓我體會到了解決難題后的快樂,最重要的是在這個過程中我學會了解決問提的辦法 既 為大學四年劃上了一個完美的句號,也為將來 進入社會做 了 一個很好的鋪墊。 圖 23 計算溫度流程圖 開始 溫度零下 ? 溫度值取補碼置“ — ”標志 計算小數(shù)位溫度 BCD值 計算整數(shù)位溫度 BCD值 結束 置“ +”標志 N Y 23 顯示數(shù)據(jù)刷新子程序 顯示數(shù)據(jù)刷新子程序主要是對顯示緩沖器中的顯示數(shù)據(jù)進行刷新操作,當最高顯示位為 0 時將符號顯示位移入下一位。 17 LAX T A L 218X T A L 119A L E30EA31P S E N29RS T9P 0 .0 /A D 039P 0 .1 /A D 138P 0 .2 /A D 237P 0 .3 /A D 336P 0 .4 /A D 435P 0 .5 /A D 534P 0 .6 /A D 633P 0 .7 /A D 732P 1 .0 /T 21P 1 .1 /T 2 E X2P 1 . 23P 1 . 34P 1 . 45P 1
點擊復制文檔內(nèi)容
黨政相關相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1