首页 实物资料 仿真资料 开题报告 设计说明书 答辩PPT

设计说明书

总字数:23000+

摘要

随着人们生活水平的提高,宠物狗成为许多家庭的重要成员,科学合理的喂养对其健康成长至关重要。传统的人工喂养方式不仅依赖主人的时间安排,容易出现投喂不规律、食量把控不准等问题,而且在主人外出时难以保障宠物的饮食需求,难以满足精细化、便捷化喂养的需求。​

基于 STM32F103C8T6 单片机的宠物狗自动投喂系统,整合了 DS1302 时钟模块、HX711 重量检测模块、YW-J 液位传感器、DS18B20 防水式温度传感器、3 个独立按键、OLED 显示屏、ESP8266 WIFI 通信模块、蜂鸣器及继电器模块(控制电机和水泵),实现了宠物狗的自动化投喂与管理。系统核心功能包括:通过 DS1302 同步时间,并设定 6:00、12:00、18:00 三个投喂时间,时间可通过按键调节,到点后蜂鸣器响 3 次提醒;借助 HX711 重量检测模块检测食物重量,若重量小于设置最小值且投喂时间到,继电器控制电机自动补充食物,直至重量大于设置最大值停止;通过 YW-J 液位传感器检测液位值,当液位低于设置最小值且投喂时间到,继电器控制水泵自动补水,直至液位大于设置最大值停止;利用 DS18B20 防水式温度传感器监测水温,水温低于阈值时进行加热;支持通过 3 个独立按键设置各阈值;通过 OLED 显示屏显示时间、食物重量、液位、水温等数据;借助 ESP8266 WIFI 通信模块实现对系统的远程控制。​

该系统的实现,有效提升了宠物狗喂养的自动化与智能化水平,减少了人工干预,确保了投喂的规律性和精准性,为宠物狗的健康成长提供了保障,同时为同类宠物喂养设备的研发提供了参考,具有较高的实际应用价值。​

关键词:STM32F103C8T6;宠物狗;自动投喂系统;传感器;远程控制;智能管理

ABSTRACT

With the improvement of people’s living standards, pet dogs have become important members of many families, and scientific and reasonable feeding is crucial to their healthy growth. Traditional manual feeding methods not only rely on the owner’s schedule, which is prone to problems such as irregular feeding and inaccurate food amount control, but also make it difficult to ensure the pet’s dietary needs when the owner is away, failing to meet the needs of refined and convenient feeding.​

The pet dog automatic feeding system based on the STM32F103C8T6 microcontroller integrates DS1302 clock module, HX711 weight detection module, YW-J liquid level sensor, DS18B20 waterproof temperature sensor, 3 independent buttons, OLED display, ESP8266 WIFI communication module, buzzer and relay module (controlling motor and water pump), realizing automatic feeding and management of pet dogs. The core functions of the system include: synchronizing time through DS1302, setting three feeding times at 6:00, 12:00 and 18:00, which can be adjusted by buttons, and the buzzer will sound 3 times as a reminder when the time comes; detecting the weight of food by HX711 weight detection module, if the weight is less than the set minimum value and the feeding time is up, the relay controls the motor to automatically supplement food until the weight is greater than the set maximum value; detecting the liquid level through YW-J liquid level sensor, when the liquid level is lower than the set minimum value and the feeding time is up, the relay controls the water pump to automatically replenish water until the liquid level is greater than the set maximum value; monitoring the water temperature with DS18B20 waterproof temperature sensor, and heating when the water temperature is lower than the threshold; supporting the setting of each threshold through 3 independent buttons; displaying time, food weight, liquid level, water temperature and other data through OLED display; realizing remote control of the system through ESP8266 WIFI communication module.​

The implementation of this system effectively improves the automation and intelligence level of pet dog feeding, reduces manual intervention, ensures the regularity and accuracy of feeding, provides a guarantee for the healthy growth of pet dogs, and also provides a reference for the research and development of similar pet feeding equipment, with high practical application value.​

Keywords: STM32F103C8T6; Pet dog; Automatic feeding system; Sensor; Remote control; Intelligent management

目录

第 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 时钟模块电路

3.3 重量检测模块电路

3.4 液位传感器电路

3.5 温度传感器电路

3.6 显示模块电路

3.7 WIFI 通信模块电路

3.8 按键模块电路

3.9 执行设备驱动电路

第4章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 OLED显示子流程设计

4.4 独立按键子流程设计

4.5 ADC模数转换子流程设计

4.6 时钟模块子流程设计

4.7 称重模块子流程设计

4.8 温度检测模块子流程设计

4.9 WiFi模块子流程设计

第 5 章 仿真测试

5.1 整体仿真测试

5.2 时钟模块功能测试

5.3 重量检测模块功能测试

5.4 液位传感器功能测试

5.5 温度传感器功能测试

5.6 WIFI 通信模块功能测试

5.7 按键设置与显示功能测试

第 6 章 实物测试

6.1 整体实物测试

6.2 时钟模块功能测试

6.3 重量检测模块功能测试

6.4 液位传感器功能测试

6.5 温度传感器功能测试

6.6 WIFI 通信模块功能测试

6.7 按键设置与显示功能测试

第 7 章 总结与展望

7.1 总结

7.2 展望

致谢

参考文献

附录

附录一:原理图

附录二:PCB

附录三:主程序

购买后可查看具体内容!

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源