基于单片机的温湿度实时测量系统的设计(附原理图,PCB图,元器件清单,程序清
基于单片机的温湿度实时测量系统的设计(附原理图,PCB图,元器件清单,程序清单)(论文17500字)
摘要:温湿度测量的应用范围十分广泛,对温湿度测量系统的研究也具有深远的意义。针对国内外温湿 度测量系统的研究与发展,分析了目前温湿度测量系统存在的主要问题,设计了一种基于单片机的 温湿度测量系统。在一定的场合,对温度和湿度有特殊要求,可实现长期、稳定、实时、自动监测 。本设计主要由硬件电路和软件电路两部分组成。通过温湿度检测电路,将采集到的信号传递给单 片机。单片机采集的信号通过LCD处理显示。如果温度和湿度过高或过低,报警电路将自动报警。 本设计以AT89C51单片机为核心,采用DHT11集成温湿度传感器,实现了一种智能、快捷、方便的 温湿度测量系统。整个系统由温湿度检测电路、LCD显示电路、键盘电路、报警电路和单片机组成 。该设计结构简单紧凑,功耗低,抗干扰能力强,整体性能好。它满足了智能仪器仪表小型化的趋 势,为开发高性能、商业化的温湿度测量仪器奠定了良好的基础。
关键词:单片机;温湿度控制系统;温湿度;液晶
Temperature and humidity real-time measurement system based on single-chip microcomputer
Abstract : The range of application of temperature and humidity measurement is very wide, and research on the temperature and humidity measurement system is of far-reaching significance. Based on the research and development of temperature and humidity measurement systems at home and abroad, the main problems in current temperature and humidity measurement systems are analyzed, and a temperature and humidity measurement system based on a single-chip microcomputer is designed. On certain occasions, there are special requirements for temperature and humidity, which can achieve long-term, stable, real-time, and automatic monitoring. This design mainly consists of two parts, a hardware circuit and a software circuit. Through the temperature and humidity detection circuit, the collected signal is transmitted to the single-chip microcomputer. The signals collected by the microcontroller are displayed through the LCD. If the temperature and humidity are too high or too low, the alarm circuit will automatically alarm. This design uses the AT89C51 microcontroller as the core and adopts the DHT11 integrated temperature and humidity sensor to realize an intelligent, quick and convenient temperature and humidity measurement system. The entire system consists of a temperature and humidity detection circuit, an LCD display circuit, a keyboard circuit, an alarm circuit, and a microcontroller. The design structure is simple and compact, low power consumption, strong anti-interference ability, and good overall performance. It satisfies the trend of miniaturization of smart instruments and lays a good foundation for the development of high-performance, commercial temperature and humidity measuring instruments. [资料来源:Doc163.com]
Keywords: SCM; temperature and humidity control system; temperature and humidity; liquid crystal
[版权所有:http://DOC163.com]
[资料来源:https://www.doc163.com]
目录
摘要 I
ABSTRACT I
1 绪论 1
1.1 概述 1
1.2温湿度控制器的发展现状 1
1.3单片机的发展 1
1.4国内外研究现状 1
1.4.1国外研究现状 1
1.4.2 国内研究现状 1
2 温湿度控制系统总体设计 2
2.1 设计要求 2
2.2 系统的设计原则 2
2.2.1 传感器的选择 2
2.2.2 单片机的选择 2
3 系统硬件设计 3
3.1 整体方案设计 3
3.1.1 系统概述 3
3.1.2 系统框图 3
3.2 最小系统模块 3
3.2.1 STC89C51简介 3
3.2.2 最小系统电路 5
3.3 DHT11传感器电路 7
3.3.1 DHT11简介 7
3.3.2 接口说明 8
3.3.3 DHT11模块电路图 10
3.4 液晶显示电路 10
3.4.1 1602液晶简介 10
3.4.2 液晶引脚说明 11
3.4.3 指令介绍 12
3.4.4 液晶显示模块电路 15
3.5 蜂鸣器模块 16
3.6 按键输入模块 17
3.7 LED显示电路 17
4 软件设计 19
4.1 程序语言及开发环境 19
4.2 程序流程图设计 20
4.2.1 总体程序流程图设计 20
4.2.2 1602液晶程序设计 21
4.2.3 温湿度DHT11传感器程序设计 22
5 硬件组装与调试 23
5.1 元器件的选择与测量 23
5.2 元件的焊接与组装 23
5.3 电路的调试 23
5.3.1 调试方法 24
5.3.2 调试步骤 24
6.实验结果与数据分析 26
[资料来源:https://www.doc163.com]
6.1第一组实验数据 24
6.2 传感器的补偿和修正 24
6.3第二组实验数据 24
6.4结论 24
7 总结 26
鸣 谢 27
参考文献 28
附 录 29
附录一 元件清单 29
附录二 原理图 30
附录三 PCB图 31
附录四 源程序代码 31
[资料来源:www.doc163.com]
上一篇:基于单片机的可调压直流电源设计