大学时候的课程设计项目,本人只负责软件设计。
课题摘要
摘 要
温湿度参数的检测已经成为人们日常生产生活中的一个重要的参数指标。温度和湿度是两个最基本的环境参数,人们生活与温湿度息息相关。在工农业生产、环保、科研、化工业、制药业等地方,都经常需要对环境温度和湿度进行测量。随着社会的发展和人民生活水平不断提高,温湿度作为两个基本的环境参数也逐渐深入到人们生活水平中。因此,对于环境温湿度检测的研究有着非常重要的意义。
本论文讲述了一种以单片机STC89C52为主控器,DHT11为温湿度传感器,通过0.96OLED来显示温湿度。硬件电路包括:单片机最小系统、DHT11为温湿度检测模块、0.96OLED液晶显示模块。软件系统包括:温湿度传感器数据采集子程序、数据校验子程序、液晶显示屏显示子程序、系统主程序。
本设计实现的功能有能够检测当前环境下的温度和湿度参数值,将传感器检测到的温湿度数值显示到液晶显示屏上面。
关键词:STC89C52;DHT11;0.96OLED;温湿度检测;
Abstract
The detection of temperature and humidity parameters has become an important parameter indicator in people’s daily production and life. Temperature and humidity are the two most basic environmental parameters, and people’s lives are closely related to temperature and humidity. In industrial and agricultural production, environmental protection, scientific research, chemical industry, pharmaceutical industry, etc., it is often necessary to measure the ambient temperature and humidity. With the development of society and the continuous improvement of people’s living standards, temperature and humidity as two basic environmental parameters have gradually penetrated into people’s living standards. Therefore, the research on environmental temperature and humidity detection is very important.
This paper describes a single-chip STC89C52 as the main controller, DHT11 is the temperature and humidity sensor, through 0.96OLED to