摘 要当今现代化建设和国民经济进展迅速。社会对生产环境和生活环境意识的要求也越来越高。人们的日常生活和周围环境的温湿度息息相关,石油、化工、航天、制药、档案保管、粮食存储等领域对温湿度也有着较高的要求。因此,对温湿度的监测已成为生产过程中非常重要的技术。为满足人们生产要求和人们对居住条件需求,本文设计了以 AT89S52 单片机为控制核心,配合 DS18B20 温度传感器和 DH11 湿度传感器以及数码管显示和按键输入的人机界面以及串行通信接口等外围电路组成的温湿度监测装置。在应用时,本装置既可以单机工作,也可以和其他设备联机工作,组成环境控制系统。在工作时,可以通过人手动和上位计算机命令对本设备进行设置;人员可以通过数码管和蜂鸣器等人机接口,实时地了解所处环境的温度和湿度情况,并实行相应的措施;采集到的数据也可以通过通信接口上传给温度湿度调节装置,来控制所处环境的温湿度。本装置结合现场的相关温湿度调控设备实现对现场温湿度的监测与自动控制,从而实现了温湿度监测的智能化、自动化、系统化。为石油、化工、航天、制药、档案保管、粮食存储等温湿度监测提供全面、有用的系统解决方案,有广泛的应用价值和较高的经济价值。关键词:AT89S52 单片机;DS18B20;DH11 湿度传感器;人机接口Abstract Nowadays, the development of national economy and the construction of modernization quickly. Society are increasingly high requirements of the production environment and living environment consciousness of. Is closely related to people's daily life and the surrounding environment temperature and humidity, petroleum, chemical, aerospace, pharmaceuticals, file storage, food storage areas of temperature and humidity also has a higher requirements. Therefore, the monitoring of temperature and humidity has become technology in the production process is very important. In order to meet the production requirements of people and people demand for housing, this paper designs the AT89S52 SCM as the control core, with DS18B20 temperature sensor and DH11 humidity sensor and digital tube display and keyboard input ...