文档详情

仓库温湿度检测.doc

发布:2017-11-14约6.36万字共97页下载文档
文本预览下载声明
摘要 温湿度检测在我们日常的生产和生活中有着广泛的应用,本课题设计了一个基于单片机AT89C52控制的仓库温湿度自动检测系统。该系统硬件部分主要由温湿度检测模块、主控模块、数据存取模块、LED显示模块、键盘模块、外部设备控制模块组成。软件部分采用C语言编程,主要由主程序、温湿度检测子程序,LED显示子程序、数据存取子程序、键值处理子程序等组成。 系统选用温湿度传感器SHT11来检测温度,在单片机AT89C52控制下,通过按键,能实现四路仓库温湿度的循环显示、单路显示以及温湿度上下限值的设定。当温湿度检测值超过其上下限值时,通过发光二极管发光来模拟外部设备的开启。本系统具有掉电保护等功能,可靠性较高,测温范围为10℃~50℃,测湿范围为:40%RH~80%RH,适用场合极为广泛。 关键词:温湿度检测,单片机,LED驱动器,C语言 ABSTRACT The temperature and humidity examination has the widespread application in our daily production and the life., this issue based on the design of a microcontroller AT89C52 control of the storage temperature and humidity automatic detection system. The system hardware from some of the major temperature and humidity detection module, the main control module, data access module, LED modules, the keyboard module, an external device control module. Some software used C programming language, mainly by the main program, temperature and humidity testing routines, LED display routines, data access routines, handling routines, and other key components. System SHT11 choice of temperature and humidity sensors to detect temperature, under the control of the microcontroller AT89C52 through keys, to achieve four-way storage temperature and humidity of the circle, one-way show from top to bottom, as well as temperature and humidity limits the set. When the temperature and humidity testing of over their limits from top to bottom, through the LED lights to simulate the opening of external equipment. This system has features such as brown-out protection, reliability, high temperature range of 10 ℃ ~ 50 ℃, for measuring the scope of wetlands: 40% RH ~ 80% RH, extremely wide application of occasions. Keywords: Temperature and humidity testing, The Control of Single Chip MicrocoMCUter, LED drivers, C language 目录 1 绪论 1 1.1课题背景 1 1.2国内外发展现状 2 1.3 系统概述 3 1.4小结 4 2 方案论证 5 2.1 温湿度检测模块 5 2.2 主控模块 6 2.3 显示模块 6 2.4 键盘电路 8 2.5 存储芯片的选择 9 2.6 电源电路的选择 10 2.7 小结 11 3 硬件设计 12 3.1 主控制器 12 3.2 温湿度检测电路 13 3.3 键盘与显示电路 19 3
显示全部
相似文档