设计说明书
总字数:16000+
摘要
随着出行频率的增加和生活节奏的加快,行李箱的安全性、便捷性和智能化成为人们关注的重要需求。传统行李箱在重量监测、定位追踪、安全防护等方面存在功能缺失,行李超重、丢失或被盗等问题时有发生,给人们的出行带来诸多困扰。因此,研发一种集重量监测、定位追踪、智能控制于一体的智能行李箱十分必要。
本设计提出了一种基于 STM32F103C8T6 单片机的智能行李箱。系统主要功能包括:通过 HX711 模块测量行李箱重量,并经 ESP8266 WiFi 模块发送至手机 APP 显示;借助 GPS 模块获取行李箱经纬度信息,支持手机 APP 实时查看位置;手机 APP 可远程触发声光报警功能,便于快速定位行李箱;通过 MX1508 直流电机驱动模块实现行李箱驱动控制,支持板子按键操作与手机 APP 一键锁定;采用 AS608 指纹模块完成指纹开锁,同时支持手机 APP 一键开锁(通过继电器模拟锁具控制),手机 APP 具备添加和删除指纹功能。
该智能行李箱的作用在于,为用户提供了一种便捷、安全的出行辅助工具。通过重量监测避免行李超重,定位与报警功能降低丢失风险,多样化开锁方式提升使用便捷性,有效改善出行体验,保障行李安全。
关键词:单片机;智能行李箱;重量监测;定位追踪;指纹识别
Design of Intelligent Luggage Based on Single Chip Microcomputer
Abstract
With the increase in travel frequency and the acceleration of lifestyle pace, the safety, convenience, and intelligence of luggage have become important demands that people pay attention to. Traditional luggage has functional deficiencies in weight monitoring, location tracking, security protection, and other aspects. Problems such as overweight, loss, or theft of luggage often occur, which brings many troubles to people’s travel. Therefore, it is necessary to develop an intelligent luggage compartment that integrates weight monitoring, positioning tracking, and intelligent control.
This design proposes an intelligent luggage compartment based on STM32F103C8T6 microcontroller. The main functions of the system include: measuring the weight of the luggage through the HX711 module and sending it to the mobile APP for display through the ESP8266 WiFi module; Using GPS module to obtain luggage longitude and latitude information, supporting real-time location viewing through mobile APP; The mobile app can remotely trigger the sound and light alarm function, making it easy to quickly locate the luggage; Realize luggage drive control through MX1508 DC motor drive module, supporting board button operation and one click locking on mobile APP; AS608 fingerprint module is used to complete fingerprint unlocking, and it also supports one click unlocking on the mobile app (controlled by a relay to simulate a lock). The mobile app has the function of adding and deleting fingerprints.
The function of this smart luggage is to provide users with a convenient and safe travel assistance tool. By monitoring the weight to avoid overweight luggage, reducing the risk of loss through positioning and alarm functions, diversifying unlocking methods to improve convenience, effectively improving travel experience, and ensuring luggage safety.
Keywords: microcontroller; Smart luggage; Weight monitoring; Location tracking; fingerprint identification
目 录
1 绪论
1.1 研究背景及意义
1.2 国内外研究现状
1.3 主要内容
2 系统总体方案设计
2.1系统总体设计
2.2 主要模块方案选择
3 系统硬件设计
3.1 总体硬件框架
3.2 主控模块电路设计
3.3 重量检测模块电路设计
3.4 指纹识别模块电路设计
3.5 GPS 定位模块电路设计
3.6 WiFi 通信模块电路设计
3.7 电机驱动模块电路设计
3.8 按键与报警模块电路设计
3.9 继电器开锁模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 OLED显示流程设计
4.5 指纹模块子流程设计
4.6 GPS模块子流程设计
4.7 WiFi模块子流程设计
4.8 直流电机速度调节子流程设计
5 实物制作与功能测试
5.1 实物制作
5.2 重量检测与数据传输功能测试
5.3 GPS 定位与报警功能测试
5.4 电机驱动与远程锁定功能测试
5.5 指纹识别与开锁功能测试
6 总结
参考文献
致谢
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!