基于stm32的温湿度远程监测系统

 2022-01-17 11:01

论文总字数:22205字

目 录

1 绪论 1

1.1 课题研究背景 1

1.2 国内外研究现状 1

1.2.1 温湿度测量技术发展 1

1.2.2 多点远程温湿度监测系统研究现状 1

1.3 本文研究内容 6

1.4 本文研究的目的和意义 6

1.5 本文组织安排 6

2 系统总体架构 7

2.1 系统概述 7

2.2 功能描述 7

2.3 系统总体架构设计 7

2.4 本章小结 8

3 传感器节点设计 8

3.1 传感器节点概述 8

3.2 传感器节点硬件部分设计 9

3.2.1 主控芯片选择 9

3.2.2 提示模块硬件设计 10

3.2.3 温湿度模块硬件设计 10

3.2.4 存储模块硬件设计 11

3.2.5 通信模块硬件设计 11

3.2.6 串口调试模块硬件设计 12

3.2.7 供电模块硬件设计 12

3.3 传感器节点软件部分概述 13

3.4 模块驱动实现 13

3.5 配置信息存储格式设计 17

3.6 普通模式详细设计 18

3.6.1 HTTP协议简介 19

3.6.2 传感器节点HTTP请求分析 19

3.7 配置模式详细设计 20

3.7.1 配置模式客户端命令 21

3.8 本章小结 21

4 远程服务器详细设计 21

4.1 远程服务器概述 21

4.2 数据库设计 22

4.3 服务器接口总体设计 23

4.4 服务器关键接口详细设计 24

4.4.1 更新温湿度数据 24

4.4.2 获取当前温湿度 25

4.4.3 获取一天的历史数据 25

4.4.4 下载历史数据 25

4.5 本章小结 26

5 Android客户端详细设计 26

5.1 Android客户端功能概述 26

5.2 设备ID保存方式设计 26

5.3 界面及功能设计 27

5.3.1 主界面 27

5.3.2 配置界面 28

5.3.3 查看历史界面 29

5.3.4 配置传感器节点Wi-Fi界面 30

5.4 本章小结 31

6 总结及讨论 31

参考文献 32

致谢 33

基于stm32的温湿度远程监测系统

吴静波

, China

Abstract: Monitoring of temperature and humidity is a common desire in manufacture , agriculture and daily life. With the development of science and technology, researches on temperature and humidity monitoring system are updated continuously at home and abroad. On the basis of summarizing others' research, this paper proposes to design a temperature and humidity remote monitoring system based on STM32. The system uses Wi-Fi as the communication mode of the upper computer and the lower computer. It is different from the temperature and humidity monitoring system based on wireless. The lower computer uploads the temperature and humidity data to the remote server through the HTTP protocol, and the user remotely checks the temperature and humidity data through the Android client. This paper successfully solves the configuration problem of Wi-Fi module, which is of great significance to other Wi-Fi based monitoring systems.

Key words: Embedded System; Remote Monitoring; STM32; Wi-Fi; Android

绪论

课题研究背景

温湿度是工业制造,农业生产以及日常生活中必不可少的参数之一。随着工业技术的发展,对温度的测量精度要求越来越高。在机械制造、冶金、石油化工等行业,温度甚至会直接影响到产品品质。而在农业生产中,温湿度的测量和控制也直接影响到农作物的生长,以及牲畜的繁殖成长。同时,温度对鱼类生存的影响也不容小觑[1],不适宜的温度会直接导致鱼类的大规模死亡。温湿度监测应用最广泛的要数在各式各样的仓库中,比如油库[2]、粮库[3]、机房[4]等。在这些地方必须严格把控温湿度的变化,温度过高或者过低都有可能导致严重的后果,造成难以挽回的巨大损失。

温湿度的变化也直接影响到人的生活质量[5]。据统计,当相对湿度达80%时,即使是31℃的气温也会引起中暑。秋季下雨时,大气气压低,空气相对湿度大,会对人的血压、血沉、尿量等产生影响。同时相对湿度大的空气有利于细菌繁殖,会大大增加人体患伤寒、痢疾、各种消化系统及皮肤病的概率。

因此对温湿度监测的研究虽然是很老套的课题,但是随着科学技术的发展,该研究也必须与时俱进,进一步推动工农业的发展,提高普通民众的生活质量。

国内外研究现状

温湿度测量技术发展

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

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

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