【正文】
教務處制表 哈爾濱理工大學畢業(yè)設計(論文)任務書 學生姓名:劉欣 學號: 0712021408 學 院:自動化學院 專業(yè):自動化 任務起止時間: 2021 年 3 月 8 日至 2021 年 6 月 28 日 畢業(yè)設計(論文)題目: 基于單片機的溫 濕度控制 畢業(yè)設計工作內容: 了解控制原理及設計規(guī)律,在此基礎上進行單片機 系統(tǒng)的軟硬件設計 ,從而實現(xiàn)對藏書室室內溫濕度的控制 。 資料: 1 李全利,仲偉峰,徐軍.單片機原理及應用.清華大學出版社,2021: 160~168 2 William K Wilson. Environmental guidelines for the storage of paper record [R]. NISO TR01, 2021, USA 3 陳旭明.單片機設計與仿真.北京大學出版社, 2021: 184~201 指導教師意見: 簽名: 年 月 日 系主任意見: 簽名: 年 月 日 哈爾濱理工大學學士學位論文 II 基于單片機的溫濕度監(jiān)控系統(tǒng) 摘 要 針對溫、濕度對紙張耐折度的影響,設計了適應中小型文獻資料庫應用的溫、濕度監(jiān)控裝置。單片機的應用正從根本上改變著傳統(tǒng)的控制系統(tǒng)設計思想和設計方法。 485 總線 哈爾濱理工大學學士學位論文 III The temperature and humidity of the monitor system based on single chip microputer Abstract According to temperature, humidity on paper folding, the effects of the resistance of the design to small and mediumsized documents database application of temperature, humidity monitoring device. This device can not only realize temperature, humidity, temperature and humidity adjusting detection and display, and can realize temperature, humidity and parameters of the limit of temperature and humidity on the set, and when the time limit to be able to call the police, and start the corresponding device which changes indoor temperature. This control system has the high accuracy, simple to use, low cost and stable and reliable, and other characteristics, has certain value of popularization. SCM has small volume, light weight, less consumption, function of strong, flexible and convenient control and the price cheap, etc. The application of SCM is fundamentally changing the traditional control system design idea and design method. In real life, for a larger system, people often take the microputer control, the smaller system by 51 or 96 more, series microcontroller. In this paper, we have designed to AT89C51 singlechip microputer as the main core of the realization of the temperature, humidity control system, including hardware and software design, can undertake PC munications, and gives the detailed circuit principle diagram. Keyword Temperature control。 4 目錄 摘要 …… ........................................................................................................................ I Abstract .........................................................................................................................II 第 1 章 緒論 ........................................................................................................ 1 課題背景 ................................................................................................... 1 研究現(xiàn)狀 ................................................................................................... 2 論文研究內容 ........................................................................................... 7 第 2 章 總體方案設計 ........................................................................................ 9 方案設計 ................................................................................................... 9 系統(tǒng)設計原則 ........................................................................................... 9 本章小結 ................................................................................................. 11 第 3 章 硬件設計 .............................................................................................. 12 AT89C51 單片機簡介 ............................................................................. 12 主要特性 ........................................................................................ 13 外部管腳 ........................................................................................ 13 測溫度電路 ............................................................................................. 15 內部結構 ........................................................................................ 17 DS18B20 工作 原理 ........................................................................ 18 測濕度電路 ............................................................................................. 21 鍵盤 ......................................................................................................... 24 顯示 LCD ................................................................................................ 24 上位機通信 ............................................................................................. 25 本章小結 ................................................................................................. 26 第 4 章 系統(tǒng)軟件設計 ...................................................................................... 28 主程序設計 ............................................................................................. 28 溫濕度檢測模塊 ..................................................................................... 30 顯示報警模塊 ......................................................................................... 31 本 章小結 ................................................................................................. 32 結論 .................................................................................................................... 33 致謝 .................................................................................................................... 34 參考文獻 ............................................................................................................ 35 附錄 .................................................................................................................... 38 哈爾濱理工大學學士學位論文 隨著自動化的發(fā)展,自動化開始向復雜的系統(tǒng)控制和高級的智能控制發(fā)展,并廣泛地應用到國防、科學研究和經(jīng)濟等各個領域,實現(xiàn)更大規(guī)模的自動化 ,例如大型企業(yè)的綜合自動化系統(tǒng)、全國鐵路自動調度系統(tǒng)、國家電力網(wǎng)自動調度系統(tǒng)、空中交通管制系統(tǒng)、城市交通控制系統(tǒng)、自動化指揮系統(tǒng)、國民經(jīng)濟管理系統(tǒng)等。 古舊文獻資料是記載一個國家文明的重要標志,如何有效 的保護這些重要文件,已成為當務之急。這些由工控