【正文】
石英晶體,電容應(yīng)該使用 30pF。 AT89S52 外圍電路簡(jiǎn)述單片機(jī) AT89S52 作為主控芯片,控制整個(gè)電路的運(yùn)行。濕度測(cè)量范圍 1%~99%;最小進(jìn)步為 1%;電子 104 班 蘇宇寧 大棚溫濕度設(shè)計(jì) 4 第 3 章 設(shè)計(jì)部分 硬件設(shè)計(jì)單片機(jī)是整個(gè)系統(tǒng)的控制中樞,它指揮外圍器件協(xié)調(diào)工作,從而完成特定的功能。芯片還具有以下一些特點(diǎn):(1)僅需一個(gè)端口即可完成數(shù)據(jù)的讀取和寫入;(2)每個(gè) DS12B20 芯片都有一個(gè)獨(dú)一無二的序列號(hào)(3)測(cè)量溫度范圍在55℃到 125℃之間;(4)數(shù)字溫度計(jì)的分辨率可以選擇 9 到 12 位;(5)可以設(shè)置告警溫度的上下限。 ,超低功耗。并且,不需要額外電器元件。系統(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í)顯示。關(guān)鍵詞:51 單片機(jī);溫度傳感;濕度傳感;12864 液晶顯示電子 104 班 蘇宇寧 大棚溫濕度設(shè)計(jì)IIAbstractThe 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 目 錄摘要 .............................................................................................................................................IAbstract ......................................................................................................................................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)述 ............................