【正文】
北方民族大學(xué)學(xué)士學(xué)位論文 I 摘 要 溫濕度控制系統(tǒng)早已經(jīng)成為當(dāng)今社會(huì)研究的熱門領(lǐng)域之一,同時(shí)溫濕度也是現(xiàn)今工農(nóng)業(yè)生產(chǎn)生活中必須要首先考慮的重要因素之一。因此現(xiàn)今社會(huì)生產(chǎn)生活中就迫切需要一種價(jià)格便宜、容易操作而且精確度高的溫濕度控制系統(tǒng)。本系統(tǒng)設(shè)計(jì)就是利用 AT89C52 單片機(jī)對(duì)溫濕度參量進(jìn)行檢測(cè)進(jìn)而實(shí)現(xiàn)對(duì)溫濕度參量的控制。 本系統(tǒng)設(shè)計(jì)通過(guò)使用 AT89C52 單片機(jī)、 DHT11 傳感器模塊、 LCD1602 液晶顯示屏模塊以及二極管閃爍報(bào)警模塊。簡(jiǎn)單的系統(tǒng)設(shè)計(jì)就可以基本上滿足本系統(tǒng)設(shè)計(jì)的系統(tǒng)設(shè)計(jì)要求。 DHT11 數(shù)字溫濕度傳感器負(fù)責(zé)把采集到 的溫濕度信號(hào)傳送給AT89C52 單片機(jī)。溫濕度經(jīng)過(guò) AT89C52 單片機(jī)處理,然后 AT89C52 準(zhǔn)確地把溫濕度信號(hào)發(fā)送到 LCD1602 液晶顯示屏模塊,溫濕度數(shù)據(jù)就可以準(zhǔn)確地顯示到LCD1602 液晶屏上面,同時(shí)我們可以分別對(duì)溫度和濕度設(shè)置上下限,越限二極管閃爍報(bào)警。 關(guān)鍵詞 : AT89C52 單片機(jī), DHT11 傳感器模塊, 1602 液晶顯示屏模塊,二極管閃爍報(bào)警模塊 基于 51 單片機(jī)溫濕度采集控制系統(tǒng) II ABSTRACT Temperature and humidity control system has already bee one of the most popular areas of today39。s social research, one of the factors of temperature and humidity is also today39。s industrial and agricultural production life must first consider important. Therefore the social production and living an urgent need for a cheap, easy operation and high precision temperature and humidity control system. The system design is the use of the AT89C52 microcontroller temperature and humidity parameters for testing so as to realize the control of temperature and humidity parameters. This design by using AT89C52 microcontroller, the DHT11 sensor module, LCD1602 LCD module diode flashing alarm module. Simple design can be substantially meet the design requirements of the design. DHT11 digital temperature and humidity sensor is responsible for the collected temperature and humidity signal is transmitted to the AT89C52 microcontroller. Temperature and humidity after AT89C52 singlechip processing, and then AT89C52 accurate temperature and humidity signal is sent to the LCD1602 LCD display module, temperature and humidity data can accurately display the LCD1602 LCD screen above, and we can set upper and lower limits of temperature and humidity, the more limiting diode flashing alarm. Keywords:AT89C52 microcontroller, the DHT11 sensor module, 1602 LCD module, diode flashing alarm module 北方民族大學(xué)學(xué)士學(xué)位論文 III 目 錄 第 1 章 緒 論 ................................................................................................................... 1 課題研究的背景 .................................................................................................. 1 課題研究的意義 .................................................................................................. 1 課題研究的主要內(nèi)容 ........................................................................................... 2 課題研究的工作原理 ........................................................................................... 2 第 2 章 系統(tǒng)總體方案系統(tǒng)設(shè)計(jì) ........................................................................................ 3 功能要求 ............................................................................................................ 3 系統(tǒng)設(shè)計(jì)思路 ..................................................................................................... 3 方案選擇 ............................................................................................................ 3 傳感器選擇方案 ....................................................................................... 3 顯示器選擇方案 ....................................................................................... 4 單片機(jī)主芯片選擇方案 ............................................................................. 4 總體系統(tǒng)設(shè)計(jì)框圖 .............................................................................................. 4 第 3 章 系統(tǒng)硬件系統(tǒng)設(shè)計(jì) ............................................................................................... 6 概述 ................................................................................................................... 6 主控模塊系統(tǒng)設(shè)計(jì) .............................................................................................. 6 ATC89C52 芯片的簡(jiǎn)介 ............................................................................... 6 主控模塊電路原理圖 ................................................................................ 7 DHT11 傳感器模塊系統(tǒng)設(shè)計(jì) ................................................................................ 7 DHT11 傳感器簡(jiǎn)介 .................................................................................... 7 DHT11 傳感器模塊電路系統(tǒng)設(shè)計(jì) ............................................................... 9 1602 液晶顯示模塊系統(tǒng)設(shè)計(jì) ............................................................................... 9 1602 液晶顯示屏簡(jiǎn)介 ............................................................................... 9 1602 液晶顯示模塊電路原理圖 ................................................................ 11 報(bào)警模塊 ........................................................................................................... 11 二極管工作原理 ...................................................................................... 11 第 4 章系統(tǒng)軟件 系統(tǒng)設(shè)計(jì) ................................................................................................13 LCD1602 液晶顯示模塊系統(tǒng)設(shè)計(jì) ........................................................................13 傳感器模塊系統(tǒng)設(shè)計(jì) ..........................................................................................14 第 5 章 系統(tǒng)分析與調(diào)試 ..................................................................................................15 第 6 章 結(jié)論與展望 .........................................................................................................17 參考文獻(xiàn) .........................................................................................................................18 致 謝 ..............................................................................................................................19 附 錄 ..............................................................................................................................20 附錄 A 外文文獻(xiàn) ......................................................................................................20 附錄 B 硬件原理圖 ..................