设计说明书
总字数:15000+
本毕业设计旨在设计一种智能远程浇花系统,通过STC89C52单片机和多种传感器实现对植物生长环境的实时监测与控制。系统采用土壤湿度模块检测土壤湿度,当湿度低于设定最小值时,触发声光报警,并通过GSM模块向主人发送浇水请求短信,等待主人回复决定是否启动浇水。同时,系统还通过液位传感器检测蓄水池液位,当液位低于设定最小值时,触发声光报警,并通过GSM模块向主人发送加水请求短信,等待主人回复决定是否启动加水。在蓄水池加水期间,即使土壤湿度低于设定最小值,也不进行浇水,确保蓄水池加水完成后再进行浇水。系统具备按键设置各项阈值的功能,并通过LCD1602显示屏实时展示监测数据,方便用户了解植物生长环境状况。
关键词:智能远程浇花;土壤湿度检测;液位传感器;GSM模块;声光报警
This thesis aims to design an intelligent remote plant watering system using the STC89C52 microcontroller and various sensors to achieve real-time monitoring and control of the plant growth environment. The system employs a soil moisture module to detect soil humidity, and when the humidity falls below the predefined minimum value, it triggers a sound and light alarm. Additionally, the system sends a watering request message to the owner’s mobile phone through the GSM module, waiting for their response to decide whether to initiate watering. Furthermore, the system utilizes a liquid level sensor to monitor the water level in the reservoir. If the level drops below the set minimum value, it activates a sound and light alarm and sends a water refill request message to the owner. Similar to the watering scenario, the system waits for the owner’s response before initiating the water refill process. During the water refill period, even if the soil humidity is below the minimum value, no watering will take place, ensuring that watering occurs only after the reservoir has been refilled. The system is equipped with buttons to adjust various threshold values and utilizes an LCD1602 display screen to provide real-time monitoring data, facilitating the user’s understanding of the plant growth environment.
Keywords: Intelligent remote plant watering; Soil moisture detection; Liquid level sensor; GSM module; Sound and light alarm.
目 录
智能远程浇花系统设计与实现
摘 要:
ABSTRACT
1 绪论
1.1 选题背景及实际意义
1.2 国内外发展历程
1.3 研究目的
2 系统设计方案
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 发送短信模块方案选择
2.1.3 显示模块方案选择
2.2 整体设计方案
3 硬件设计
3.1 主控电路模块
3.2 土壤湿度检测电路模块
3.3 水位检测电路模块
3.4 显示电路模块
3.5 继电器电路模块
3.6 独立按键电路模块
3.7 声光报警电路模块
3.8 GSM发送短信电路模块
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 A/D模数转换子流程
4.5 LCD1602液晶显示子流程
4.6 GSM流程设计
5 实物制作与调试过程
5.1 电路焊接总图
5.2 土壤湿度检测实物测试
5.4 水位监测实物测试
6 结论和未来展望
致 谢
参考文献
附录A:原理图
附录B: PCB
附录C:主程序
购买后可查看具体内容!