设计说明书
总字数:14000+
摘要
随着城市宠物数量的增加,小区流浪宠物的妥善照料成为社会关注的问题。传统的流浪宠物投食方式多依赖人工不定期投放,存在食物易变质、投喂不及时、卫生条件差等问题,难以满足流浪宠物的基本生存需求和小区环境管理要求。
基于 STM32F103C8T6 单片机的小区流浪宠物智能投食系统,整合了 BZ 红外避障管、紫外线消毒模块、HX711 重量检测模块、YW-J 液位检测模块、5516 光照检测模块、OLED 显示屏、ESP8266 WiFi 模块及喂食喂水执行装置等硬件,实现了对流浪宠物的自动化照料。系统核心功能包括:通过 BZ 红外避障管检测宠物,检测到后先进行 5 秒紫外线消毒,再执行 5 秒喂食喂水;借助 HX711 模块监测食物重量,YW-J 模块检测液位;利用 5516 模块检测光照,光照过低时自动开启照明灯;OLED 显示屏实时显示各项数据;ESP8266 模块将数据传输至手机端,方便管理人员远程监控。
该系统的实现,有效提升了流浪宠物投食的自动化与智能化水平,保障了投食过程的卫生安全,减少了人工干预,为小区流浪宠物照料提供了高效、可靠的解决方案,同时为同类宠物照料系统的研发提供了参考,具有一定的社会价值和实用意义。
关键词:STM32F103C8T6;流浪宠物;智能投食;传感器;WiFi 传输;自动照料
ABSTRACT
With the increase in the number of urban pets, the proper care of stray pets in communities has become a social concern. Traditional feeding methods for stray pets mostly rely on irregular manual feeding, which has problems such as easy spoilage of food, untimely feeding, and poor hygiene conditions, making it difficult to meet the basic survival needs of stray pets and the requirements of community environment management.
The community stray pet intelligent feeding system based on the STM32F103C8T6 microcontroller integrates hardware such as BZ infrared obstacle avoidance tube, ultraviolet disinfection module, HX711 weight detection module, YW-J liquid level detection module, 5516 light detection module, OLED display, ESP8266 WiFi module, and feeding and water supply execution devices, realizing automatic care for stray pets. The core functions of the system include: detecting pets through the BZ infrared obstacle avoidance tube, and after detecting a pet, first performing ultraviolet disinfection for 5 seconds, then executing feeding and water supply for 5 seconds; monitoring food weight with the HX711 module and liquid level with the YW-J module; detecting light with the 5516 module and automatically turning on the lighting when the light is too low; displaying various data in real-time on the OLED display; transmitting data to the mobile phone through the ESP8266 module for remote monitoring by managers.
The implementation of this system effectively improves the automation and intelligence level of stray pet feeding in communities, ensures the hygiene and safety of the feeding process, reduces manual intervention, provides an efficient and reliable solution for the care of stray pets in communities, and also offers a reference for the research and development of similar pet care systems, with certain social value and practical significance.
Keywords:STM32F103C8T6; Stray pets; Intelligent feeding; Sensor; WiFi transmission; Automatic care
目录
第 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.2整体设计方案
第 3 章 硬件设计
3.1 主控电路模块
3.2 BZ 红外避障检测电路
3.3 执行设备驱动电路
3.4 HX711 重量检测模块电路
3.5 YW-J 液位检测模块电路
3.6 光照检测与照明控制电路
3.7 显示模块电路
3.8 ESP8266 WiFi 模块电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 称重模块子流程设计
4.4 OLED显示流程设计
4.5 WiFi模块子流程设计
第 5 章 实物测试
5.1 整体实物测试
5.2 BZ 红外避障检测功能测试
5.3 执行设备联动功能测试
5.4 HX711 重量检测模块功能测试
5.5 YW-J 液位检测模块功能测试
5.6 光照检测与照明控制功能测试
5.7 ESP8266 WiFi 模块数据传输功能测试
5.8 显示功能测试
第 6 章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!