基于单片机的智能宠物喂食系统设计(1)(1).docx
文本预览下载声明
PAGE 17
摘 要
经济发展在改善人们生活质量的同时往往也会改变人们的生活方式,越来越多的家庭都开始养起了宠物。为了解决“打工人”工作繁忙时无法对宠物进行周全的照顾,本文设计了一套可用于智能对宠物进行投食的方案。该套设计方案采用STM32单片机作为系统的主控芯片、搭配LCD显示屏、温湿度传感器、实现对宠物窝温湿度的监测,通过LCD实时显示当前时间和宠物窝温湿度数据,通过按键可对系统时间和投食时间进行设置。在对设计出的硬件系统进行测试时。通过定时观察系统到时间是否会自动投食。经过测试发现本文系统完全符合设计要求。
关键词:宠物;智能投食系统;温湿度检测;按键定时
Abstract
While economic development improves peoples quality of life, they also often change peoples lifestyles. More and more families are starting to raise pets. In order to solve the problem that workers cannot take care of pets when they are busy at work, this article designs a set of solutions that can be used to feed pets intelligently. The design scheme uses STM32 single-chip microcomputer as the main control chip of the system, with LCD display, temperature and humidity sensor, to realize the monitoring of the temperature and humidity of the pet nest, the current time and the temperature and humidity data of the pet nest are displayed in real time through the LCD, and the system can be controlled by pressing the button. Time and feeding time are set. When testing the designed hardware system. Observe regularly whether the system will automatically feed food at the time. After testing, it is found that the system in this paper fully meets the design requirements.
Keywords: pet; intelligent feeding system; temperature and humidity detection; button timing
目录
TOC \o 1-3 \h \z \u 摘 要 I
Abstract II
1 绪论 1
1.1 论文研究的背景及意义 1
1.2 国内外研究现状 1
1.3 本文主要研究内容及论文结构安排 2
2 系统方案论证 3
2.1 系统设计方案 3
2.2 主控模块选型 3
2.3 显示模块选型 4
2.4 温湿度传感器 5
2.5 时钟芯片 6
2.6 舵机模块 7
3 硬件电路的设计 8
3.1 单片机 8
3.1.1 单片机最小系统 8
3.1.2 中断系统 9
3.2 显示模块电路 9
3.3 温湿度检测模块电路 11
3.4 按键模块电路 12
3.5 舵机模块电机 12
4 系统软件设计 14
4.1 系统设计软件 14
4.1.1 Altium Designer 14
4.1.2 Keil 14
4.2 软件设计流程图 14
4.2.1 主函数流程图 14
4.2.2 传感器模块流程图 15
4.2.4 按键模块流程图 16
5 系统测试 18
6 总结 19
6.1 全文总结 19
6.2 设计遇到的问题及展望 19
致谢 20
参考文献 21
1 绪论
显示全部