


摘 要: 传统加湿器需要手动操作并且频繁清洗水箱,针对其以上缺点,设计的智能加湿系统在实现基本功能前提下,用户可以根据自身需要设定湿度阈值,实现室内加湿智能化、自动化。水箱内安装紫外线消毒灯,有效抑制有害微生物随水雾逸散到空气中,降低水箱清洗频率。该室内智能加湿系统包括硬件设计和软件设计。硬件电路以ST89C52单片机为核心,包括温湿度检测、液位检测、LCD显示、报警装置与继电器控制等模块。软件编程主要包含主程序和按键中断程序。系统测试表明其具有较高的稳定性和安全性,有效提升用户生活环境舒适度,具有广阔的市场应用前景。
关键词: STC89C52; 智能加湿器; 自动控制; 超声雾化; 紫外线
中图分类号: TP23 文献标志码: A
Desgn of ntellgent Humdfcaton System
Based on Sngle Chp Mcrocomputer
CHEN Weja
(School of Automaton, X`an Unversty of Posts & Telecommuncatons, X`an 710061)
Abstract: Tradtonal humdfer needs manual operaton and frequent cleanng of water tank. n vew of the above shortcomngs, an ntellgent humdfcaton system desgned n ths paper can set the humdty threshold accordng to the user's requrement. Under the premse of basc functons the system realzes the ntellgence and automaton of ndoor humdfcaton. Ultravolet lamp s nstalled n the water tank to prevent harmful mcroorgansms effectvely from escapng nto the ar wth water mst, and reduce the frequency of cleanng the water tank. The ndoor ntellgent humdfcaton system ncludes hardware desgn and software desgn. The hardware crcut s based on ST89C52 mcrocontroller, ncludng temperature and humdty detecton, lqud level detecton, LCD dsplay, alarm devce and electrc relay control module. Software programmng manly ncludes man program and key nterrupt program. The system test shows that t has hgh stablty and securty, and mproves the comfort of users' lvng envronment effectvely, but also has broad market applcaton prospects.
Key words: STC89C52; ntellgent humdfer; Automatc control; Ultrasound atomzaton; Ultravolet ray
0 引言
在科學技术蓬勃发展的今天,高科技为居民生活舒适度带来了飞跃式的提升。区别于传统家电功能单一操作复杂等诸多缺点,智能家电在实现基本功能基础上更注重节能性、智能性和多功能性。加湿器可以增加室内空气湿度,去除静电减轻干燥空气对咽喉、鼻粘膜的刺激,在北方冬季极大提高居住环境舒适度。[1]现今市面的加湿器大多依靠人工操作,无法实时监测环境湿度,容易引发加湿不及时或过度加湿的问题。针对以上,利用单片机设计了一种智能加湿器,当室内空气湿度低于设定值时,启动超声波雾化装置对空气加湿,达到预定范围后停止工作,并通过紫外线杀菌技术有效抑制水箱中细菌繁殖,降低清洗频率,增加使用的安全性和便利性。……