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

正文內(nèi)容

畢業(yè)設(shè)計-基于at89s52單片機溫度控制系統(tǒng)設(shè)計-文庫吧資料

2025-06-13 01:41本頁面
  

【正文】 RS=1, RW=0, 注: D0~7=數(shù)據(jù), E=H 脈沖 DS18B20 圖 33 DS18B20(如圖 33) 是 美國 DALLAS 公司 設(shè)計制造 的 一種 數(shù)字溫度傳感器,它具有微型化、低功耗、 溫度測量范圍廣 、 采用單總線連接、支持報警, 抗干擾能力 等優(yōu)點, 同時 DS18B20 支持 9~12 位精度的溫度測量和轉(zhuǎn)換。 第 7~ 14腳: D0~ D7 是數(shù)據(jù)引腳, 1602 的數(shù)據(jù)引腳是雙向的,既可以寫入數(shù)據(jù)也可以讀出數(shù)據(jù),通過設(shè)置 R/W 改變數(shù)據(jù)引腳功能 。 第 5腳: RW 為讀寫 選擇 信號線,高電平時 是 讀操作,低電平時 是 寫操作。 1602 液晶模塊引腳采用標(biāo)準(zhǔn)的單列直插接口方式,總共 16個引腳。其中,‘ 16’代表每行可以最多顯示 16個字符 。 Vss:主電源負(fù)端,接地。 XTAL2: 片內(nèi)高增益 反相放大器的輸出端 。 FLASH 存儲器 編程 時,該 引腳 加上 +12V 的編程允許電源 Vpp,當(dāng)然這必須是該器件是使用 12V 編程電壓 Vpp。 當(dāng) AT89S52 訪問外部數(shù)據(jù)存儲器時 將跳過兩次 PSEN 信號 ,以通過 P0 口數(shù)據(jù)總線讀取 。 ALE 是以1/6 晶振頻率的固定頻率輸出的正脈沖,可作為外部時鐘或外部定時脈沖。 ALE/PROG: 地址鎖存控制信號 引腳 。 端口 引腳 第二功能: RXD(串行輸入口 ) TXD(串行輸出口 ) INTO(外中斷 0,低電平下降沿有效 ) INT1(外中斷 1,低電平下降沿有效 ) TO(定時 /計數(shù)器 0,外部輸入 ) T1(定時 /計數(shù)器 1,外部輸入 ) WR(外部數(shù)據(jù) 存儲器 寫選通 ,低電平有效 ) RD(外部數(shù)據(jù) 存儲器 讀選通 ,低電平有效 ) RST/Vpd:復(fù)位 信號 輸入。 P3 口亦作為 AT89S52特殊功能使用,如下表所示。 P2 口也有兩種工作方式。它是自帶上拉電阻的 8位準(zhǔn)雙向 I/O 端口,每一位可以 驅(qū)動 4 個 TTL 邏輯電平 ,當(dāng) P1 口作為輸入接口時,應(yīng)先向 P1 口鎖存器寫‘ 1’。 P0 口作為輸出口時,每個引腳負(fù)載 8 個 TTL;在外部擴(kuò)展存儲器時,可定義為 8 位地址 /數(shù)據(jù)線;定義為 I/O 時,需要外接上拉電阻,為準(zhǔn)雙向 I/O 口時,在程序中向該端口寫入‘ 1’時為高阻抗輸入口。它也可以產(chǎn)生中斷, 從而控制程序轉(zhuǎn)向。 在 空閑模式下, CPU 停止工作,允許 RAM、 中斷繼續(xù)、串口 、定時器 /計數(shù) 器 工作。片上 Flash有 程序 寄存 器 可編程, 也適用于 常規(guī)編程器。 第三章 溫度控制硬件系統(tǒng)設(shè)計 芯片介紹 AT89S52 圖 31 AT89S52 是一種低功耗、高性能 CMOS8 位微控制器,具有 8K 的 系統(tǒng)可編 AT89S5224PU 程 Flash 存儲器 。 ℃ 4. 能夠自我控制及調(diào)整 5. 人 機對話方便 工作原理 溫度傳感器 DS18B20 從設(shè)備環(huán)境 內(nèi) 采集溫度,單片機 AT89S52 獲取采集的溫度值,經(jīng)處理后得到當(dāng)前環(huán)境中一個比較穩(wěn)定的溫度值,再根據(jù)當(dāng)前設(shè)定的溫度上下限值,通過加熱和降溫對當(dāng)前溫度進(jìn)行調(diào)整。 第二章 溫度控制系統(tǒng)方案選擇 設(shè)計要求 設(shè)計基于單片計算機的溫度控制器,用于控制溫度。 C,該溫度傳感器具有高效串行輸出性能直接讀取溫度值。本設(shè)計中溫度控制采用具有應(yīng)用廣泛、穩(wěn)定性強、反應(yīng)舉快特點的 AT89S52 單片機進(jìn)行設(shè)計,溫度采集使用 DS18B20 溫度傳感器,其檢測溫度范圍 55 在很多精密加工中對溫度要求極為精密, 因此,這就需要一種能夠及時檢測溫度變化的設(shè)備,提供溫度數(shù)據(jù)值,使人們對溫度的變化做 出 及時的調(diào)整 。 1. 2 溫度控制的研究現(xiàn)狀及本文主要研究內(nèi)容 現(xiàn)代工業(yè) 控制設(shè)計 及日常生活中溫度控制都起著 非常 重要的作用,早期的溫度控制主要用于工廠生產(chǎn)中,能起到實時采集溫度數(shù)據(jù)并控制溫度從而提高生產(chǎn)效率和 產(chǎn)品質(zhì)量。另外,單片機是按照工業(yè)控制要求設(shè)計的,其可靠性很高,可在工業(yè)現(xiàn)場復(fù)雜的環(huán)境下運行。單片機將微機的 CPU、存儲器、 I/O接口 整合到一起 其實就是一個簡化的微機 。利用微型計算機的強大功能, 人們可以完成 各種自動化智能 的控制。 附 錄 ...........................................................................................錯誤 !未定義書簽。 參考文獻(xiàn) ....................................................................................錯誤 !未定義書簽。 Single chip microputer temperature control system design Abstract Temperature is one of the main accused parameters in industrial object. Especially in the chemical industry, metallurgy, machinery, food and other kinds of industry, people need to all kinds of heating furnace, hot processor and temperature detection and control of the boiler. Because the process is different, the required temperature is different, so adopted by the temperature measuring element and temperature measuring method is different also. Today, microcontroller technology has very mature, it is high integration, strong functions, large storage, high speed, strong antiinterference advantages of abundant and instructions, etc., make its application in various fields. In this paper, design of system is an example of MCU is applied to temperature control. This system is a kind of high precision, fast measurement and closedloop control, measurement and control temperature range of the applied stronger based on single chip microputer temperature measurement and control system. AT89S52 singlechip microputer as the core of the design principle and design method of temperature control system. By temperature chip DS18B20 temperature signal acquisition and digital signal transmitted to the microcontroller. This paper introduces the hardware part of the control system, including: temperature detection circuit, temperature control circuit, display circuit, alarm circuit and some interface circuit. SCM through the signal is processed to achieve the purpose of temperature control. The paper also introduces the software design part, here USES the modular structure, main modules: LCD1602 display program, keyboard scanning and processing program, the temperature signal processing, single chip microputer internal operation procedures and overtemperature alarm. Key words: AT89S52 SCM, temperature acquisition module DS18B20, liquid crystal display LCD1602. 目 錄 摘要 .. .................................................. 2 Abstract ................................................ 3 目錄 .................................................... 4 第一章 緒論 ............................................. 5 課題背景、目的及意義 ....................................... 5 溫度控制的研究現(xiàn)狀及本文主要研究內(nèi)容 ........................ 5 第二章 溫度控制系統(tǒng)方案選擇 .............................. 11 設(shè)計要求 .................................................. 11 工作原理 .................................................. 13 第三章 溫度控制硬件系統(tǒng)設(shè)計 .............. 錯誤 !未定義書簽。文中還著重介紹了軟件設(shè)計部分,在這里采用模塊化結(jié)構(gòu),主要模塊有: LCD1602 顯示程序、鍵盤掃描及按鍵處理程序、溫度信號處理程序、單片機內(nèi)部運算比較程序、超溫報警程序。文中介紹了該控制系統(tǒng)的硬件部分,包括:溫度 檢測電路、溫度控制電路、溫度顯示電路、報警電路和一些接口電路 。 本設(shè)計以 AT89S52單片機為核心的溫度控制系統(tǒng)的工作原理和設(shè)計方法。本文設(shè)計的系統(tǒng)就是單片機應(yīng)用于溫度控制的一個例子。由于工藝不同,所需要的溫度高低 也不盡相同 ,因而所采用的測溫元件
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1