摘 要采纳单片机对温度、湿度等环境参数进行监测是一个工业生产中常常遇到的监测问题,采纳单片机不仅具有监测方便、操作简单等优点,而且可以在节约成本的同时大幅度的提高监测质量
本文设计了单片机构成的环境温度、湿度参数实时监测装置,本装置以单片机 AT89C52 为控制核心,采纳独特的单总线数字式温度传感器 DS18B20 进行温度采集,采纳湿敏电容 HS1101 对湿度参数进行采集
LCD 液晶显示屏对于当前的温度值和湿度值进行实时的显示,可以方便用户直观的了解所测得的温度、湿度环境参数值
用户可使用按键根据自身要求设定温湿度上下限,同时,报警装置可依据用户的设定针对温湿度超限情况进行报警
关键词:温湿度监测;超限报警;LCD 显示AbstractMCU is always used in industry measurement as temperature and humidity measurement
With MCU, it can be more convenient and simple to complete the measurement efficiently
The paper designs a real-time temperature and humidity measurement device based on MCU
The device adopts AT89C52 as the control
The device also make use of DS18B20 to obtain the digital temperature signal and HS1101 to gain the analogue humidity signal
In the design, LCD is used to display the cons