设计说明书
总字数:15000+
本论文以STM32F103C8T6单片机为核心,设计并实现了一种智能环境监测与控制系统。该系统通过集成DHT11温湿度传感器、BMP180气压传感器、光敏电阻等多种传感器,实时监测环境的温度、湿度、大气压和光照强度,并通过继电器控制空调降温、除湿装置和灯光等设备进行相应的调节。用户可以通过按键设置各个阈值,并通过OLED显示屏查看监测数据。此外,系统还配备WIFI模块,可以将数据传输到手机端,用户可以在手机上修改阈值并远程控制各个继电器的工作状态。经过详细的硬件连接和软件设计,本系统实现了智能化的环境监测与控制功能。
关键词:STM32F103C8T6单片机;智能环境监测;传感器;继电器控制;WIFI通信
Abstract:
This design is based on the STM32F103C8T6 microcontroller and presents an intelligent agricultural irrigation system. The system utilizes soil temperature and humidity detection modules and soil pH detection modules to monitor real-time soil temperature, humidity, and pH levels. Additionally, an environmental temperature and humidity detection module (DHT11) is used to monitor the ambient conditions. Users can set the maximum and minimum soil humidity values through buttons, and the system displays the measured data on an OLED screen. In terms of irrigation, the system offers three operation modes: automatic mode, remote mode, and manual mode. In automatic mode, when the soil humidity falls below the set minimum value, the system automatically activates two water pumps for irrigation; when the humidity exceeds the set maximum value, irrigation is automatically stopped. In remote mode, users can control irrigation remotely using a smartphone application. In manual mode, users can control irrigation manually through the buttons. Data is transmitted in real-time to the smartphone for display via a 4G module connected to Alibaba Cloud.
Keywords: Intelligent agricultural irrigation system; Soil temperature and humidity detection; Soil pH detection; DHT11; Remote control
目 录
基于32单片机的智能环境监测与控制系统设计与实现
1 绪论
1.1 研究背景及其研究意义
1.2 国内外研究现状
1.3 研究目标
2 系统方案设计
2.1 整体方案设计
2.2 主要器件选型选择
2.2.1 主控芯片方案选择
2.2.2 显示模块方案选择
2.2.3 温湿度方案选择
2.2.4 气体监测模块方案选择
3 硬件电路设计
3.1 主控模块电路
3.2 环境温湿度模块电路
3.3 气压检测模块电路
3.4 光照强度监测模块电路
3.5 显示电路模块模块
3.6 WiFi模块电路
3.7按键电路
3.8 继电器模块电路
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 温湿度检测模块子流程
4.5 OLED显示流程设计
4.6 WiFi模块子流程设计
5 实物调试
5.1 实物调试部分
5.2 整体焊接实物
5.3 环境温度测控实物测试
5.4 环境湿度测控实物测试
5.5 环境光照强度测控实物测试
5.6 远程测控实物测试
总结
致 谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!