基于PROTUES的温湿度测量系统设计毕业设计 下载本文

毕业论文

物理与电子电气工程学院

电子信息工程

专 业

题 目 基于PROTUES的温湿度测量系统设计

淮阴师范学院毕业论文

摘 要:本文采用Protues7.5仿真软件设计以低功耗STC89C51单片机为核心,配置新式的微型低功耗传感器DHT11,使用液晶显示LED1602采集到的数据,实现了温度、湿度两个参数的采集、处理和显示等功能。文章以温室环境作为研究对象,介绍了温湿度温湿度测量电路、单片机外围电路、软件流程、汇编语言源程序的设计、数据采集系统的设计过程及仿真的实现方法。该方法可以提高系统的开发效率、缩短周期和降低成本,为单片机系统的开发提供了手段。结果表明,所设计环境参数温度控制精度稳定在O.1℃范围之内,湿度的误差可控制在±2.0%RH以内。

关键词:Protues,STC89C51,DHT11,LED1602,温度,湿度

1

淮阴师范学院毕业论文

Abstract: By Protues7.5 simulation software design for low power STC89C51 microcontroller as the core, the allocation of new low-power micro-sensors DHT11, using liquid crystal display LED1602 data collected, realizing the collection of temperature, humidity, two parameters, processing and display functions. Based on greenhouse environment as the research object, this paper introduces the temperature and humidity temperature and humidity measuring circuit, microcontroller peripheral circuit, software flow, assembly language source program design, the design process of the data acquisition system and the realization of the simulation method. The method can improve system development efficiency, shorten the cycle and reduce costs, provides a means for the development of single-chip microcomputer system. Results show that the design of environmental parameters, temperature control precision is stable in o. 1 ℃, humidity of the error can be controlled within + / - 2.0% RH.矚慫润厲钐瘗睞枥庑赖。

Key words: Protues, STC89C51, DHT11, LED1602, temperature and humidity聞創沟燴鐺險爱氇谴净。

2

淮阴师范学院毕业论文

目 录

1 前言 ............................................. 4残骛楼諍锩瀨濟溆塹籟。 2 整体方案设计 .................................................. 4 2.1 温湿度测量测量系统的基本构成 ................... 4酽锕极額閉镇桧猪訣锥。 2.2 温湿度测量系统原理 .......................................... 5 2.3 系统框图 .................................................... 5 3 硬件电路设计 .................................................. 5 3.1 温湿度传感器模块 ............................................ 5 3.1.1 DHT11简介 ................................................ 6 3.1.2 传感器性能说明 ............................................ 6 3.1.3 接口说明 .................................................. 7 3.1.4 电源引脚 .................................................. 7 3.1.5 串行接口 .................................................. 7 3.1.6 测量分辨率 ................................................ 9 3.2 LCD显示模块 ................................... 9彈贸摄尔霁毙攬砖卤庑。 3.2.1 LCD1602简介 ................................. 9謀荞抟箧飆鐸怼类蒋薔。 3.2.2 LCD1602接口电路 ............................ 11厦礴恳蹒骈時盡继價骚。 3.3 电源模块 ...................................... 11茕桢广鳓鯡选块网羈泪。 3.4 单片机STC89C51模块 ........................... 12鹅娅尽損鹌惨歷茏鴛賴。 4 系统软件设计 .................................... 15籟丛妈羥为贍偾蛏练淨。 4.1 系统程序设计方案 .............................. 15預頌圣鉉儐歲龈讶骅籴。 4.2 系统流程图 .................................... 15渗釤呛俨匀谔鱉调硯錦。 4.2 系统主要程序 .................................. 15铙誅卧泻噦圣骋贶頂廡。 5 系统仿真与调试 .................................. 19擁締凤袜备訊顎轮烂蔷。 5.1 仿真结果 ...................................... 19贓熱俣阃歲匱阊邺镓騷。 5.2 实验数据记录 ............................................... 20 结论 ............................................... 22坛摶乡囂忏蒌鍥铃氈淚。 参考文献 ........................................... 23蜡變黲癟報伥铉锚鈰赘。 致谢 ............................................... 24買鲷鴯譖昙膚遙闫撷凄。

3