基于单片机的温湿度实时测量系统

 2022-01-17 11:01

论文总字数:31447字

目 录

摘要 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

6.1 第一组实验数据 24

6.2 传感器的补偿和修正 24

6.3 第二组实验数据 24

6.4 结论 24

7 总结 26

鸣 谢 27

参考文献 28

附 录 29

附录一 元件清单 29

附录二 原理图 30

附录三 PCB图 31

附录四 源程序代码 31

基于单片机的温湿度实时测量系统

旦增

,China

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.

Keywords: SCM; temperature and humidity control system; temperature and humidity; liquid crystal

剩余内容已隐藏,请支付后下载全文,论文总字数:31447字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;