资料详情

基于stm32的室外环境监测系统的设计和实现 毕业论文+外文翻译及原文+答辩PPT+源程序

头像

STM32

编号:5849

目 录

摘 要 Ⅰ

Abstract Ⅱ

第1章 绪论

1.1 课题研究背景与意义

1.2 国内外研究现状

1.3 课题研究的主要内容

1.4 本文组织结构

第2章 系统关键技术介绍

2.1 无线传感器网络技术

2.2 WiFi通讯技术

2.3 单片机技术

2.4 物联网云平台

第3章 系统需求分析

3.1 系统需求概述

3.2 系统可行性分析

3.2.1 经济可行性

3.2.2 技术可行性

第4章 系统具体设计与实现

4.1 系统总体设计

4.2 硬件部分设计

4.2.1 stm32单片机

4.2.2 dht11温湿度传感器

4.2.3 光敏传感器

4.2.4 oled显示器

4.2.5 ESP8266模块

4.3 系统各部分功能实现

4.3.1数据的采集

4.3.2云平台的接入

4.3.3 串口命令的传输

4.3.4数据的可视化显示

4.4 系统软件的实现

4.4.1 MQTT协议

4.4.2 ADC采集

4.4.3 I2C通信

4.5 安卓APP实现

4.5.1  Android studio简介

4.5.2 Android设备的MQTT对接

4.6 系统编辑环境介绍

第5章 系统测试

5.1 系统搭建完成

5.2 测试结果

5.2 测试总结

第6章 总结与展望

6.1 总结

6.2 展望

参考文献

致 谢


基于stm32的室外环境监测系统的设计和实现

摘 要

近年来,随着科学技术的高速发展,以及全民家庭生活水平的提高和物质生活的丰富,室外出现在越来越多的家庭与工作环境中,它不仅能够净化空气,吸收粉尘,而且能够间接改善心情,缓解眼睛疲劳,因此室外越来越多地参与着人们的生活,但由于大多数室外都是人工养殖的,所以在一定程度上这种培养方式影响了室外的生长状态和存活率。就此问题,本文运用stm32单片机、oled12864液晶显示、光敏传感器、dht11温湿度传感器、wifi模块、报警器等设计一个具备无线联网的智能室外监测系统。

系统由软件和硬件两部分组成,stm32单片机是硬件基础,dht11温湿度传感器测量温湿度,光敏传感器测量光照强度,wifi模块通过MQTT协议将数据传输到云平台,使用Android studio进行安卓手机app编写,在手机端查看室外环境数据,采用oled12864使用户能观察各个传感器获取的数据。系统处于wifi模块运行时,采集的数据和信息通过无线模块传输到OneNet云服务器,触发下一环节转送到手机app,在手机的应用界面展现出来。用户可查看资料,分析数据,对室外所处实时环境进行调整与优化。该系统能够实现对室外生长环境进行有效监测和管理,测试结果基本满足了设计的目标。

【关键词】WIFI;环境监测;物联网技术; MQTT协议;stm32单片机


Design and implementation of an outdoor environmental monitoring system based on stm32

Abstract

In recent years, with the rapid development of science and technology, as well as the improvement of family living standards and the enrichment of material life, potted plants appear in more and more families and working environments. It can not only purify air and absorb dust, but also indirectly improve mood and relieve eye fatigue. Therefore, potted plants participate in people's life more and more. However, as most potted plants are cultured artificially, this cultivation method affects the growth state and survival rate of potted plants to a certain extent. To solve this problem, this paper designs an intelligent potted plant monitoring system with wireless networking by using stm32 single chip microcomputer, oled12864 liquid crystal display, photosensitive sensor, dht11 temperature and humidity sensor, wifi module, alarm, etc.

The system consists of software and hardware. stm32 microcontroller is the hardware foundation. dht11 temperature and humidity sensor measures temperature and humidity, and photosensitive sensor measures light intensity. wifi module transmits data to cloud platform through MQTT protocol. Android studio is used to write Android mobile phone app and view potted environment data on the mobile phone side. The aim is to design a real-time and effective intelligent potted plant environment remote monitoring system. With oled12864, users can observe the data acquired by various sensors nearby. When the system is running in wifi module, the collected data and information are transmitted to OneNet cloud server through wireless module to trigger the next link to be transferred to mobile phone app and displayed on the application interface of the mobile phone. Users view data, analyze data, and adjust and optimize the real-time environment of potted plants. Finally, tests show that the system can effectively monitor and manage the growth environment of potted plants and basically meet the design objectives.

【Key words】WIFI,Environmental monitoring, Internet of things technology, MQTT protocol ,Stm32 single chip microcomputer