毕业设计基于单片机的环境温湿度检测系统摘 要 环境温湿度检测系统是日常生活、 工业生产和农业管理中广泛使用的一种设备。该设备具备以下主要功能: 实时检测出环境中的温度和湿度参数值, 并显示出来, 根据设定的报警限予以报警指示, 能够和上层控制器通信。 随着单片机的大规模应用, 单片机在检测系统中也越来越多的被使用。本设计以 AT89S52 这款低功耗、 高性能、 在系统编程的 8 位单片机为系统控制处理核心, 由单总线数字温湿度传感器 DHT11、 数码管显示屏、 LED 与蜂鸣器、 通信串口和按键控制输入等五个部分组成, 从而实现环境问世的监测系统的主要功能。后期的探究设计——换用红外遥控控制和 LCM 为显示屏、 外加时钟和存储芯片、 增加照度检测电路, 极大地提升了系统的性能, 使系统不但能够检测并显示环境温度、 湿度和照度变量, 而且能够根据时间顺序存储适量的数据。 另外, 系统有降压整流和稳压滤波电路, 可用沟通市电( 220V) 、 各种安全直流电( 5~24V) 、 太阳能电池等为系统供电, 而且能够存储少量电能( 900mAh) ,因此, 系统有较宽的工作电压, 可满足多种应用场合。本设计由Protel画出了电路原理图和PCB图, 并由此完成了硬件的制作, 使用C51语言对单片机进行编程控制, 并模块化仿真, 最后经过综合调试, 符合预期的设计要求。关键词: AT89S52 单片机 DHT11 传感器 PCB 设计 温湿度检测Abstract Environment temperature and humidity detection system is a kind of equipment which is widely used in daily life, industrial production and agricultural menagement.The equipment has following main function:detecting the temperature and humidityparameters in the environment real-time and display them,giving alarm indication according to the set limits, and being able to contact with upper controller. With the SCM used large-scalely,the SCM is more and more used in detection system.This design,uses the 8-bit SCM named AT89S52,which has a lot of advantages such as low-power dissipation,high-performance and ISP,and made up of five parts:single-wire digital temperature and humidity sensor,digitron display,LED andbu...