【正文】
ALLAS 公司生產(chǎn)的單總線器件。 ,超低功耗。 二進(jìn)制數(shù)據(jù)輸出。并且,不需要額外電器元件。 電子 104 班 蘇宇寧 大棚溫濕度設(shè)計(jì) 2 第 2 章 設(shè)計(jì)方案 簡(jiǎn)述 設(shè)計(jì) 溫濕度的測(cè)量模塊 經(jīng)過 溫 濕度傳感器 DHT11 采集數(shù)據(jù),再通過 51單片機(jī)對(duì)其內(nèi)部數(shù)字進(jìn)行分析后,將其數(shù)值送到 12864 液晶模塊上進(jìn)行顯示,本系統(tǒng)可以設(shè)定溫度范圍 0~50 攝氏度,最小區(qū)分度為一度 ,設(shè)定濕度范圍為 20%90%RH,最小區(qū)分度為 1%RH。系統(tǒng)下位機(jī)設(shè)在種植植物的大棚內(nèi),下位機(jī)中的溫濕度傳感器可以將環(huán)境中的溫濕度非電量參數(shù)轉(zhuǎn)化成電量信號(hào),再將這些信號(hào)進(jìn)行處理后送至下位機(jī)中的單片機(jī),單片機(jī)讀取數(shù)據(jù)后將數(shù)據(jù)送到緩沖區(qū)內(nèi),通過 LED 數(shù)碼管進(jìn)行實(shí)時(shí)顯示。 該系統(tǒng)由溫度傳感器模塊 、 濕度傳感模塊 和 液晶顯示模塊 組成 ,應(yīng)用溫濕度傳感器的工作原理 對(duì)當(dāng)前環(huán)境實(shí)施監(jiān)控,定時(shí)采集數(shù)據(jù)傳送給單片機(jī),單片機(jī)根據(jù)溫濕度傳感器采集到的數(shù)據(jù)進(jìn)行處理, 再將接收 的數(shù)據(jù)顯示到 12864 液晶顯示屏上, 若是超過預(yù)期設(shè)置的上限和下限,采用二極管模擬報(bào)警, 由于制作和組合上的精細(xì),使得本設(shè)計(jì)顯得智能化、實(shí)用化。 關(guān)鍵詞: 51單片機(jī);溫度傳感;濕度傳感; 12864 液晶顯示 電子 104 班 蘇宇寧 大棚溫濕度設(shè)計(jì) II Abstract The design STC52 microcontroller core, and through DHT11 temperature and humidity sensor works to achieve in the current environment, temperature and humidity measurements, and a good temperature and humidity by setting the upper limit, lower limit value of the temperature on the current environment implementation of monitoring and humidity, more than the value of implementing an early warning alarm. The system consists of temperature sensor module, humidity sensing module and liquid crystal display module, the application of temperature and humidity sensor works by monitoring the implementation of the current environment, regularly collected data to the microcontroller, microcontroller based temperature and humidity sensor for processing the data collected, and then will receive the data to the LCD screen on the 12864, if more than expected to set the upper and lower limits, the use of diode analog alarm, due to a bination of production and fine, making the design is intelligent, practical. Keywords: 51singlechip; temperature sensor; humidity sensor; 12864 LCD 電子 104 班 蘇宇寧 大棚溫濕度設(shè)計(jì) III 目 錄 摘要 ............................................................................................................................................. I Abstract ...................................................................................................................................... II 第 1 章 緒論 .............................................................................................................................. 1 設(shè)計(jì)目的 ......................................................................................................................... 1 設(shè)計(jì)背景 ......................................................................................................................... 1 第 2 章 設(shè)計(jì)方案簡(jiǎn)述 ............................................................................................................. 2 方案設(shè)計(jì) ......................................................................................................................... 2 方案設(shè)計(jì) ......................................................................................................................... 3 第 3 章 設(shè)計(jì)部分 ..................................................................................................................... 4 硬件設(shè)計(jì) ........................................................................................................................ 4 AT89S52 外圍電路簡(jiǎn)述 ........................................................................................... 4 液晶顯示模塊電路設(shè)計(jì) ........................................................................................... 5 DHT11 溫度濕度傳感器電路設(shè)計(jì) .......................................