1、 毕 业 论 文(设计) 题 目:基于 51 单片机的温湿度传感器的设计与制作 姓 名: 学 院: 理学与信息科学学院 专 业: 电子信息科学与技术 班 级: 1001 2014 年 5 月 10 日 毕业论文 (设计) 附件材料 题 目:基于 51 单片机的温湿度传感器的设计与制作 姓 名: 学 院: 理学与信息科学学院 专 业: 电子信息科学与技术 班 级: 学 号: 指导教师: 2014 年 5 月 10 日 摘要摘要:温湿度使我们生产生活中很重要的参数,本设计为基于 51 单片机的温湿 度检测与控制系统,采用模块化、层次化设计。如今采纳新技术,使用新式智能 的温湿度传感器 DHT11
2、来实现对温度、湿度的监测,运用 DHT11 来完成湿度 信号的收集并将其转换为数字式信号,接着使用单片机 AT89C52 分析、处置数 据,提供信号给报警及显示电路,从而完成对温湿度的检测与监控。依据设定的 报警高低限值来体现报警体系的报警功效,采纳 LCD1602 液晶显示所测得的温 湿度值。优点是系统的电路简单、集成度高、运行稳定、调试方便、检测精度很 高,有一定的实用价值。 关键词关键词:单片机;DHT11 温湿度传感器;LCD1602 显示 Abstract:Temperature and humidity that we are important parameters in pro
3、duction and living, this design is based on 51 single chip microcomputer temperature and humidity detection and control system, adopts the modular, hierarchical design. Now adopt new technology, the use of new intelligent temperature and humidity sensor DHT11 to realize the monitoring of temperature
4、, humidity, using DHT11 to humidity signal collection and convert them into digital signals, then using microcontroller AT89C52 analysis and treatment of data, provides the signal to alarm and display circuit, so as to complete the detection and monitoring of temperature and humidity. According to s
5、et the alarm of high and low limit to reflect the alarm function of the alarm system, adopt LCD1602 LCD display the measured temperature and humidity values. Advantage is simple circuit, high integration, stable running, convenient debugging and testing precision is high, has certain practical value
6、. Key words: Single chip microcomputer; DHT11 temperature and humidity; LCD1602 display 目目 录录 第一章 引言 6 1.1 课题的研究背景 . 6 1.2 课题的研究内容及目标 6 1.3 本文的组织结构 . 6 第二章 设计要求及目的 . 6 1.1 设计目的 6 1.2 设计要求 6 第三章 系统方案设计及论证 6 3.1 总体方案设计 7 3.2 方案比较与论证 . 7 3.2.1 温湿度检测 7 3.2.2 主从机通信 8 3.2.3 显示部分 8 第四章 系统的硬件设计与实现 8 4.1 单片机介绍 . 8 4.1.1 单片机主要性能 8 4.1.2 单片机各引脚功能介绍