设计说明书
总字数:18000+
摘要
随着人们生活水平的提高,宠物成为许多家庭的重要成员,宠物走失及健康问题日益受到关注。传统的宠物管理方式多依赖人工看护,不仅难以实时掌握宠物动态,在宠物健康出现异常时也无法及时察觉,难以满足宠物主人对宠物安全与健康的精细化管理需求。
基于 STM32F103C8T6 的防走丢宠物项圈,整合了 DS18B20 温度检测模块、MAX30102 心率检测模块、MPU6050 步数检测模块、GPS + 北斗定位模块、OLED 显示模块、3 个独立按键、AIR7804G 模块、CN-TTS 语音播报模块及声光报警装置等,实现了宠物状态的实时监测与防走丢功能。系统核心功能包括:通过 DS18B20 检测宠物体温,当体温过高时启动声光报警 3 秒,同时通过 AIR7804G 模块向手机端发送弹窗震动提醒;通过 MAX30102 检测宠物心率,心率过高时触发声光报警 3 秒及手机端弹窗震动提醒;借助 MPU6050 记录宠物步数;通过 GPS + 北斗模块获取宠物实时位置并同步至手机端;OLED 显示屏实时显示宠物体温、心率、步数及位置信息;支持通过 3 个独立按键设置体温和心率阈值、关闭语音播报;手机端可远程设置体温心率阈值,通过按键控制 CN-TTS 语音播报模块开关,触发时语音播报 “我在这里”。
该系统的实现,有效提升了宠物管理的智能化水平,让宠物主人能实时掌握宠物的位置与健康状态,及时应对走失和健康异常情况,为宠物安全与健康管理提供了高效、可靠的解决方案,同时为同类宠物智能设备的研发提供了参考,具有较高的实际应用价值。
关键词:STM32F103C8T6;防走丢;宠物项圈;健康监测;定位;远程控制
ABSTRACT
With the improvement of people’s living standards, pets have become important members of many families, and issues such as pet loss and health problems have attracted increasing attention. Traditional pet management methods mostly rely on manual care, which not only makes it difficult to grasp the pet’s dynamics in real-time but also fails to detect abnormalities in pet health in a timely manner, making it difficult to meet pet owners’ needs for refined management of pet safety and health.
The anti-lost pet collar based on STM32F103C8T6 integrates DS18B20 temperature detection module, MAX30102 heart rate detection module, MPU6050 step detection module, GPS+Beidou positioning module, OLED display module, 3 independent buttons, AIR7804G module, CN-TTS voice broadcast module, and sound and light alarm device, realizing real-time monitoring of pet status and anti-lost function. The core functions of the system include: detecting the pet’s body temperature through DS18B20, activating the sound and light alarm for 3 seconds when the temperature is too high, and sending a pop-up vibration reminder to the mobile phone through the AIR7804G module; detecting the pet’s heart rate through MAX30102, triggering the sound and light alarm for 3 seconds and the pop-up vibration reminder on the mobile phone when the heart rate is too high; recording the pet’s steps with MPU6050; obtaining the pet’s real-time location through GPS+Beidou module and synchronizing it to the mobile phone; the OLED display real-time shows the pet’s body temperature, heart rate, steps and location information; supporting the setting of temperature and heart rate thresholds and turning off voice broadcast through 3 independent buttons; the mobile phone can remotely set temperature and heart rate thresholds, control the switch of the CN-TTS voice broadcast module through buttons, and the voice broadcasts “I am here” when triggered.
The implementation of this system effectively improves the intelligence level of pet management, allowing pet owners to grasp the pet’s location and health status in real-time, and respond to loss and health abnormalities in a timely manner. It provides an efficient and reliable solution for pet safety and health management, and also offers a reference for the research and development of similar intelligent pet devices, with high practical application value.
Keywords: STM32F103C8T6; Anti-lost; Pet collar; Health monitoring; Positioning; Remote control
目录
第 1 章 绪论
1.1 研究的目的及意义
1.2 国内外发展情况
1.3 本文主要研究内容
第2章 设计思路与方案论证
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 温度检测模块选择
2.1.3 心率检测模块选择
2.1.4 步数检测模块选择
2.1.5 定位模块选择
2.1.6 显示模块选择
2.1.7 按键模块选择
2.1.8 无线通信模块选择
2.1.9 语音播报模块选择
2.2整体设计方案
第 3 章 硬件设计
3.1 主控电路模块
3.2 温度检测模块电路
3.3 心率检测模块电路
3.4 步数检测模块电路
3.5 定位模块电路
3.6 显示模块电路
3.7 按键模块电路
3.8 无线通信模块电路
3.9 语音播报模块电路
3.10 声光报警模块电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 温度检测模块子流程设计
4.5 OLED显示流程设计
4.6 语音播报模块子流程设计
4.7 4G模块联网子流程设计
第 5 章 实物测试
5.1 整体实物测试
5.2 温度检测模块功能测试
5.3 心率检测模块功能测试
5.4 步数检测模块功能测试
5.5 定位模块功能测试
5.6 无线通信模块功能测试
5.7 语音播报模块功能测试
5.8 按键设置与显示功能测试
5.9 声光报警模块功能测试
第 6 章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!