设计说明书
总字数:14000+
摘要
在餐饮外卖与自助服务快速发展的背景下,无接触取餐已成为保障食品安全、提升取餐效率的重要方式。传统取餐柜存在智能化程度低、交互体验差等问题,如缺乏环境适配功能、远程控制能力不足,难以满足用户对便捷性与安全性的双重需求。因此,研发一种具备环境感知、智能交互与远程管理功能的无接触取餐柜具有重要现实意义。
本设计提出一种基于 STM32F103C8T6 单片机的无接触取餐柜。系统主要功能包括:通过DS18B20 传感器检测取餐柜环境温度;借助D203S 人体热释电模块识别取餐柜前方是否有人;利用5516 光照检测模块监测环境光照强度,当检测到人且光照较低时,继电器自动控制照明灯开启;用户通过 3 个按键独立控制三个取餐柜的开关;通过SG90 舵机驱动柜门动作,首次按键后柜门打开,延时 10 秒未检测到人则自动关闭;所有状态信息(柜门开关、温度、光照、人员 presence)通过OLED 显示屏实时展示;通过4G 模块将数据上传至手机,实现手机端远程控制柜门开关。
该取餐柜的作用在于,通过无接触交互与智能环境适配,减少人员接触风险,提升取餐便捷性。同时,远程管理功能便于运营方实时监控设备状态,为餐饮服务场景提供高效、安全的取餐解决方案。
关键词:STM32;无接触取餐柜;环境感知;智能控制;远程管理
A contactless dining cabinet design based on STM32
Abstract
Against the backdrop of rapid development in food delivery and self-service, contactless meal pickup has become an important way to ensure food safety and improve meal pickup efficiency. Traditional food lockers have problems such as low intelligence and poor interaction experience, such as lack of environmental adaptation functions and insufficient remote control capabilities, making it difficult to meet users’ dual needs for convenience and safety. Therefore, developing a contactless dining cabinet with environmental perception, intelligent interaction, and remote management functions is of great practical significance.
This design proposes a contactless dining cabinet based on STM32F103C8T6 microcontroller. The main functions of the system include: detecting the ambient temperature of the dining cabinet through DS18B20 sensor; Using the D203S human thermoelectric module to identify whether there is someone in front of the dining cabinet; Monitor the ambient light intensity using the 5516 light detection module. When a person is detected and the light is low, the relay automatically controls the lighting to turn on; Users can independently control the switches of three dining cabinets through three buttons; The cabinet door is driven by the SG90 servo motor. After the first button is pressed, the cabinet door opens. If no person is detected after a delay of 10 seconds, it will automatically close; All status information (cabinet door switch, temperature, lighting, personnel presence) is displayed in real-time through an OLED screen; Upload data to the mobile phone through the 4G module to achieve remote control of cabinet door opening and closing on the mobile phone.
The function of this dining cabinet is to reduce the risk of personnel contact and improve the convenience of food retrieval through contactless interaction and intelligent environment adaptation. At the same time, the remote management function facilitates real-time monitoring of equipment status by operators, providing efficient and secure meal retrieval solutions for catering service scenarios.
Keywords:STM32; Contactless dining cabinet; Environmental perception; Intelligent control; Remote management
目 录
1 绪论
1.1 研究背景及意义
1.2 国内外研究现状
2 系统总体方案设计
2.1系统总体设计
2.2 主要模块方案选择
3 系统硬件设计
3.1 总体硬件框架
3.2 主控模块电路设计
3.3 温度检测模块电路设计
3.4 人体检测模块电路设计
3.5 光照检测模块电路设计
3.6 按键模块电路设计
3.7 舵机控制模块电路设计
3.8 显示模块电路设计
3.9 继电器控制模块电路设计
3.10 4G 通信模块电路设计
3.11 电源模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 OLED显示子流程设计
4.4 温度检测模块子流程设计
4.5 舵机子流程设计
4.6 4G模块联网子流程设计
5 实物制作与功能测试
5.1 实物制作
5.2 环境参数检测及显示功能测试
5.3 智能照明控制功能测试
5.4 柜门控制功能测试
5.5 远程数据监控功能测试
6 总结
参考文献
致谢
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!