设计说明书
总字数:18000+
摘要
随着生活品质提升和电商行业发展,花卉配送的时效性与保鲜需求日益凸显。传统配送方式中,花卉易因环境温湿度不适导致品质下降,取件流程繁琐也影响用户体验。因此,研发一种能实现智能存储、环境调控与便捷交互的花卉配送系统具有重要现实意义。
本设计提出了一种基于 STM32F103C8T6 单片机的智能花卉配送系统。系统主要功能包括:通过 4 个 SG90 舵机模拟 4 个储物柜的开关操作,实现花卉的独立存储与取用;借助 DHT11 传感器检测环境温湿度,当温度或湿度超过最大值时,自动启动继电器控制通风装置调节环境;通过 DS1302 时钟模块获取实时时间,支持按键修正时间参数;利用 4*4 矩阵键盘输入柜号、8 位取件码及手机号,完成存取操作,每步操作均通过 CN-TTS 语音模块进行提醒;通过 4G 模块每日 12:00 发送取件提醒短信,同时支持手机端远程查看柜态及控制柜门开关;通过 OLED 显示屏实时展示时间与操作信息。
该智能花卉配送系统的作用在于,构建了 “存储 – 环境调控 – 交互 – 远程管理” 一体化的花卉配送解决方案。通过智能环境调控保障花卉新鲜度,便捷的人机交互与远程通信功能提升取件效率,为花卉配送行业提供了高效、可靠的技术支持,改善了用户的配送体验。
关键词:单片机;智能配送;花卉存储;环境调控;远程交互
Design of Intelligent Flower Delivery System Based on STM32 Microcontroller
Abstract
With the improvement of living standards and the development of the e-commerce industry, the timeliness and freshness requirements of flower delivery are increasingly prominent. In traditional delivery methods, flowers are prone to quality degradation due to poor environmental temperature and humidity, and the cumbersome pickup process also affects user experience. Therefore, developing a flower delivery system that can achieve intelligent storage, environmental regulation, and convenient interaction is of great practical significance.
This design proposes an intelligent flower delivery system based on STM32F103C8T6 microcontroller. The main functions of the system include: simulating the switch operation of four storage cabinets through four SG90 servos to achieve independent storage and retrieval of flowers; Using DHT11 sensors to detect environmental temperature and humidity, when the temperature or humidity exceeds the maximum value, the relay is automatically activated to control the ventilation device and adjust the environment; Obtain real-time time through DS1302 clock module and support key correction of time parameters; Use a 4 * 4 matrix keyboard to input the cabinet number, 8-digit pickup code, and mobile phone number to complete the access operation. Each step of the operation is reminded through the CN-TTS voice module; Send pick-up reminder SMS via 4G module at 12:00 every day, and support remote viewing of cabinet status and control of cabinet door opening and closing on mobile devices; Real time display of time and operation information through OLED display screen.
The function of this intelligent flower delivery system is to build an integrated flower delivery solution of “storage environment regulation interaction remote management”. By regulating the intelligent environment to ensure the freshness of flowers, convenient human-computer interaction and remote communication functions improve pick-up efficiency, providing efficient and reliable technical support for the flower delivery industry and improving the user’s delivery experience.
Keywords:microcontroller; Intelligent delivery; Flower storage; Environmental regulation; remote interaction
目 录
1 绪论
1.1 研究背景及意义
1.2 国内外研究现状
1.3 主要内容
2 系统总体方案设计
2.1系统总体设计
2.2 主要模块方案选择
3 系统硬件设计
3.1 总体硬件框架
3.2 主控模块电路设计
3.3 舵机控制模块电路设计
3.4 温湿度检测模块电路设计
3.5 通风控制模块电路设计
3.6 时钟模块电路设计
3.7 矩阵键盘模块电路设计
3.8 语音提示模块电路设计
3.9 4G 通信模块电路设计
3.10 显示模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 OLED显示子流程设计
4.4 矩阵键盘子流程设计
4.5 温湿度检测模块子流程设计
4.6 舵机子流程设计
4.7 语音播报模块子流程设计
4.8 4G模块联网子流程设计
4.9 发送短信子流程设计
5 实物制作与功能测试
5.1 实物制作
5.2 舵机控制功能测试
5.3 温湿度检测与通风控制功能测试
5.4 时钟与时间修正功能测试
5.5 矩阵键盘与语音提示功能测试
5.6 4G 通信功能测试
5.7 OLED 显示功能测试
6 总结
参考文献
致谢
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!