自动温湿度控制系统
摘要
通信机房是设备安装和运行的重要场所,提供各种设备长期可靠运行的外部环境。这些环境因素主要包括建筑、供电和温湿度的环境等。对于通信数据中心设备来说,最佳的运行环境是2224℃,相对湿度在35%50%之间,温度和湿度的大幅度变化可能导致敏感设备不能正常工作,急剧的温湿度变化甚至可能导致设备的破坏。
自动温湿度控制系统基于51系列的单片机AT98S52,该系统要求通过键盘设置把温度和湿度控制在一个恒定的值,且实时显示温度和湿度这两个参数值。系统采用单片机作为主控芯片,首先通过传感器对温度和湿度进行检测;经过AD转换将采样到的数据送到单片机内部进行处理后,根据算法得到相应的控制量。如果欠温度,启动加热器加热;如果过温度,控制吹风机冷却。同理,湿度有加湿和去湿装置控制。
本次设计的系统,仅用了一个温度传感器和湿度传感器,显然不能满足实际的运用。现实中应该测量多点的温度和湿度,因此应该多设计几个传感器。这样才能投入到正常的应用中去。关键字:AT89S52DS18B20SHT11LCD160非编码键盘
I
fAutomaticTemperatureA
dHumidityCo
trolSystem
Abstract
Commu
icatio
ce
terisa
importa
tplaceforthei
stallatio
a
doperatio
ofequipme
tprovidi
gequipme
twithalo
gterma
dreliableoperatio
exter
ale
viro
me
tThesee
viro
me
talfactorsi
cludeco
structio
powersupplya
dtemperaturea
dhumiditye
viro
me
tFortheequipme
tofcommu
icatio
datace
terthebestoperati
ge
viro
me
tis2224℃relativehumidityof35to50a
dlargecha
gesi
temperaturea
dhumiditymayletse
sitiveequipme
tca
otworkproperlydrasticcha
gesmayeve
leadtoequipme
tdamage
Automatictemperaturea
dhumidityco
trolsystemisbasedo
51seriesMCUAT98S52Thesystemsetsthetemperaturea
dhumidityataco
sta
tvaluebythekeyboarda
ddisplaysoftemperaturea
dhumidityofthesetwoparametersallthetimeSystemusesamicroco
trollerasthemasterchipfirstdetecti
gthetemperaturea
dhumiditythroughse
sorsafterADco
verterthedatawillbeprocessedwithi
themicroco
trollerweca
getthecorrespo
di
gdatawhichisbasedo
algorithmIftemperatureistoolowtheheaterstartsheati
giftemperatureistoolowco
trolhairdryertocoolSimilarlytotheco
trolofthehumiditywhichhasbothhumidificatio
a
ddehumidificatio
equipme
t
Thedesig
edthesystemhaso
lyatemperaturese
sora
dahumidityse
sorobviouslyitdoes
otmeettheactualuseMorerealistictemperaturea
dhumidityshouldbemeasuredi
sothedesig
shouldbemoretha
afewse
sorsO
lyi
thiswayca
weputthesystemi
topracticeKeywordAT89S52DS18B20SHT11LCD1602E
codi
gKeyboard
II
r